Граф коммитов

3420 Коммитов

Автор SHA1 Сообщение Дата
Olli Pettay 2a01a34912 Bug 761448, be more strict when to allow docshell loads, r=bz, a=akeybl 2013-01-08 19:12:41 +02:00
Robert O'Callahan cb844b988c Bug 826632. Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to. r=tnikkel
Also, just use GetRootView instead of GetRootViewImpl.

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c2417fdf6c5e4c94ca759ac12175a2d3a0de52e6
2013-01-05 16:13:05 +13:00
Robert O'Callahan 970988bc3c Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Marco Bonardo 23ba3ed604 Bug 825849 - Add a RemoveAllDownloads API to nsIDownloadHistory.
r=Mano sr=gavin
2013-01-05 10:21:04 +01:00
Phil Ringnalda d44dff5096 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan 136a5fbaac Bug 826632. Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to. r=tnikkel
Also, just use GetRootView instead of GetRootViewImpl.

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 8dadf01e7cab20f6e0b9b3e95e767687445260c2
2013-01-05 16:13:05 +13:00
Robert O'Callahan 0bda13504b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Ehsan Akhgari 40dbc4f2f4 Bug 815847 - Part 5: Ignore the hidden private window when sending the last-pb-context-exited notification; r=bzbarsky 2012-12-11 23:22:20 -05:00
Ehsan Akhgari 4ad1b6649d Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build 2013-01-03 18:36:16 -05:00
Trevor Saunders 09f3b656b4 bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
Shriram Kunchanapalli 25d2ca6bd4 Bug 791546: Removes nsCRT::strcmp(const PRUnichar* s) from nsCRT.h and replaces it occurrences with NS_strcmp; r=bsmedberg 2012-12-24 08:47:18 +05:30
Robert O'Callahan 943cb99eff Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Ehsan Akhgari a422d55c03 Bug 827188 - Initialize the hidden private window lazily; r=bzbarsky 2013-01-06 21:16:48 -05:00
Ehsan Akhgari c6c9238be8 Backed out changeset f3a6aff3dbbc (bug 827188) because of build failures
--HG--
extra : rebase_source : 87d6ba184e23dbe83a3a0e2ae83c44c5ecdb46db
2013-01-08 12:02:55 -05:00
Ehsan Akhgari f15ce2e4c3 Bug 827188 - Initialize the hidden private window lazily; r=bzbarsky
--HG--
extra : rebase_source : 42a4a4da52f0eaa57a83dc4daf0e1a47401f4411
2013-01-06 21:16:48 -05:00
Josh Matthews 7482ee38c6 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-29 04:02:16 -05:00
Josh Matthews 315334a8d5 Backed out changeset 6cd44513d285 (bug 782542) 2012-12-28 19:18:38 -05:00
Josh Matthews 8574d2db42 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-12 10:40:33 -05:00
Peter Van der Beken c466c4597c Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings). r=bz.
--HG--
rename : content/html/content/src/nsHTMLBodyElement.cpp => content/html/content/src/HTMLBodyElement.cpp
rename : content/html/content/src/nsHTMLDataListElement.cpp => content/html/content/src/HTMLDataListElement.cpp
rename : content/html/content/src/nsHTMLFontElement.cpp => content/html/content/src/HTMLFontElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.cpp => content/html/content/src/HTMLFrameSetElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.h => content/html/content/src/HTMLFrameSetElement.h
rename : content/html/content/src/nsHTMLLabelElement.cpp => content/html/content/src/HTMLLabelElement.cpp
rename : content/html/content/src/nsHTMLLabelElement.h => content/html/content/src/HTMLLabelElement.h
extra : rebase_source : f287e7530fa829a6159537476dc1418bbc9f40e5
2012-12-21 15:07:28 +01:00
Daniel Holbert 7e51858e25 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 e73a12f35f 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 3ff706b49a Bug 819791 - Part 1: Remove nsTArrayDefaultAllocator, replacing it unconditionally with nsTArrayInfallibleAllocator. r=bz 2012-12-18 20:16:06 -05:00
Ed Morley f41c087da9 Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews 4d20bfdcc1 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 4d4f8f6904 Back out bug 818371 because what we used to do actually matches the spec. 2012-12-16 00:16:47 -05:00
Joel Maher 80d940dc17 Bug 805404 - docshell/test/test_bug590573.html fails on panda boards. r=jlebar 2012-12-14 14:23:56 -05:00
Tanvi Vyas cb8c045f43 Bug 782654 - Add Mixed Active state and an hasMixedActiveContentLoaded flag. (r=smaug) 2012-12-13 14:53:06 -08:00
Ehsan Akhgari 367b53417c Backed out changeset 34c9ccee8058 (bug 782542) for mochitest failures 2012-12-11 15:04:11 -05:00
Josh Matthews 4e012f139b Bug 782542 - Secure necko IPDL usage. r=ted,jduell 2012-12-07 17:12:02 -05:00
Benjamin Peterson 0b24745372 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 489fed5530 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 f703e766ca Backout Bug 818559 to fix Bug 820067, a=me 2012-12-10 21:52:01 +02:00
Benjamin Peterson 9832aabc4c 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 5b75fd5eff 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 074d23a851 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 b6cf9728ce 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 bac28f7e18 backout 2bb432c47170 for debug asserts 2012-12-05 04:19:33 -05:00
Trevor Saunders 35ab865598 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 ef6f927110 Bug 813242 - Disable browser_bug343515.js on Windows for too many intermittent failures 2012-12-04 21:39:04 +00:00
Ed Morley 86e68466ed Bug 684176 - Disable test_bug454235.xul on Linux for too many intermittent failures 2012-12-04 21:38:56 +00:00
Mats Palmgren 924e59e0d0 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Tom Schuster 9271842e43 Bug 676619 - Implementation of the download attribute for links. r=smaug 2012-12-02 21:55:52 +01:00
Ms2ger 0a0b1561d2 Bug 810668 - Fix some gcc4.6 build warnings; r=bz 2012-12-02 09:54:55 +01:00
Josh Matthews cb22bd8de5 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 6674dad4a2 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 d72e8a5f0a 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 f3e9f0a56b 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 9cc19a4801 Back out 204665ad4a24 (bug 764240) for Android M4 failures 2012-11-19 14:40:32 -08:00
Mounir Lamouri 9405ab0e71 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 8a4a8afa44 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 2cd0f8f7b1 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 6d9ddce866 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 b261e2e176 Back out ded200210541 (bug 693808) since it caused bug 809745 2012-11-16 13:00:02 -06:00
Josh Matthews e0bfa38e3b Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Josh Matthews 3e6d64c9c2 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 0687c2b3aa Backout e123e0173185, 326ed6f1dc9e & 7c2c9c988869 (bug 722979) for mochitest-a11y failures 2012-11-16 15:06:13 +00:00
Ed Morley fd965f5f0b Backout 7a0fe388a24b, 2a9fbd15cad4, 320c1567e431 & d907ac7bf669 (bug 722850) for xpcshell & browser-chrome failures 2012-11-16 14:18:41 +00:00
Josh Matthews cdf21f169e Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Josh Matthews 7bbe4b726b 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 b59945f6e8 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 f07cac3737 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 18749ba8e0 Fix an initialization order warning in nsDocShell.cpp, no bug 2012-11-13 23:13:35 -08:00
Brad Lassey 8c41c8d21a 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 a9e6d9a0c8 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 9633a49ba0 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 d91b7132e1 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 3eff16d324 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 785d3c9b2f 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
Justin Lebar 1063cbe1b5 Bug 802366 - Prelude, part 5: Improve comments in nsIDocShellTreeItem.idl and nsILoadContext.idl. r=bz 2012-11-09 16:37:39 -08:00
Justin Lebar 46ec89c38b Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
It's a long name, but at least it's clear.
2012-11-09 16:37:38 -08:00
Marco Bonardo afedd3bf3c Bug 799609 - Disable Places in B2G - Part 2 - Allow docshell and content to build without Places
Expose NotifyVisited API and fix code so it can be built with alternative history implementations.
r=jlebar
2012-11-09 10:55:54 +01:00
Vladan Djeric e71ad7f6b1 Bug 661881: Add an about:telemetry page to Firefox. r=ttaubert 2012-11-08 15:36:06 -05:00
Oonishi Atsushi b07f733d1a Bug 808035 - Test. r=smaug 2012-11-07 18:04:23 -05:00
Oonishi Atsushi 789f2e271a Bug 808035 - Don't try to replace non-exist session history entry. r=smaug 2012-11-07 18:04:22 -05:00
Gavin Sharp 2b2e7edf42 Bug 718088: offer to re-set keyword.URL if it has a non-default value, r=bz on the docshell parts, r=fryn on the rest, ui-r=limi. 2012-11-06 09:14:35 -08:00
Ehsan Akhgari f4956f5734 Bug 800193 - Print a warning when setting nsILoadContext.usePrivateBrowsing in per-window private browsing builds; r=bzbarsky 2012-10-31 00:15:24 -04:00
Abhishek Rajput 1c17e4d326 Bug 693808 - Make number keywords in locationbar be searched as normal terms. r=jst 2012-11-01 19:23:14 -04:00
Justin Lebar 19e81c3a0c Backed out changeset e710acd6ef11 (bug 802366) 2012-10-30 21:36:32 -04:00
Justin Lebar 16ae2c4ee4 Backed out changeset 8048f22347eb (bug 802366) 2012-10-30 21:36:32 -04:00
Justin Lebar 22489f7920 Backed out changeset a6a847452dbf (bug 802366) 2012-10-30 21:36:29 -04:00
Justin Lebar 7b38d49f83 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
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.

