Trevor Saunders
169a18c6bc
bug 841436 - make nsIDocShell inherit from nsIDocShellTreeItem r=bz
2013-02-11 20:31:43 -05:00
Gregory Szorc
ddad85b037
Bug 840177 - Part 5: Add observer notification for keyword searches; r=gavin
...
The intent is for this to be captured by Firefox Health Report.
2013-02-14 14:47:47 -08:00
Ryan VanderMeulen
0e981ca346
Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE.
2013-02-12 20:54:48 -05:00
Bobby Holley
5a1f2c3927
Bug 834732 - Remove PushBehavior. r=mrbkap
...
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
ff5850f236
Bug 834732 - Make nsDocShell::AddState push the JSContext if it grabs one, and remove push in nsStructuredCloneContainer. r=mrbkap
...
This gets rid of one of the last consumers of REQUIRE_SCRIPT_CONTEXT.
2013-02-13 00:22:26 +01:00
Matthew Noorenberghe
7615bc2eb0
Bug 587780 - Part 3 - Switch consumers from using a special content-type to the purpose argument. r=rnewman,gavin
...
--HG--
extra : rebase_source : 0803327b33f416fb0c679015495d376f6bce19a0
2012-04-04 02:50:39 -07:00
Tanvi Vyas
a013b7a360
Bug 837075 - Without a rootDoc, we don't have a rootUri to check if the root is https and we don't have the channel to see whether mixed content was allowed on the page. Set aRootHasSecureConnection to true by default instead of false by default. r=smaug
2013-02-06 18:29:20 -08:00
Tanvi Vyas
291a1c1eaf
Bug 822367 - Add mixed display flags to the document. Add mixed display and mixed active states to nsIWebProgressListener and use them in nsMixedContentBlocker. r=smaug
2013-01-30 00:04:41 -08:00
Tanvi Vyas
1e6b543ee3
Bug 822367 - Since document.open() creates a new channel, set nsDocShell:mMixedContentChannel to the newly created channel if the user has decided to allow mixed content on the page. r=smaug
2013-01-30 00:04:34 -08:00
Tanvi Vyas
8e3da960cf
Bug 822367 - Plumbing needed to show user Mixed Content Blocker Doorhanger when Mixed Active Content is Blocked and allow user an option to load the inseucre content anyway. r=smaug
2013-01-30 00:04:31 -08:00
Ehsan Akhgari
32d278987e
Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
...
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Josh Matthews
226f5c2465
Bug 829383 - Ensure hidden private window docshells aren't counted towards private session lifetime. r=bz
2013-01-22 18:06:30 +00:00
Josh Matthews
c0e3542fc9
Backed out changeset cc665373ff61 (bug 829383). CLOSED TREEs don't bother me.
2013-01-21 16:22:38 +00:00
Josh Matthews
0b1ed8ae63
Bug 829383 - Ensure hidden private window docshells aren't counted towards private session lifetime. r=bz
2013-01-21 14:42:16 +00:00
Henri Sivonen
10a04a0909
Bug 234628 part 2 - Make manual encoding overrides not apply to internal URL schemes or to docs declared as UTF-16 on the HTTP level; make docshells able to report when the encoding menu should be disabled. r=bzbarsky.
2013-01-18 16:27:03 +02:00
Frank Yan
076d88e6c1
No bug - Fix nsIURI typos in comments. r=me
2013-01-17 22:05:28 -08:00
Ehsan Akhgari
8ffeafeacf
Merge mozilla-central into mozilla-inbound
2013-01-15 09:10:19 -05:00
Olli Pettay
18534b4fb8
Bug 825544: backout Bug 825544, Bug 825544, Bug 765192 and Bug 808035 to bring back the old .location=val behavior, r=bz
2013-01-15 13:46:35 +02:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Trevor Saunders
14a806d47d
no bug - remove a bunch of extra ';'s to make -pedantic happy
2013-01-11 05:14:04 -05:00
Ehsan Akhgari
f33d8a82ee
Merge mozilla-central into mozilla-inbound
2013-01-08 14:59:20 -05:00
Olli Pettay
0d7a300f13
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
e21ea6104a
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
a9f8b202ea
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
35d949f6ac
Bug 825849 - Add a RemoveAllDownloads API to nsIDownloadHistory.
...
r=Mano sr=gavin
2013-01-05 10:21:04 +01:00
Phil Ringnalda
9297efcdad
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
7b239f60e7
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
9abe8bbe09
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
7c5f0a5f54
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
726d181e3b
Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build
2013-01-03 18:36:16 -05:00
Trevor Saunders
efffc97c2d
bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug
2012-12-28 20:56:42 -05:00
Shriram Kunchanapalli
2239414ab6
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
106f5d95d1
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
932e995d90
Bug 827188 - Initialize the hidden private window lazily; r=bzbarsky
2013-01-06 21:16:48 -05:00
Ehsan Akhgari
896a81cd51
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
2b3d99b089
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
03688bc401
Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g
2012-12-29 04:02:16 -05:00
Josh Matthews
a5748a8b01
Backed out changeset 6cd44513d285 (bug 782542)
2012-12-28 19:18:38 -05:00
Josh Matthews
7f617152b0
Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g
2012-12-12 10:40:33 -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
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
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
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
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
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
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
Justin Lebar
3367929b57
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
48e9d3ece0
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
dd1dc9fc79
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
a9178592e2
Bug 661881: Add an about:telemetry page to Firefox. r=ttaubert
2012-11-08 15:36:06 -05:00
Oonishi Atsushi
070584416c
Bug 808035 - Don't try to replace non-exist session history entry. r=smaug
2012-11-07 18:04:22 -05:00
Gavin Sharp
a4953aa06d
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
c47686a18e
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
7e186da0cb
Bug 693808 - Make number keywords in locationbar be searched as normal terms. r=jst
2012-11-01 19:23:14 -04:00
Justin Lebar
f481cdaaff
Backed out changeset e710acd6ef11 (bug 802366)
2012-10-30 21:36:32 -04:00
Justin Lebar
144ab649cf
Backed out changeset 8048f22347eb (bug 802366)
2012-10-30 21:36:32 -04:00
Justin Lebar
c001680f59
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Justin Lebar
df1f088009
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
b6d3d98908
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
5dde530864
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
55a676be41
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
b89d6440f5
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
597b4073bd
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
fb78a0049c
Backout f5de2f1dd9d7 (bug 804653) due to leaks.
2012-10-30 10:13:08 -04:00
Josh Matthews
ef59397c65
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
0e375de354
Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar
2012-10-30 11:02:24 +13:00
Ehsan Akhgari
78b2656cbc
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
03be701616
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
3a93472e80
Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap
2012-10-22 08:29:55 +02:00
Neil Deakin
8662bc1496
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
37264f7176
Bug 802885 - Disable offline cache entries for private channels under e10s r=jdm
2012-10-17 22:00:16 -07:00
Jonathan Kew
12f1ce33e2
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
7abd9c1d78
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
0c10e492d7
Fix some && within || warnings, no bug
2012-10-15 21:00:21 -04:00
Oonishi Atsushi
34863fccc0
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
b50ced0c60
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
ea52f5f496
Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan
2012-10-12 13:29:10 -04:00
Josh Matthews
a2ede527da
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
fbae2359b6
Bug 795184 - Make iframe.mozallowfullscreen percolate across process boundaries. r=jlebar
2012-10-08 10:12:50 +13:00
Andrew Quartey
52003ca06d
Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan
2012-10-05 01:05:28 -04:00
Olli Pettay
81315380c7
Bug 797909, null principal for initial about:blank, r=bz
2012-10-05 02:01:34 +03:00
Jeff Muizelaar
c3e16c5475
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
af82a52095
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
Ehsan Akhgari
9ea308372a
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
Isaac Aggrey
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Kyle Huey
3feda7a0b8
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
c68f4714e3
Merge the last PGO-green inbound changeset to m-c.
2012-09-20 21:23:35 -04:00
Dave Camp
37aa4e602d
Merge fx-team to m-c
2012-09-20 15:52:35 -07:00
Tim Taubert
05bfc06799
Bug 422543 - part 1 - make session history support multiple listeners; r=smaug
2012-09-20 16:41:18 +02:00
Justin Lebar
09faf314f4
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
fa9262e827
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
Ehsan Akhgari
c578fadd65
Bug 741059 - Part 4: Update the callers to mozIAsyncFavicon::SetAndFetchFaviconForPage; r=jdm,bz,mak
2012-09-06 00:34:50 -04:00
Ehsan Akhgari
5236854e21
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
70ba385729
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Patrick Wang
cd0f7e6851
Bug 775464 - Part 1: Add nsILoadContext::GetTopFrameElement. r=smaug
...
--HG--
extra : rebase_source : 92b8b11f6111db27ff6563a295000675ec0ddae9
2012-08-22 14:47:23 +08:00
Ms2ger
a18f58baba
Bug 785642 - Return failure from nsDocShell::CaptureState if SaveWindowState returns null; r=mrbkap
2012-09-06 09:25:05 +02:00
Ms2ger
bd32566761
Bug 785067 - Outparamdel nsGlobalWindow::SaveWindowState; r=mrbkap
2012-09-06 09:20:26 +02:00
Makoto Kato
507b76f776
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
Scott Johnson
32391cde9d
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
9ae993ebdc
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
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Josh Matthews
1c909a96b0
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
c48204a6a9
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
fa9b9c167a
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
89910afea6
Bug 690168. Implement the 'Allow-From' directive for X-Frame-Options. r=bzbarsky
2012-08-27 15:46:24 -04:00
Josh Matthews
9992fafc63
Back out bug 722861.
2012-08-27 15:31:29 -04:00
Josh Matthews
081b3a0cda
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
f47e2a9937
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
2809b47abe
Bug 775009 - Part 2: Fix. r=bz
2012-08-25 18:23:53 -04:00
Matt Brubeck
424ea88da6
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
875a633f4f
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
Justin Lebar
44c2b316f2
Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz
2012-08-22 18:27:04 -07:00
Justin Lebar
f991f73bb5
Bug 784436 - Part 1: Make some nsIDocShell attributes infallible. r=bz
2012-08-22 18:27:04 -07:00
Ehsan Akhgari
8c296bbcd4
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
Ian Melven
d09de1cd52
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
915cb4516e
Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst
2012-08-20 11:34:32 -07:00
Ben Turner
81d9415df5
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
2134cb3c33
Bug 725770. r=bz
2012-08-15 13:51:19 +12:00
Ehsan Akhgari
b457a9ddf0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Justin Lebar
adfc4e45ba
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
Aryeh Gregor
e2dd9c2028
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Justin Lebar
f6aa7b548f
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
1a89394d0d
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
8ae5fcb7ff
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
Phil Ringnalda
0e2c168546
Backout dcb9d2f694eb (bug 769254) for Windows test_resize_move_windows.html M3 failures
2012-08-10 18:51:29 -07:00
David Zbarsky
079aa0c152
Fix virtual destructor warning, no bug, blanket r=bz
2012-08-10 14:28:07 -04:00
Justin Lebar
14763a6a22
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
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Boris Zbarsky
3d616ae6f5
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
7804d3c78b
Revert e3e9040a6eb9 for M2 failures
2012-08-08 21:58:23 -07:00
Boris Zbarsky
f82e20d150
Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst
2012-08-08 23:47:04 -04:00
Jason Duell
6b7558a193
Bug 780818 - Remove getExtendedOrigin from nsILoadContext. r=smaug, sr=sicking
2012-08-07 22:09:28 -07:00
Jason Duell
8eb63ade2d
Bug 776174 - e10s: cleanup IPC nsILoader code. r=smaug, r=jdm
2012-08-06 21:47:48 -07:00
Ms2ger
ffdeefc990
Bug 780168 - Avoid a couple QIs in nsDocShell::GetInterface(nsIDocument); r=bz
2012-08-04 09:44:01 +02:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72
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
76a094c1a5
Bug 780168 - Avoid a couple QIs in nsDocShell::GetInterface(nsIDocument); r=bz
2012-08-04 09:44:01 +02:00
Devdatta Akhawe
7b2dada83c
Bug 767676 - Implement Security UI Telemetry. r=honzab,bsmith,felipc,dtownsend
2012-08-02 18:51:17 -07:00
Aryeh Gregor
62d5914177
Bug 779123 - Return NS_ERROR_FAILURE instead of false from nsDocShell::GetExtendedOrigin; r=jlebar
2012-08-01 18:46:48 +03:00
Aryeh Gregor
2e7996f8d1
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
c80897316e
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
66d337960d
Bug 777292 - Add default cases to switches on nsresult; r=ehsan
2012-07-27 17:03:25 +03:00
Aryeh Gregor
58769bb9d6
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Matt Brubeck
4191774b1c
Back out 551b6acdafb9 and ae0b0dd6dfa2 (bug 754029) on suspicion of causing mochitest-other timeouts
2012-07-27 17:03:23 -07:00
Oonishi Atsushi
255f9b99fe
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
ee51a2e035
Bug 775467 - Make readyState progress through all states without duplicate transitions. r=bzbarsky.
2012-07-27 16:35:09 +03:00
foudfou
c3b89d6fed
Bug 760802 - Add JS nativeHandler attribute for nsIBaseWindow. r=roc
2012-07-24 21:35:32 -04:00
Matt Brubeck
1d52142e2d
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
d5552497ce
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
e8827a91bc
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
55ea59df58
Backed out changeset cac4e8a16532 (bug 771273)
2012-07-23 15:39:03 -04:00
Justin Lebar
9add3d637c
Backed out changeset 97b356893365 (bug 762939)
2012-07-23 15:38:55 -04:00
Jason Duell
b54b0bd994
Bug 776140 - Add GetExtendedOrigin method to nsILoadContext. r=jlebar, sr=sicking
2012-07-23 11:09:26 -07:00
Justin Lebar
e220c92afe
Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz
2012-07-23 13:47:34 -04:00
Justin Lebar
947894d0cf
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
21d80cc899
Backed out changeset 0b4c68d39a61 (bug 771273) on a CLOSED TREE
2012-07-23 11:44:55 -04:00
Justin Lebar
9aad654fd5
Backed out changeset e15addefe3a2 (bug 762939)
2012-07-23 11:43:33 -04:00
Justin Lebar
1d193b75a8
Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz
2012-07-23 11:26:36 -04:00
Justin Lebar
03fb01d34a
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
156f22d018
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
c4d94f3c4d
Follow-up from bug 775408: fix comment. r=me
2012-07-22 17:42:15 -07:00
Mounir Lamouri
38a7f3af0d
Bug 775408 - Rename nsIDocShell::SetIsBrowser() to SetIsBrowserElement(). r=jlebar
2012-07-21 17:39:41 -07:00
Jonas Sicking
690071fc50
Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir
2012-07-21 00:29:40 -07:00
Jonas Sicking
e2b8d00ce4
Bug 774585: Fix session storage to take app principals into account. r=mounir
2012-07-21 00:29:40 -07:00
Jason Duell
9a4e02a115
Bug 775860 - copy appId and isInBrowserElement from nsIDocShell to nsILoadContext. r=jlebar, sr=sicking
2012-07-20 11:38:43 -07:00
Chris Jones
2cf7adf64a
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
b66d71f27e
Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking
2012-07-19 10:32:49 -07:00
Mounir Lamouri
fe2bf13acd
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
196cc9b6ff
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
4c45ee3054
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