Brian Hackett
30b79ece96
Bug 1174712 - Tolerate singleton objects with uncacheable prototypes in Ion caches, r=jandem.
2015-06-16 08:50:35 -07:00
Carsten "Tomcat" Book
d786545396
Merge mozilla-central to mozilla-inbound
2015-06-16 16:24:17 +02:00
Gabor Krizsanits
7d132ac34d
Bug 1100498 - Report function names for addon exceptions. r=billm
2015-06-16 16:46:17 +02:00
Lars T Hansen
c4478c4756
Bug 1171540 - disable test cases if asm.js compilation is not available. r=me, CLOSED TREE
2015-06-16 16:41:12 +02:00
Carsten "Tomcat" Book
9a4e1b53a6
merge mozilla-inbound to mozilla-central a=merge
2015-06-16 16:08:27 +02:00
Carsten "Tomcat" Book
9b99dd5055
Backed out changeset 0379d120132a (bug 1165486) for making gu test fail permanently
2015-06-16 10:47:20 +02:00
Carsten "Tomcat" Book
670f45f303
Backed out changeset 710aabd4e4ab (bug 1165486)
2015-06-16 10:46:27 +02:00
Carsten "Tomcat" Book
1d1f16cc33
Backed out changeset cb18fdf212cc (bug 1165486)
2015-06-16 10:46:20 +02:00
Carsten "Tomcat" Book
7e85f91dca
Backed out changeset 1d26c357fea5 (bug 1165486)
2015-06-16 10:46:10 +02:00
Carsten "Tomcat" Book
7778d68617
Backed out changeset 77283cc3e7e2 (bug 1165486)
2015-06-16 10:46:03 +02:00
Carsten "Tomcat" Book
de5d5aa895
Backed out changeset db16ffa16c96 (bug 1165486)
2015-06-16 10:45:56 +02:00
Carsten "Tomcat" Book
1e32c31b81
Backed out changeset fba7bb481879 (bug 1165486)
2015-06-16 10:45:48 +02:00
Carsten "Tomcat" Book
3832cbfc15
Backed out changeset 96207d707430 (bug 1165486)
2015-06-16 10:45:41 +02:00
Carsten "Tomcat" Book
5239dcf1a7
Backed out changeset 0cfeee56564b (bug 1165486)
2015-06-16 10:45:34 +02:00
Carsten "Tomcat" Book
2253b50780
Backed out changeset 8031242fe5e5 (bug 1165486)
2015-06-16 10:45:29 +02:00
Carsten "Tomcat" Book
a8612b6872
Backed out changeset 9ec0a501209a (bug 1165486)
2015-06-16 10:45:24 +02:00
Carsten "Tomcat" Book
b6c91e7a5d
Backed out changeset 42fcb204b544 (bug 1165486)
2015-06-16 10:45:17 +02:00
Carsten "Tomcat" Book
7218184dee
Backed out changeset c3a547a77df9 (bug 1171177)
2015-06-16 10:45:10 +02:00
Carsten "Tomcat" Book
52a9a21463
Backed out changeset 09dc89be2cee (bug 1171177)
2015-06-16 10:45:04 +02:00
Carsten "Tomcat" Book
2996bb2119
Backed out changeset fd6c99f92485 (bug 1165486)
2015-06-16 10:44:58 +02:00
Jocelyn Liu
9c2669be88
Bug 1167064 - Patch1: Switch to bluetooth APIv2. r=shuang
2015-06-16 09:38:50 +08:00
Daniel Holbert
f77bd82cdc
Bug 1165486 followup: Annotate toObjectBox() impls as 'override'. rs=ehsan
2015-06-15 23:21:51 -07:00
Shu-yu Guo
afed70f0d1
Bug 1171177 - Remove UNQUALIFIED_VAROBJ Shape flags in favor of Class-checking. (r=luke)
2015-06-15 21:32:31 -07:00
Shu-yu Guo
205d534f96
Bug 1171177 - Remove VAROBJFIX. (r=luke)
2015-06-15 21:32:31 -07:00
Shu-yu Guo
b584a28202
Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
b4534f2f84
Bug 1165486 - Detect with scopes at parse time using the static scope chain for non-function scripts. Also cache static scope properties on SharedGlobalContext. (r=efaust)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
b8c6889a41
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
a98328927d
Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
9d04d9b5b8
Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
ade452a87c
Bug 1165486 - Restructure function and script cloning in light of PollutingGlobal scope changes. (r=Waldo)
...
CloneFunctionObject is split into the following:
- CloneFunctionAndScript, which deep clones the function and its
script, giving the cloned script a new static scope chain. This is
used for cloning singleton lambdas and JSAPI cloning. For singleton
lambdas, the original and the clone script have the same static
scope chain. For JSAPI cloning, a new static scope is provided
(either null, for a clean global, or StaticPollutingGlobalObject,
for a polluted global).
- CloneFunctionReuseScript, which clones the function but reuses the
script, and thus keeps the same static scope chain.
CloneScript is split into the following:
- CloneGlobalScript, which clones a script with and gives it a new
static scope.
- CloneScriptIntoFunction, which clones a script into a JSFunction and
gives it a new static scope. Cloning a script into a new function
container requires slightly different logic to hook up the static
scope chain before cloning inner scripts.
2015-06-15 21:32:30 -07:00
Shu-yu Guo
7ddfa4c80c
Bug 1165486 - Remove PollutedGlobalScopeOption in favor of using the static scope chain to detect non-syntactic scopes. (r=luke)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
8c1084a23f
Bug 1165486 - Detect with scopes at parse time using the static scope chain instead of treating it as a polluted global. (r=luke)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
07a1b70a81
Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
36d0f0f082
Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
b7adbca9d9
Bug 1165486 - Cleanup: use standard object allocation functions when allocating scope objects. (r=terrence)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
43ad2924bd
Bug 1165486 - Cleanup: rename staticEvalScope to topStaticScope to prepare for the static top-level lexical scope. (r=luke)
2015-06-15 21:32:30 -07:00
Ryan VanderMeulen
c2d0806581
Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
...
CLOSED TREE
2015-06-15 13:06:23 -04:00
Terrence Cole
d492e66bd8
Bug 1173889 - Strongly type the CallbackTracer dispatch function; r=jonco, r=mccr8
2015-06-11 10:03:33 -07:00
Terrence Cole
120ec0c7e4
Bug 1173864 - Make MarkStack private in GCMarker; r=jonco
2015-06-03 09:00:50 -07:00
Jan de Mooij
e7646cf29a
Bug 977805 followup - Fix some issues with IonCache::reset reprotection. r=luke
2015-06-15 17:28:10 +02:00
Jan de Mooij
9fe061278c
Bug 1174542 - Remove unnecessary AutoWritabeJitCode from initTraceLogger. r=luke
2015-06-15 17:27:13 +02:00
Jan de Mooij
ef68dc3c99
Bug 1174372 - Initialize ExecutableAllocator static fields in JS_Init. r=luke
2015-06-15 17:26:41 +02:00
Carsten "Tomcat" Book
e7a727c8ce
Backed out changeset 2cba58b2e1b4 (bug 1100498) for m-oth js crashes
2015-06-15 17:04:24 +02:00
Jukka Jylanki
b3096a5331
Bug 1168471 - Implement support for SharedArrayBuffers and SharedArrayViews in WebIDL. r=bz, r=lth, r=luke
2015-06-13 14:02:46 +03:00
Andrea Marchesini
a36cc3fb5e
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
2015-06-15 14:08:25 +01:00
Gabor Krizsanits
34c595eeed
Bug 1100498 - Report function names for addon exceptions. r=billm
2015-06-15 14:59:49 +02:00
Ted Mielczarek
e3523a91ec
bug 977805 - add missing #include. r=jandem
2015-06-12 15:51:47 -04:00
Nicolas B. Pierron
3180a16622
Bug 1172076 - Switch compartment before computing recover instruction results. r=jandem
2015-06-15 11:48:15 +02:00
Brian Hackett
4af647cb8c
Bug 1162986 - Allow objects to be turned into singletons dynamically, r=jandem.
2015-06-14 08:02:44 -07:00
Phil Ringnalda
af16958666
Back out fd36716d1f9d (bug 1162986) for mostly-Win8-debug devtools crashes
...
CLOSED TREE
2015-06-13 14:41:15 -07:00
Phil Ringnalda
bc5917d8c3
Back out 2 changesets (bug 977805) for OS X crashes @js::jit::PatchJump
...
CLOSED TREE
Backed out changeset 33f3b919ef1b (bug 977805)
Backed out changeset 9fa312e065e1 (bug 977805)
2015-06-13 13:06:42 -07:00
Ted Mielczarek
6fdf482003
bug 977805 - pacify JS style checker. r=bustage
2015-06-13 15:29:16 -04:00
Ted Mielczarek
a208226a3f
bug 977805 - add missing #include. r=jandem
2015-06-12 15:51:47 -04:00
Wes Kocher
c2daa517f7
Backed out 12 changesets (bug 1165486) for windows spidermonkey failures CLOSED TREE
...
Backed out changeset ce3c302864bf (bug 1165486)
Backed out changeset f69852001c61 (bug 1165486)
Backed out changeset 06cc09729bf4 (bug 1165486)
Backed out changeset 52772afc023e (bug 1165486)
Backed out changeset 502ddf7d2268 (bug 1165486)
Backed out changeset b04ab7bd78af (bug 1165486)
Backed out changeset 53fcddbe4cfb (bug 1165486)
Backed out changeset 63bd369e5349 (bug 1165486)
Backed out changeset 1e35269a8062 (bug 1165486)
Backed out changeset e3c11d517e18 (bug 1165486)
Backed out changeset ccd90228daf6 (bug 1165486)
Backed out changeset eb11e655d223 (bug 1165486)
2015-06-15 18:07:52 -07:00
Wes Kocher
a17e9d1d89
Backed out 2 changesets (bug 1171177)
...
Backed out changeset 18c286d070ad (bug 1171177)
Backed out changeset 6f535aa71725 (bug 1171177)
2015-06-15 18:07:15 -07:00
Shu-yu Guo
c2526c016f
Bug 1171177 - Remove UNQUALIFIED_VAROBJ Shape flags in favor of Class-checking. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
d044662630
Bug 1171177 - Remove VAROBJFIX. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
b53dffa47f
Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
60fdc20ee8
Bug 1165486 - Detect with scopes at parse time using the static scope chain for non-function scripts. Also cache static scope properties on SharedGlobalContext. (r=efaust)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
0b4f672545
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
a63baf6429
Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
4e96dadcaf
Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
2a5630871e
Bug 1165486 - Restructure function and script cloning in light of PollutingGlobal scope changes. (r=Waldo)
...
CloneFunctionObject is split into the following:
- CloneFunctionAndScript, which deep clones the function and its
script, giving the cloned script a new static scope chain. This is
used for cloning singleton lambdas and JSAPI cloning. For singleton
lambdas, the original and the clone script have the same static
scope chain. For JSAPI cloning, a new static scope is provided
(either null, for a clean global, or StaticPollutingGlobalObject,
for a polluted global).
- CloneFunctionReuseScript, which clones the function but reuses the
script, and thus keeps the same static scope chain.
CloneScript is split into the following:
- CloneGlobalScript, which clones a script with and gives it a new
static scope.
- CloneScriptIntoFunction, which clones a script into a JSFunction and
gives it a new static scope. Cloning a script into a new function
container requires slightly different logic to hook up the static
scope chain before cloning inner scripts.
2015-06-15 17:38:01 -07:00
Shu-yu Guo
331591ef2a
Bug 1165486 - Remove PollutedGlobalScopeOption in favor of using the static scope chain to detect non-syntactic scopes. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
fdea290a47
Bug 1165486 - Detect with scopes at parse time using the static scope chain instead of treating it as a polluted global. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
3c634f08a1
Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
c27c964ec1
Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
fd27f7a733
Bug 1165486 - Cleanup: use standard object allocation functions when allocating scope objects. (r=terrence)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
c6dec5fc21
Bug 1165486 - Cleanup: rename staticEvalScope to topStaticScope to prepare for the static top-level lexical scope. (r=luke)
2015-06-15 17:38:00 -07:00
Boris Zbarsky
97d768b895
Bug 1174486 part 1. Make sure that warnings do still get reported even if our AutoJSAPI has taken over error reporting. r=bholley
2015-06-15 20:10:24 -04:00
Boris Zbarsky
ba58ba4578
Bug 1173638. Make the constructors for Error and its subtypes get their filenames/linenumbers from the saved stack, not manually. r=fitzgen,bholley
...
The changes in webgl code are to ensure that we're in a reasonable compartment
while reporting a warning via the JS engine.
2015-06-15 20:05:49 -04:00
Brian Hackett
21023e4578
Bug 1170840 - Add testbed allocator for new regalloc features, and use for a change to hot/cold code bundle splitting, r=sunfish.
2015-06-15 11:12:45 -07:00
Eugen Sawin
543ea86862
Bug 1171013 - Extend defineLazyModuleGetter to support user-defined proxy objects. r=mfinkle
2015-06-15 19:16:00 +02:00
Nicolas B. Pierron
faedb1d930
Bug 1174322 - RObjectState::recover: Work-around the lack of MStoreUnboxedBoolean. r=bhackett
2015-06-17 14:03:04 +02:00
Andrea Marchesini
332a2ea9d0
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
2015-06-17 11:44:27 +01:00
Nicolas B. Pierron
e4ebac4d5c
Bug 1165912 - Ensure HelperThread().ionLazyLinkList() is only used from the main thread. r=h4writer
2015-06-17 12:01:34 +02:00
Carsten "Tomcat" Book
66162ccb10
Backed out changeset c1534aaff6c6 (bug 1125624) for SpiderMonkey Compacting GC Shell Build test failures
2015-06-17 11:05:39 +02:00
Carsten "Tomcat" Book
e26e0bab77
Backed out changeset 94f14d6b26d5 (bug 1125624)
2015-06-17 11:02:59 +02:00
Carsten "Tomcat" Book
ec89b35efa
Backed out changeset 822901f56c1f (bug 1170216)
2015-06-17 11:02:52 +02:00
Carsten "Tomcat" Book
f8d70df6ef
Backed out changeset 9345403c7628 (bug 1171036)
2015-06-17 11:02:46 +02:00
Jeff Walden
21d1ee3fc8
Bug 1146136 - Fix most in-tree tests that parenthesize destructuring pattern assignment targets, as ES6 forbids such parenthesization. (The patch making SpiderMonkey reject this syntax will follow shortly.) r=efaust, r=testingonlychange
2015-05-30 00:55:35 -07:00
Jason Orendorff
aeffdcc0af
Bug 1171036 - Change GetLengthProperty slow path to use ToLengthClamped instead of ToUint32. r=Waldo.
2015-06-03 10:01:45 -05:00
Jason Orendorff
eb58453301
Bug 1170216 - When using the slow-and-standard path in js::SetIntegrityLevel, don't manually call setNonwritableArrayLength afterwards. r=Waldo.
2015-06-01 12:01:02 -05:00
Jason Orendorff
c24b082a71
Bug 1125624, part 3 - Remove js::StandardDefineProperty and js::DefineOwnProperty. r=Waldo.
2015-05-29 16:48:26 -05:00
Jason Orendorff
e65801faac
Bug 1125624, part 2 - Change js::StandardDefineProperty to forward to js::DefineProperty. r=Waldo.
2015-05-29 17:31:43 -05:00
Brian Hackett
571a5ea4d3
Bug 1171405 - Add baseline and ion ICs for GETELEM on unboxed plain objects, r=jandem.
2015-06-16 17:27:12 -07:00
Sean Stangl
87cdf56e3f
Bug 1173992 - Add ARM64 build support. r=glandium
2015-06-11 15:03:20 -07:00
Lars T Hansen
31dd3c33be
Bug 1172517 - track sharedness in global. r=luke
2015-06-16 15:19:25 +02:00
Lars T Hansen
ea255da2dc
Bug 1171540 - Properly gate atomics and SAB for asm.js. r=luke
2015-06-16 15:19:05 +02:00
Ted Mielczarek
ef3cd4dce9
bug 1163828 - build system changes to support building for iOS. r=glandium
2015-06-10 11:10:40 -04:00
Brian Hackett
b26bc32848
Bug 1162986 - Allow objects to be turned into singletons dynamically, r=jandem.
2015-06-13 08:10:55 -07:00
Brian Hackett
fe2936f751
Bug 1172943 - Use unboxed arrays for JSON and script literal arrays, r=jandem.
2015-06-13 07:54:06 -07:00
Boris Zbarsky
1ff7f050a6
Fix the test for bug 1173787 to work even when the filename contains a ':' (e.g. on Windows) so we can reopen the CLOSED TREE
2015-06-12 23:22:22 -04:00
Boris Zbarsky
bdc003b7d7
Bug 1173787. The column number of an exception populated via PopulateReportBlame should be 1-based. r=fitzgen
2015-06-12 22:21:44 -04:00
Terrence Cole
dfcdaf6d49
No Bug - Followup fix for build failure on a CLOSED TREE; r=bustage, a=RyanVM
2015-06-12 10:27:15 -07:00
Terrence Cole
a692de4097
Bug 1173908 - Fix an MSVC warning about negating an unsigned integer; r=nbp
2015-06-04 12:43:10 -07:00
Nicolas B. Pierron
def2a555e1
Bug 1170750 - jsprf.cpp: Sort headers properly. r=me
...
CLOSED TREE
2015-06-12 17:14:59 +02:00
Hannes Verschore
b61a92e3a7
Bug 1173529: IonMonkey - Also iterate phis when removing guards, r=nbp
2015-06-12 16:58:46 +02:00
Nicolas B. Pierron
0a2afbae70
Bug 1170750 - Use mfbt snprintf_literal instead of sprintf. r=jandem
2015-06-12 16:53:34 +02:00
Sean Stangl
a45fceaecb
Bug 1166037 - Part 2 - Modify common Baseline code for ARM64. r=djvj
2015-06-11 14:45:41 -07:00