Commit Graph

331911 Commits

Author SHA1 Message Date
Phil Ringnalda
3fce5b8128 Back out ce7c0c133cc2 (bug 936327) for crashtest GC crashes and assertions
CLOSED TREE
2013-11-12 20:09:28 -08:00
Chris Peterson
26b5be4aa3 Bug 757726 - Part 5: Fix test_refresh_navigator_plugins to not recycle variables. r=johns 2013-11-10 18:16:41 -08:00
Daniel Holbert
d4339bef4e (no bug) Fix a few whitespace issues in nsFlexContainerFrame.*
DONTBUILD because whitespace-only
2013-11-12 18:50:39 -08:00
Nathan Froyd
43b38131ae Bug 936555 - make mozinfo use MozconfigLoader to locate the mozconfig; r=gps 2013-11-08 14:57:31 -05:00
Kyle Huey
ecf3d29c3b Bug 936327. r=bent 2013-11-13 10:33:44 +08:00
Brian Smith
a4eca92369 Bug 932176: Add preference to control whether OCSP GET is used, off by default, r=cviecco
--HG--
extra : rebase_source : 4452d8959f22152512ed428184726c9834f6e4c3
2013-11-12 18:28:20 -08:00
Brian Smith
f8b15362cf Bug 898431: Update NSS to NSS 3.15.4 beta 2 (NSS_3_15_4_BETA2) again, r=me
--HG--
extra : rebase_source : 52c384c2f55da38d9576414a3c6e07427abd7000
2013-11-12 18:26:49 -08:00
Daniel Holbert
8d1182088f Bug 937858: Rename border-only variable from "bp" to "border", to avoid confusion with border/padding. r=mats 2013-11-12 17:14:50 -08:00
Corey Ford
1da3373a87 Bug 925259: Avoid sticky positioning inner table elements. r=dholbert 2013-11-12 12:46:47 -08:00
Joshua Cranmer
f8f4ab7e4c Bug 935789, part 2: Implement RotateLeft/RotateRight in MFBT and use them, r=Waldo.
--HG--
extra : rebase_source : efda8cfde4ec1b8cee007f528d682830f43f9111
2013-11-12 18:24:56 -06:00
Joshua Cranmer
f6366dd338 Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan
--HG--
extra : rebase_source : 4c44e60c72e0ece3cea7ed1cf79079bd2a1b6487
2013-11-12 18:22:38 -06:00
Bobby Holley
2f55900502 Bug 840488 - Tests. r=bz 2013-11-12 16:43:35 -08:00
Bobby Holley
93808be553 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
95ac2b3227 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
8e73b817c0 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
a843ca75ff Bug 840488 - Remove nsIScriptContext script check in nsScriptLoader. r=bz
There are now no longer any consumers that set this to false.
2013-11-12 16:43:34 -08:00
Bobby Holley
62f59bf38a Bug 840488 - Move nsXULDocument to new-style scripts checks. r=bz 2013-11-12 16:43:34 -08:00
Bobby Holley
a14989a593 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
8682147b93 Bug 840488 - Move print system script disabling to the new API. r=bz 2013-11-12 16:43:33 -08:00
Bobby Holley
5e788f9565 Bug 840488 - Directly mark compartments whose docshells disable script execution. r=bz 2013-11-12 16:43:33 -08:00
Bobby Holley
358692053b 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
Bobby Holley
94e67e3d45 Bug 840488 - Update unsafe-JAR channel tests so that they actually fail if we allow script to run. r=bz
The current tests never actually check that script is disabled for unsafe JAR
channels, but only that they're unable to initiate loads. This fixes that.

This blob runs dos2unix on the files inside the zip, and applies the following patch to iframes.html:

 <html><head>
   <title>iframes</title>
+  <script>parent.poke('regular script');</script>
 </head>
-<body>
+<body onload="parent.poke('onload-handler')">
  subshells
  <p>
  <iframe id="data-iframe" src="data:text/html,dataurl iframe<script>window.parent.parent.poke('data-iframe')</script>">ifr</iframe>
  <p>
  <iframe id="js-iframe" src="javascript:window.parent.parent.poke('js-iframe')">jsifr</iframe>
 </body>
-</html>
\ No newline at end of file
+</html>
2013-11-12 16:43:32 -08:00
Bobby Holley
a17328e5cc Bug 840488 - Remove CheckFunctionAccess. r=bz
\o/

