Commit Graph

40 Commits

Author SHA1 Message Date
Dan Gohman
a08337eb0c Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn 2013-09-24 08:21:22 -07:00
Ryan VanderMeulen
9fa464d752 Backed out changeset 2c3d1c9241d7 (bug 918023) for Windows debug TestEndian failures.
CLOSED TREE
2013-09-24 14:09:15 -04:00
Dan Gohman
f4b8189f4a Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn 2013-09-24 08:21:22 -07:00
Ehsan Akhgari
dee6c12c6f Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Nicholas Nethercote
7c39e3a3aa Bug 910109 (part 1) - Make jsproxy.h not depend on jsapi.h. r=luke.
--HG--
extra : rebase_source : bc2fa911e3a7feaafb778b756994e126257585a7
2013-08-28 17:20:24 -07:00
Boris Zbarsky
e7f14418b2 Bug 908530 part 3. Stop including xpcpublic.h in DOMJSProxyHandler.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky
730c01bcf9 Bug 908351. Stop over-including DOMJSClass.h, so we don't rebuild as much when PrototypeList.h changes. We do this by factoring out the slot macros into a separate header and including that. r=khuey 2013-08-23 22:42:39 -04:00
Nicholas Nethercote
b89a8ac1c0 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Peter Van der Beken
fd990e273b Bug 895758. Make the global scope polluter a proxy. r=bzbarsky 2013-07-09 10:45:13 -04:00
Terrence Cole
a08ea9c568 Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley 2013-04-30 10:29:40 -07:00
Boris Zbarsky
ba0d3d3f9a Bug 707564 part 4. Teach WebIDL Xrays about the GetOwnProperties methods on WebIDL objects that have NewResolve. r=smaug 2013-08-03 23:38:55 -04:00
Nicholas Nethercote
5fc822fbee Bug 887558 (part 2) - Move various functions into ProxyObject and FunctionProxyObject. r=jorendorff.
--HG--
extra : rebase_source : 14402b9ab7eda3389eb1b812ee961e46067b5b1d
2013-06-20 22:39:22 -07:00
Jeff Walden
63dbd9617f Bug 888106 - Add too-much-recursion detection to isExtensible tests, and make the isExtensible hook capable of failing. r=bholley, r=ejpbruel
--HG--
extra : rebase_source : fe7345322f87dd214aa5122ea8704750e8b2375a
2013-06-28 14:01:09 -07:00
Andrew McCreight
5810441ee9 Bug 882997 - Don't DROP or clear wrapper cache flag in GetAndClearExpandoObject. r=peterv 2013-06-28 12:32:27 -07:00
Peter Van der Beken
131db2e8fe Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky.
--HG--
extra : rebase_source : 0c848e1c18a366ecd95b1a9acc4b517d108131fe
2013-05-17 17:04:08 +02:00
Peter Van der Beken
86d520dcf2 Bug 874321 - Fix setting of expandos on Xrays for DOM bindings with named properties. r=bz.
--HG--
extra : rebase_source : 697545417d27696de05c0f22987e4cb187d226cd
2013-05-29 11:38:57 +02:00
Peter Van der Beken
6e95a2ccef 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
Ehsan Akhgari
cfa035fed9 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
97c5edb4da Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz.
--HG--
extra : rebase_source : 12dbaff8dd2acfeee87bdfa738a013344cb1977a
2013-04-20 18:04:09 +02:00
Boris Zbarsky
2ead1e05ab Bug 865969 part 7. Fix rooting hazards in DOMJSProxyHandler.cpp. r=ms2ger 2013-05-03 19:29:09 -04:00
Boris Zbarsky
6baed10459 Bug 865969 part 6. Fix rooting hazards in BindingUtils.cpp. r=smaug 2013-05-03 19:29:08 -04:00
Jim Blandy
e9b58eb4dc Bug 862531: Replace BaseProxyHandler::obj_toString with className. r=jorendorff 2013-04-30 14:44:50 -07:00
Peter Van der Beken
0ea5671cd2 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
Jose Cortes
c3d2c6b38c 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
Eddy Bruel
193967352e 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
--HG--
extra : rebase_source : 156d2c22499372fceb60d130e363a3685e68b9fc
2013-03-22 19:43:03 -07:00
Ryan VanderMeulen
7e1725db21 Backed out bug 789897 due to regressions. 2013-03-29 14:07:32 -04:00
Jeff Walden
286a3b9607 Bug 789897 - Make BaseProxyHandler::{isExtensible,preventExtensions} pure virtual. r=bholley
--HG--
extra : rebase_source : 6c3bada30b00877f0388baf8a72e18adf9636750
2013-03-28 00:19:40 -07:00
Tom Schuster
0112f8352e Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz 2013-03-21 23:23:48 +01:00
Tom Schuster
012c930168 Bug 828462 - Root Proxy/Wrapper delete. r=terrence 2013-03-21 23:23:48 +01:00
Tom Schuster
30b86c5cc0 Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
fcf6a93bf4 Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence 2013-03-21 23:23:47 +01:00
Jeff Walden
86789118e4 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
Boris Zbarsky
cd2c495c6c Bug 816421. Make Document.visibilityState a WebIDL enum. r=peterv
A lot of the changes here are just so I can actually build after including DocumentBinding.h in nsIDocument.h
2012-12-25 14:00:15 -08:00
Boris Zbarsky
75b79a780d Bug 808991. Named getters should get called for indexed properties on objects that don't support indexed properties. r=peterv 2012-11-08 23:48:42 -08:00
Boris Zbarsky
892b323c34 Bug 772869. Make getOwnPropertyNames work correctly for WebIDL proxy bindings. r=peterv,ms2ger 2012-11-05 11:58:03 -05:00
Peter Van der Beken
e86cd8818c Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
Bobby Holley
9f982e86a6 Bug 761695 - Implement expando traps for ProxyXrayTraits DOMXrayTraits. r=peterv
For new DOM proxies, we could probably use the Xray expando machinery for the
regular expando object as well, and free up one of the reserved slots. That's
more than I want to bite off for the moment, though.

I also decided not to block on bug 760095 and just kick the problem of globals
with new binding down the road a little bit.
2012-10-05 18:59:23 +02:00
Jeff Walden
df94506af9 Bug 789309 - Stop installing jsatom.h and jsatom.tbl. r=jorendorff 2012-09-06 17:51:50 -07:00
Peter Van der Beken
bb71680e0a 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
854457d901 Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00