Commit Graph

1207 Commits

Author SHA1 Message Date
Josh Matthews
954a16b997 Bug 782542 - Secure necko IPDL usage. r=ted,jduell 2012-12-12 10:40:33 -05:00
Daniel Holbert
66314100a1 Bug 823187: In nsSHistory::EvictOutOfRangeWindowContentViewers(), declare loop variable as signed, to fix signed/unsigned comparison build warning. r=jlebar 2012-12-19 13:12:48 -08:00
Justin Lebar
bf499cd1c4 Bug 819791 - Part 3: Make typeof nsTArray == typeof InfallibleTArray. r=bz
Also make typeof nsAutoTArray == typeof AutoInfallibleTArray and switch
files to using nsTArrayForwardDeclare.h.
2012-12-18 20:16:06 -05:00
Justin Lebar
1a1d824efe Bug 819791 - Part 1: Remove nsTArrayDefaultAllocator, replacing it unconditionally with nsTArrayInfallibleAllocator. r=bz 2012-12-18 20:16:06 -05:00
Ed Morley
0166feddca Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews
d599a1c9c4 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05:00
Boris Zbarsky
e1514144fb Back out bug 818371 because what we used to do actually matches the spec. 2012-12-16 00:16:47 -05:00
Joel Maher
0301119655 Bug 805404 - docshell/test/test_bug590573.html fails on panda boards. r=jlebar 2012-12-14 14:23:56 -05:00
Tanvi Vyas
2db701caa8 Bug 782654 - Add Mixed Active state and an hasMixedActiveContentLoaded flag. (r=smaug) 2012-12-13 14:53:06 -08:00
Ehsan Akhgari
a1844bd954 Backed out changeset 34c9ccee8058 (bug 782542) for mochitest failures 2012-12-11 15:04:11 -05:00
Josh Matthews
5c429bd02b Bug 782542 - Secure necko IPDL usage. r=ted,jduell 2012-12-07 17:12:02 -05:00
Benjamin Peterson
bd511b8d15 Bug 820067 - Check that mTiming is still around in case the beforeunload handler killed it. r=smaug,bz 2012-12-10 15:34:01 -05:00
Benjamin Peterson
365b538faa Bug 818559 - Don't ask to unload if we know we're going to download. r=smaug 2012-12-07 20:35:17 -05:00
Olli Pettay
f77e62bcaa Backout Bug 818559 to fix Bug 820067, a=me 2012-12-10 21:52:01 +02:00
Benjamin Peterson
62728c6a88 Bug 818559 - Don't ask to unload if we know we're going to download. r=smaug 2012-12-07 20:35:17 -05:00
Boris Zbarsky
51facedc88 Bug 818371. Don't fire visibility change events until we're done updating vsibility states in the entire docshell tree. r=smaug 2012-12-06 15:21:18 -05:00
Frank Wein
75f568cc02 Bug 792899 - docshell/test/chrome/test_bug789773.xul uses about:home which SeaMonkey doesn't have, r=bholley 2012-12-06 18:42:00 +01:00
Trevor Saunders
d2a9c007b8 bug 801466 - part 3.1 remove some prmem usage from dom/ and content/ r=mounir 2012-12-05 02:55:37 -05:00
Trevor Saunders
f98254ea98 backout 2bb432c47170 for debug asserts 2012-12-05 04:19:33 -05:00
Trevor Saunders
c2ce7ebb3a bug 801466 - part 3 1/2 remove some prmem usage from dom/ and docshell/ r=mounir 2012-12-05 02:55:37 -05:00
Ed Morley
b69f0f02b3 Bug 813242 - Disable browser_bug343515.js on Windows for too many intermittent failures 2012-12-04 21:39:04 +00:00
Ed Morley
25acdfaf99 Bug 684176 - Disable test_bug454235.xul on Linux for too many intermittent failures 2012-12-04 21:38:56 +00:00
Mats Palmgren
e6ad33709d Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Tom Schuster
445a20e383 Bug 676619 - Implementation of the download attribute for links. r=smaug 2012-12-02 21:55:52 +01:00
Ms2ger
98621c6b91 Bug 810668 - Fix some gcc4.6 build warnings; r=bz 2012-12-02 09:54:55 +01:00
Josh Matthews
682011a69c Bug 812794 - Make docshell STS usage use existing PB knowledge instead of digging in SSL internals. r=bz/bsmith 2012-11-28 11:24:03 -05:00
Thomas Zimmermann
d7a8c02973 Bug 814723 - Don't warn about missing 'browser.newtab.url' in nsDocShell. r=jlebar
The preference key 'browser.newtab.url' is only supported for the browser,
and undefined on all other targets; such as mobile or b2g. For those targets
the function 'nsDocShell::ShouldAddToSessionHistory' warns about the missing
key.

