Boris Zbarsky
583e53379d
Bug 861022 part 2. Root the global object in WebIDL prototype and interface object setup. r=peterv,terrence
2013-05-01 23:44:12 -04:00
Boris Zbarsky
e418358f16
Bug 861022 part 1. Root the non-globals in WebIDL prototype and interface object setup. r=peterv,terrence
2013-05-01 23:44:11 -04:00
Jim Blandy
7b5a4624a3
Bug 862531: Replace BaseProxyHandler::obj_toString with className. r=jorendorff
2013-04-30 14:44:50 -07:00
Boris Zbarsky
15316b1400
Bug 865961. Root the scope argument of wrap-the-xpconnect-object helpers in WebIDL bindings. r=ms2ger
2013-04-29 17:33:42 -04:00
Boris Zbarsky
e9fca1d653
Bug 865964. Remove dead WrapCallbackInterface code. r=smaug
2013-04-26 13:41:21 -04:00
Peter Van der Beken
7c90dee12e
Bug 862092 - "Assertion failure: target->isNative() == obj->isNative()" adopting a <select>. r=bz.
...
--HG--
extra : rebase_source : 3eef5382c32927ac321db47003a974768cbdaf6e
2013-04-16 19:02:57 +02:00
Bobby Holley
629d0d4121
Bug 860438 - Straightforward cases. r=gabor
2013-04-18 11:36:03 -04:00
Ryan VanderMeulen
3b5b1e9f13
Backed out changeset 409285b3f69c (bug 862092) for mochitest-2 failures on a CLOSED TREE.
2013-04-17 11:48:34 -04:00
Peter Van der Beken
d80727e491
Bug 862092 - "Assertion failure: target->isNative() == obj->isNative()" adopting a <select>. r=bz.
...
--HG--
extra : rebase_source : 1905aa3aa956a599e9ce1de8866f7dc58feb73be
2013-04-16 19:02:57 +02:00
Jon Coppeard
1f1c0e6af9
Bug 861281 - GC: Root the wrap object API r=terrence r=bholley
...
--HG--
extra : rebase_source : 1d3ed88299ad8e9ad6812fb41aa48f03cc7aabae
2013-04-15 18:32:55 +01:00
Joshua Cranmer
45e3447406
Bug 856108 - Port static analyses to clang, part 2b: use MOZ_STACK_CLASS in dom. r=Ms2ger
2013-04-11 22:20:18 -05:00
Jacek Szpot
514f40e52a
Bug 854503 - Rename JS unwrapping functions. r=bholley
2013-04-11 11:50:18 -07:00
Boris Zbarsky
d5740592e1
Bug 860473 part 3. Root ErrorResult::ThrowJSException. r=evilpie,smaug
2013-04-11 14:31:06 -04:00
Boris Zbarsky
4cf80a8cde
Bug 860473 part 1. Root WebIDL dictionary ParseJSON. r=evilpie, smaug
2013-04-11 14:31:05 -04:00
Boris Zbarsky
081e372b68
Bug 856428. Don't try to root an uninitialized value. r=peterv
2013-04-08 17:05:22 -04:00
Boris Zbarsky
ecc404d587
Bug 688691. Warn when LenientThis actually causes us to not throw. r=ms2ger
2013-04-08 17:04:21 -04:00
Ryan VanderMeulen
24a4c17eff
Backed out changeset a85d21e394c0 (bug 854503) for bustage.
2013-04-06 14:37:33 -04:00
Jacek Szpot
8ce12e971c
Bug 854503 - Rename JS unwrapping functions. r=bholley
2013-04-04 12:14:32 +02:00
Boris Zbarsky
0d9204981d
Bug 855700. Make returning an nsIVariant from a WebIDL interface work. r=smaug
2013-04-03 22:22:16 -04:00
Jose Cortes
21f2e0d958
Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/bindings/ dom/plugins/ dom/src/ dom/activities/ directories. r=jwalden
...
--HG--
extra : rebase_source : 2757a7ab265153fa4c769a69a4947b9258e4413e
2013-04-02 16:05:37 -07:00
Boris Zbarsky
b105f502e9
Bug 855582 part 2. Make the bindings' various spec arrays const, and make the jitinfo structs static. r=khuey
2013-04-02 20:20:38 -04:00
Bobby Holley
e231772ba1
Bug 854480 - Remove old-style unwrapping from dom/bindings bindings. r=bz
2013-04-01 15:17:50 -07:00
Tom Schuster
045cb0fba7
Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz
2013-03-21 23:23:48 +01:00
Boris Zbarsky
d6b06cd620
Bug 843627 part 3. Enable WebIDL bindings for <embed> and <applet>. r=peterv
2013-03-17 10:42:05 -04:00
Boris Zbarsky
75f321cec4
Bug 827158 part 11. Move HTMLObjectElement to Web IDL bindings. r=peterv
2013-01-06 18:55:14 -05:00
Peter Van der Beken
74a5cb5265
Fix for bug 842799 (|Document.prototype instanceof Node| inside <script> returns false). r=bz.
2013-02-22 10:25:24 +01:00
Peter Van der Beken
c485f6afee
Fix for bug 825628 (Implement NamedConstructor) - add codegen support for NamedConstructor. r=bz.
...
--HG--
extra : rebase_source : 8393995dca6f65cb49512874c1916ee745436638
2013-01-22 11:51:15 +01:00
Boris Zbarsky
5cee1946fc
Bug 838691 part 1. Add support in Prefable for calling a function to determine whether a property should be exposed in a WebIDL binding. r=peterv
2013-02-19 11:54:40 -05:00
Boris Zbarsky
25deb6d78c
Bug 839088 part 1. Add a way to throw a JS::Value on an ErrorResult. r=peterv
2013-02-19 11:54:40 -05:00
Masatoshi Kimura
1224fb0c27
Bug 841802 - Part 1: Add ErrorResult::ClearMessage(). r=bz
2013-02-19 22:30:28 +09:00
Peter Van der Beken
d07b3d8eef
Fix for bug 838269 (Support cross-global |... instanceof DOMInterface|). r=bz.
...
--HG--
extra : rebase_source : e5ad1d7da8029394e3ecb38909eca406a675dbe9
2013-01-08 19:05:36 +01:00
Peter Van der Beken
e07d1dcdb8
Fix for bug 838228 (toString on an Xray for an interface object should stringify like Function.prototype.toString). r=bz.
...
--HG--
rename : content/html/content/test/test_map_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 9bd7efb927e4eac96569ed629ee230dbf555fb63
2013-02-01 15:33:58 +01:00
Boris Zbarsky
27b20c21af
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky
66e49b02aa
Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression
2013-01-29 17:18:06 -05:00
Boris Zbarsky
8231be64a0
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Peter Van der Beken
b9d2ae906f
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 5668d9e01bff0fe7831d98018428856e5940a620
2012-12-03 17:07:49 +01:00
Ed Morley
bc0702d0d7
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
b46afdef94
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 68e5630591f6209e2af9c5cd2321fed8edd3de24
2012-12-03 17:07:49 +01:00
Peter Van der Beken
f2a13d3e89
Fix for bug 827546 (|non editable element|.QueryInterface(Components.interfaces.nsIDOMNSEditableElement) does not throw anymore) - throw on QI failure. r=bz.
2013-01-14 11:29:49 +01:00
Andrew McCreight
6f2b4df7a3
Bug 777385 - Support (some) Paris bindings objects as weak map keys. r=peterv
...
This adds support for many kinds of Paris bindings objects as weak map keys.
This patch supports nsISupports objects as well as non-cycle-collected
non-nsISupports objects. What is needed for support is to preserve any wrapper,
if the object is wrapper cached. In other cases, we don't need to do anything.
2012-11-09 10:59:02 -08:00
Jeff Walden
d9889b3184
Bug 826447 - Change all the proxy API signatures to take unsigned flags, rather than bool set, so that it's easier to find all tests of JSRESOLVE_ASSIGNING. r=bz
...
--HG--
extra : rebase_source : 3b88b411965087984d7973a90f8fa1b06457a6ce
2013-01-03 15:31:36 -06:00
Nicholas Nethercote
bd7d66d93a
Bug 824883 - Fix three warnings in dom/ code. r=bz.
...
--HG--
extra : rebase_source : 3763606a23b66493596787ca33cec32618efa2f1
2012-12-26 20:24:59 -08:00
Peter Van der Beken
2e848596ed
Fix for bug 820577 (Support reparenting for new DOM binding objects). r=bholley/bz.
...
--HG--
extra : rebase_source : 66dad56b8f543790ffa7e595ccd684c4673403df
2012-09-26 16:17:46 +02:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Boris Zbarsky
15e523cee0
Bug 818379. Make sure interface objects have a 'length' property even if they're not real function objects. r=peterv
2012-12-14 14:10:49 -05:00
Boris Zbarsky
d1c8d3b88e
Bug 815803. Now that JSSLOT_PROXY_PRIVATE == 0, simplify binding code that had to deal with different slot indices on proxy and non-proxy objects. r=peterv
2012-12-06 15:21:19 -05:00
Boris Zbarsky
b3142f98f8
Bug 816376. Create vanilla objects for the interface object of callback interfaces. r=peterv
2012-12-06 15:21:18 -05:00
Peter Van der Beken
1830a6a0b7
Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 1: use qsObjectHelper instead of xpcObjectHelper in HandleNewBindingWrappingFailure. r=bz.
...
--HG--
extra : rebase_source : 32e20aec9cf2ea8a6e8d878ce758f792e6b8a67f
2012-11-27 10:20:04 +01:00
Ehsan Akhgari
7d0b7e0454
Backed out 6 changesets (bug 814821, bug 815158, bug 814195) for test failures
...
Backed out changeset 0c2011091748 (bug 815158)
Backed out changeset 9d70b4460508 (bug 814195)
Backed out changeset bf8746658a72 (bug 814821)
Backed out changeset e73366b088d7 (bug 814821)
Backed out changeset 49fc6d535c41 (bug 814821)
Backed out changeset 987aea26a43a (bug 814821)
2012-11-27 16:30:39 -05:00
Peter Van der Beken
9b1c163cdc
Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 1: use qsObjectHelper instead of xpcObjectHelper in HandleNewBindingWrappingFailure. r=bz.
...
--HG--
extra : rebase_source : 748e0343d37e2b9a25b5b6644bebff428474310c
2012-11-27 10:20:04 +01:00