Commit Graph

30202 Commits

Author SHA1 Message Date
Tom Schuster
f052cdba92 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Tom Schuster
9839c0957a Bug 935696 - Tidy up XPCStringConvert::ReadableToJSVal. r=bz 2013-11-16 13:31:36 +01:00
Ms2ger
29adada2a2 Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage. 2013-11-17 16:39:25 +01:00
Tom Schuster
a12aa024e6 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Tom Schuster
83ffdabf31 Bug 935696 - Tidy up XPCStringConvert::ReadableToJSVal. r=bz 2013-11-16 13:31:36 +01:00
Dan Gohman
4614038c0e Bug 901274 - IonMonkey: Refactor a testValueTruthyKernel out of testValueTruthy and use it to enable a fallthrough in visitTestNotV. r=waldo 2013-11-17 03:39:31 -08:00
Dan Gohman
934dcb33cb Bug 901274 - IonMonkey: Refactor testObjectTruthy and testValueTruthy to use more fallthroughs. r=waldo 2013-11-17 03:39:28 -08:00
Boris Zbarsky
9ba914a450 Bug 937772. Make better use of our out-of-band type information for unboxing object-valued return values of DOM getters and methods. r=h4writer 2013-11-17 00:10:19 -05:00
Benjamin Peterson
d22e6596c1 No bug - Make zone iterator constructors explicit. r=billm 2013-11-16 23:55:36 -05:00
Benjamin Peterson
c885470231 Bug 939464 - Rewrite code to fix GCC unitialized variable compliants. r=billm
--HG--
extra : amend_source : 8a8629b2781c2e02e031d190dae3d2db33ab6d79
2013-11-16 23:42:03 -05:00
Phil Ringnalda
48c92bf5dc Back out b4c82e9838d5 (bug 939464) for make check assertions
CLOSED TREE
2013-11-16 20:24:41 -08:00
Benjamin Peterson
9ba8874a94 Bug 939464 - Rewrite code to fix GCC unitialized variable compliants. r=billm
--HG--
extra : rebase_source : 6ef2b3017888286447135816e734c98bb6cf3da9
2013-11-16 18:15:33 -05:00
Dan Gohman
ba59726418 Bug 937944 - SpiderMonkey: Use d15 as the float scratch register on ARM, to avoid conflicts with argument registers. r=mjrosenb 2013-11-12 20:20:22 -08:00
Jan de Mooij
bcfc0b8ed5 Bug 937540 part 4 - Use placement new for MBasicBlock. r=djvj 2013-11-16 10:15:35 +01:00
Jan de Mooij
d7c2624b9d Bug 937540 part 3 - Use placement new for GVN ValueNumberData. r=mjrosenb 2013-11-16 10:15:33 +01:00
Jan de Mooij
7077033e4a Bug 937540 part 2 - Use placement new for BitSet and LoopAliasInfo. r=sstangl 2013-11-16 10:15:30 +01:00
Jan de Mooij
50a1ab3b37 Bug 937540 part 1 - Add |operator new| for placement new to TempObject and use for regalloc objects. r=luke 2013-11-16 10:14:07 +01:00
Martin Husemann
cf2cfc1efb Bug 810716: Avoid AC_TRY_LINK on systems where we do not want res_ninit r=ted 2013-11-16 09:13:23 +01:00
Landry Breuil
9f43148a95 Bug 928390: Partially backport libffi upstream 049d8386ff for OpenBSD/mips/hppa. r=glandium 2013-11-13 22:06:05 +01:00
Mike Hommey
082d667fb2 Bug 938956 - Add a generic recursion rule. r=gps
Use by running:
  make -C objdir recurse RECURSED_COMMAND="command_to_run in_each_subdirectory"
2013-11-16 13:40:53 +09:00
Mike Hommey
077002b5c7 Bug 937526 - Cleanup unicharutil/util and rdf/util related things. r=gps 2013-11-16 13:37:54 +09:00
Michael Shuen
014d210978 Bug 937916 - Implement TrueValue() and FalseValue(). r=sfink 2013-11-15 21:46:39 -05:00
Gregor Wagner
9f69e4d89d Bug 937605 - Firefox fails to build on PPC64: GCInternals.h:29:5: error: ‘ZoneSelector’ does not name a type. r=billm 2013-11-15 14:40:37 -08:00
Carsten "Tomcat" Book
3c3ebd3755 Backed out changeset d9ad4cc32e5d (bug 936143) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:02:34 +01:00
Carsten "Tomcat" Book
e17f09e4a7 Backed out changeset 011dcedf181f (bug 936143) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:02:24 +01:00
Carsten "Tomcat" Book
0a857bf536 Backed out changeset 2abeb02c4777 (bug 933882) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:02:14 +01:00
Carsten "Tomcat" Book
12b7a760aa Backed out changeset b8d3be6e3c1a (bug 935470) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:01:52 +01:00
Carsten "Tomcat" Book
0a01b279df Backed out changeset fe63bf2c6a3a (bug 935228) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:01:39 +01:00
Carsten "Tomcat" Book
c8dfe7142d Backed out changeset 5e6899ab5ead (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:01:25 +01:00
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