Commit Graph

34769 Commits

Author SHA1 Message Date
Bobby Holley
650ed7043d Bug 965898 - All properties on cross-origin DOM objects should be |own|. r=gabor 2014-07-30 12:23:01 -07:00
Bobby Holley
c186e009c9 Bug 965898 - Implement an Xray subclass that we can use to implement HTML5 cross-origin semantics. r=gabor 2014-07-30 12:23:01 -07:00
Bobby Holley
059da04f08 Bug 965898 - Drop support for XPCWN XOWs. r=gabor
XOWs only allow access to Window and Location, both of which are on WebIDL now.
2014-07-30 12:23:01 -07:00
Douglas Crosher
97abd44398 Bug 1041519 - IonMonkey (ARM): Instantiate setVFPRegister for use by the jsapi-tests. r=mjrosenb 2014-07-29 11:57:00 +10:00
Jan de Mooij
d8e2768ac7 Bug 1046176 - Fix inlined UnsafeSetReservedSlot post barrier. r=nbp 2014-07-30 17:48:21 +02:00
Jim Blandy
dbe6c0ec6c Bug 1045900: Move the declaration of INTERNED_STRING_TO_JSID from js/src/jsapi.h to js/public/Id.h. r=jwalden 2014-07-30 08:37:03 -07:00
Jan de Mooij
8a1810ebb7 Bug 1019543 - Fix toLowerCase/toUpperCase to return the original string if possible. r=luke 2014-07-30 14:38:28 +02:00
Tom Schuster
71db6314a9 Bug 1045584 - Remove everything relating to frames from OldDebugAPI. r=jandem,bholley 2014-07-30 14:26:46 +02:00
Bobby Holley
f09600aa41 Backed out 16 changesets (bug 965898) for rooting hazards. CLOSED TREE
Backed out changeset ac4abde3579f (bug 965898)
Backed out changeset c4c7ab1a2f70 (bug 965898)
Backed out changeset e0bf3598dfe1 (bug 965898)
Backed out changeset 8f2788a0ba24 (bug 965898)
Backed out changeset 0d1cda4decaa (bug 965898)
Backed out changeset 3d80ffc439fb (bug 965898)
Backed out changeset ad66ab36fe2d (bug 965898)
Backed out changeset dcf7ccf6eff2 (bug 965898)
Backed out changeset d3f02e80355d (bug 965898)
Backed out changeset 212f2d05d9e7 (bug 965898)
Backed out changeset c350a2c0aa6d (bug 965898)
Backed out changeset c75acd0663a9 (bug 965898)
Backed out changeset d68f7ef0ae69 (bug 965898)
Backed out changeset 610e6d6e1a88 (bug 965898)
Backed out changeset 54d40a30f6ad (bug 965898)
Backed out changeset 403a0e1d2324 (bug 965898)
2014-07-29 22:57:59 -07:00
Bobby Holley
929220b018 Bug 965898 - Fix non-unified build bustage. r=me CLOSED TREE 2014-07-29 22:37:55 -07:00
Bobby Holley
be17e9f499 Bug 965898 - Import web-platform-test into the tree. r=Ms2ger 2014-07-29 21:35:32 -07:00
Bobby Holley
5955f7bd14 Bug 965898 - Allow both gettable and settable attributes in Filter(). r=gabor 2014-07-29 21:35:32 -07:00
Bobby Holley
11fa02bd53 Bug 965898 - Squelch exceptions during the shadowing detection in isCrossOriginAccessPermitted. r=gabor 2014-07-29 21:35:32 -07:00
Bobby Holley
849c04fb55 Bug 965898 - Switch policies for get{,Own}PropertyDescriptor. r=gabor 2014-07-29 21:35:32 -07:00
Bobby Holley
14d83b4e14 Bug 965898 - Generalize FilterSetter to work on all the relevant fields of JSPropertyDescriptor. r=gabor 2014-07-29 21:35:31 -07:00
Bobby Holley
ab31ab5d82 Bug 965898 - Don't reuse the JSPropertyDescriptor in BaseProxyHandler::keys. r=gabor
This causes garbage from a previous lookup to propagate into subsequent lookups,
and creates confusing situations (like having both a value and a getter).
2014-07-29 21:35:31 -07:00
Bobby Holley
8c4bd564a7 Bug 965898 - Don't use a FilteringWrapper to get an unfiltered view in ChromeObjectWrapper. r=gabor
This is necessary because subsequent patches cause us to assert when invoking
getPropertyDescriptor on a FilteringWrapper for which |Policy| denies both GET
and SET.

