Masatoshi Kimura
7693df618d
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
Ms2ger
a75666050c
Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
...
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Ms2ger
6bb007a483
Bug 831879 - Disable "maybe used uninitialized" warnings in dom/bindings; r=khuey
2013-03-10 08:58:21 +01:00
Ms2ger
d805e77871
Bug 825285 - Part b: Move ArchiveReader to Paris bindings, remove XPCOM goop; r=khuey
2013-03-10 08:57:14 +01:00
Olli Pettay
8f72caeb73
Bug 822399 - Make Event to use Paris bindings, r=peterv
2013-03-09 13:34:29 +02:00
Jon Coppeard
f85957ecb3
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
...
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
0887cddaa0
Backed out changeset 28ef4bdff455 (bug 848395)
2013-03-07 13:03:35 +00:00
Jon Coppeard
0b6f2291f6
Bug 841801 - Allow proxies to be finalized in the background r=billm
...
--HG--
extra : rebase_source : 48da96daddf75f505bf90c8e2ce2cdd6daf04cc5
2013-02-21 10:19:17 +00:00
Jon Coppeard
19ed4f05c2
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
...
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Pranav Ravichandran
9c74b6c291
Bug 847928 - Element type of a WebIDL array must not be a sequence or dictionary type. r=bzbarsky
2013-03-06 13:06:23 -05:00
Masatoshi Kimura
3662ea6b18
Bug 841289 - Remove prefable option from WebIDL codegen. r=bz
2013-03-06 07:09:38 +09:00
Boris Zbarsky
a40c683f18
Bug 847119. Fix the "did the DOM call throw?" test in IonMonkey to check the return value correctly. r=jandem
2013-03-05 13:41:24 -05:00
William Chen
6bc6665342
Bug 847773 - Added override for GetWrapperCache with smart pointer argument to resolve ambiguity in templates. r=bz
2013-03-04 20:30:13 -08:00
Boris Zbarsky
c186b0d2c7
Bug 847001. Make globalgen depend on the actual set of WebIDL files we're compiling, not just on the individual files. r=khuey
2013-03-04 14:08:24 -05:00
Boris Zbarsky
811a7ec078
Bug 827158 part 11. Move HTMLObjectElement to Web IDL bindings. r=peterv
2013-01-06 18:55:14 -05:00
Boris Zbarsky
f2ee06448a
Bug 827158 part 9. Implement support for having a NewResolve hook in WebIDL. r=peterv
2013-03-04 14:08:24 -05:00
Boris Zbarsky
789263e1c5
Bug 827158 part 8. Implement legacycaller support in WebIDL. r=peterv
2013-03-04 14:08:24 -05:00
Andrea Marchesini
c31f5dfb65
Bug 841014 - Convert TimeRanges to WebIDL. r=Ms2ger, r=peterv
2013-03-02 14:16:43 -05:00
Andrew McCreight
202c9da2c7
Bug 846955 - Codegen Argument definitions using .define() in ClassDestructor::define. r=bz
2013-03-01 16:32:24 -08:00
Boris Zbarsky
31abf66ed4
Bug 845666. Add support for sequences containing other sequences (or dictionaries containing sequences) to WebIDL. r=peterv
...
This keeps simple sequence arguments and variadics using an auto array, while everything else uses a non-auto array.
2013-03-02 01:07:43 -05:00
David Zbarsky
ae7779d6e9
Use single quotes in Bindings.conf, no bug, r=me
2013-03-02 01:08:42 -05:00
David Zbarsky
7e6c8a8342
Bug 846977 - SVGMatrix doesn't need to inherit nsISupports r=bz
2013-03-02 01:08:42 -05:00
Peter Van der Beken
dc6b00b18c
Fix for bug 842799 (|Document.prototype instanceof Node| inside <script> returns false). r=bz.
2013-02-22 10:25:24 +01:00
Boris Zbarsky
615c1738c3
Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
...
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods. That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.
I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired... But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
3875ee73e3
Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
...
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Ryan VanderMeulen
238b010bd5
Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
...
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Boris Zbarsky
24d39ed923
Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
...
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods. That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.
I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired... But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
0c8bec67f1
Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
...
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Gregory Szorc
27c42e83c6
Merge mozilla-central into build-system
...
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
803629b9c6
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
2801c25ab8
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
16f0413b0c
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
3fd0b2c59d
Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey
2013-02-25 12:47:20 -08:00
Phil Ringnalda
d00099ff16
Back out cd8481cc4a32 (bug 784812) for make check failures
2013-02-24 14:10:48 -08:00
Kyle Huey
a622234df9
Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted CLOSED TREE
2013-02-24 12:36:44 -08:00
Kyle Huey
a96c166f9a
Backed out changeset a71766c2c85d
2013-02-24 12:33:36 -08:00
Kyle Huey
535d766239
Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted
2013-02-24 12:03:03 -08:00
Peter Van der Beken
bd8a4c71df
Fix for bug 844559 (Crash [@ mozilla::dom::XrayResolveNativeProperty]). r=bz.
...
--HG--
extra : rebase_source : 85b3d0ee270f24847b9425cda9f8b56a494f2546
2013-02-25 20:39:15 +01:00
Pranav Ravichandran
64aac3b1ef
Bug 836816 - WebIDL parser should enforce spec restrictions on dictionary member types. r=bzbarsky
2013-02-27 09:55:56 -05:00
William Chen
f452feed2b
Bug 837352 - Don't generate dictionary code in WebIDL unless used in generated code. r=bz
2013-02-25 09:20:49 -08:00
Kyle Huey
ae04d7b90d
Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted
2013-02-24 12:36:44 -08:00
Boris Zbarsky
ec134a3b8c
Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv
2013-02-26 15:10:15 -05:00
Boris Zbarsky
f81f8c911f
Bug 838686 part 1. Add a helper class that can store a WebIDL callback or an XPCOM interface. r=peterv
2013-02-26 15:10:15 -05:00
L. David Baron
05d5d9dfa9
Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion.
2013-02-26 22:23:08 -08:00
Boris Zbarsky
41cfacaaa1
Back out changeset a4763990a983 (bug 838686) because gcc doesn't like it and we get a CLOSED TREE.
2013-02-26 15:35:13 -05:00
Boris Zbarsky
3156f16358
Back out changeset 1c851a5bbc9f (bug 838686) because it depends on a changeset gcc doesn't like
2013-02-26 15:34:25 -05:00
Boris Zbarsky
8551942b65
Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv
2013-02-26 15:10:15 -05:00
Boris Zbarsky
f9e332a488
Bug 838686 part 1. Add a helper class that can store a WebIDL callback or an XPCOM interface. r=peterv
2013-02-26 15:10:15 -05:00
Bobby Holley
e83e186c1b
Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
...
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
784a476fb8
Bug 834732 - Remove PushBehavior. r=mrbkap
...
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00