Commit Graph

49623 Commits

Author SHA1 Message Date
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
Carsten "Tomcat" Book
b748df905d Backed out changeset fba7bb481879 (bug 1165486) 2015-06-16 10:45:48 +02:00
Carsten "Tomcat" Book
3e00a9fc08 Backed out changeset 96207d707430 (bug 1165486) 2015-06-16 10:45:41 +02:00
Carsten "Tomcat" Book
f09517cfec Backed out changeset 0cfeee56564b (bug 1165486) 2015-06-16 10:45:34 +02:00
Carsten "Tomcat" Book
ad62dcd1c9 Backed out changeset 8031242fe5e5 (bug 1165486) 2015-06-16 10:45:29 +02:00
Carsten "Tomcat" Book
8b7645f328 Backed out changeset 9ec0a501209a (bug 1165486) 2015-06-16 10:45:24 +02:00
Carsten "Tomcat" Book
5e1b4c1dc4 Backed out changeset 42fcb204b544 (bug 1165486) 2015-06-16 10:45:17 +02:00
Carsten "Tomcat" Book
cdb0b350fd Backed out changeset c3a547a77df9 (bug 1171177) 2015-06-16 10:45:10 +02:00
Carsten "Tomcat" Book
25dbbf13fb Backed out changeset 09dc89be2cee (bug 1171177) 2015-06-16 10:45:04 +02:00
Carsten "Tomcat" Book
85b4aac2f7 Backed out changeset fd6c99f92485 (bug 1165486) 2015-06-16 10:44:58 +02:00
Jocelyn Liu
0d4e05f63a Bug 1167064 - Patch1: Switch to bluetooth APIv2. r=shuang 2015-06-16 09:38:50 +08:00
Daniel Holbert
d26a71c212 Bug 1165486 followup: Annotate toObjectBox() impls as 'override'. rs=ehsan 2015-06-15 23:21:51 -07:00
Shu-yu Guo
5c3c185d65 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
b712851893 Bug 1171177 - Remove VAROBJFIX. (r=luke) 2015-06-15 21:32:31 -07:00
Shu-yu Guo
ce36264858 Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust) 2015-06-15 21:32:30 -07:00
Shu-yu Guo
ea6cf2a6c7 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
d9f89e438e 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
0154dc3d97 Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke) 2015-06-15 21:32:30 -07:00
Shu-yu Guo
a7f0119a17 Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke) 2015-06-15 21:32:30 -07:00
Shu-yu Guo
ba7251c199 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
2dc0e8c310 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
ba0feeff0d 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
05d025893d Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke) 2015-06-15 21:32:30 -07:00
Shu-yu Guo
1c10684b7e Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke) 2015-06-15 21:32:30 -07:00
Shu-yu Guo
c991c4ca30 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
dfc69fed51 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
c366b2c3f3 Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
CLOSED TREE

--HG--
rename : dom/messagechannel/MessageChannel.cpp => dom/base/MessageChannel.cpp
rename : dom/messagechannel/MessageChannel.h => dom/base/MessageChannel.h
rename : dom/messagechannel/MessagePort.cpp => dom/base/MessagePort.cpp
rename : dom/messagechannel/MessagePort.h => dom/base/MessagePort.h
rename : dom/messagechannel/MessagePortList.cpp => dom/base/MessagePortList.cpp
rename : dom/messagechannel/MessagePortList.h => dom/base/MessagePortList.h
rename : dom/messagechannel/tests/iframe_messageChannel_chrome.html => dom/base/test/iframe_messageChannel_chrome.html
rename : dom/messagechannel/tests/iframe_messageChannel_cloning.html => dom/base/test/iframe_messageChannel_cloning.html
rename : dom/messagechannel/tests/iframe_messageChannel_pingpong.html => dom/base/test/iframe_messageChannel_pingpong.html
rename : dom/messagechannel/tests/iframe_messageChannel_post.html => dom/base/test/iframe_messageChannel_post.html
rename : dom/messagechannel/tests/test_messageChannel.html => dom/base/test/test_messageChannel.html
rename : dom/messagechannel/tests/test_messageChannel.xul => dom/base/test/test_messageChannel.xul
rename : dom/messagechannel/tests/test_messageChannel_cloning.html => dom/base/test/test_messageChannel_cloning.html
rename : dom/messagechannel/tests/test_messageChannel_pingpong.html => dom/base/test/test_messageChannel_pingpong.html
rename : dom/messagechannel/tests/test_messageChannel_post.html => dom/base/test/test_messageChannel_post.html
rename : dom/messagechannel/tests/test_messageChannel_pref.html => dom/base/test/test_messageChannel_pref.html
rename : dom/messagechannel/tests/test_messageChannel_start.html => dom/base/test/test_messageChannel_start.html
rename : dom/messagechannel/tests/test_messageChannel_transferable.html => dom/base/test/test_messageChannel_transferable.html
rename : dom/messagechannel/tests/test_messageChannel_unshipped.html => dom/base/test/test_messageChannel_unshipped.html
2015-06-15 13:06:23 -04:00
Terrence Cole
7afa7dfb04 Bug 1173889 - Strongly type the CallbackTracer dispatch function; r=jonco, r=mccr8
--HG--
extra : rebase_source : 413319f0701f8e92b8fc1c79a51f4a09c2c5cd39
2015-06-11 10:03:33 -07:00
Terrence Cole
037cbe6747 Bug 1173864 - Make MarkStack private in GCMarker; r=jonco
--HG--
extra : rebase_source : 00fafca6dc9ac4890d31a686658cc6a62bfbe3d8
2015-06-03 09:00:50 -07:00
Jan de Mooij
38c03284be Bug 977805 followup - Fix some issues with IonCache::reset reprotection. r=luke 2015-06-15 17:28:10 +02:00
Jan de Mooij
6eec66f116 Bug 1174542 - Remove unnecessary AutoWritabeJitCode from initTraceLogger. r=luke 2015-06-15 17:27:13 +02:00
Jan de Mooij
cd1ab886fd Bug 1174372 - Initialize ExecutableAllocator static fields in JS_Init. r=luke 2015-06-15 17:26:41 +02:00
Carsten "Tomcat" Book
415a18b516 Backed out changeset 2cba58b2e1b4 (bug 1100498) for m-oth js crashes
--HG--
extra : rebase_source : 1f90cff0e3a790d034cd73a1641fbc9c89998a58
2015-06-15 17:04:24 +02:00