Commit Graph

33 Commits

Author SHA1 Message Date
Ehsan Akhgari
3677a91998 Bug 1316683 - Part 5: Avoid going into SpiderMonkey for retrieving origin attributes; r=baku
Our caller is C++ code, and the implementations are all also written in C++,
so there is no reason to go through SpiderMonkey here.  This patch also makes
nsILoadContext builtinclass to ensure that the implementation is always native.
2017-04-12 11:32:19 -04:00
Eugen Sawin
22e5fa4d88 Bug 1322576 - [4.0] Fix some coding style issues. r=smaug 2017-02-22 14:57:41 +01:00
Eugen Sawin
69b544a3ba Bug 1322576 - [1.2] Add tracking protection attribute to nsILoadContext to allow for overriding of the global preference setting for individual DocShells. r=smaug 2017-02-22 14:57:37 +01:00
Andrea Marchesini
46a9207d60 Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Kris Maglione
b41a1333b7 Bug 1318388: Prevent setting usePrivateBrowsing after initial document load. r=ehsan
MozReview-Commit-ID: ArmAhSWMaCJ
2016-12-18 15:07:08 -08:00
Ehsan Akhgari
917a5e63fc Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
84568d0bc2 Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Ehsan Akhgari
2d792bd2ad Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Ehsan Akhgari
c02448fe38 Bug 1310101 - Remove nsILoadContext::IsAppOfType; r=baku 2016-10-14 10:45:27 -04:00
dimi
f5dbedafaa Bug 1258033 - Part 1: Add IsTrackingProtectionOn for nsILoadContext. r=smaug
MozReview-Commit-ID: 2eQzO6KDLyX
2016-06-02 10:12:39 +08: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
Nathan Froyd
80a650552b Bug 1218454 - part 3 - move nsILoadContext::GetOriginAttributes out-of-line; r=bz 2015-10-26 16:05:13 -04:00
Yoshi Huang
47c69d1edb Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Bobby Holley
1b09ba76d8 Bug 1210508 - Handle null OriginAttributes from JS-implemented nsILoadContext. r=me 2015-10-01 18:10:18 -07:00
Yoshi Huang
caacd89b9c Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Bill McCloskey
514ffd9b23 Bug 1123008 - Make loadContext.topFrameElement work in non-e10s (r=smaug) 2015-01-21 16:19:07 -08:00
"Kan-Ru Chen (陳侃如)"
91586e4af8 Bug 879475 - Part 006. Fix http auth prompts for nested content processes r=honzab
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:36 +08:00
Bill McCloskey
adf8cc1615 Bug 960783 - Add nsILoadContext flags for remote (out-of-process) windows (r=ehsan) 2014-02-11 09:00:54 -08:00
Justin Lebar
039984213c Bug 802366 - Prelude, part 5: Improve comments in nsIDocShellTreeItem.idl and nsILoadContext.idl. r=bz 2012-11-10 10:32:36 -08:00
Ryan VanderMeulen
65c1f3f21c Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage. 2012-11-09 20:14:40 -05:00
Justin Lebar
536867f06f Bug 802366 - Prelude, part 5: Improve comments in nsIDocShellTreeItem.idl and nsILoadContext.idl. r=bz 2012-11-09 16:37:39 -08:00
Ehsan Akhgari
7b2faca061 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
Justin Lebar
bbd7d92ffa Backed out changeset 8048f22347eb (bug 802366) 2012-10-30 21:36:32 -04:00
Justin Lebar
f68e5cc3fb Bug 802366 - Prelude, part 5: Improve comments in nsIDocShellTreeItem.idl and nsILoadContext.idl. r=bz 2012-10-30 15:55:05 -04:00
Patrick Wang
17a400a1b7 Bug 775464 - Part 1: Add nsILoadContext::GetTopFrameElement. r=smaug 2012-08-22 14:47:23 +08:00
Jason Duell
af4310dda7 Bug 780818 - Remove getExtendedOrigin from nsILoadContext. r=smaug, sr=sicking 2012-08-07 22:09:28 -07:00
Jason Duell
9a79c36643 Bug 776140 - Add GetExtendedOrigin method to nsILoadContext. r=jlebar, sr=sicking 2012-07-23 11:09:26 -07:00
Jason Duell
4b014f17f3 Bug 775860 - copy appId and isInBrowserElement from nsIDocShell to nsILoadContext. r=jlebar, sr=sicking 2012-07-20 11:38:43 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Matthews
b4ae2e4033 Bug 729140 - Add de-XPCOMed getter for private browsing status on nsILoadContext. r=bz 2012-02-21 12:08:22 -05:00
Josh Matthews
a7d4bbf532 Bug 722840 - Add private browsing attribute to docshells. r=bz 2012-02-02 14:03:46 -05:00
Boris Zbarsky
e01d43c3ea Bug 457153. Introduce an nsILoadContext interface so that consumers can get load context information from a channel/loadgroup without having to depend on getInterface of docshell stuff. r=dwitte for cookie part, r=jst for rest, sr=jst, a=beltzner for CLOSED TREE 2008-11-24 13:32:04 -05:00