Commit graph

5361 commits

Author SHA1 Message Date
Ms2ger
a51ed7045c Remove the unused 'obj' local from the construct hook. 2014-07-14 11:42:42 +02:00
Ms2ger
91de702edb Merge pull request #2824 from jgraham/remove_attribute_str
Make Element.remove_attribute take &str instead of DOMString; r=Ms2ger
2014-07-13 20:18:36 +02:00
James Graham
130cf760ee Make Element.remove_attribute take &str instead of DOMString 2014-07-13 18:31:46 +01:00
Ms2ger
f99d8cef9f Merge pull request #2821 from Ms2ger/update-rust-mozjs
Update the rust-mozjs submodule pointer; r=jdm
2014-07-13 17:30:41 +02:00
Ms2ger
a7447a4302 Merge pull request #2820 from Ms2ger/RegisterBindings
Move the call to RegisterBindings::Register into WindowBinding::Wrap; r=jdm
2014-07-13 17:21:23 +02:00
Ms2ger
df4bb6947e Merge pull request #2771 from jviereck/fix_2230_link_DOMImplementation_to_document
Link DOMImplementation to the Document; r=Ms2ger
2014-07-13 17:20:25 +02:00
Ms2ger
b8165291b7 Merge pull request #2822 from Ms2ger/wpt-ini
Move to an .ini file to define the parts of wpt we run; r=Manishearth
2014-07-13 16:54:55 +02:00
Ms2ger
2ddd029c2f Move to an .ini file to define the parts of wpt we run.
This is more maintainable as we add more tests.
2014-07-13 16:35:25 +02:00
Josh Matthews
093d8e3216 Merge pull request #2816 from Ms2ger/bindings.conf
Cleanup Bindings.conf.
2014-07-13 10:21:37 -04:00
Julian Viereck
88b3998d59 Fix DOMImplementation should be linked to the Document
This fixes issues 2230.
2014-07-13 16:14:45 +02:00
Ms2ger
38f8377778 Update the rust-mozjs submodule pointer. 2014-07-13 15:49:00 +02:00
Ms2ger
ac5a2767bf Move the call to RegisterBindings::Register into WindowBinding::Wrap. 2014-07-13 15:45:16 +02:00
Ms2ger
5baff0cc2c Pass a JSContext and a reflector to RegisterBindings::Register.
This makes the generated code less dependent on the fact that all global
objects are Windows.
2014-07-13 15:45:16 +02:00
Ms2ger
c65d0d5b27 Remove empty objects from Bindings.conf.
This also comments out an unused mixin interface, and adds
NoInterfaceObject to one that missed it.
2014-07-13 15:27:28 +02:00
Josh Matthews
2191a578c6 Merge pull request #2817 from Ms2ger/xhr-response-json
Handle exceptions from JS_ParseJSON in XMLHttpRequest.response.
2014-07-13 09:27:01 -04:00
Josh Matthews
06794efe7b Merge pull request #2815 from Ms2ger/test_interfaces
Add test_interfaces.html.
2014-07-13 09:21:24 -04:00
Josh Matthews
0387a94926 Merge pull request #2813 from Ms2ger/WindowProxy
Remove references to WindowProxy as an interface.
2014-07-13 09:19:28 -04:00
Josh Matthews
cb10614355 Merge pull request #2810 from Ms2ger/proxy-handlers
Store proxy handlers in a static array rather than a hashtable per window.
2014-07-13 09:17:12 -04:00
Ms2ger
818eb864b3 Handle exceptions from JS_ParseJSON in XMLHttpRequest.response. 2014-07-13 12:00:30 +02:00
Ms2ger
e6f2342036 Merge pull request #2808 from schaars/make_check-wpt
adding 2 default arguments to src/test/wpt/run.py; r=jgraham,Ms2ger
2014-07-13 10:07:31 +02:00
Ms2ger
c5bb7219e2 Stop exposing XMLHttpRequestEventTarget on the window object. 2014-07-12 21:41:15 +02:00
Ms2ger
6374fba0f3 Add a test for interfaces exposed on the window object. 2014-07-12 21:34:27 +02:00
Ms2ger
be00df4be6 Remove references to WindowProxy as an interface. 2014-07-12 20:32:46 +02:00
Ms2ger
8c8051800f Merge pull request #2809 from Manishearth/sendparam
Allow URLSearchParams to be passed to XHR Send(); r=jdm
2014-07-12 17:38:50 +02:00
Manish Goregaokar
678dc10c4f Allow URLSearchParams to be passed to XHR Send() 2014-07-12 20:25:28 +05:30
Ms2ger
fd167f8922 Store proxy handlers in a static array rather than a hashtable per window. 2014-07-12 15:26:36 +02:00
Josh Matthews
f47b66b0c1 Merge pull request #2807 from Ms2ger/pyflakes-2
Remove some dead code and fix some pyflakes warnings in CodegenRust.py.
2014-07-11 20:48:41 -04:00
Josh Matthews
3a22ee3237 Merge pull request #2801 from Ms2ger/wrap-temp
Return a Temporary from *Binding::Wrap.
2014-07-11 20:48:22 -04:00
schaars
671a038fda Update run.py
None and False are better values here (thanks to @jgraham).
2014-07-11 17:46:01 +02:00
Pierre Louis Aublin
7f62ec63ea adding 2 new default arguments when running make check-wpt so that it does not fail saying KeyError: 'debug_args' or KeyError: 'interactive' 2014-07-11 16:41:36 +02:00
Ms2ger
a867e4bd52 Remove some dead code and fix some pyflakes warnings in CodegenRust.py. 2014-07-11 14:51:43 +02:00
Simon Sapin
8cf004e28a Merge pull request #2806 from Ms2ger/tidy
Improve and extend tidy.py, and run it on Travis.
2014-07-11 12:57:48 +01:00
Ms2ger
44a76e542f Run tidy.py on Travis. 2014-07-11 13:21:22 +02:00
Ms2ger
f65da65426 Test for carriage returns in tidy.py. 2014-07-11 13:21:22 +02:00
Ms2ger
a283f7801b Test for tabs in tidy.py. 2014-07-11 13:21:22 +02:00
Ms2ger
4ff4b5833d Test for missing newlines at end of file in tidy.py. 2014-07-11 13:21:17 +02:00
Ms2ger
b1493519c9 Test for trailing spaces in tidy.py. 2014-07-11 13:14:12 +02:00
Ms2ger
695fe12863 Fix PEP8 violations in tidy.py. 2014-07-11 13:06:21 +02:00
Ms2ger
65c61cde8b Stop using fileinput in tidy.py.
The code is expressed much more clearly with a loop over the files instead.
2014-07-11 13:03:48 +02:00
Ms2ger
016457722f Remove unused code from tidy.py. 2014-07-11 13:02:58 +02:00
Ms2ger
eb7654719a Remove a glob import from tidy.py. 2014-07-11 13:02:35 +02:00
Ms2ger
fed50cca1e Correct the allowed MPL licenses in licenseck. 2014-07-11 12:55:53 +02:00
Jack Moffitt
11d9ae6103 Merge pull request #2804 from glennw/enable-phf
Enable rust-phf build and bump rust-phf submodule ptr.
2014-07-10 22:37:46 -06:00
Glenn Watson
28031801de Enable rust-phf build and bump rust-phf submodule ptr. 2014-07-11 13:44:37 +10:00
Cameron Zwarich
b267eb7b8e Merge pull request #2799 from zwarich/compositor-transactions
Batch buffer rendering requests and their replies in transactions
2014-07-10 10:49:49 -07:00
Ms2ger
439bc78cab Return a Temporary from *Binding::Wrap.
Returning a JS<T> is GC-unsafe.

This commit also includes some cleanup around Node and Document reflection.
2014-07-10 16:45:41 +02:00
Simon Sapin
360d5d01d8 Revert "Enable email notifications from Travis CI"
This reverts commit ffb502abcd.
2014-07-10 10:18:55 +01:00
Simon Sapin
ffb502abcd Enable email notifications from Travis CI
http://docs.travis-ci.com/user/notifications/
> By default, email notifications will be sent to the committer and the commit author, if they are members of the repository (that is, they have push or admin permissions for public repositories, or if they have pull, push or admin permissions for private repositories).
>
> And it will by default send emails when, on the given branch:
>
> * a build was just broken or still is broken
> * a previously broken build was just fixed
2014-07-10 10:17:51 +01:00
Cameron Zwarich
fbd2b588ed Remove FIXMEs related to batching buffer requests 2014-07-10 01:31:48 -07:00
Cameron Zwarich
acc0daa519 Make the CompositorTask Paint message take multiple replies 2014-07-10 01:31:48 -07:00