Ms2ger
d8152646f3
Add worker scope variants to the Global enums.
2014-07-15 22:29:03 +02:00
Ms2ger
a345f413cb
Implement stub classes for WorkerGlobalScope and DedicatedWorkerGlobalScope.
...
Part of #2811 .
2014-07-15 22:29:03 +02:00
Ms2ger
712955e96a
Implement a stub Worker interface.
...
Part of #2811 .
2014-07-15 22:29:03 +02:00
Ms2ger
df9d063b36
Add newlines in global.rs.
2014-07-15 20:09:07 +02:00
Ms2ger
350a6080d7
Support FormData outside Window scopes.
2014-07-15 20:08:11 +02:00
Ms2ger
829259fb79
Introduce abstractions for global scopes.
...
Part of #2811 .
2014-07-15 15:33:57 +02:00
Ms2ger
a14bb68c3f
Remove some Cells for immutable members.
2014-07-15 15:33:57 +02:00
Ms2ger
e8d013794b
Make some DOM fields private.
...
Relevant to #2242 .
2014-07-15 15:33:56 +02:00
Ms2ger
a665fec9d0
Put some 'use' statements in alphabetical order.
2014-07-15 15:33:56 +02:00
Ms2ger
954ab7a2e3
Simplify the implementation of cx_for_dom_reflector.
2014-07-15 15:33:56 +02:00
Ms2ger
f963ed99ac
Rename variables that refer to global objects.
...
This clarifies whether those variables will point to a Window object or an
arbitrary global object.
Note in particular that all IDL Constructors will accept an arbitrary global
object.
2014-07-15 15:33:56 +02:00
Ms2ger
054ab27e3b
Remove an unnecessary string copy in the Text constructor.
2014-07-15 14:19:33 +02:00
Ms2ger
cd87775d4e
Merge pull request #2826 from Ms2ger/get_attribute_parts-slices
...
Return slices from get_attribute_parts; r=Manishearth
2014-07-15 10:57:20 +02:00
Ms2ger
46c906ccd6
Merge pull request #2830 from Ms2ger/constructor-unused-variable
...
Remove the unused 'obj' local from the construct hook; r=Manishearth
2014-07-15 10:56:47 +02:00
Manish Goregaokar
a8e8105cea
Merge pull request #2833 from Ms2ger/attrlist-window
...
Remove the unused window member of AttrList.
2014-07-14 22:16:55 +05:30
Manish Goregaokar
2d4d9afcda
Merge pull request #2834 from Ms2ger/file-window
...
Remove the unused window field from File; r=Manishearth
2014-07-14 22:15:44 +05:30
Ms2ger
1d27e96eca
Return slices from get_attribute_parts.
2014-07-14 18:39:02 +02:00
Ms2ger
879aa92550
Merge pull request #2829 from Ms2ger/validitystate-window
...
Remove the unused window field from ValidityState; r=Manishearth
2014-07-14 18:23:00 +02:00
Ms2ger
80a932ac3a
Merge pull request #2831 from Ms2ger/perf-cleanup
...
Simplify the initialization of Performance; r=Manishearth
2014-07-14 18:22:20 +02:00
Ms2ger
5aceb80279
Remove the unused window field from File.
2014-07-14 18:04:51 +02:00
Ms2ger
6190281945
Remove the unused window member of AttrList.
2014-07-14 17:46:59 +02:00
Ms2ger
c747df0e59
Remove the unused window field from HTMLCollection.
2014-07-14 17:14:52 +02:00
Ms2ger
7b9cdf4c1e
Remove the unused window field from NodeList.
2014-07-14 17:14:34 +02:00
Ms2ger
31bd6f3fc6
Simplify the initialization of Performance.
2014-07-14 12:18:31 +02:00
Ms2ger
a51ed7045c
Remove the unused 'obj' local from the construct hook.
2014-07-14 11:42:42 +02:00
Ms2ger
9317ff137a
Remove the unused window field from ValidityState.
...
It is only necessary if the ValidityState would create new objects, which it
doesn't.
2014-07-14 11:20:32 +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
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
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
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
c5bb7219e2
Stop exposing XMLHttpRequestEventTarget on the window object.
2014-07-12 21:41:15 +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
Ms2ger
a867e4bd52
Remove some dead code and fix some pyflakes warnings in CodegenRust.py.
2014-07-11 14:51:43 +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