Commit Graph

144 Commits

Author SHA1 Message Date
Jeff Walden
8e7858fd5f Bug 888106 - Add too-much-recursion detection to isExtensible tests, and make the isExtensible hook capable of failing. r=bholley, r=ejpbruel 2013-06-28 14:01:09 -07:00
Andrew McCreight
56bc9d2d58 Bug 882997 - Don't DROP or clear wrapper cache flag in GetAndClearExpandoObject. r=peterv 2013-06-28 12:32:27 -07:00
Ms2ger
bbc41074ac Bug 884268 - Part b: Move nsContentUtils::PreserveWrapper to nsWrapperCache; r=smaug 2013-06-23 09:15:42 +02:00
Jon Coppeard
5f0e17f56a Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz 2013-06-21 14:12:46 +01:00
Ryan VanderMeulen
454e8e0143 Bug 875449 - Bustage fix. 2013-06-07 08:54:13 -04:00
Anand Soni
b170f0c713 Bug 875449 - Rename ListBase to DOMProxy, since these proxies are used for all sorts of objects that aren't in any way like lists. r=djvj 2013-06-07 00:02:26 +05:30
Peter Van der Beken
a83b1cb4df Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky. 2013-05-17 17:04:08 +02:00
Peter Van der Beken
2487190814 Bug 874321 - Fix setting of expandos on Xrays for DOM bindings with named properties. r=bz. 2013-05-29 11:38:57 +02:00
Bobby Holley
c9c266aea9 Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Boris Zbarsky
4cd3f5f072 Bug 869311. More rooting in dom/bindings and content/base. r=smaug 2013-05-07 22:34:56 -04:00
Phil Ringnalda
a8470efafb Merge m-c to m-i 2013-05-05 12:17:07 -07:00
Ms2ger
879226f26a Bug 868411 - Handlify js::GetObjectProto; r=bz 2013-05-05 09:03:14 +02:00
Boris Zbarsky
7722e3712c Bug 865969 part 7. Fix rooting hazards in DOMJSProxyHandler.cpp. r=ms2ger 2013-05-03 19:29:09 -04:00
Boris Zbarsky
3d66d57468 Bug 865969 part 6. Fix rooting hazards in BindingUtils.cpp. r=smaug 2013-05-03 19:29:08 -04:00
Peter Van der Beken
ec68f9d769 Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz. 2012-12-11 21:45:36 -05:00
Peter Van der Beken
2f146c3949 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz. 2013-04-20 18:04:09 +02:00
Peter Van der Beken
1e938d7ab9 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings. r=jandem. 2013-04-29 15:17:59 +02:00
Ehsan Akhgari
e3fcf0dbea Backed out 3 changesets (bug 855971, bug 820846) because of browser-chrome test failures
Backed out changeset a2245b038bcc (bug 855971)
Backed out changeset 2a999f8ee317 (bug 820846)
Backed out changeset 6dba144500f3 (bug 820846)
2013-05-04 19:27:20 -04:00
Peter Van der Beken
11084c61c0 Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz. 2012-12-11 21:45:36 -05:00
Peter Van der Beken
47ed4524d2 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz. 2013-04-20 18:04:09 +02:00
Peter Van der Beken
55084bac48 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings. r=jandem. 2013-04-29 15:17:59 +02:00
Jim Blandy
62fa8b7821 Bug 862531: Replace BaseProxyHandler::obj_toString with className. r=jorendorff 2013-04-30 14:44:50 -07:00
Peter Van der Beken
8c720a7347 Bug 852094 - Support Unforgeable on proxy-based DOM bindings. r=bz. 2012-12-20 10:56:11 +01:00
Peter Van der Beken
3a8cee445d Bug 862092 - "Assertion failure: target->isNative() == obj->isNative()" adopting a <select>. r=bz. 2013-04-16 19:02:57 +02:00
Jose Cortes
a961d823b8 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 2013-04-02 16:05:37 -07:00
Eddy Bruel
66f76c5ee5 Bug 789897 - Implement isExtensible and preventExtensions traps for proxies, including scriptable direct proxies, and in the various wrapper classes. Also move non-static JSObject::preventExtensions to static ObjectImpl::preventExtensions, for handle correctness. Patch is a semi-tag-team effort with jwalden. r=jwalden, r=ejpbruel, r=bholley, r=two-turtle-doves-and-a-partridge-in-a-pear-tree 2013-03-22 19:43:03 -07:00
Ryan VanderMeulen
5637c1012e Backed out bug 789897 due to regressions. 2013-03-29 14:07:32 -04:00
Jeff Walden
cfd1dc4c08 Bug 789897 - Make BaseProxyHandler::{isExtensible,preventExtensions} pure virtual. r=bholley 2013-03-28 00:19:40 -07:00
Tom Schuster
a2f87bfeac Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz 2013-03-21 23:23:48 +01:00
Tom Schuster
262f6ec5cf Bug 828462 - Root Proxy/Wrapper delete. r=terrence 2013-03-21 23:23:48 +01:00
Tom Schuster
2ed5bd5464 Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
bf1dbb9e61 Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
c65c3d9eca Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence 2013-03-21 23:23:47 +01:00
Jeff Walden
5c53f406c8 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 2013-01-03 15:31:36 -06:00
Jeff Walden
6054ca7e90 Bug 823283 - Remove all remaining uses of JSRESOLVE_QUALIFIED, and the few remaining tests (which were pretty much purely diagnostic). r=luke 2012-09-15 11:19:55 -07:00
Boris Zbarsky
1364e75c6a 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
4a2ba45478 Bug 772869. Make getOwnPropertyNames work correctly for WebIDL proxy bindings. r=peterv,ms2ger 2012-11-05 11:58:03 -05:00
Bobby Holley
60fc9cb7db Bug 797821 - Address Ms2ger's review comments. r=me 2012-10-25 17:01:09 +02:00
Bobby Holley
9e9cd86fb1 Bug 797821 - Hoist XPConnect-y stuff out of the compartment private and into the XPCWrappedNativeScope. r=mrbkap
This change means we no longer have to keep around a set of XPConnect compartments.
We keep the compartment private around for non-xpconnecty stuff like about:memory
instrumentation that needs to happen on non-xpconnect compartments.
2012-10-25 17:01:09 +02:00
Ms2ger
988bdbb6f8 Bug 798014 - Remove dead DefineConstructor definition; r=khuey 2012-10-14 09:39:05 +02:00
Bill McCloskey
d293598030 Bug 787856 - Convert js::GetObjectProto to support lazy protos (r=bhackett) 2012-09-03 16:42:10 -07:00
Jeff Walden
94b9a2af4a Bug 789309 - Stop installing jsatom.h and jsatom.tbl. r=jorendorff 2012-09-06 17:51:50 -07:00
Peter Van der Beken
a6bd68af2b Bug 753517 part 5. Enable the list IC for new DOM bindings too. r=bz. 2012-08-24 09:32:26 -07:00
Peter Van der Beken
2e8d72e06f Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky. 2012-05-22 15:46:20 +02:00