Commit Graph

154396 Commits

Author SHA1 Message Date
Peter Van der Beken
86181bcd60 Bug 935786 - Assertion failure: !IsInnerWindow() || IsCurrentInnerWindow() at nsGlobalWindow.cpp:8909. r=smaug
CLOSED TREE
2013-11-13 09:47:37 +01:00
Nathan Froyd
182df38e7c Bug 938612 - ensure the image buffers for canvases are freed; r=smaug
Landing this on a CLOSED TREE
2013-11-14 11:15:48 -05:00
Carsten "Tomcat" Book
310416ab93 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
e96623493a 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
34a76f463c 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
6192ce5ef8 Backed out changeset c6981912ff87 (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:03 +01:00
Carsten "Tomcat" Book
f095df8913 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
654d38f7e4 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
c11f7b243b 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
dc76fe3b28 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
Phil Ringnalda
a530896741 Back out 19895f599868 (bug 936555) for Windows test_mozinfo.py failures
CLOSED TREE
2013-11-12 20:25:19 -08:00
Phil Ringnalda
87c4c40a1b Back out ce7c0c133cc2 (bug 936327) for crashtest GC crashes and assertions
CLOSED TREE
2013-11-12 20:09:28 -08:00
Chris Peterson
1f4a64ae9c 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
777d4a236f (no bug) Fix a few whitespace issues in nsFlexContainerFrame.*
DONTBUILD because whitespace-only
2013-11-12 18:50:39 -08:00
Nathan Froyd
df417d08be Bug 936555 - make mozinfo use MozconfigLoader to locate the mozconfig; r=gps 2013-11-08 14:57:31 -05:00
Kyle Huey
087a4a3e10 Bug 936327. r=bent 2013-11-13 10:33:44 +08:00
Brian Smith
f89cf3237b 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
1ffb658968 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
b0fd092870 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
98358e22c2 Bug 925259: Avoid sticky positioning inner table elements. r=dholbert 2013-11-12 12:46:47 -08:00
Joshua Cranmer
a63b835a52 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
08036d15e9 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
d75a37769c Bug 840488 - Tests. r=bz 2013-11-12 16:43:35 -08:00
Bobby Holley
f298af1bab 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
a80315ff5c 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
15add0796f 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
337a156ad0 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
6a9d194002 Bug 840488 - Move nsXULDocument to new-style scripts checks. r=bz 2013-11-12 16:43:34 -08:00
Bobby Holley
298206badc 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
2fa89e6586 Bug 840488 - Move print system script disabling to the new API. r=bz 2013-11-12 16:43:33 -08:00
Bobby Holley
70289cf621 Bug 840488 - Directly mark compartments whose docshells disable script execution. r=bz 2013-11-12 16:43:33 -08:00
Bobby Holley
2c448611f5 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
22e608bba1 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
12a1ebfea9 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
48cf35f628 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
6c0f7db3c4 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
9c54a81f38 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
f30fe93cd9 Bug 916602 (Part 1) - Avoid null timestamp assertion in FrameAnimator::GetCurrentImgFrameEndTime. r=seth 2013-09-20 14:12:10 +02:00
Kartikaya Gupta
964c2b5459 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
5e75c75303 bug 909344 - reftest for display of stray control characters. r=roc 2013-11-12 09:10:34 +00:00
Jonathan Kew
766f4916d1 bug 909344 - treat U+007F as a control, not a printable character. r=roc 2013-11-12 23:53:07 +00:00
Bill McCloskey
c936cdc7dd Bug 930269 - Create SessionHistory.restore (r=smacleod) 2013-11-12 15:02:53 -08:00
Bill McCloskey
d930fb07c8 Bug 930269 - Rename SessionHistory.read (r=smacleod) 2013-11-12 15:02:46 -08:00
Bill McCloskey
e0da28b881 Bug 930269 - Move saving of tab attributes (r=smacleod) 2013-11-12 15:02:39 -08:00
Bill McCloskey
33f9ceb267 Bug 930269 - Rename SessionStore.restoreHistoryPrecursor (r=smacleod) 2013-11-12 15:02:34 -08:00
Bill McCloskey
49d12cfd43 Bug 930269 - Rename SessionStore.restoreTab (r=smacleod) 2013-11-12 15:02:26 -08:00
Bill McCloskey
18e2a31258 Bug 930269 - Clean up SessionStore.restoreHistory (r=smacleod) 2013-11-12 15:02:20 -08:00
Bill McCloskey
1d8c765619 Bug 923333 - Replace docShell.setCurrentURI with something e10s-compatible (r=felipe) 2013-11-12 15:02:14 -08:00
Jim Chen
da081c4f7c Bug 935089 - Make ArrayLength, ArrayEnd, and PodArrayZero accept mozilla::Array argument; r=Waldo 2013-11-12 17:31:15 -05:00
Botond Ballo
fb39baa8f1 Bug 937129 - Fix some concurrency issues in APZCTM::HandleOverscroll. r=kats 2013-11-11 12:06:33 -05:00