This patch silences this warning by making Gecko return a default value of
'true' if the key is not present in the preferences.
2012-11-27 14:52:54 -05:00
Gavin Sharp
363254885b Attempt to fix orange in bug 772823
--HG--
extra : transplant_source : %C82%CF%EC%AD%E8%D1%87%19%22%10k%9E%F3%EA%CF%FB%F9%8FC
2012-11-21 13:29:17 -08:00
Mounir Lamouri
defc92b90f Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz 2012-11-19 23:18:21 +00:00
Phil Ringnalda
5a094c039c Back out 204665ad4a24 (bug 764240) for Android M4 failures 2012-11-19 14:40:32 -08:00
Mounir Lamouri
818b5de806 Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz 2012-11-19 18:15:23 +00:00
Bobby Holley
552dcd7d67 Bug 765192 - Fix broken test. r=dolske
There were a couple of things wrong here:
1 - The whole recursive frame load waiting thing was totally unnecessary. Load
doesn't fire on the window until all descendant iframes have loaded.

2 - The chrome event handler wasn't filtering by target, which it should. This
is probably to blame for the intermittent orange.

3 - Setting window.location during document load actually invokes
window.location.replace.

4 - Session history navigation seems to have weird behavior when called from
an onload handler. I wanted to investigate this further, but I've already spent
too much time on this. SimpleTest.executeSoon() seems to do the trick here.
2012-11-18 19:02:41 -08:00
Boris Zbarsky
1dc187ca64 Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug 2012-11-16 14:22:56 -08:00
Boris Zbarsky
7b5a9f6b00 Bug 812086 part 2. Convert internal consumers of mozvisibilitychange events to the unprefixed version. r=smaug 2012-11-16 14:22:56 -08:00
Gavin Sharp
3fa7350814 Back out ded200210541 (bug 693808) since it caused bug 809745 2012-11-16 13:00:02 -06:00
Josh Matthews
c7506771fc Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Josh Matthews
1790039522 Bug 722850 - Part 1: Add missing privacy-bit-valid serialization for load contexts. r=jduell 2012-11-16 16:39:51 +00:00
Ed Morley
bbae80e3f1 Backout e123e0173185, 326ed6f1dc9e & 7c2c9c988869 (bug 722979) for mochitest-a11y failures 2012-11-16 15:06:13 +00:00
Ed Morley
f1e15b22a9 Backout 7a0fe388a24b, 2a9fbd15cad4, 320c1567e431 & d907ac7bf669 (bug 722850) for xpcshell & browser-chrome failures 2012-11-16 14:18:41 +00:00
Josh Matthews
79a2c3192a Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Josh Matthews
8f8594e2b0 Bug 722850 - Part 1: Add missing privacy-bit-valid serialization for load contexts. r=jduell 2012-11-16 12:32:31 +00:00
Robert O'Callahan
64eabc5eba Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats 2012-11-14 22:40:17 -08:00
Josh Matthews
71845a70ae Bug 723005 - Remove all checks for global privacy status in history-related code, and add them to callers when appropriate. r=mak sr=gavin 2012-02-18 01:40:10 -05:00
Ehsan Akhgari
5e1b3d3c2b Fix an initialization order warning in nsDocShell.cpp, no bug 2012-11-13 23:13:35 -08:00
Brad Lassey
4b1620e2a2 bug 684176 - Intermittent failure in test_bug454235.xul | offscreen browser is not visible r=smaug 2012-11-13 11:44:36 -08:00
Justin Lebar
e80ccc6058 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Justin Lebar
783b877af2 Bug 802366 - Prelude, part 5: Improve comments in nsIDocShellTreeItem.idl and nsILoadContext.idl. r=bz 2012-11-10 10:32:36 -08:00
Justin Lebar
0634f40089 Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
It's a long name, but at least it's clear.
2012-11-10 10:32:35 -08:00
Ryan VanderMeulen
a9dc8e795f Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
37f4a955e5 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00