Commit Graph

1639 Commits

Author SHA1 Message Date
Trevor Saunders
bbf0a805f5 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Trevor Saunders
60e2aa1ddc bug 841434 - use a TArray for nsDocLoader::mChildList r=bz 2013-02-13 01:23:14 -05:00
Tanvi Vyas
0ef28b8c42 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
7e67ab221f 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
a3ffccd05b 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
db95f610e2 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
5ab06de081 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium 2013-01-29 13:12:13 -05:00
Josh Matthews
1b6ca15ff2 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
2574763a7f Backed out changeset cc665373ff61 (bug 829383). CLOSED TREEs don't bother me. 2013-01-21 16:22:38 +00:00
Josh Matthews
286866a6cc 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
c196c4480d 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
Ehsan Akhgari
99c3ac0dfa Merge mozilla-central into mozilla-inbound 2013-01-15 09:10:19 -05:00
Olli Pettay
afb06d2c0a 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
7532b4e736 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
Ehsan Akhgari
6bb146c299 Merge mozilla-central into mozilla-inbound 2013-01-08 14:59:20 -05:00
Olli Pettay
cfa539caf5 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
05d4a5db6c 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.
2013-01-05 16:13:05 +13:00
Robert O'Callahan
67b24645e1 Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel 2013-01-05 16:12:24 +13:00
Phil Ringnalda
f40517090e 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
70efd4b7d5 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.
2013-01-05 16:13:05 +13:00
Robert O'Callahan
b20214218e Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel 2013-01-05 16:12:24 +13:00
Ehsan Akhgari
57d4679409 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
486ddcd1fd Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build 2013-01-03 18:36:16 -05:00
Trevor Saunders
182f3ee366 bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
Shriram Kunchanapalli
ff3af78fae 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
ae130ef998 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.
2013-01-04 02:23:11 +13:00
Ehsan Akhgari
ce9f1908ee Bug 827188 - Initialize the hidden private window lazily; r=bzbarsky 2013-01-06 21:16:48 -05:00
Ehsan Akhgari
c95ee8f5e1 Backed out changeset f3a6aff3dbbc (bug 827188) because of build failures 2013-01-08 12:02:55 -05:00
Ehsan Akhgari
ffe6a2181c Bug 827188 - Initialize the hidden private window lazily; r=bzbarsky 2013-01-06 21:16:48 -05:00
Boris Zbarsky
1f872cf385 Back out bug 818371 because what we used to do actually matches the spec. 2012-12-16 00:16:47 -05:00
Tanvi Vyas
9c962b4fa3 Bug 782654 - Add Mixed Active state and an hasMixedActiveContentLoaded flag. (r=smaug) 2012-12-13 14:53:06 -08:00
Benjamin Peterson
e988aeb2ec 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
59ec21ec15 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
ad7992a9d5 Backout Bug 818559 to fix Bug 820067, a=me 2012-12-10 21:52:01 +02:00
Benjamin Peterson
89f0595de4 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
c3c132919b 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
0dc85f40ea 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
6ede65f56a backout 2bb432c47170 for debug asserts 2012-12-05 04:19:33 -05:00
Trevor Saunders
1defb24f0a 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
4caf861e1c Bug 676619 - Implementation of the download attribute for links. r=smaug 2012-12-02 21:55:52 +01:00
Ms2ger
89d6d9d8b1 Bug 810668 - Fix some gcc4.6 build warnings; r=bz 2012-12-02 09:54:55 +01:00
Josh Matthews
4989e895d7 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
c76178df9c 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
Josh Matthews
c462202d64 Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Ed Morley
d7ff99bb34 Backout e123e0173185, 326ed6f1dc9e & 7c2c9c988869 (bug 722979) for mochitest-a11y failures 2012-11-16 15:06:13 +00:00
Josh Matthews
d8762c2c88 Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Robert O'Callahan
baf0f2cc2a 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
e77a3bf92a 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
ffab3ae29f Fix an initialization order warning in nsDocShell.cpp, no bug 2012-11-13 23:13:35 -08:00
Justin Lebar
f4dad2e81e 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