Commit Graph

30173 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
0e20af9666 Backed out changeset 9f3212effb9f (bug 934799) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:00:48 +01:00
Bobby Holley
db1330e2ca Bug 840488 - New domain policy API. r=bz
Note that this patch changes the semantics of javascript.enabled so that changes
to the pref do not apply to compartments that have already been created. This is
a significant change, but is necessary to support the new domain policy API.
After one cycle or so, we'll rip out the old API.
2013-11-12 16:43:35 -08:00
Bobby Holley
c04d2567ce Bug 840488 - Compute immunity from caps checks exactly once, and kill nsScriptSecurityManager::CanExecuteScripts. r=bz 2013-11-12 16:43:35 -08:00
Bobby Holley
23cf12e7bb Bug 840488 - Remove per-JSContext script toggling. r=bz
Note that the checks in nsJSEnvironment::EvaluateString and EvalInWindow
can safely go away, because we call ssm->ScriptAllowed() in
nsJSUtils::EvaluateString.
2013-11-12 16:43:35 -08:00
Bobby Holley
9f845bdef1 Bug 840488 - Move jsd over to the new API. r=bz
This setup is kind of hacky. JSD exposed a per-context script toggle, which,
while nonsensical, exhibits visibly different semantics than a per-global
toggle (since the former follows the WindowProxy across navigations, whereas
the latter does not). Honza says that Firebug ensures that any instances of
|jsdcx.scriptsEnabled = false| are guaranteed to be followed by
|jsdcx.scriptsEnabled = true| before a navigation occurs, so this should be
good enough.
2013-11-12 16:43:34 -08:00
Bobby Holley
a10c940425 Bug 840488 - Directly mark compartments whose docshells disable script execution. r=bz 2013-11-12 16:43:33 -08:00
Bobby Holley
260c41dfe4 Bug 840488 - Introduce a mechanism to temporarily or permanently block script for a given scope, and use it for unsafe channels. r=bz 2013-11-12 16:43:33 -08:00
Kannan Vijayan
1e18e0ea96 Bug 925308 - Added test case. 2013-11-12 15:55:41 -05:00
Steve Fink
9f3ad94e6e Bug 936013 - Type check JS_NeuterArrayBuffer argument, r=jorendorff 2013-11-12 12:24:09 -08:00
Kannan Vijayan
108a71f48a Bug 912303 - Added noSuchMethod support to baseline CALLPROP/CALLELEM stubs. r=efaust 2013-11-12 14:20:34 -05:00
Shu-yu Guo
63d7adad6b Bug 934799 - Part 2: Disable lazy parsing for JSD. (r=sfink) 2013-11-12 10:51:11 -08:00
Shu-yu Guo
f542cb5291 Bug 934799 - Part 1: Lazify delazifying lazy scripts in debug mode. (r=jimb) 2013-11-12 10:51:11 -08:00
Shu-yu Guo
a177359981 Bug 935228 - Toggle debug traps only in debug mode. (r=jandem) 2013-11-12 10:51:10 -08:00
Shu-yu Guo
93b4dbe87b Bug 935470 - Update end position after lazily parsing a function. (r=jorendorff) 2013-11-12 10:51:10 -08:00
Shu-yu Guo
8f57b41b6e Bug 933882 - Invalidate JIT code instead of doing full GC on debug mode toggle. (r=bhackett) 2013-11-12 10:51:10 -08:00
Jim Blandy
83d60eda84 Bug 936143 - Part 2: Simplify and fix js_GetScriptLineExtent. (r=shu) 2013-11-12 10:51:10 -08:00
Shu-yu Guo
999852099e Bug 936143 - Part 1: Add Debugger.Script.lineCount test where the script's source notes end in newline notes. (r=jimb) 2013-11-12 10:51:09 -08:00
Kannan Vijayan
706e46a201 Bug 925309 - Enabling profiler when it is already enabled should be a no-op. r=bhackett 2013-11-12 13:41:03 -05:00
Brian Hackett
127f10b458 Bug 937674 - Don't instantiate types when adding type object guards around type write barriers, r=jandem. 2013-11-12 11:02:52 -07:00
Brian Hackett
483de405ce Bug 936361 - Update test to not require ParallelArray. 2013-11-12 10:23:46 -07:00
Dan Gohman
d6bcfc61bb Bug 569597 - Eliminate use of ranlib. r=glandium 2013-11-11 19:26:59 -08:00
Kannan Vijayan
c3b08b2e21 Bug 925308 - Dont pop profiler frames for stack frames pushed by invalidated IonScripts which did not have profiler instrumentation. r=jandem 2013-11-12 11:28:03 -05:00
Benjamin Bouvier
af8af46fa2 Bug 935791 - Add an option to disable SSE3 and SSE4 on the JS shell. r=jandem 2013-11-12 16:16:24 +01:00
Eric Faust
03b15ed205 Bug 929261 - Fix for GetElementIC. r=shu 2013-11-12 09:34:10 -05:00
Nicholas D. Matsakis
8b22f3db80 Bug 937391 - Refactor prop/elem optimizations r=jandem 2013-11-11 20:29:53 -05:00
Nicholas D. Matsakis
3482f154ba Bug 933764 - Hide specific members of a TypeRepresentationSet r=jandem 2013-11-01 10:46:19 -04:00
Nicholas D. Matsakis
d81408d514 Bug 930057 - Incorrectly returning false r=jandem 2013-10-23 13:26:43 -04:00
Nicholas D. Matsakis
15d55f6130 Bug 922172 - Add redimension method r=till 2013-09-20 16:19:37 -04:00
Andy Wingo
07947c6e76 Bug 932276 - Reimplement GetBlockChainAtPC using JSScript::blockScopes(). r=jorendorff 2013-11-12 09:58:18 +01:00
Andy Wingo
0ac7a843a5 Bug 932276 - Bytecode emitter records static scope extents. r=jorendorff 2013-10-29 14:42:10 +01:00
Andy Wingo
22d47fa02a Bug 932276 - Reserve space in JSScript for an optional block scope array. r=jorendorff 2013-10-29 14:39:58 +01:00
Dan Gohman
b516b2e2e4 Bug 937128 - IonMonkey: Minor code simplifications. r=bhackett 2013-11-12 05:46:43 -08:00
Dan Gohman
3edf84656f Bug 937124 - IonMonkey: Backtracking: expose the considerCopy flag to isRegisterUse to allow trySplitAfterLastRegisterUse to use it. r=bhackett 2013-11-12 05:46:43 -08:00
Dan Gohman
c23d32434e Bug 937121 - IonMonkey: Assert some interesting invariants. r=bhackett 2013-11-12 05:46:43 -08:00
Dan Gohman
181687037e Bug 937121 - IonMonkey: Improved register allocation debug output. r=bhackett 2013-11-12 05:46:43 -08:00
Dan Gohman
fb3df87d49 Bug 936993 - IonMonkey: Create the MCheckOverRecursed before unboxing arguments. r=bhackett 2013-11-12 05:46:43 -08:00
Dan Gohman
000105e7a8 Bug 936891 - IonMonkey: Fix safepoint handling to mind the differences between LSRA and Backtracking. r=bhackett 2013-11-12 05:46:43 -08:00
Dan Gohman
24534d92fa Bug 933104 - IonMonkey: Check for empty ranges after intersecting fractional ranges. r=nbp 2013-11-12 05:46:43 -08:00
Dan Gohman
066abd2a72 Bug 931489 - IonMonkey: Use range analysis to avoid testing for special cases in PowHalf. r=nbp 2013-11-12 05:46:43 -08:00
David Major
25afc23f7c Bug 932100 - Part 2: Move DLL blocklist code to mozglue. r=bsmedberg, r=glandium
--HG--
rename : toolkit/xre/nsWindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
2013-11-12 08:31:32 -05:00
Nathan Froyd
c06e306931 Bug 841373 - use STRIP_FLAGS with STRIP consistently; r=glandium 2013-11-11 11:01:22 -05:00
Jon Coppeard
e9f9210b38 Bug 935136 - Always barrier assignments to Heap<Value> r=terrence 2013-11-12 11:21:01 +00:00
Wes Kocher
d58c3c4925 Backed out 7 changesets (bug 935228, bug 936143, bug 935470, bug 933882, bug 934799) for breaking ASAN browser-chrome tests on a CLOSED TREE
Backed out changeset ae6f2151610f (bug 934799)
Backed out changeset 82495f0c5da2 (bug 934799)
Backed out changeset 77be849d81e7 (bug 935228)
Backed out changeset 555e5759fe5f (bug 935470)
Backed out changeset ce4011f33422 (bug 933882)
Backed out changeset e13e98eab890 (bug 936143)
Backed out changeset fb230c191a88 (bug 936143)
2013-11-11 16:53:59 -08:00
Mike Hommey
be0bf8fd8b Backout changeset 4810e8f4eb98 (part of bug 934864) for causing bug 937332. 2013-11-12 08:37:08 +09:00
Terrence Cole
72ed1dc420 Bug 935800 - Assert that we do not GC in the lifetime of a ForkJoinSlice; r=shu
--HG--
extra : rebase_source : ec2dc1db758e5bef4720b5442e006e9df44c165b
2013-11-06 15:43:19 -08:00
Mike Hommey
c288856178 Bug 935857 - Add AC_SUBST_SET to create a set() of strings in config.status and use it for NECKO_PROTOCOLS. r=gps 2013-11-12 07:52:32 +09:00
Shu-yu Guo
98356a7c5a Bug 934799 - Part 2: Disable lazy parsing for JSD. (r=sfink) 2013-11-11 14:18:35 -08:00
Shu-yu Guo
fefef0345f Bug 934799 - Part 1: Lazify delazifying lazy scripts in debug mode. (r=jimb) 2013-11-11 14:18:35 -08:00
Shu-yu Guo
45933eaad1 Bug 935228 - Toggle debug traps only in debug mode. (r=jandem) 2013-11-11 14:18:34 -08:00
Shu-yu Guo
fe85e7e7e5 Bug 935470 - Update end position after lazily parsing a function. (r=jorendorff) 2013-11-11 14:18:34 -08:00