Aside from checking whether script is enabled, all the other work this function
does is silly.
2013-11-12 16:43:32 -08:00
Bobby Holley
63af01c6e2 Bug 840488 - Get rid of aAllowIfNoScriptContext. r=bz
The old code seemed to feel that the lack of a script context was some sort of
showdown that required either unconditional allow or deny. Instead, let's just
make the scriptcontext-relevant checks conditional on there being a script
context, which lets us switch CheckFunctionAccess over to ScriptAllowed.
2013-11-12 16:43:32 -08:00
Bobby Holley
074ccfec30 Bug 840488 - Refactor Gecko to provide a more direct API to ask whether script is allowed for a given global. r=bz 2013-11-12 16:43:31 -08:00
Seth Fowler
219c69ee8d Bug 916602 (Part 2) - Avoid null timestamp assertion when creating sentinel in FrameAnimator. r=tn 2013-09-20 14:12:10 +02:00
Simon Lindholm
143a35631c Bug 916602 (Part 1) - Avoid null timestamp assertion in FrameAnimator::GetCurrentImgFrameEndTime. r=seth 2013-09-20 14:12:10 +02:00
Kartikaya Gupta
0790196f1e Bug 927954 - Adding rendertrace logging to the APZ code. r=botond
To use this logging, enable the #define at the top of
AsyncPanZoomController.cpp, run through the scenario you wish
to trace and collect the logs, and then paste them into the
textarea on the page at github.com/staktrace/rendertrace/.
2013-11-12 19:03:27 -05:00
Jonathan Kew
0c39b384db bug 909344 - reftest for display of stray control characters. r=roc 2013-11-12 09:10:34 +00:00
Jonathan Kew
35cff8d03c bug 909344 - treat U+007F as a control, not a printable character. r=roc 2013-11-12 23:53:07 +00:00
Bill McCloskey
445d7ac247 Bug 930269 - Create SessionHistory.restore (r=smacleod) 2013-11-12 15:02:53 -08:00
Bill McCloskey
ea2f9b773e Bug 930269 - Rename SessionHistory.read (r=smacleod) 2013-11-12 15:02:46 -08:00
Bill McCloskey
3c5277ccf4 Bug 930269 - Move saving of tab attributes (r=smacleod) 2013-11-12 15:02:39 -08:00
Bill McCloskey
7f1e46df50 Bug 930269 - Rename SessionStore.restoreHistoryPrecursor (r=smacleod) 2013-11-12 15:02:34 -08:00
Bill McCloskey
b99f5e0af7 Bug 930269 - Rename SessionStore.restoreTab (r=smacleod) 2013-11-12 15:02:26 -08:00
Bill McCloskey
891c3b41ef Bug 930269 - Clean up SessionStore.restoreHistory (r=smacleod) 2013-11-12 15:02:20 -08:00
Bill McCloskey
9b2f6cf9da Bug 923333 - Replace docShell.setCurrentURI with something e10s-compatible (r=felipe) 2013-11-12 15:02:14 -08:00
Jim Chen
a3daa9a2dd Bug 935089 - Make ArrayLength, ArrayEnd, and PodArrayZero accept mozilla::Array argument; r=Waldo 2013-11-12 17:31:15 -05:00
Botond Ballo
acc75156c8 Bug 937129 - Fix some concurrency issues in APZCTM::HandleOverscroll. r=kats 2013-11-11 12:06:33 -05:00
Kannan Vijayan
db75b2138e Bug 925308 - Added test case. 2013-11-12 15:55:41 -05:00
Steve Fink
ec847ccad5 Bug 936013 - Type check JS_NeuterArrayBuffer argument, r=jorendorff 2013-11-12 12:24:09 -08:00
Ryan VanderMeulen
90671400e0 Merge m-c to inbound. 2013-11-12 15:35:37 -05:00
Ryan VanderMeulen
09c421865f Merge inbound to m-c. 2013-11-12 15:22:52 -05:00
Brian Hackett
79b62f109f Bug 936361 - Update test to not require ParallelArray. 2013-11-12 10:23:46 -07:00
Kartikaya Gupta
8b6ebfe49e Bug 937130 - Fix up threading and locking in APZCTreeManager. r=botond 2013-11-12 11:56:57 -05:00
Dan Gohman
8e61693f29 Bug 569597 - Eliminate use of ranlib. r=glandium 2013-11-11 19:26:59 -08:00
Kannan Vijayan
c4cf00990e 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
Ehsan Akhgari
f0ed6a2a8c Bug 936848 follow-up: Add DVRs to the en-US dictionary 2013-11-12 11:20:17 -05:00
Benjamin Bouvier
b00a4b22c1 Bug 935791 - Add an option to disable SSE3 and SSE4 on the JS shell. r=jandem 2013-11-12 16:16:24 +01:00
Garrett Robinson
94109596a9 Bug 934062 - Add waitForExplicitFinish to stop intermittent CSP test errors. r=sstamm 2013-11-11 14:20:16 -08:00