This stuff is really a mess. I'm looking forward to it going away.
2014-07-29 21:35:31 -07:00
Bobby Holley
f808117401 Bug 965898 - Throw for [[Delete]] and [[DefineOwnProperty]]. r=gabor 2014-07-29 21:35:31 -07:00
Bobby Holley
2c94a4ea50 Bug 965898 - Implement proper behavior for [[Enumerate]] And [[OwnPropertyKeys]]. r=gabor 2014-07-29 21:35:31 -07:00
Bobby Holley
98b9699fe0 Bug 965898 - Cross-origin objects should have null prototypes. r=gabor 2014-07-29 21:35:30 -07:00
Bobby Holley
43a864d9f5 Bug 965898 - All properties from cross-origin objects are "configurable", non-enumerable, and non-writable. r=gabor 2014-07-29 21:35:30 -07:00
Bobby Holley
9ba51f87fd Bug 965898 - All properties on cross-origin DOM objects should be |own|. r=gabor 2014-07-29 21:35:30 -07:00
Bobby Holley
a40fd879cb Bug 965898 - Implement an Xray subclass that we can use to implement HTML5 cross-origin semantics. r=gabor 2014-07-29 21:35:30 -07:00
Bobby Holley
08e25aefc1 Bug 965898 - Drop support for XPCWN XOWs. r=gabor
XOWs only allow access to Window and Location, both of which are on WebIDL now.
2014-07-29 21:35:29 -07:00
Bobby Holley
9f2d788107 Bug 940305 - Move extraWarnings to RuntimeOptions with a per-compartment override. r=jandem,r=khuey 2014-07-29 21:00:37 -07:00
Boris Zbarsky
61c575a324 Bug 1031945. Don't expose showModalDialog on Window if it's preffed off. r=smaug 2014-07-26 01:41:10 -04:00
Andrew McCreight
80073f0306 Bug 1037510, part 1 - Add nursery size as a parameter of CycleCollectedJSRuntime. r=khuey 2014-07-29 15:38:14 -07:00
Terrence Cole
f8c0cdd095 Bug 1033442 - Split out GC scheduling tunables to make Zone GC heap triggers clearer; r=sfink 2014-07-22 16:24:28 -07:00
Terrence Cole
0530fb0a80 Bug 1045181 - Miscellaneous small cleanups in js::gc; r=jonco 2014-07-29 10:47:43 -07:00
Brian Hackett
a6e0e2f3ef Bug 1042833 - Remove JS_ION #ifdef, r=jandem. 2014-07-29 12:51:40 -08:00
Terrence Cole
01619aa03f Backed out changeset eefad3e4e594 for valgrind failures on a CLOSED TREE.
--HG--
extra : rebase_source : b5b018f5a5f23fe12600e64508ef075794d707fe
2014-07-29 10:47:32 -07:00
Brian Hackett
beed68d385 Bug 1028580 - Fold and/or and condition tests before critical edge splitting, r=sunfish. 2014-07-29 09:18:14 -08:00
Terrence Cole
142c3254f8 Bug 1033442 - Split out GC scheduling tunables to make Zone GC heap triggers clearer; r=sfink
--HG--
extra : rebase_source : 3631e7c23d5e48f294d7860d2edd3dda776036cc
2014-07-22 16:24:28 -07:00
Bobby Holley
b5a99312f6 Bug 1044205 - Rename XPCWrappedNativeScope::TraceSelf to TraceInside. r=billm 2014-07-29 08:48:33 -07:00
Bobby Holley
bba4516624 Bug 1044205 - Invoke XPCWrappedNativeScope::TraceSelf from TraceXPCGlobal. r=billm 2014-07-29 08:48:32 -07:00
Bobby Holley
22790b10a5 Bug 1044205 - Detach the XPCWrappedNativeScope from the CompartmentPrivate during forcible shutdown. r=billm 2014-07-29 08:48:32 -07:00
Luke Wagner
8ae00b2cc6 Bug 1040390 - Integrate JS::ProfilingFrameIterator with the profiler (r=bgirard)
--HG--
extra : rebase_source : 7f9a022fb16a353d22242f60cfae4e5659798752
2014-07-29 09:56:22 -05:00
Luke Wagner
d082a048a2 Bug 1040390 - Replace ad hoc methods with JS::ProfilingFrameIterator::label() (r=dougc)
--HG--
extra : rebase_source : 396c7925edac39e39d16dea7a53da3ba34f68ddf
2014-07-29 09:56:21 -05:00
Luke Wagner
2875ab4eb5 Bug 1040390 - Add JS::ProfilingFrameIterator::stackAddress (r=dougc)
--HG--
extra : rebase_source : a5f1823e8e9fb96aeb2813ce5105dc9096a054d7
2014-07-29 09:56:21 -05:00
Luke Wagner
352fe19288 Bug 1040390 - Make js::RunScript push an isCpp frame (r=djvj)
--HG--
extra : rebase_source : 66f8e50977cb172d0b888aca382227fc252c8410
2014-07-29 09:56:21 -05:00
Luke Wagner
3d746dbc68 Bug 1027885 - Don't clobber arg registers in the profiling builtin thunk on ARM (r=dougc)
--HG--
extra : rebase_source : e735dfac5a1e6652049d13145e165dcc98b97b5c
2014-07-29 09:56:06 -05:00
Nicolas B. Pierron
5012ab1ae3 Bug 1034349 - Skip Float32 specialization for int32 operations. r=bbouvier 2014-07-29 04:49:19 -07:00
Mike Hommey
42f57b6138 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Bobby Holley
a8cb4298af Bug 1042996 - Remove the special JSContext for Sandboxes. r=bobowen,r=gabor 2014-07-28 14:55:51 -07:00
Bobby Holley
c10abfa12b Bug 1042996 - Always set an explicit version in evalInSandbox. r=gabor
If setVersion() is not invoked on compileOptions, it ends up with
JSVERSION_UNKNOWN, which invokes findVersion() on the JSContext, which does a
bunch of crazy hunting of previous scripted stack frames that we most certainly
don't want for sandboxes, which are supposed to be controlled environments.
Using a separate JSContext in evalInSandbox isolates us from these effects, so
once we stop doing that we need to be more explicit here.
2014-07-28 14:55:51 -07:00
Brian Hackett
0a6777b210 Bug 1042833 - Add 'none' architecture used in --disable-ion builds, r=jandem. 2014-07-28 11:37:48 -08:00
Bobby Holley
6c3d228f84 Bug 1042840 - Remove evalInWindow. r=gabor 2014-07-28 11:19:25 -07:00
Bobby Holley
0b15607f72 Bug 1042824 - Remove implicit cloning behavior in function forwarders. r=gabor 2014-07-28 11:19:25 -07:00
Bobby Holley
74d7d2c940 Bug 1042824 - Borrow the JSID_VOID handling from the cloning forwarding. r=gabor 2014-07-28 11:19:25 -07:00
Bobby Holley
57e615c22e Bug 1042824 - Manually do the cross-compartment call in NonCloningFunctionForwarder. r=gabor 2014-07-28 11:19:24 -07:00