(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar 818638f210 Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD 2012-10-30 16:13:20 -04:00
Justin Lebar af7297481d Bug 802367 - 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.

--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Justin Lebar 3393b3aed4 Bug 802366 - Prelude, part 5: Improve comments in nsIDocShellTreeItem.idl and nsILoadContext.idl. r=bz
--HG--
extra : rebase_source : 9a3fd090299ff312050eb82ff3c515615df7b17b
2012-10-30 15:55:05 -04:00
Justin Lebar f2b7635866 Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
It's a long name, but at least it's clear.

--HG--
extra : rebase_source : fdf13259e0b0cc3b0f5d1760f5ced512dee2c28b
2012-10-30 15:55:05 -04:00
Josh Matthews 55785543f7 Bug 804653 - Make destroying a private docshell update the global count of private docshells instead of waiting an indefinite amount of time for the destructor. r=bz 2012-10-30 09:21:52 -04:00
Ryan VanderMeulen 42bf588452 Backout f5de2f1dd9d7 (bug 804653) due to leaks. 2012-10-30 10:13:08 -04:00
Nathan Froyd 4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Josh Matthews 9593cebee0 Bug 804653 - Make destroying a private docshell update the global count of private docshells instead of waiting an indefinite amount of time for the destructor. r=bz 2012-10-30 09:21:52 -04:00
Chris Pearce 046c7a9a82 Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar 2012-10-30 11:02:24 +13:00
Ehsan Akhgari 8e702f60c5 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari f3c0ac7a23 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Bobby Holley 66fe81e49a Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap 2012-10-22 08:29:55 +02:00
Isaac Aggrey c984edf823 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Neil Deakin adc5037779 Bug 621944, find and replace doesn't wrap in mail compose, use the correct focused frame, r=neil 2012-10-18 09:18:30 -04:00
Jason Duell a5b93cbcd8 Bug 802885 - Disable offline cache entries for private channels under e10s r=jdm 2012-10-17 22:00:16 -07:00
Isaac Aggrey 8cae05114f Bug 794510: Part 4 - Use PR_NewLogModule instead of PR_LOG_DEFINE; r=ehsan,wtc 2012-10-13 15:56:35 -05:00
Jonathan Kew 171fa34718 bug 794038 pt 2.0 - respond to changes to backing-store resolution when a window moves between HiDPI and non-HiDPI displays. r=smichaud 2012-10-16 20:41:20 +01:00
Jonathan Kew 2476c89ec7 bug 794038 pt 0.9 - provide an unscaledDevicePixelsPerCSSPixel attribute on nsIBaseWindow to expose the default device-pix/css-pix ratio. r=roc 2012-10-16 20:41:19 +01:00
David Zbarsky 51eb0b9272 Fix some && within || warnings, no bug 2012-10-15 21:00:21 -04:00
Oonishi Atsushi 44213f6f12 Bug 754029 - Navigating from a new script tag does not add a session history entry. r=smaug, r=bz 2012-10-13 13:20:55 -04:00
Andrew Quartey 00edc52f9c Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey ea5e17dc9c Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
Josh Matthews a932f16330 Bug 795556 - Part 2: Move privacy status propagation for new windows into the platform. r=bz 2012-10-10 11:28:42 -04:00
Chris Pearce 685bd32cd6 Bug 795184 - Make iframe.mozallowfullscreen percolate across process boundaries. r=jlebar 2012-10-08 10:12:50 +13:00
Ed Morley 24678699d7 Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted 2012-10-06 16:46:09 +01:00
Andrew Quartey 58aa97ec8b Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Olli Pettay 6011112b41 Bug 797909, null principal for initial about:blank, r=bz 2012-10-05 02:01:34 +03:00
Jeff Muizelaar d14ebc63da Bug 794884. Make SupportImageWithMimeType return a bool. r=joe.
This cleans things up quite a bit.
---
 content/base/src/nsObjectLoadingContent.cpp |    4 +---
 docshell/base/nsWebNavigationInfo.cpp       |    4 +---
 image/src/imgLoader.cpp                     |    7 ++-----
 image/src/imgLoader.h                       |    2 +-
 layout/build/nsContentDLF.cpp               |    4 +---
 5 files changed, 6 insertions(+), 15 deletions(-)
2012-10-03 16:17:47 -04:00
Jeff Muizelaar bd55aae8e0 Bug 794884. Make SupportImageWithMimeType a static function. r=joe,r=bz
This removes supportImageWithMimeType from the idl and makes all the
callers call the static function directly. To do this we also need
to export imgLoader.h and imgRequest.h.
---
 content/base/src/nsObjectLoadingContent.cpp |    9 ++-------
 docshell/base/nsWebNavigationInfo.cpp       |    8 +++++---
 docshell/base/nsWebNavigationInfo.h         |    5 -----
 image/public/imgILoader.idl                 |    9 +--------
 image/src/Makefile.in                       |    4 ++++
 image/src/imgLoader.cpp                     |    2 +-
 image/src/imgLoader.h                       |    1 +
 layout/build/nsContentDLF.cpp               |    5 ++---
 8 files changed, 16 insertions(+), 27 deletions(-)
2012-10-03 16:17:40 -04:00
Andrew Quartey 54074fe47f Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Andrew Quartey 816b3752e7 Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Ehsan Akhgari 2a19ae0291 Bug 795015 - Set the initial state of the per-docshell private browsing flag based on the state of the global PB service; r=jdm,bzbarsky 2012-09-30 21:55:42 -04:00
Chris Jones dda6595530 Bug 784908: Part 0: Make this test actually test session history instead of scroll port clamping. irc-r=roc 2012-09-28 03:33:29 -07:00
Isaac Aggrey b95ab79e45 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Ed Morley 8a66f47ae2 Bug 780863 - Disable test_bug270414.html on Android for too many intermittent failures (mark 2) 2012-09-28 18:47:30 +01:00
Isaac Aggrey 481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Ed Morley 390f6a8b1b Bug 780863 - Disable test_bug270414.html on mobile for too many intermittent failures 2012-09-28 15:42:39 +01:00
Gavin Sharp 5ca2bb0c0b Bug 772823: try to work around intermittent failure of this test on Linux by not trying to focus the opener from under a domwindowclosed notification 2012-09-25 17:49:04 -07:00
Bobby Holley 1b5d4b63ec Bug 792036 - More manual fixes requested by Andrew. r=mccr8 2012-09-24 14:46:29 +02:00
Bobby Holley a25701a3f7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley 8188b09b4e Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Gavin Sharp 53f692e76c Bug 772823: try to work around intermittent failure of this test on Linux by avoiding closing the window during onload
--HG--
extra : transplant_source : %3C%2B%B3%3A%F5S%AF%97t%80%DC%D4%C4%F1%26%8A%E6%8A%B5%B7
2012-09-23 17:13:01 -07:00
Tim Taubert 9849e3594b merge m-c to fx-team 2012-09-22 09:32:24 +02:00
Tim Taubert d0100557fd Bug 422543 - part 3 - tiny followup/cleanup; r=neil 2012-09-21 13:11:25 +02:00
Dave Camp f1424f9023 Merge fx-team to m-c 2012-09-20 15:52:35 -07:00
Tim Taubert 63b9788a07 Bug 422543 - part 2 - add tests for multiple session history listeners; r=smaug 2012-09-20 16:41:49 +02:00
Tim Taubert 566b99d348 Bug 422543 - part 1 - make session history support multiple listeners; r=smaug 2012-09-20 16:41:18 +02:00
Kyle Huey 87ab0338fd Bug 789776: Log an error message when X-Frame-Options vetoes a load. r=jst 2012-09-20 19:47:18 -07:00
Ryan VanderMeulen 4af64dcc49 Merge the last PGO-green inbound changeset to m-c. 2012-09-20 21:23:35 -04:00
Justin Lebar 3789a6997d Bug 791011 - When doing a hash navigation, cancel any outstanding document loads, but don't cancel other network activity. r=bz 2012-09-20 15:16:54 -04:00
Jason Duell fa09e23fb6 Bug 756648 - Implement "cookie jars" for apps. r=biesi,smaug
--HG--
rename : netwerk/test/unit_ipc/test_cookie_wrap.js => netwerk/test/unit_ipc/test_cookie_header_wrap.js
2012-09-18 12:04:04 -04:00
Bobby Holley d01188167e Bug 789773 - Tests. r=bz 2012-09-18 12:16:05 +02:00
Ehsan Akhgari 145e6f9783 Bug 741059 - Part 4: Update the callers to mozIAsyncFavicon::SetAndFetchFaviconForPage; r=jdm,bz,mak 2012-09-06 00:34:50 -04:00
Ehsan Akhgari d58d386309 Bug 741059 - Part 1: Add APIs to nsIChannel to allow callers to override the private bit on the channel; r=jduell
This is probably the worst patch that I have ever written!

We add a setPrivate method to nsIPrivateBrowsingChannel which will be
implemented by channels who care about private browsing.  This allows the
client to explicitly override the private bit on the channel.
NS_UsePrivateBrowsing is also taught about this override bit using the
internal nsIPrivateBrowsingChannel::IsPrivateModeOverriden API.  This patch
implements the new API for HTTP, FTP and wyciwyg channels.  This also
modifies the IPC implementations of these channels to correctly transfer that
bit to the parent process if it has been set in the child process channel.
2012-09-04 20:37:45 -04:00
Ehsan Akhgari 8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Patrick Wang 8eaaa66b5d Bug 775464 - Part 1: Add nsILoadContext::GetTopFrameElement. r=smaug
--HG--
extra : rebase_source : 92b8b11f6111db27ff6563a295000675ec0ddae9
2012-08-22 14:47:23 +08:00
Ms2ger 3fef97c97c Bug 785642 - Return failure from nsDocShell::CaptureState if SaveWindowState returns null; r=mrbkap 2012-09-06 09:25:05 +02:00
Ms2ger 14092e417a Bug 785067 - Outparamdel nsGlobalWindow::SaveWindowState; r=mrbkap 2012-09-06 09:20:26 +02:00
Makoto Kato 1356f06137 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Scott Johnson 3ea152f05b Bug 780258: Add an interface to set the maximum line box width, accessible from chrome script. [r=dbaron] 2012-09-05 16:39:34 -05:00
Bobby Holley b54ef01adf Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
This value is initialized to null and never set, so we can get rid of it.
2012-09-05 11:32:06 -07:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Josh Matthews 1346c0db1c Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Ehsan Akhgari dae032a5cb Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : adad9af01d9168a14d87c201c1bd51a3a7a768f5
2012-08-29 10:56:51 -04:00
Rafael Ávila de Espíndola 0b6fcd9466 Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Phil Ames e5febe6eca Bug 690168. Implement the 'Allow-From' directive for X-Frame-Options. r=bzbarsky 2012-08-27 15:46:24 -04:00
Josh Matthews 1210ea94dd Back out bug 722861. 2012-08-27 15:31:29 -04:00
Josh Matthews 17c6b7c738 Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Philipp von Weitershausen d158b5747c Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Justin Lebar 68d29b343c Bug 775009 - Part 2: Fix. r=bz 2012-08-25 18:23:53 -04:00
Matt Brubeck cdd4612f38 Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Bobby Holley 248ddad9f4 Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
This value is initialized to null and never set, so we can get rid of it.
2012-08-23 16:44:52 -07:00
Bobby Holley f978d43865 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Justin Lebar 29483a3082 Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz 2012-08-22 18:27:04 -07:00
Justin Lebar 6ba4f56931 Bug 784436 - Part 1: Make some nsIDocShell attributes infallible. r=bz 2012-08-22 18:27:04 -07:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gavin Sharp 04744f7ec2 merge fx-team into mozilla-central 2012-08-21 10:27:25 -07:00
Blair McBride dda1c1585c Bug 783763 - Move browser_bug435325.js to /browser/ and remove reference to nsIDOMWindowUtils. r=dolske
--HG--
rename : docshell/test/browser/browser_bug435325.js => browser/base/content/test/browser_bug435325.js
2012-08-21 19:42:30 +12:00
Ben Turner 4b09919a18 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Chris Pearce 60b0bda8c8 Bug 725770. r=bz 2012-08-15 13:51:19 +12:00
Ehsan Akhgari a09e69cee0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Justin Lebar 74befa949f Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz 2012-08-14 10:58:00 -04:00
Ed Morley 715dffe280 Merge mozilla-central to mozilla-inbound 2012-08-14 14:00:36 +01:00
Ed Morley 800cd7dda0 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-14 13:52:25 +01:00
Tim Taubert 81b26bfeb3 merge m-c to fx-team 2012-08-13 20:52:40 -07:00
Aryeh Gregor a88ffe5c80 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Phil Ringnalda dde42936c6 Backout dcb9d2f694eb (bug 769254) for Windows test_resize_move_windows.html M3 failures 2012-08-10 18:51:29 -07:00
David Zbarsky 05cd650b9e Fix virtual destructor warning, no bug, blanket r=bz 2012-08-10 14:28:07 -04:00
Justin Lebar 233a0bf81b Bug 780351 - Don't let code in different apps access each others' windows. r=smaug 2012-08-13 15:19:09 -04:00
Neil Deakin 953592e2fe Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin 2012-08-13 15:05:34 -04:00
Justin Lebar 9ed276e03f Bug 777135 - Part 2: Stop using nsDOMWindowUtils::GetIsApp and friends, and instead use the relevant methods on the principal. r=mounir
--HG--
extra : rebase_source : fa8a153a1edc8f64b230b67f121ba5eaaf1098e6
2012-08-13 12:58:38 -04:00
Justin Lebar 6e6f04b273 Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
--HG--
rename : layout/reftests/svg/pattern-scale-01c.svg => layout/reftests/svg/pattern-scale-01a.svg
extra : rebase_source : 1e934ffb7a561255430bea738aa204afcaf92c79
2012-08-10 11:42:28 -04:00
Blair McBride cf1719ae32 Bug 779680 - about:neterror's GoOnline() should be invoked from events, not nsDOMWindowUtils. r=bz,dolske 2012-08-10 15:43:54 +12:00
Boris Zbarsky 71ec9e6ab2 Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst 2012-08-08 23:47:04 -04:00
Chris Jones a6ec6f5d33 Revert e3e9040a6eb9 for M2 failures 2012-08-08 21:58:23 -07:00
Boris Zbarsky cc86c6a349 Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst 2012-08-08 23:47:04 -04:00
Bobby Holley 1895527d8c Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
Aryeh Gregor 4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Ian Melven 01a802da01 Bug 341604 - modify CheckMayLoad to allow sandboxed workers to load blob and data URIs r=jst 2012-08-20 11:34:33 -07:00
Ian Melven 4f3defdd1a Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst 2012-08-20 11:34:32 -07:00
Jason Duell 8c13f6d202 Bug 780818 - Remove getExtendedOrigin from nsILoadContext. r=smaug, sr=sicking 2012-08-07 22:09:28 -07:00
Jason Duell abdbb9d224 Bug 776174 - e10s: cleanup IPC nsILoader code. r=smaug, r=jdm 2012-08-06 21:47:48 -07:00
Ed Morley 5162e724a0 Backout b4a63a0b90c2 (bug 778420), b849f1b3859a (bug 778420), d522b5a13b27 (bug 72964), 3a12c64bf53a (bug 778420), c07148142675 (bug 726053) for failures in test_bug435425.html on a CLOSED TREE 2012-08-07 00:57:27 +01:00
Bobby Holley 2adf92413a Bug 778420 - Fix up tests that don't like the new enablePrivilege, r=jmaher.
--HG--
extra : rebase_source : 07565c66b279ba5a58b5902b697110f940c255fd
2012-08-06 22:38:19 +02:00
Ms2ger 18335332f0 Bug 780168 - Avoid a couple QIs in nsDocShell::GetInterface(nsIDocument); r=bz 2012-08-04 09:44:01 +02:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley f4181983a1 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger c822d6538e Bug 780168 - Avoid a couple QIs in nsDocShell::GetInterface(nsIDocument); r=bz 2012-08-04 09:44:01 +02:00
Devdatta Akhawe 7aa2770d79 Bug 767676 - Implement Security UI Telemetry. r=honzab,bsmith,felipc,dtownsend 2012-08-02 18:51:17 -07:00
Aryeh Gregor 8147287a2c Bug 779123 - Return NS_ERROR_FAILURE instead of false from nsDocShell::GetExtendedOrigin; r=jlebar 2012-08-01 18:46:48 +03:00
Aryeh Gregor c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Ehsan Akhgari 3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor 8363478cb0 Bug 777292 - Add default cases to switches on nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor 587e4453db Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Matt Brubeck 2c56bfa56b Back out 551b6acdafb9 and ae0b0dd6dfa2 (bug 754029) on suspicion of causing mochitest-other timeouts 2012-07-27 17:03:23 -07:00
Oonishi Atsushi b6893746c6 Bug 754029 - Tests. r=smaug 2012-07-27 17:51:53 -04:00
Oonishi Atsushi 0fe829b2cd Bug 754029 - Navigating from a new script tag does not add a session history entry. r=smaug 2012-07-27 17:51:52 -04:00
Henri Sivonen d5ae090db7 Bug 775467 - Make readyState progress through all states without duplicate transitions. r=bzbarsky. 2012-07-27 16:35:09 +03:00
foudfou afd9098bb7 Bug 760802 - Add JS nativeHandler attribute for nsIBaseWindow. r=roc 2012-07-24 21:35:32 -04:00
Matt Brubeck 867c5f52a6 Back out fbdb3104c9e5, d2fe54ae00a8, d378362cbe01, fe623d60bea1 (bug 769254) on suspicion of causing Windows debug mochitest-plain-3 timeouts 2012-07-23 20:30:12 -07:00
Justin Lebar ba5b2f9841 Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz
--HG--
extra : rebase_source : 916b8181478cda654b8936f7bfab79e72f7c8422
2012-07-23 15:59:37 -04:00
Justin Lebar b8231de439 Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz
--HG--
extra : rebase_source : cc6f8b85ddea42cf47a382a3edb1ca6d1b5fdbc9
2012-07-23 15:59:37 -04:00
Justin Lebar 5fa16a142d Backed out changeset cac4e8a16532 (bug 771273) 2012-07-23 15:39:03 -04:00
Justin Lebar b40b376fbb Backed out changeset 97b356893365 (bug 762939) 2012-07-23 15:38:55 -04:00
Jason Duell f599864772 Bug 776140 - Add GetExtendedOrigin method to nsILoadContext. r=jlebar, sr=sicking 2012-07-23 11:09:26 -07:00
Justin Lebar d02066bc5d Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz 2012-07-23 13:47:34 -04:00
Justin Lebar 5d1f873d30 Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz 2012-07-23 13:47:33 -04:00
Justin Lebar cd5240a85c Backed out changeset 0b4c68d39a61 (bug 771273) on a CLOSED TREE 2012-07-23 11:44:55 -04:00
Justin Lebar 5932353a75 Backed out changeset e15addefe3a2 (bug 762939) 2012-07-23 11:43:33 -04:00
Justin Lebar 6e40e7a4ec Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz 2012-07-23 11:26:36 -04:00
Justin Lebar ddcc540395 Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz 2012-07-23 11:24:14 -04:00
Justin Lebar 3a202f9009 Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
--HG--
extra : rebase_source : 96a53a1a8b34f41bfe59f00141d598c5394cb0c1
2012-07-23 10:44:13 -04:00
Mounir Lamouri 0ff58775d6 Follow-up from bug 775408: fix comment. r=me 2012-07-22 17:42:15 -07:00
Mounir Lamouri cd1309cad6 Bug 775408 - Rename nsIDocShell::SetIsBrowser() to SetIsBrowserElement(). r=jlebar 2012-07-21 17:39:41 -07:00
Jonas Sicking 23c9838514 Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
Jonas Sicking 2ac2ff6877 Bug 774585: Fix session storage to take app principals into account. r=mounir 2012-07-21 00:29:40 -07:00
Jason Duell 8a81637544 Bug 775860 - copy appId and isInBrowserElement from nsIDocShell to nsILoadContext. r=jlebar, sr=sicking 2012-07-20 11:38:43 -07:00
Chris Jones fc6d547510 Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
This is a rollup of three separate patches
 - Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
 - Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
 - Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc

--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00
Mounir Lamouri b92335b98c Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-19 10:32:49 -07:00
Mounir Lamouri 18f18cdf14 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Steve Fink 39d63b1649 Backed out changeset 060a9d9fc1c6 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out 2012-07-19 15:45:27 -07:00
Steve Fink be6f447b39 Backed out changeset c2ffcbf39231 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out 2012-07-19 15:45:19 -07:00
Mounir Lamouri a065999925 Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-19 10:32:49 -07:00
Mounir Lamouri 2cd38a0937 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Mounir Lamouri 61d9d40b3d Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Ed Morley c2d155cb67 Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri a0f97b8567 Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-18 22:28:05 -07:00
Mounir Lamouri 42117c2ed2 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Mounir Lamouri f293eab524 Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Jonas Sicking 87c1732c26 Bug 774585: Make about: redirectors reset channel owner to null rather than set an explicit principal so that we'll go through the normal code paths in GetChannelPrincipal. r=bz 2012-07-17 22:22:19 -07:00
Ehsan Akhgari ec650bd6a1 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (docshell parts); r=bzbarsky 2012-07-10 23:59:52 -04:00
Ehsan Akhgari 8bb5b583b2 Bug 774556 - Remove nsIDOMWindowPerformance* XPCOM interfaces; r=bzbarsky 2012-07-16 22:44:22 -04:00
Tim Taubert 9201286644 merge m-c to fx-team 2012-07-11 08:44:05 +02:00
Tim Taubert a76e21a256 Bug 724239 - Loading a page in a new tab enables the back button; r=gavin,bz 2012-07-10 17:54:41 +02:00
Nathan Froyd bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Justin Lebar 047c8eaab5 Bug 770239 - Make X-Frame-Options work correctly with <iframe mozbrowser>, and remove the disable X-Frame-Options pref (added in bug 707893). r=bz
--HG--
extra : rebase_source : 6dbcc596dac24dbc2b19b7292f6e5b924bd2908d
2012-07-09 16:42:17 -04:00
Tim Taubert 7d954a7579 Bug 669603 - Part 2 - Add sessionStorage helpers to nsIDocShell; r=smaug,mayhemer 2012-07-05 12:12:55 +02:00
Devdatta Akhawe 07903f7e5c Bug 767134 - Stuff the source principal into nsIContentPolicy (r=bz, sr=jst) 2012-07-02 16:16:11 -07:00
David Zbarsky d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gavin Sharp 458448b3c3 Bug 769771: add support for specifying content type of an html:iframe, r=bz
--HG--
extra : transplant_source : %97%CDKKQ%11%F4%98%C0%D6e%B81%BE6a%3Ah_%07
2012-06-29 15:03:53 -04:00
Masayuki Nakano a16ae57d35 Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Justin Lebar 9d4a563977 Bug 767957 - Remove dead null-check for shistory in {push,replace}State. r=bz
--HG--
extra : rebase_source : 29940d3fe6ee905d2f32777c7caf05a846081277
2012-06-26 17:18:10 +02:00
Jonathan Watt 970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ed Morley 7689b7c5cf Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures 2012-06-22 11:04:47 +01:00
Justin Lebar 41afb9dce4 Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 21:17:52 -04:00
Brian Nicholson 5de6a4b075 Bug 766757 - Add LOAD_REPLACE_BYPASS_CACHE load type. r=bz 2012-06-21 10:31:07 -07:00
Ed Morley 9c21bf543b Backout fed89ccfe0c2, 5fb8d7a3852f & d220195a8b95 (bug 764718) for mochitest-2 failures 2012-06-21 18:18:40 +01:00
Justin Lebar 8c698df741 Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 11:58:49 -04:00
David Zbarsky 3343dbe740 Bug 766341 - Fix debug warnings in nsDocShell.cpp r=smaug 2012-06-19 17:10:14 -07:00
Justin Lebar 607aa1bcd1 Bug 742944 - Part 1: Always set nsDocShell::isBrowserFrame to true, for in- and out-of-process iframes. r=bz
--HG--
extra : rebase_source : ab7e051cf7c2038ec362376277a1d97c69c5717c
2012-06-12 18:01:24 -04:00
Gabor Krizsanits 98d79aefcf Bug 763496 - Use nsIPrincipal::Subsumes instead of nsIPrincipal::Equals in nsDocShell. r=bz 2012-06-12 17:06:37 -04:00
Sid Stamm cd3a73b307 bug 761655 - Support for multiple X-Frame-Options policies (multiple headers or comma in header value). r=jst 2012-06-11 09:17:35 -07:00
Oonishi Atsushi 7b218c3f48 Bug 606286 - Block javascript redirection when "accessibility.blockjsredirection" is set true and the user is browsing back/forward history. r=bz 2012-06-09 17:07:17 -04:00
Phil Ringnalda eae57001c8 Bug 751575 - disable test_pb_notification.js because it needs to schedule precise GC, and can't, r=luke 2012-06-06 21:33:46 -07:00
Ed Morley 31ad3140c9 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-06 09:20:35 +01:00
Ms2ger b63367bd67 Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir 2012-06-06 09:36:58 +02:00
Geoff Lankow 9ddcf15b7a Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Geoff Lankow 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Justin Lebar 8de78a56c1 Bug 757376. r=bz
--HG--
extra : rebase_source : 5de9b8594742c470381f1e36c3629d393c264c6e
2012-06-05 12:55:59 -04:00
Gervase Markham 68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Olli Pettay 66c92d82af Bug 758401 - Add a way to get message manager from docshell, r=jst 2012-05-28 12:27:25 +03:00
Kyle Huey 6aade7d74c Merge m-c to b-s. 2012-05-27 22:31:06 -07:00
Kyle Huey 288f3e1cd1 Merge m-c to b-s. 2012-05-26 14:22:26 -07:00
Kyle Huey b1b7277c0a Bug 751999: Split SetDocShell apart to make this code easier to read. r=jst 2012-05-25 12:00:32 -07:00
Aryeh Gregor 6f4ed9a285 Bug 748307 part 5 - Support insertText, forwardDelete, insertParagraph per spec; r=ehsan 2012-05-22 12:37:17 +03:00
Ed Morley 5f261f49bb Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html 2012-05-25 12:51:32 +01:00
Josh Matthews b8424948c9 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-25 12:20:31 +01:00
Simon Montagu 886fbfecc5 Update patch for bug 644209 to final version. r=emk 2012-05-24 22:56:49 +03:00
Simon Montagu e3f832b63f Make tests that use non-UTF-8 content use file URLs instead of chrome URLs. Bug 644209, r=emk 2012-05-24 22:41:38 +03:00
Josh Matthews bf85084d66 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-26 09:37:58 +01:00
Josh Matthews 8865ba35f5 Bug 722845 - Part 5: Disable offline cache entries for private channels. r=mayhemer 2012-05-24 16:31:54 +01:00
Boris Zbarsky 15cedd1761 Bug 748276. Don't record a navigationStart for javascript: URI loads that don't produce a document. r=smaug 2012-05-23 12:44:48 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Neil Rashbrook b29321080b Bug 678726 Improved diagnostics to try to figure out what this random orange is r=ted 2012-05-10 22:46:15 +01:00
Marco Castelluccio 828240f03b Bug 615213 - Remove nsIGlobalHistory.
r=bsmedberg
2012-05-09 21:30:41 +02:00
Oonishi Atsushi 42c07a9d94 Bug 745530 - Check that the decoded and unescaped ref is not empty. r=smaug 2012-05-08 18:49:14 -04:00
L. David Baron b051b7aaa9 Expose DocumentViewerImpl::CallChildren with an API that fills an array. (Bug 747231, patch 3) r=roc
--HG--
extra : transplant_source : %FFc%40%AE%D6%22%40%1D%7F%F7%A8%BC%1A%ECG%98G%DCFf
2012-05-05 15:25:45 +02:00
Ed Morley a136d4c2bc Backout 8d220661ef24 (bug 751575) for timing out on pgo linux 2012-05-04 10:10:34 +01:00
Luke Wagner 7843f94eb3 Bug 751575 - fix and reenable test_pb_notification_ipc.js (r=jst)
--HG--
extra : rebase_source : e2d52414cd17c15792e9c4be9cc48bfdb3b02318
2012-05-03 16:25:20 -07:00
Ed Morley ec39ca018c Bug 751575 - Disable test_pb_notification_ipc.js for permafailing in a CPG world; r=jst CLOSED TREE 2012-05-03 17:15:58 +01:00
Oonishi Atsushi 4f2e6654f7 Bug 750145 - iframe should not inherit LOAD_ERROR_PAGE. r=smaug 2012-05-03 06:22:33 -04:00
Oonishi Atsushi e431d02474 Bug 478927 - Add new test. r=smaug 2012-05-03 06:22:32 -04:00
Oonishi Atsushi 6df033d768 Bug 478927 - Add a new flag LOCATION_CHANGE_ERROR_PAGE for onLocationChangeBug. r=smaug, sr=bzbarsky 2012-05-03 06:22:32 -04:00
Boris Zbarsky 86a127e21b Bug 748803. Don't autofocus the Try Again button in error pages if the error page is not a toplevel page. r=mounir 2012-04-30 21:57:16 -04:00
Eric Wong 2974faa0ea Bug 724841 - Retain case when sending location bar text to search engine service r=bz 2012-04-28 18:39:14 -07:00
Oonishi Atsushi cf4f808f6d Bug 673752 - Every error page fires onLocationChange twice. r=smaug 2012-04-24 19:49:58 -04:00
Matt Brubeck 2b509d78a7 Back out a0bc511b1d75 (bug 744910) and c85d6a254baa (bug 673752) on suspicion of causing Win debug "make check" hangs 2012-04-24 20:47:13 -07:00
Ehsan Akhgari 166aca09f9 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Josh Matthews a83b61e9e2 Bug 729162 - Add per-docshell privacy mode transition observers. r=bz 2012-04-19 23:19:54 -04:00
Josh Matthews 7e78dba969 Bug 729204 - Make docshell privacy notifications work across multiple processes. r=bz 2012-04-19 20:13:20 -04:00
Justin Lebar cda8920995 Bug 745502 - Fix a null-pointer exception in pushState. r=smaug 2012-04-16 19:54:08 +10:00
Ms2ger dfc44fcf97 Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger 77ca860259 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger 1abb5a381a Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Oonishi Atsushi 1c9029e5ec Bug 673752 - Every error page fires onLocationChange twice. r=smaug 2012-04-24 19:49:58 -04:00
Paolo Amadini 1bb5c0078e Bug 737133 - getFaviconURLForPage and getFaviconDataForPage should invoke nsIFaviconDataCallback even if the favicon is not available. r=mak sr=gavin
--HG--
extra : rebase_source : 70f0139a7b87b4a3f4de785a7c29f3f36e2055a9
2012-04-12 12:27:14 +02:00
Josh Matthews b8cf0c11fa Bug 725210 - Add observer notification for last PB docshell going away. r=bz 2012-02-21 12:32:17 -05:00