Shu-yu Guo
4372a9a085
Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
eff78a8498
Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
91b0e0dfb2
Bug 1165486 - Rebase yield offsets when cloning scripts. (r=jandem)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
cbef31a888
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-17 21:26:57 -07:00
Shu-yu Guo
a0b35ddac3
Bug 1165486 - Remove PollutedGlobalScopeOption in favor of using the static scope chain to detect non-syntactic scopes. (r=luke)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
b9d919ceeb
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-17 21:26:57 -07:00
Shu-yu Guo
3a023fc067
Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
bf0309af90
Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
6ecb6bd195
Bug 1165486 - Cleanup: use standard object allocation functions when allocating scope objects. (r=terrence)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
0e6a97a67c
Bug 1165486 - Cleanup: rename staticEvalScope to topStaticScope to prepare for the static top-level lexical scope. (r=luke)
2015-06-17 21:26:57 -07:00
Phil Ringnalda
14a5703001
Backed out 2 changesets (bug 1169736) for Windows "Assertion failure: function()->isClassConstructor()"
...
CLOSED TREE
Backed out changeset ea7188e6713c (bug 1169736)
Backed out changeset 5c5ab792827a (bug 1169736)
2015-06-17 20:56:48 -07:00
Shu-yu Guo
ddf26eeee8
Bug 1175397 - Do not eliminate dead resume point operands after GVN. r=nbp CLOSED TREE
...
--HG--
extra : amend_source : 7ad4dc79cbdb30453c2d20695efee35bdf3338a7
2015-06-17 19:24:30 -07:00
Wes Kocher
7945ec8df1
followup to Bug 1169736 to fix spidermonkey failures CLOSED TREE
...
(If this doesn't fix things, this and the original patch for this bug need to be backed out to fix things)
2015-06-17 17:15:45 -07:00
Eric Faust
9b8c4983bf
Bug 1169736 - Temporarily disallow eval and arrow functions inside derived class constructors. (r=jorendorff)
2015-06-17 14:38:23 -07:00
Eric Faust
ec18bf7a14
Bug 1169731 - [[Call]] on a class constructor should throw. (r=jandem)
2015-06-17 14:37:49 -07:00
Eric Faust
3a830f0dcf
Bug 1173525 - Add JS::Construct overload for specifying new.target. (r=Waldo)
2015-06-17 14:37:48 -07:00
Eric Faust
d3407dff70
Bug 1172483 - Remove erroneous assert. (r=Waldo)
2015-06-17 14:37:45 -07:00
Nick Fitzgerald
9389e8bd9f
Bug 1157456 - Re-wrap results in SavedFrame accessors; r=jorendorff
2015-06-17 13:18:16 -07:00
Nick Fitzgerald
62833156b6
Bug 1149294 - Part 3: Split thread-safe methods on ChromeUtils out into a new
...
ThreadSafeChromeUtils interface and move the utils interfaces into dom/base;
r=bholley
--HG--
rename : dom/webidl/ChromeUtils.webidl => dom/webidl/ThreadSafeChromeUtils.webidl
2015-06-17 11:12:23 -07:00
Nick Fitzgerald
cc33d28315
Bug 1149294 - Part 1: Don't trace permanent atoms and well known symbols that are owned by a parent JSRuntime inside SimpeEdgeVectorTracer; r=terrence
2015-06-17 11:12:23 -07:00
Terrence Cole
daeca80401
Bug 1174262 - Make jstest dispatch via a generator on Windows; r=sfink
...
--HG--
extra : rebase_source : a41f7b418cddba4ac8fef44e6d4c74c7092792d5
2015-06-11 18:37:21 -07:00
Terrence Cole
177b55346c
Bug 1174009 - Remove a couple of unused AutoRooter types; r=sfink
...
--HG--
extra : rebase_source : d7c83ec515b15db4b53909c6c93d431d5e46b29c
2015-06-10 10:16:53 -07:00
Nicolas B. Pierron
3e9aca531f
Bug 1175233 - RObjectState::recover: Handle cases where the property type does not match the recovered value. r=bhackett
2015-06-17 18:47:06 +02:00
Manish Goregaokar
be8b70fa10
Bug 1035973 - Add DebuggerObject.getOwnPropertySymbols; r=fitzgen
...
--HG--
extra : rebase_source : 366d863b827cd82f75edbc4992f7f040f2e9c835
2015-06-16 09:30:00 +02:00
Nicolas B. Pierron
8c00228862
Bug 1174322 - RObjectState::recover: Work-around the lack of MStoreUnboxedBoolean. r=bhackett
2015-06-17 14:03:04 +02:00
Andrea Marchesini
8372e7d29d
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
...
--HG--
rename : dom/base/MessageChannel.cpp => dom/messagechannel/MessageChannel.cpp
rename : dom/base/MessageChannel.h => dom/messagechannel/MessageChannel.h
rename : dom/base/MessagePort.cpp => dom/messagechannel/MessagePort.cpp
rename : dom/base/MessagePort.h => dom/messagechannel/MessagePort.h
rename : dom/base/MessagePortList.cpp => dom/messagechannel/MessagePortList.cpp
rename : dom/base/MessagePortList.h => dom/messagechannel/MessagePortList.h
rename : dom/base/test/iframe_messageChannel_chrome.html => dom/messagechannel/tests/iframe_messageChannel_chrome.html
rename : dom/base/test/iframe_messageChannel_cloning.html => dom/messagechannel/tests/iframe_messageChannel_cloning.html
rename : dom/base/test/iframe_messageChannel_pingpong.html => dom/messagechannel/tests/iframe_messageChannel_pingpong.html
rename : dom/base/test/iframe_messageChannel_post.html => dom/messagechannel/tests/iframe_messageChannel_post.html
rename : dom/base/test/test_messageChannel.html => dom/messagechannel/tests/test_messageChannel.html
rename : dom/base/test/test_messageChannel.xul => dom/messagechannel/tests/test_messageChannel.xul
rename : dom/base/test/test_messageChannel_cloning.html => dom/messagechannel/tests/test_messageChannel_cloning.html
rename : dom/base/test/test_messageChannel_pingpong.html => dom/messagechannel/tests/test_messageChannel_pingpong.html
rename : dom/base/test/test_messageChannel_post.html => dom/messagechannel/tests/test_messageChannel_post.html
rename : dom/base/test/test_messageChannel_pref.html => dom/messagechannel/tests/test_messageChannel_pref.html
rename : dom/base/test/test_messageChannel_start.html => dom/messagechannel/tests/test_messageChannel_start.html
rename : dom/base/test/test_messageChannel_transferable.html => dom/messagechannel/tests/test_messageChannel_transferable.html
rename : dom/base/test/test_messageChannel_unshipped.html => dom/messagechannel/tests/test_messageChannel_unshipped.html
2015-06-17 11:44:27 +01:00
Nicolas B. Pierron
d9856e1023
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
5585146514
Backed out changeset c1534aaff6c6 (bug 1125624) for SpiderMonkey Compacting GC Shell Build test failures
...
--HG--
extra : rebase_source : 8acc60b21e8a01b5de119e156eadedf157d07d9a
2015-06-17 11:05:39 +02:00
Carsten "Tomcat" Book
fe91296868
Backed out changeset 94f14d6b26d5 (bug 1125624)
...
--HG--
extra : rebase_source : 4165a923b0b1152155981120dba33326bfa2ec15
2015-06-17 11:02:59 +02:00
Carsten "Tomcat" Book
2d907f3406
Backed out changeset 822901f56c1f (bug 1170216)
...
--HG--
extra : rebase_source : fcde858b7a057af0a53b9e4e00bea770a38bc3a1
2015-06-17 11:02:52 +02:00
Carsten "Tomcat" Book
247c97380b
Backed out changeset 9345403c7628 (bug 1171036)
...
--HG--
extra : rebase_source : 60f044bf4daf139f536196cbba6986e795eb902d
2015-06-17 11:02:46 +02:00
Jeff Walden
8ebc2cc372
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
f0f3c8921b
Bug 1171036 - Change GetLengthProperty slow path to use ToLengthClamped instead of ToUint32. r=Waldo.
...
--HG--
extra : rebase_source : d4e4d46cc39831328b1e62773c0e5ae1e34a5b9a
2015-06-03 10:01:45 -05:00
Jason Orendorff
a42a6ea95d
Bug 1170216 - When using the slow-and-standard path in js::SetIntegrityLevel, don't manually call setNonwritableArrayLength afterwards. r=Waldo.
...
--HG--
extra : rebase_source : 94c5b8e4225cb682bebcefe2b94869f6bd326eaa
2015-06-01 12:01:02 -05:00
Jason Orendorff
0691fb22c8
Bug 1125624, part 3 - Remove js::StandardDefineProperty and js::DefineOwnProperty. r=Waldo.
...
--HG--
extra : rebase_source : 0a882c98558c85f4c2368f94036ee38c17d396ce
2015-05-29 16:48:26 -05:00
Jason Orendorff
0d44d9af8a
Bug 1125624, part 2 - Change js::StandardDefineProperty to forward to js::DefineProperty. r=Waldo.
...
--HG--
extra : rebase_source : 5e74b4e991aed705d87675f6cf539acb4bdf25fc
2015-05-29 17:31:43 -05:00
Brian Hackett
136d4aae24
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
4549e447ab
Bug 1173992
- Add ARM64 build support. r=glandium
2015-06-11 15:03:20 -07:00
Bobby Holley
cc43ed1385
Bug 1174971 - Introduce two variants of getOwnPropertyFromTargetIfSafe. r=gabor,r=arai
2015-06-16 09:00:41 -07:00
Brian Hackett
abdda6fd96
Bug 1174712 - Tolerate singleton objects with uncacheable prototypes in Ion caches, r=jandem.
2015-06-16 08:50:35 -07:00
Carsten "Tomcat" Book
715975c08d
Merge mozilla-central to mozilla-inbound
...
--HG--
rename : browser/themes/osx/webRTC-shareDevice-16.png => browser/themes/shared/webrtc/webRTC-shareDevice-16.png
rename : browser/themes/osx/webRTC-shareDevice-16@2x.png => browser/themes/shared/webrtc/webRTC-shareDevice-16@2x.png
rename : browser/themes/osx/webRTC-shareDevice-64.png => browser/themes/shared/webrtc/webRTC-shareDevice-64.png
rename : browser/themes/osx/webRTC-shareDevice-64@2x.png => browser/themes/shared/webrtc/webRTC-shareDevice-64@2x.png
rename : browser/themes/osx/webRTC-shareMicrophone-16.png => browser/themes/shared/webrtc/webRTC-shareMicrophone-16.png
rename : browser/themes/osx/webRTC-shareMicrophone-16@2x.png => browser/themes/shared/webrtc/webRTC-shareMicrophone-16@2x.png
rename : browser/themes/osx/webRTC-shareMicrophone-64.png => browser/themes/shared/webrtc/webRTC-shareMicrophone-64.png
rename : browser/themes/osx/webRTC-shareMicrophone-64@2x.png => browser/themes/shared/webrtc/webRTC-shareMicrophone-64@2x.png
extra : rebase_source : c86cc3d7ab1a0dd27f2055886b5820fae43f8de5
2015-06-16 16:24:17 +02:00
Gabor Krizsanits
08725befaf
Bug 1100498 - Report function names for addon exceptions. r=billm
2015-06-16 16:46:17 +02:00
Lars T Hansen
bdf2e80bdf
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
56a152e92c
merge mozilla-inbound to mozilla-central a=merge
2015-06-16 16:08:27 +02:00
Carsten "Tomcat" Book
4a25317000
Backed out changeset 0379d120132a (bug 1165486) for making gu test fail permanently
2015-06-16 10:47:20 +02:00
Carsten "Tomcat" Book
42b1fde842
Backed out changeset 710aabd4e4ab (bug 1165486)
2015-06-16 10:46:27 +02:00
Carsten "Tomcat" Book
99f4d2cdec
Backed out changeset cb18fdf212cc (bug 1165486)
2015-06-16 10:46:20 +02:00
Carsten "Tomcat" Book
da28cce824
Backed out changeset 1d26c357fea5 (bug 1165486)
2015-06-16 10:46:10 +02:00
Carsten "Tomcat" Book
7f7caf7712
Backed out changeset 77283cc3e7e2 (bug 1165486)
2015-06-16 10:46:03 +02:00
Carsten "Tomcat" Book
f6556397b3
Backed out changeset db16ffa16c96 (bug 1165486)
2015-06-16 10:45:56 +02:00