Bobby Holley
fe93d4cfad
Bug 965898 - Allow both gettable and settable attributes in Filter(). r=gabor
2014-07-30 12:23:03 -07:00
Bobby Holley
6f7017b9f2
Bug 965898 - Squelch exceptions during the shadowing detection in isCrossOriginAccessPermitted. r=gabor
2014-07-30 12:23:03 -07:00
Bobby Holley
1080b79d3b
Bug 965898 - Switch policies for get{,Own}PropertyDescriptor. r=gabor
2014-07-30 12:23:03 -07:00
Bobby Holley
9fb578fd1a
Bug 965898 - Generalize FilterSetter to work on all the relevant fields of JSPropertyDescriptor. r=gabor
2014-07-30 12:23:03 -07:00
Bobby Holley
7011f80f30
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-30 12:23:03 -07:00
Bobby Holley
180ef58788
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-30 12:23:02 -07:00
Bobby Holley
7f37486434
Bug 965898 - Throw for [[Delete]] and [[DefineOwnProperty]]. r=gabor
2014-07-30 12:23:02 -07:00
Bobby Holley
825af5fcd8
Bug 965898 - Implement proper behavior for [[Enumerate]] And [[OwnPropertyKeys]]. r=gabor
2014-07-30 12:23:02 -07:00
Bobby Holley
a3fdc785eb
Bug 965898 - Cross-origin objects should have null prototypes. r=gabor
2014-07-30 12:23:02 -07:00
Bobby Holley
c94d4e694c
Bug 965898 - All properties from cross-origin objects are "configurable", non-enumerable, and non-writable. r=gabor
2014-07-30 12:23:02 -07:00
Bobby Holley
4855eef6ea
Bug 965898 - All properties on cross-origin DOM objects should be |own|. r=gabor
2014-07-30 12:23:01 -07:00
Bobby Holley
971ad29192
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
f90f3f7319
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
50fe768ad4
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
27290dac48
Bug 1046176 - Fix inlined UnsafeSetReservedSlot post barrier. r=nbp
2014-07-30 17:48:21 +02:00
Jim Blandy
74a8398e27
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
1169456ebf
Bug 1019543 - Fix toLowerCase/toUpperCase to return the original string if possible. r=luke
2014-07-30 14:38:28 +02:00
Tom Schuster
63359ec098
Bug 1045584 - Remove everything relating to frames from OldDebugAPI. r=jandem,bholley
2014-07-30 14:26:46 +02:00
Bobby Holley
7db28dae27
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
6b55e0bd57
Bug 965898 - Fix non-unified build bustage. r=me CLOSED TREE
2014-07-29 22:37:55 -07:00
Bobby Holley
ed0824bbb7
Bug 965898 - Import web-platform-test into the tree. r=Ms2ger
2014-07-29 21:35:32 -07:00
Bobby Holley
ee67f37e7b
Bug 965898 - Allow both gettable and settable attributes in Filter(). r=gabor
2014-07-29 21:35:32 -07:00
Bobby Holley
de4ecc2a87
Bug 965898 - Squelch exceptions during the shadowing detection in isCrossOriginAccessPermitted. r=gabor
2014-07-29 21:35:32 -07:00
Bobby Holley
393c112402
Bug 965898 - Switch policies for get{,Own}PropertyDescriptor. r=gabor
2014-07-29 21:35:32 -07:00
Bobby Holley
ad9059bb11
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
edfc634180
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
212683cae4
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
83e31f73e3
Bug 965898 - Throw for [[Delete]] and [[DefineOwnProperty]]. r=gabor
2014-07-29 21:35:31 -07:00
Bobby Holley
f2b2ae9683
Bug 965898 - Implement proper behavior for [[Enumerate]] And [[OwnPropertyKeys]]. r=gabor
2014-07-29 21:35:31 -07:00
Bobby Holley
ea11a4e359
Bug 965898 - Cross-origin objects should have null prototypes. r=gabor
2014-07-29 21:35:30 -07:00
Bobby Holley
1ddc37dfd7
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
7724a65eb8
Bug 965898 - All properties on cross-origin DOM objects should be |own|. r=gabor
2014-07-29 21:35:30 -07:00
Bobby Holley
605a17bbb6
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
49b066f2d2
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
41287f115d
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
f36664672f
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
532e925036
Bug 1037510, part 1 - Add nursery size as a parameter of CycleCollectedJSRuntime. r=khuey
2014-07-29 15:38:14 -07:00
Terrence Cole
748ec580f8
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
3cc44bc3b7
Bug 1045181 - Miscellaneous small cleanups in js::gc; r=jonco
2014-07-29 10:47:43 -07:00
Brian Hackett
4f3fc78ee7
Bug 1042833 - Remove JS_ION #ifdef, r=jandem.
2014-07-29 12:51:40 -08:00
Terrence Cole
44d99ddf16
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
d8a230ab6c
Bug 1028580 - Fold and/or and condition tests before critical edge splitting, r=sunfish.
2014-07-29 09:18:14 -08:00
Terrence Cole
2ffe2b30aa
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
0fdf3aaf28
Bug 1044205 - Rename XPCWrappedNativeScope::TraceSelf to TraceInside. r=billm
2014-07-29 08:48:33 -07:00
Bobby Holley
5bfdc1a8eb
Bug 1044205 - Invoke XPCWrappedNativeScope::TraceSelf from TraceXPCGlobal. r=billm
2014-07-29 08:48:32 -07:00
Bobby Holley
85a6735f8c
Bug 1044205 - Detach the XPCWrappedNativeScope from the CompartmentPrivate during forcible shutdown. r=billm
2014-07-29 08:48:32 -07:00
Luke Wagner
43734ba31b
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
aa6f30446c
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
a2f63f6a3e
Bug 1040390 - Add JS::ProfilingFrameIterator::stackAddress (r=dougc)
...
--HG--
extra : rebase_source : a5f1823e8e9fb96aeb2813ce5105dc9096a054d7
2014-07-29 09:56:21 -05:00
Luke Wagner
af5aaec4de
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
64f34df966
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
2a97bc46d6
Bug 1034349 - Skip Float32 specialization for int32 operations. r=bbouvier
2014-07-29 04:49:19 -07:00
Mike Hommey
1e79fe55c2
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +09:00
Bobby Holley
fd6bf2c90c
Bug 1042996 - Remove the special JSContext for Sandboxes. r=bobowen,r=gabor
2014-07-28 14:55:51 -07:00
Bobby Holley
0ac3502f9a
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
2e2abbaafe
Bug 1042833 - Add 'none' architecture used in --disable-ion builds, r=jandem.
2014-07-28 11:37:48 -08:00
Bobby Holley
c77cb31ac4
Bug 1042840
- Remove evalInWindow. r=gabor
2014-07-28 11:19:25 -07:00
Bobby Holley
50b9c0b895
Bug 1042824 - Remove implicit cloning behavior in function forwarders. r=gabor
2014-07-28 11:19:25 -07:00
Bobby Holley
11aa4b0a97
Bug 1042824 - Borrow the JSID_VOID handling from the cloning forwarding. r=gabor
2014-07-28 11:19:25 -07:00
Bobby Holley
f977f7061f
Bug 1042824 - Manually do the cross-compartment call in NonCloningFunctionForwarder. r=gabor
2014-07-28 11:19:24 -07:00
Bobby Holley
8bcc146804
Bug 1042824 - Do a security check on the callee in ExportFunction. r=gabor
...
It would be nice to enforce this in New*FunctionForwarder, but we're already
in the target compartment at that point. :-(
We don't need to worry about this at the other callsites of
New*FunctionForwarder because:
* The stuff in XPCComponents is always invoked by System Principaled code.
* The stuff in StackScopedCloneRead only gets invoked when we're already done a
successful CheckedUnwrap inside the JS engine.
2014-07-28 11:19:24 -07:00
Benjamin Bouvier
d39eb74e72
Bug 1042244: Make FuncWith return the same type as their inputs; r=nmatsakis
2014-07-28 19:27:52 +02:00
Benjamin Bouvier
84fdb9a299
Bug 1042244: Instantiate operators template arguments in users; r=nmatsakis
2014-07-28 19:27:48 +02:00
Benjamin Bouvier
7b9a7f0ecc
Bug 1042244: Simplify and generalize FuncShuffle; r=nmatsakis
2014-07-28 19:27:46 +02:00
Benjamin Bouvier
50c643e060
Bug 1042244: Remove return template parameter in SIMD operators; r=nmatsakis
2014-07-28 19:27:42 +02:00
Benjamin Bouvier
68e0e44c0b
Bug 1042244: Make comparison operators always return int32_t; r=nmatsakis
2014-07-28 19:27:34 +02:00
Ehsan Akhgari
022f2f1142
Bug 1045092 - Fix some bad implicit constructors in xpconnect; r=bholley
2014-07-28 13:20:14 -04:00
Andrea Marchesini
8e6f92ea03
Bug 1030917 - xpc::GlobalProperties object ignores the 'aPromise' param., r=bholley
2014-07-28 15:42:57 +01:00
Nicolas B. Pierron
13078b60ea
Bug 1040194 - Keep recoverOnBailout instruction for resume point operands. r=h4writer
2014-07-28 05:46:26 -07:00
Nicolas B. Pierron
dae837c304
no bug - Fix order of namespace comments. r=me
2014-07-28 05:46:26 -07:00
Benjamin Bouvier
a838adcacf
Bug 1043898: Remove num() methods and use input() instead, remove MComputeThis' overriding input(); r=nbp
2014-07-28 13:18:46 +02:00
Benjamin Bouvier
e92f13bf2e
Bug 1043898: Remove MNot's operand() and use input() instead; r=nbp
2014-07-28 13:18:42 +02:00
Jon Coppeard
fe8bcdd001
Bug 1043888 - Make GetObjetZone() work on nursery objects and rename GetGCThingZone() to GetTenuredGCThingZone() r=terrence
2014-07-28 10:39:36 +01:00
David Zbarsky
57223393ac
Bug 1044305: Remove Location classinfo r=bz
2014-07-26 13:28:48 -04:00
Jim Blandy
e35255f747
Bug 1012456: Use 'using namespace' in DebuggerMemory.cpp, to avoid wrapping top-level definitions in a namespace { ... } form. r=sfink
2014-07-25 22:17:34 -07:00
Jim Blandy
0fbb454c44
Bug 1012456: Use 'using namespace' in DebuggerMemory.cpp, to avoid wrapping top-level definitions in a namespace { ... } form. r=sfink
2014-07-25 22:10:51 -07:00
Andy Anderson
162f77b1b8
Bug 369778 - RegExp capturing groups that aren't matched during a match (because of, say, a *?+{n}{n,m} quantifier that means they're never used) should be matched as |undefined|, not as the empty string. r=jwalden
...
--HG--
extra : rebase_source : cf5710ee19dbdc0ee9b50d9a75d94e4e04584ec4
2014-07-25 14:34:10 -07:00
Jeff Walden
7b38606210
Bug 1043683 - Make RegExpStatics::makeMatch sane about not taking two arguments, one of which is always double the other (yet has its parity tested). r=ae.anderson0@gmail.com
...
--HG--
extra : rebase_source : 13b576c6e15b8f4f0ad7e639ccdcaaf609bc10b5
2014-07-25 14:34:10 -07:00
Jeff Walden
9204f25f64
Bug 1037609 - Remove the js_strdup(cx, jschars) method entirely, seeing as there are so few other uses of it. r=jimb
...
--HG--
extra : rebase_source : 1a611dccabaddccebc522943559a2ea1f1703811
2014-07-11 14:24:34 -07:00
Luke Wagner
49cca32cc2
Bug 1043453 - OdinMonkey: fix bugs in interrupt handling (r=dougc)
...
--HG--
extra : rebase_source : 79fc33173590bde7e80f2960115361cb21c27cba
2014-07-25 11:01:35 -05:00
Tom Schuster
5f98bf8180
Bug 1043588 - Remove some unused functions from OldDebugAPI. r=jimb
2014-07-25 14:26:40 +02:00
Tom Schuster
5641840326
Bug 1031878 - Remove JS_SetWatchPoint and friends. r=jimb
2014-07-25 14:26:40 +02:00
Tom Schuster
0c81b4ab09
Bug 1043577 - Remove PropertyDescArray stuff. r=jimb
2014-07-25 14:26:40 +02:00
Tom Schuster
8703e4f327
Bug 1043578 - Remove JS_SetDebuggerHandler and friends. r=jimb
2014-07-25 14:26:40 +02:00
Tom Schuster
55ca76bc2e
Bug 1031876 - Remove JS_SetTrap and friends. r=jimb
2014-07-25 14:26:39 +02:00
Benjamin Bouvier
c7b04b8954
Bug 1028580: remove multi-line comment warning; r=Ms2ger
2014-07-25 10:21:50 +02:00
Ms2ger
369b3ac3f7
Bug 1043281 - Remove JS_ClearNonGlobalObject; r=luke
...
This has always been a somewhat wonky API, which only existed because of
existing consumers in the DOM. The last consumer went away in bug 660237.
2014-07-25 08:59:40 +02:00
Gou Lingfeng
21b75c90da
Bug 977400 - Fixed WeakMapPtr visibility, r=sfink
...
--HG--
extra : rebase_source : 404dabdbaa3056988f922ce711292ded7f77f7dc
2014-07-24 16:57:42 -07:00
Nicholas Nethercote
fc41c3c0c1
Bug 1039965 (attempt 2) - Avoid slop in JS arrays. r=bhackett,terrence.
...
This patch changes JS array resizing to prefer power-of-two sized slot
requests. Previously it would mostly make slightly-more-than-power-of-two sized
requests that cause lots of slop.
Also, shrinkElements() now only does a reallocation if it would result in going
down a size class. E.g. if you pop all the elements from a 1000-element array,
it would realloc 999, then 998, then 997, all the way down the minimum size.
Now it does 512, then 256, down to the minimum size (which is 8).
I confirmed with DMD that the element allocations now have zero slop. This
reduces peak RSS loading a couple of large PDF files (four times each) with
pdf.js by 10s of MiBs.
--HG--
extra : rebase_source : c10fd4efd8ab80df5bbe14815009edb8eed3f23f
2014-07-24 18:41:09 -07:00
Terrence Cole
963a4ecc4e
Backed out changeset 554e549aab67 (bug 1033442) for build failures on a CLOSED TREE.
...
--HG--
extra : rebase_source : 984dcabe44674d73bcadbce89899d683db96449e
2014-07-24 11:22:48 -07:00
Terrence Cole
fd151d5d0c
Bug 1033442 - Split out GC scheduling tunables to make Zone GC heap triggers clearer; r=sfink
...
--HG--
extra : rebase_source : 43d48180eae9d4753dba22078b4c66061a9380d2
2014-07-22 16:24:28 -07:00
Nathan Froyd
d6641186a2
Bug 1043417 - don't check for X headers in js/src; r=mshal
2014-07-24 09:59:55 -04:00
Terrence Cole
3184079621
Bug 1029648 - Fix a typo; r=jonco
2014-07-22 11:25:22 -07:00
Hannes Verschore
2182869dc6
Bug 1039976 - IonMonkey: Improve generated code of MTypeObjectDispatch with one case, r=jandem
2014-07-24 16:40:11 +02:00
Hannes Verschore
63ea4bc881
Bug 1039542 - TraceLogger: Reset the lastChildId when resuming the tracelogger, r=bbouvier
2014-07-24 16:40:10 +02:00
Nicolas B. Pierron
4a1e7b14ac
Bug 1039607 - Scalar Replacement support dynamic slots. r=h4writer
2014-07-24 04:30:50 -07:00
Jan de Mooij
b22c062679
Bug 1031529 part 4 - Remove getBuildConfiguration().threadsafe. r=bhackett
2014-07-24 11:56:47 +02:00
Jan de Mooij
6490db0af1
Bug 1031529 part 3 - Step defining JS_THREADSAFE, remove --disable-threadsafe. r=glandium
2014-07-24 11:56:45 +02:00
Jan de Mooij
da58004330
Bug 1031529 part 2 - Remove JS_THREADSAFE #ifdefs everywhere. r=bhackett
2014-07-24 11:56:43 +02:00
Jan de Mooij
6e5c3a5c11
Bug 1031529 part 1 - Add a --no-threads shell flag. r=bhackett
2014-07-24 11:56:41 +02:00
Nick Fitzgerald
58050836b0
Bug 1035287 - Part 2: Refactor js::SavedStacks::insertFrames to use iteration instead of recursion. r=shu
2014-07-23 09:15:00 +02:00
Terrence Cole
8878446289
Bug 1033442 - Automate tracking of the GCRuntime's gcBytes; r=jonco,sfink
2014-07-22 13:30:26 -07:00
Mike Conley
a3b82c8ae2
Bug 1042398 - Tests. r=bholley
2014-07-23 15:20:05 -07:00
Bobby Holley
64ee1af06f
Bug 1042398 - Add a WaiveXrayWrapper override for ::iterate. r=gabor
...
I thought we had overrides for all the proxy traps that returned non-primitive
values, but it looks like we missed one.
2014-07-23 15:20:05 -07:00
Alexandre Poirot
5a3800bc64
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal
2014-07-02 15:40:56 -07:00
Wes Kocher
4c67cec5f7
Backed out changeset 88860bed8c96 (bug 1042398) for bustage on a CLOSED TREE
2014-07-23 13:09:54 -07:00
Wes Kocher
575bd1d6b6
Backed out changeset 79d2db9a2a2c (bug 1042398) for build bustage on a CLOSED TREE
2014-07-23 13:08:24 -07:00
Brian Hackett
8c55be5102
Bug 1028580 - Improve code generated for conditional and &&/|| tests, r=jandem,sunfish.
2014-07-23 11:59:10 -08:00
Mike Conley
fc443521cb
Bug 1042398 - Tests. r=bholley
2014-07-23 12:36:22 -07:00
Bobby Holley
3c1972e20d
Bug 1042398 - Add a WaiveXrayWrapper override for ::iterate. r=gabor
...
I thought we had overrides for all the proxy traps that returned non-primitive
values, but it looks like we missed one.
2014-07-23 12:36:22 -07:00
Bobby Holley
867be7f640
Bug 1041626 - Tests. r=bz
2014-07-23 12:36:21 -07:00
Ryan VanderMeulen
73a68a8ebb
Merge inbound to m-c. a=merge
2014-07-23 15:17:20 -04:00
Ryan VanderMeulen
f6d5db98ae
Bug 1006899 - Only run the test if TypedObject is enabled. rs=nbp
2014-07-23 15:16:53 -04:00
Andrea Marchesini
9679a08231
Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer
2014-07-23 01:07:12 -04:00
Boris Zbarsky
858b055504
Bug 1021066. Make named setters work even for non-overridebuiltins bindings over Xrays. r=bholley,jorendorff
2014-07-23 01:06:33 -04:00
Mike Hommey
7ca2de4659
Followup for bug 1041936 to unbreak spidermonkey fail-on-warnings builds. r=me
2014-07-23 14:01:55 +09:00
Mike Hommey
ad9b49263a
Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps
2014-07-23 13:33:09 +09:00
Mike Hommey
71623acdd6
Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
...
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.
Always pass EXTRA_LIBS before OS_LIBS on linker command lines.
Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
e5c43ef995
Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps
2014-07-23 13:30:52 +09:00
Mike Hommey
31cd528278
Bug 1036894 part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
...
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Brian Hackett
d3daff9ebe
Bug 1028580 - Remove debugging printfs.
2014-07-22 18:37:27 -08:00
Brian Hackett
7158749355
Bug 1028580 - Improve code generated for conditional and &&/|| tests, r=jandem,sunfish.
2014-07-22 18:34:03 -08:00
Nicholas Nethercote
87fca231e7
Backout dd2018a5f894 (bug 1039965) because it caused perf regressions in Kraken.
...
--HG--
extra : rebase_source : 3d6c25bc6ce7db784d9e8ba52d3ef058c9d8d802
2014-07-22 18:11:31 -07:00
Jonathan Griffin
efbbf73c27
Backed out changeset 64586374a208 on a CLOSED TREE
2014-07-22 18:29:57 -07:00
Alexandre Poirot
09c66c2ebd
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal
2014-07-02 15:40:56 -07:00
Jonathan Griffin
0cd20a2c49
Backout 4f6d9db92389 for bustage on a CLOSED TREE
2014-07-22 17:55:50 -07:00
Mike Hommey
b99bba5c3f
Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal
2014-07-23 08:39:56 +09:00
Mike Hommey
d10b15b035
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Alexandre Poirot
c044256760
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal
2014-07-02 15:40:56 -07:00
Bobby Holley
81109a2b27
Bug 742444 - Only propagate waivers between same-origin compartments. r=gabor
2014-07-22 16:14:27 -07:00
Bobby Holley
bac5dd0535
Bug 742444 - Pass the old wrapper or value to the prewrap callback instead of its flags. r=gabor
...
We need this so that we can reason about the origin of the wrapper that
previously had a waiver and decide whether or not to extend it.
2014-07-22 16:14:27 -07:00
Eric Faust
72c8f56f1a
Bug 978279 - Refactor proxy jit-tests and add tests to account for revocation. (r=jorendorff)
...
--HG--
rename : js/src/tests/ecma_6/Proxy/proxy-isExtensible.js => js/src/jit-test/tests/proxy/testDirectProxyIsExtensible1.js
2014-07-22 14:10:34 -07:00
Eric Faust
2635980b02
Bug 978279 - Implement revocation semantics. (r=jorendorff)
2014-07-22 14:10:31 -07:00
Eric Faust
3f30fb6e29
Bug 978240 - Recomment remaining ES6 proxy traps. (r=jorendorff)
2014-07-22 14:10:30 -07:00
Luke Wagner
0f06b2bffe
Bug 1041868 - Add #ifdef JS_IONs to fix --disable-ion bustage (r=me)
...
--HG--
extra : rebase_source : e036a4cfddf84f746d77778881ced8d4f0ef4aa8
2014-07-22 09:12:15 -05:00
Dan Gohman
8a62a0302c
Bug 1041746 - IonMonkey: GVN: Clear the IsGuard flag when simplifying an instruction too. r=nbp
2014-07-22 07:45:07 -07:00
ProgramFOX
f1dd3163f4
Bug 1041648: added float32x4 clamp test case; r=bbouvier
2014-07-22 03:21:32 -07:00
Nicolas B. Pierron
9406334c7c
Bug 1006899 - Prevent stack iterations while recovering allocations. r=bhackett
2014-07-22 06:04:03 -07:00
Jan de Mooij
0052d42b4a
Bug 1041469 part 3 - Remove toLatin1 shell function, update tests. r=luke
2014-07-22 14:52:14 +02:00
Jan de Mooij
10f6ecbf43
Bug 1041469 part 2 - Use templates to get rid of some NewFatInlineString duplication. r=luke
2014-07-22 14:52:05 +02:00
Jan de Mooij
98295b4df6
Bug 1041469 part 1 - Remove EnableLatin1Strings flag. r=luke
2014-07-22 14:52:03 +02:00
Tom Schuster
0dbfd64dd0
Bug 1041495 - Handlify StructuredClone. r=jonco
2014-07-22 12:18:24 +02:00
Nicholas Nethercote
fff7cca247
Bug 1039965 - Avoid slop in JS arrays. r=bhackett,terrence.
...
This patch changes JS array resizing to always allocate power-of-two sized slot
requests. Previously it would mostly make slight-more-than-power-of-two sized
requests, which cause lots of slop.
Also, shrinkElements() now only does a reallocation if it would result in going
down a size class. E.g. if you pop all the elements from a 1000-element array,
it would realloc 999, then 998, then 997, all the way down the minimum size.
Now it does 512, then 256, down to the minimum size (which is 8).
I confirmed with DMD that the element allocations now have zero slop. This
reduces peak RSS loading a couple of large PDF files (four times each) with
pdf.js by 10s of MiBs.
--HG--
extra : rebase_source : 942c11de724843aa582e3a17b02043458a57e594
2014-07-17 21:14:20 -07:00
Dan Gohman
b25c03204e
Bug 1027885 - OdinMonkey: Make CodeGeneratorShared::mirGen consistent with FunctionCompiler::mirGen r=luke
2014-07-21 19:09:16 -07:00
Nick Fitzgerald
b4cf06074c
Bug 993085 - Part 1: Add the Debugger.Memory.prototype.trackingAllocationSites accessor property r=jimb
2014-07-21 18:16:13 -07:00
Wes Kocher
7aa4c7c841
Bug 993085 - Part 0: Freeze SavedFrame and SavedFrame.prototype r=jimb
2014-07-18 13:48:06 -07:00
Wes Kocher
adf51a28f6
Merge m-c to inbound
2014-07-21 17:34:59 -07:00
Wes Kocher
59a5a56f24
Merge inbound to m-c a=merge
2014-07-21 12:54:52 -07:00
Bill McCloskey
d0b717086f
Bug 1041370 - Fix script entry hook #ifdefing (a=RyanVM)
2014-07-20 21:58:49 -07:00
Jan de Mooij
4800404440
Bug 1028866 part 6 - Move NewString* functions from jsstr.{h,cpp} to vm/String.{h,cpp}. rs=luke
2014-07-21 12:45:48 +02:00
Benjamin Bouvier
5496e79486
Bug 1040823: Simplify tests from bug 986673; r=tests-only
2014-07-21 10:06:38 +02:00
Benjamin Bouvier
500ddd438d
Bug 1040823: Make --js-cache-per-process the default for testing; r=luke
2014-07-21 10:06:09 +02:00
Nicholas Nethercote
c38c9318c7
Bug 1039162 (attempt 2) - Don't use |for each| in XPCOMUtils.jsm. r=mrbkap.
2014-07-16 22:45:29 -07:00
Ryan VanderMeulen
767edc8412
Merge m-c to inbound. a=merge
2014-07-20 18:32:22 -04:00
Bobby Holley
6742298c2a
Bug 1036790 - Only expect pjs methods for nightly builds in test_xrayToJS.xul. r=me
2014-07-20 16:15:22 -06:00
Emanuel Hoogeveen
9d5c6c8fed
Bug 1041307 - Don't try to finalize JITcode in non-ion builds. r=billm
2014-07-20 08:23:00 +02:00
Benjamin Bouvier
b0645f3f41
Bug 1040785: Remove unused inc32 and dec32; r=jandem
2014-07-21 09:45:23 +02:00
Benjamin Bouvier
7c847b01fc
Bug 1040785: Move LInterruptCheck from the platform-specific LIR headers to the platform-independent one; r=jandem
2014-07-21 09:45:13 +02:00
Benjamin Bouvier
c4fc9cc6ac
Bug 1040785: Factor out InvokeFromAsmJS functions; r=luke
2014-07-21 09:45:04 +02:00
Benjamin Bouvier
3e0ba0a4cd
Bug 986673: Tests; r=luke
2014-07-18 12:14:51 +02:00
Luke Wagner
719458b28d
Bug 986673: Test pointer's value in AsmJSInterruptCheck; r=bbouvier
2014-07-21 09:36:07 +02:00
Bob Owen
68db9742fb
Bug 1037564 Part 2: Replace AutoPushJSContexts et al. in nsXBLPrototypeHandler. r=bholley
2014-07-18 12:52:32 +01:00
Bobby Holley
4bbb23f320
Bug 930091 - Check objects at COW membranes. r=gabor,r=msucan
2014-07-20 15:36:32 -06:00
Steve Fink
6988a48bbb
No bug. Drop expected number of b2g hazards to zero, r=terrence
...
DONTBUILD because mostly NPOTB
--HG--
extra : rebase_source : 06ca33d45445681ac8c2e32671d79409d76ca52e
2014-07-21 10:30:57 -07:00
Jeff Walden
4503b0cdd2
Bug 1037686 - Fix b2g-only bustage for a super-old compiler, sigh. r=b2g affecting a CLOSED TREE
2014-07-21 13:22:49 -04:00
Jeff Walden
a755cbeede
Bug 1037686 - Remove js_strdup now that no one uses it. r=jimb
...
--HG--
extra : rebase_source : d05252549d90371daec12562b5e88c7029fb41cc
2014-07-11 15:12:16 -07:00
Jeff Walden
e4881a1c3d
Bug 1037686 - Convert ScriptSource::{filename,introducerFilename}_ to UniquePtr, make !introducerFilename_ formally imply filename_. r=jimb
...
--HG--
extra : rebase_source : d45ed17c6b95345d4966a8809f90269944699846
2014-07-11 15:10:49 -07:00
Jeff Walden
28182d3b2f
Bug 1037686 - Remove the js_strdup(cx, chars) method, and convert users to a similar DuplicateString method returning UniquePtr. r=jimb
...
--HG--
extra : rebase_source : 2c81d049967fbbc40953fb21dc7e9b67df8366d6
2014-07-11 15:09:55 -07:00
Luke Wagner
3600bd622d
Bug 1027885 - OdinMonkey: properly represent calls to builtin functions in the profiling stack (r=dougc)
2014-07-21 11:05:44 -05:00
Luke Wagner
020dd56c35
Bug 1027885 - OdinMonkey: optimize representation of StaticLinkData::absoluteLinks (r=dougc)
2014-07-21 10:58:33 -05:00
Luke Wagner
43146abc14
Bug 1027885 - OdinMonkey: maintain AsmJSActivation::fp in all frames in profiling mode (r=dougc)
2014-07-21 10:58:12 -05:00
Luke Wagner
06da32127c
Bug 1027885 - OdinMonkey: set up AsmJSFrame and use instead of exitFP for exit stubs (r=dougc)
2014-07-21 10:57:29 -05:00
Luke Wagner
256d94483b
Bug 1027885 - OdinMonkey: avoid passing JSContext to C++ functions that can instead use innermostAsmJSActivation (r=dougc)
2014-07-21 10:56:02 -05:00
Luke Wagner
b403067b5b
Bug 1027885 - OdinMonkey: store the AsmJSActivation in global data (r=dougc)
2014-07-21 10:40:37 -05:00
Luke Wagner
1e060bfb2a
Bug 1027885 - rm unused JSContext::stackIterAssertionEnabled (r=jandem)
2014-07-21 10:40:05 -05:00
Bobby Holley
984a293d6d
Bug 1040181 - Use an opaque wrapper rather than failing in Rewrap. r=gabor
2014-07-20 10:03:58 -06:00
Jason Orendorff
74ac45c18d
Bug 1035287, part 1 - Add missing oom check. r=jimb.
...
--HG--
extra : rebase_source : 138e8d5b8cf232cfb1c8a06822c2d0423a0227c6
2014-07-08 19:32:06 -05:00
Jason Orendorff
00e7220baa
Bug 1037897 - Pass ffi_call a pointer into a real array, to eliminate a static analysis warning. r=dteller.
...
--HG--
extra : rebase_source : 909a4f71f045aa7a9e20a8702c60c5d9cec38cef
2014-07-16 12:59:07 -05:00
Jason Orendorff
77115416e2
Bug 1033856 - Assertion failure: false (MOZ_ASSERT_UNREACHABLE: unexpected type), at jit/Lowering.cpp:1772 with Symbol. r=jandem.
...
--HG--
extra : rebase_source : 5b5757fa46b3663aa1d2c79a75db723a42290a33
2014-07-03 08:24:00 -05:00
Jason Orendorff
1d38105077
Bug 1031558 - JS GDB pretty-printers: fix symbol jsids. r=jimb.
...
--HG--
extra : rebase_source : 8b50cc4a1ab6aaddf0150bd7ee8dc225f0595b07
2014-06-27 17:04:19 -05:00
Jim Blandy
11962c4a04
Bug 1031881: Remove unused elements of JSDebugHooks, and their supporting code. r=sfink
2014-07-19 18:07:05 -07:00
Tom Schuster
d6adf566e8
Bug 1036136 - Implement structured cloning for Map and Set objects. r=jorendorff,bent
2014-07-19 23:44:53 +02:00
Luke Wagner
1f124317b4
Bug 1042098 - OdinMonkey: don't take(fp) when mir->instrumentedProfiling() (r=dougc)
2014-07-23 09:29:58 -05:00
Hannes Verschore
ce49bb6ca4
Backed out changeset 9c80c5b76cf0 for crashes on octane-typescript
2014-07-23 12:34:32 +02:00
Eric Faust
c961e9ebd2
Bug 1033873 - "Differential Testing: Different output message involving __proto__". r=jandem
2014-07-23 00:00:00 +02:00
Jan de Mooij
6bd961a5fb
Bug 1041469 part 5 - Change escape() to use Latin1Char directly instead of deflating later. r=luke
2014-07-23 11:17:28 +02:00
Jan de Mooij
b19d5d918b
Bug 1041469 part 4 - Use Latin1Char in StaticStrings::init. r=luke
2014-07-23 11:16:10 +02:00
Trevor Saunders
b74e67ea7b
no bug - don't return nullptr in functions returning bool r=themaid
2014-07-17 20:11:27 -04:00
Boris Zbarsky
f26bdfa21f
Bug 966452 part 1. Refactor the js_ReportUncaughtException to produce a (message, JSErrorReport*) pair before reporting. r=waldo and including the fix for bug 1034616 to fix JS tests to deal with this, r=jorendorff. r=terrence on the AutoStableStringChars bits
2014-07-04 01:24:54 -04:00
Bill McCloskey
89f4a776d8
Bug 1039034 - Don't leak add-on interpositions at shutdown (r=bholley)
2014-07-18 16:50:55 -07:00
Mike Hommey
15534a15c4
Bug 1040639 - Remove LIBS_DIR. r=mshal
2014-07-19 08:42:16 +09:00
Wes Kocher
94cf0b6805
Backed out changeset 72d92f058cf0 (bug 989348) under suspicion of causing various devtools crashes
2014-07-18 16:29:58 -07:00
Shu-yu Guo
bf16278e5c
Bug 1037665 - Don't optimize arguments.callee in strict mode. (r=h4writer)
2014-07-18 14:39:30 -07:00
Sankha Narayan Guria
f486859454
Bug 989348 - BaselineCompiler: Optimize JSOP_ARRAYPUSH. r=djvj
2014-07-04 13:54:34 +02:00
Terrence Cole
71ec9e4ab5
Bug 987622 - Remove GetPDA as it is unused now that jsd1 is gone; r=jimb
2014-07-18 11:26:46 -07:00
Terrence Cole
8dde68d7a3
Bug 1033020 - Make BaslineFrame::returnValue match InterpreterFrame::returnValue; r=jandem
2014-07-01 15:40:48 -07:00
Ryan VanderMeulen
c46c7c8c0d
Backed out changeset a4db87a48b24 (bug 1039551
) for Windows debug mochitest-4 crashes.
2014-07-18 12:36:33 -04:00
Dan Gohman
4211496549
Bug 765127 - IonMonkey: Update a stale comment. r=nbp (comments only: DONTBUILD)
2014-07-18 09:31:20 -07:00
Jan de Mooij
bbb9ec9d25
Bug 1039551
- NewString/NewStringDontDeflate should create inline strings if possible. r=njn
...
--HG--
extra : rebase_source : ec27411ac015040eed83be9c715746a052f02b72
2014-07-18 17:07:34 +02:00
Dan Gohman
08d41bedc0
Bug 1039667 - IonMonkey: Clear the Guard flag when folding away MBoundsCheck instructions r=jandem
2014-07-17 11:56:38 -07:00