Commit Graph

325 Commits

Author SHA1 Message Date
J. Ryan Stinnett
d0e4c235aa Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
43eb79b373 Bug 1238160 - Rename nsILoadContext::GetIsInBrowserElement. r=smaug,mayhemer
This change renames nsILoadContext::GetIsInBrowserElement to
GetIsInIsolatedMozBrowserElement.  Other methods that pass these values around
also have name changes.

Tokens such as "isInBrowserElement" have previously been serialized into cache
keys, used as DB column names, stored in app registries, etc.  No changes are
made to any serialization formats.  Only runtime method and variable names are
updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: CUttXANQjSv
2016-03-02 10:35:56 -06:00
Kyle Huey
e95edb30a9 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Andrea Marchesini
aa687047b3 Bug 1237081 - remove the getter of userContextId from nsIDocShell, r=smaug 2016-01-06 15:39:58 +00:00
Nigel Babu
86f063c2dc Backed out changeset 1b5c66916877 (bug 1237081) for mochitest browser-chrome bustage 2016-01-06 12:01:27 +05:30
Andrea Marchesini
e4dbb1db2b Bug 1237081 - Remove the getter of userContextId from nsIDocShell. r=smaug 2016-01-05 14:22:00 -05:00
Andrea Marchesini
9c383de363 Bug 1193854 - Restoring userContextIds with the browser session - part 1 - store the userContextId in sessionStore, r=smaug, r=ttaubert 2016-01-05 21:00:33 +00:00
Olli Pettay
1d483a7a70 Bug 1155730, implement History.scrollRestoration r=jst 2015-12-26 12:59:09 +02:00
Tim Nguyen
b68b23abc0 Bug 1137681 - Per-tab user agent emulation. r=bz 2015-07-21 08:42:00 +02:00
Henry
4ccc428755 Bug 1178526 - Create docshell with packageId from TabContext. r=sicking. 2015-10-29 00:52:40 +08:00
George Wright
1fa75f94b8 Bug 1098131 - Don't invalidate layers when simply changing SizeMode r=smaug,jimm 2015-11-09 21:38:21 -05:00
Gijs Kruitbosch
0a60cb2187 Bug 1209591 - allow loadURI consumers to expose whether an error page was immediately loaded as result of an error, r=smaug,mak 2015-10-27 16:44:24 +01:00
Tom Tromey
78a4089dd0 Bug 1160307 - capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug r=Paolo 2015-11-05 11:31:00 +01:00
Jonathan Watt
01ec3bfe4a Bug 1220596 - Remove interface declarations that are no longer needed in nsIDocShell. r=smaug IGNORE IDL 2015-09-21 13:49:18 +01:00
Dragana Damjanovic
f0be0ff036 Bug 1211269 - Store the information whether the channel is LOAD_REPLACE into history entry. r=bz 2015-10-05 12:33:00 +02:00
Wes Kocher
dc720b3761 Backed out changeset 95494e68c722 (bug 1177488) for crashes in test_bug732665.xul CLOSED TREE
MozReview-Commit-ID: IFUHUBUCnCD
2016-03-25 12:11:48 -07:00
Nathan Froyd
e3370b97e9 Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
Using a simple |const char*| is more memory-efficient than allocating a
JS string. We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-23 10:40:53 -04:00
Dragana Damjanovic
128bcc99a7 Bug 1185256 - Save originURI to the history. r=bz 2015-09-30 08:54:39 +02:00
Matteo Ferretti
02afb88cb7 Bug 1132475 - Refactor LayoutHelpers.jsm to avoid dependencies. r=pbrosset 2015-09-15 00:32:00 -04:00
William Chen
35904f6c4e Bug 1131470 - Part 5: Handle changes to active orientation lock. r=smaug 2015-08-18 15:28:01 -07:00
Ryan VanderMeulen
f9e08f4bc8 Backed out changeset 0dca237df7e2 (bug 1160307) for causing bug 1184752. 2015-07-16 20:38:13 -04:00
Tom Tromey
ce3642ea48 Bug 1160307 - Capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug, r=Paolo 2015-07-15 12:15:00 -04:00
Neil Deakin
a6d28f8357 Bug 1132518, make document navigation with F6/Shift+F6 work in e10s. This combines the document and tab navigation mechanisms together, r=smaug 2015-07-13 06:07:49 -04:00
Andrea Marchesini
9831c71fa6 Bug 110567 - Remove nsIDocShell::GetURLSearchParams(), r=smaug 2015-06-24 06:49:07 -07:00
Tom Tromey
9ff6bd9297 Bug 1050500 - Add callee information to Javascript timeline markers. r=smaug 2015-05-20 05:28:00 -04:00
Jim Blandy
f94dd3b1df Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley 2015-04-08 21:23:48 -04:00
Neil Rashbrook
692f7ac6b1 Bug 968334 Allow disabling content retargeting on child docshells only r=smaug 2015-03-21 10:48:48 +00:00
Mike Conley
36c3b551a5 Bug 1047603 - Make TabParent::AnswerCreateWindow force the initial browser to be remote in a new window. r=smaug. 2015-01-13 17:24:52 -05:00
Paul Rouget
ef19109268 Bug 1118169 - Support -moz-window-dragging:drag in HTML. r=mstange r=bz 2015-02-02 15:10:51 -05:00
Ehsan Akhgari
5ec96dbe39 Bug 1125351 - Make nsIDocShell.isPrerendered infallible; r=bzbarsky 2015-01-26 11:01:59 -05:00
Carsten "Tomcat" Book
a0bf98edd8 Backed out changeset a3cd2f1b3e33 (bug 1125351) for breaking m-oth tests on a CLOSED TREE 2015-01-26 16:57:10 +01:00
Ehsan Akhgari
8ded3fdaa3 Bug 1125351 - Make nsIDocShell.isPrerendered infallible; r=bzbarsky 2015-01-26 09:01:11 -05:00
Fernando Jimenez
1385f1db5a Bug 1097928 - Convert MozPaymentProvider to WebIDL. r=bholley,fabrice 2015-01-19 14:50:32 +01:00
Ehsan Akhgari
cfc908a460 Bug 1061864 - Part 1: Add a prerendered flag to nsIDocShell; r=smaug 2015-01-05 21:01:28 -05:00
Owen Chu
f8f45e4564 Bug 704320 - Parse and implement meta tag-based referrer policies for documents and nsHttpChannels. (r=bz,mcmanus) 2014-11-18 08:46:29 -05:00
Kannan Vijayan
f7e1348563 Bug 1050774 - Record script execution in timeline view. r=bholley 2014-11-13 16:22:24 -05:00
Tom Tromey
9f2bf434ba Bug 1070089 - change timeline markers to have a consistent epoch (carrying forward r=smaug) 2014-10-17 16:02:42 -07:00
Fabrice Desré
8de17fbf96 Bug 832700 - Add private browsing to b2g, API implementation r=ehsan,smaug 2014-10-10 14:28:04 -07:00
Patrick Brosset
139e624711 Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug 2014-09-09 20:54:08 +02:00
Carsten "Tomcat" Book
7aefac9a0a Backed out changeset 48816257a7b0 (bug 1050376) for bc2 test failures 2014-09-09 11:15:18 +02:00
Patrick Brosset
24eb056615 Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug 2014-09-09 09:48:36 +02:00
Georgios Kontaxis
8faf0fb32e Bug 1048643: extended nsDocShell with flags to indicate tracking protection status (similar to mixed content blocked/loaded status) 2014-08-07 13:35:03 -07:00
Andrea Marchesini
ffe9ef5b47 Bug 1037715 - Implement .searchParams on Location, r=bz, r=ehsan 2014-08-07 17:45:21 -07:00
Gijs Kruitbosch
5dcaddb118 Bug 982428 - allow fixing up URIs with schemes that we can't handle, r=bz 2014-06-19 19:22:45 +01:00
David Keeler
79ce18aeaa bug 1025330 - expose the failed channel in nsIDocShell for error pages r=bz 2014-06-19 13:55:55 -07:00
Makoto Kato
8233e20eb5 Bug 530396 - don't send a Referer header for rel="noreferrer" links; r=smaug 2014-05-20 09:26:59 -04:00
Mike Conley
3226030bdc Bug 1021466 - Part 1: Make it possible to stash opener and newly created TabParent's inside DocShell. r=smaug. 2014-06-05 22:49:43 -04:00
Trevor Saunders
c5d0801c5c bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug 2014-01-09 21:03:47 -05:00
Makoto Kato
a04af97029 Bug 968647 - Part 1. Add position change notification for IME. r=roc 2014-02-28 16:45:01 +09:00
Makoto Kato
dc9a96443a Backed out changeset d06ee3f1e9a3 (bug 968647) 2014-03-03 11:53:43 +09:00