Ehsan Akhgari
ad90c59aa6
Bug 1316683 - 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-03-22 10:03:26 -04:00
Andrea Marchesini
8f5f953fba
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
2017-03-22 11:38:40 +01:00
Sebastian Hengst
b2480cf424
Backed out changeset fecc6abcf708 (bug 1316683) for bustage at docshell/base/SerializedLoadContext.cpp:65:61. r=backout on a CLOSED TREE
2017-03-21 15:47:15 +01:00
Ehsan Akhgari
041744109d
Bug 1316683 - 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-03-21 10:05:00 -04:00
Carsten "Tomcat" Book
0cb5fec682
Backed out changeset 20537ebcebdb (bug 1303838) for eslint failure
2017-03-17 11:21:32 +01:00
Samael Wang
eb2cc4a6d2
Bug 1303838 - Switch to existing target tab when clicking links. r=smaug
...
Merge "DOMServiceWorkerFocusClient" & "DOMWebNotificationClicked"
to "DOMWindowFocus" event. Utilize the event to switch tab when
loading links to an existing target tab.
MozReview-Commit-ID: Hd1NkVkrJA1
2017-03-16 18:39:31 +08:00
Michael Layzell
cf7103e163
Bug 1347983 - Part 1: Make forms submitted from a large-allocation page not leave the large-allocation process, r=smaug
...
MozReview-Commit-ID: 7SEdTJN9Xd2
2017-03-16 14:32:26 -04:00
Samael Wang
420d13b9bd
Bug 1346703 - Replace PR_LogPrint with MOZ_LOG, remove unnecessary checks and add a nullptr check. r=ehsan
2017-03-14 16:58:45 +08:00
Yoshi Huang
6c76de3e9f
Bug 1300671 - set firstPartyDomain on about: pages. r=smaug
...
When we load about:blank in a remote tab, it will have
LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL flag set, which will make
NullPrinicipal as its document principal. So we add
NULL_PRINCIPAL_FIRST_PARTY_DOMAIN as its firstPartyDomain.
So when we load data:, or javascript: URI in a remote tab, it will inherit the
principal from about:blank, hence also inherit the origin attributes.
There are also some about: pages will use codebase principal, so we also
set ABOUT_URI_FIRST_PARTY_DOMAIN as firstPartyDomain on their
principals.
2017-03-14 16:22:02 +08:00
Samael Wang
2c372834c1
Bug 1339707 - Replace NS_DispatchToCurrentThread to DocGroup / TabGroup dispatch method and set nsITimer target. r=smaug
2017-03-07 16:58:59 +08:00
Christoph Kerschbaumer
683fee6899
Bug 1333147 - Do not use owner as triggeringPrincipal when creating session history entry. r=bz
2017-03-10 16:39:42 +01:00
Christoph Kerschbaumer
307617fb05
Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal. r=jwatt
2017-03-08 13:08:59 +01:00
Andrea Marchesini
313424057b
Bug 1345168 - Get rid of OriginAttributes::Inherit, r=tjr
2017-03-08 07:41:51 +01:00
Carsten "Tomcat" Book
83fd6f4ab4
Merge mozilla-central to mozilla-inbound
2017-03-07 15:18:32 +01:00
Carsten "Tomcat" Book
708777dd78
merge mozilla-inbound to mozilla-central a=merge
2017-03-07 15:13:31 +01:00
Wei-Cheng Pan
d18b945989
Bug 1310127 - Part 15: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug
...
MozReview-Commit-ID: DZBPvmSmlgR
2016-12-20 14:48:52 +08:00
Ursula Sarracini
36dac5da7b
Bug 1340181 - Hide Activity Stream URL in URLbar r=fkiefer,mconley
...
MozReview-Commit-ID: F0P5tn2wyG
2017-02-22 13:18:09 -05:00
Christoph Kerschbaumer
f24a76eaba
Bug 1341754: Provide a valid triggeringPrincipal when calling SetURI in Location. r=smaug
2017-03-07 08:48:00 +01:00
Kris Maglione
a54dba80da
Bug 1314361 - Part 6: Remove the addonId origin attribute. r=bholley
2016-11-08 17:11:32 -08:00
Kris Maglione
418e10ee90
Bug 1314361 - Part 4: Stop setting addonId origin attribute. r=billm
2016-11-04 18:22:45 -07:00
Ehsan Akhgari
fa63d8ff73
Bug 1341657 - Properly deal with not having a frame element in nsDocShell::InternalLoad(); r=smaug
2017-02-27 09:39:50 -05:00
Wes Kocher
0bf20a00ac
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 2R3yE5OIznC
2017-02-22 15:01:04 -08: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
Jessica Jong
be4c818826
Bug 1340086 - Remove uses of AnimationsPaused() since it is always false after bug 1316330. r=mrbkap
2017-02-22 01:00:00 -05:00
Jonathan Hao
37365ed464
Bug 1323644 - Isolate the HSTS and HPKP storage by first party domain (DOM/DocShell) r=baku,ckerschb
...
MozReview-Commit-ID: AZUfZffsLxu
2017-02-14 10:29:24 +08:00
Michael Layzell
e4431d5605
Bug 1338241 - Part 2: Simplify the in large allocation process logic, r=smaug
...
MozReview-Commit-ID: 6aF2wlLgy42
2017-02-17 12:00:45 -05:00
Andrea Marchesini
eb72531ae3
Bug 1331295 - nsNullPrincipal should be created using OriginAttributes of the docShell in case the principal is null, r=smaug
2017-02-16 14:33:39 +01:00
Wes Kocher
99c2d974df
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: FqToQ9qk7dg
2017-02-15 16:33:46 -08:00
Daniel Holbert
1dda0d6d1e
Bug 1339566: Acquire kungFuDeathGrip a bit earlier, in some nsDocShell code. r=mccr8
...
MozReview-Commit-ID: AXTQqwyJPmU
2017-02-15 09:56:38 -08:00
Bill McCloskey
fa3300d9dc
Bug 1337537 - Workarounds to avoid TabGroup assertions in edge cases (r=smaug)
...
MozReview-Commit-ID: LVTgyivcA7V
2017-02-13 17:03:03 -08:00
Bill McCloskey
55a25f3d46
Bug 1337537 - Remove the need for TabGroup to be an nsISupports for DocShell::FindItemWithName (r=mystor)
...
MozReview-Commit-ID: CvnWt9Ny1IF
2017-02-13 17:02:47 -08:00
Nicholas Hurley
5fd6b1db22
Bug 1312754 - Add a service to throttle certain HTTP channels. r=mayhemer
...
This patch adds (and hooks up) a new service so that HTTP channels marked as
"Throttleable" will periodically be Suspend()ed and Resume()d when more
important operations are going (such as a page load).
While this patch is not responsible for marking channels as "Throttleable",
the general idea is that these would be less-important channels - background
downloads, beacons, etc, and perhaps even resources known to be trackers.
MozReview-Commit-ID: HEZsxS04rRK
2017-01-10 06:39:18 -08:00
Matheus Longaray
753d27f658
Bug 1323987 - Set document URI after content viewer is created to host preview. r=mconley
...
This patch sets document URI to about:printpreview after content viewer is created to host preview.
MozReview-Commit-ID: GD5x70cwXck
2017-02-16 16:50:15 +01:00
Carsten "Tomcat" Book
e1b6f23c86
Merge mozilla-central to mozilla-inbound
2017-02-09 11:38:08 +01:00
Christoph Kerschbaumer
5eb3fc3b21
Bug 1337622 - Temporarily fall back to SystemPrincipal if History entry does not have a valid triggeringPrincipal. r=tanvi,bz
2017-02-08 10:30:47 +08:00
Tim Huang
39a51be93b
Bug 1336802 - Part 1: Fixing the crash of nsILoadInfo::GetOriginAttributes. r=smaug
2017-02-07 11:49:33 +08:00
Kirk Steuber
08b3810f6c
Bug 1336714 - Added a null check to the GetParentDocument call in nsDocument::ComputeFlashClassification. Change nsDocument::GetAllowPlugins to return result rather than using unnecessary outparam. nsPluginArray::AllowPlugins changed to call the GetAllowPlugins method on the inner window's document rather than on the docshell's mContentViewer's document. r=bsmedberg,bz
...
MozReview-Commit-ID: Crx9v8OBKKq
2017-02-06 12:47:00 -08:00
Tom Tung
c08930401f
Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly.
2017-02-06 09:19:34 +08:00
Tim Huang
82837b12cd
Bug 1312954 - Part 6: Update all callers of network predictor, and the docshell will update the first party domain if it is a typeContent mozbrowser. r=smaug
2017-02-02 22:16:00 -05:00
Michael Layzell
879a0e1bed
Bug 1334210 - Handle Large-Allocation process exhaustion more smoothly, r=ehsan
...
MozReview-Commit-ID: KxnFTSXxWVi
2017-01-31 14:08:20 -05:00
Christoph Kerschbaumer
d161cb85e1
Bug 1307736 - Ensure History loads pass valid triggeringPrincipal. r=bz
2017-01-27 11:19:13 +01:00
Samael Wang
b971cf4b9a
Bug 1326251 - Part 1: Remove dynamic entries on unloading & evicting bfcache. r=smaug
...
MozReview-Commit-ID: 4pBy0vO5yD9
2017-01-24 14:56:37 +08:00
Julian Seward
5ac9dee54d
Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (5 of 5, fixes for docshell/). r=bzbarsky.
2017-01-24 17:12:10 +01:00
Christoph Kerschbaumer
23bf1fefac
Bug 1271173 - Upgrade-insecure-requests for navigational requests. r=smaug,freddyb
2017-01-23 15:29:44 +01:00
Christoph Kerschbaumer
1eea7608a7
Bug 1329288: Allow content policy consumers to identify contentPolicy checks from docshell. r=bz,kmaglione
2017-01-22 18:05:03 +01:00
Christoph Kerschbaumer
2269072c8b
Bug 1329288 - Bring back ContentPolicy check within nsDocShell. r=smaug
2017-01-22 17:33:19 +01:00
Sebastian Hengst
c70ba6b8a5
Backed out changeset de60e0a191c7 (bug 1329288) for failing test_bug375314.html on Android 4.3 opt. r=backout
2017-01-22 13:11:02 +01:00
Sebastian Hengst
91e7448687
Backed out changeset 69fb2fc61535 (bug 1329288)
2017-01-22 13:09:48 +01:00
Christoph Kerschbaumer
14a98039a1
Bug 1329288: Allow content policy consumers to identify contentPolicy checks from docshell. r=bz,kmaglione
2017-01-22 07:30:26 +01:00
Christoph Kerschbaumer
e20ebbae86
Bug 1329288 - Bring back ContentPolicy check within nsDocShell. r=smaug
2017-01-22 07:29:49 +01:00