Sebastian Hengst
f5e68bc3e1
Backed out changeset ef22dba0dac5 (bug 1316683) for various test failures, e.g. xpcshell netwerk/test/unit/test_bug826063.js and browser-chrome browser/components/downloads/test/browser/browser_iframe_gone_mid_download.js. r=backout on a CLOSED TREE
2017-03-22 20:28:39 +01:00
Ehsan Akhgari
101a58b3c6
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 14:13:31 -04:00
Sebastian Hengst
20fb8455d6
Backed out changeset 7e47807067a6 (bug 1316683) for Windows bustage. r=backout
2017-03-22 15:15:27 +01:00
Ehsan Akhgari
9093d5f005
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
1fd1bc3935
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
...
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Sebastian Hengst
e6878260b4
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
28ff218127
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
3e0a5441c6
Merge mozilla-central to mozilla-inbound
2017-03-17 14:55:15 +01:00
Carsten "Tomcat" Book
d9ee923985
Backed out changeset 20537ebcebdb (bug 1303838) for eslint failure
2017-03-17 11:21:32 +01:00
Samael Wang
9e49902c09
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
Kris Maglione
9e1cbea297
Bug 1333990: Part 2b - Don't enable editor until layout has started. r=ehsan
...
In order to support asynchronous loading of extension content scripts, we need
to be able to exit the HTML parser flush loop immediately after inserting the
document element. Normally this doesn't cause problems, but when we enter edit
mode with an empty element selected, the editor inserts a <br> node, and a
<br> node at the start of the <html> element causes issues.
These changes solve that issue by putting off entering editor mode until we
begin laying out the document.
MozReview-Commit-ID: H2ksNz0jRxs
--HG--
extra : rebase_source : 26e0d254744363f5bd60f3b4f4df7b51c3dc446f
2017-03-14 21:22:06 -07:00
Wes Kocher
c5d1991d35
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: AuQEHTgSKcO
2017-03-16 14:07:10 -07:00
Michael Layzell
ccc519e3f4
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
Blake Kaplan
3a0ce09963
Bug 1346286 - Remove CPOWs from browser_bug554155.js. r=Gijs
...
MozReview-Commit-ID: IrvBw8LNt3B
--HG--
extra : rebase_source : ad7d508c1bbb071a6a937fbe633ce71b22cdd7c9
2017-03-09 15:52:25 -08:00
Brad Werth
983df24b1c
Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug
...
MozReview-Commit-ID: JDS5l06FAaf
--HG--
extra : rebase_source : c7fa999490b04e591f12b3fe123d6409811f9bfe
2017-03-16 12:05:56 -07:00
Brad Werth
b1269f11fa
Bug 1151421 Part 2: Add test of fractional scroll position properties. r=smaug
...
MozReview-Commit-ID: 4a8eQeJz7fV
--HG--
extra : rebase_source : 8074ec268965b6ccd53140e581d07b10233c13f1
2017-03-14 17:31:22 -07:00
Samael Wang
2cd1696dc6
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
996e0349b3
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
2c24eb7d2b
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
fa5656d4cb
Bug 1333147 - Do not use owner as triggeringPrincipal when creating session history entry. r=bz
...
--HG--
extra : rebase_source : 98d00f4a448423cf9bd8b80f1f95c6862ac6f930
2017-03-10 16:39:42 +01:00
Wes Kocher
65140a44e3
Merge inbound to central, a=merge CLOSED TREE
...
MozReview-Commit-ID: Gj4s6DtqKmw
2017-03-09 16:33:31 -08:00
Valentin Gosu
5847af980b
Bug 1324243 - Normalize IPv6 r=manishearth
...
MozReview-Commit-ID: 1UFIdeWrz1E
--HG--
extra : rebase_source : cb7e44b0afe06426e3268e80d94a2f59af633b9b
2017-03-09 00:55:05 +01:00
Christoph Kerschbaumer
51ce795ad5
Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal. r=jwatt
2017-03-08 13:08:59 +01:00
Florian Quèze
9d62681259
Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.
2017-03-08 10:17:52 +01:00
Andrea Marchesini
e9195daa8d
Bug 1345168 - Get rid of OriginAttributes::Inherit, r=tjr
2017-03-08 07:41:51 +01:00
Carsten "Tomcat" Book
41ba400533
Merge mozilla-central to mozilla-inbound
2017-03-07 15:18:32 +01:00
Carsten "Tomcat" Book
087da3f0d9
merge mozilla-inbound to mozilla-central a=merge
2017-03-07 15:13:31 +01:00
Andrea Marchesini
2c988363eb
Bug 1339713 - Use IPCStream everywhere - part 5 - PContent, r=smaug
2017-03-09 14:10:49 +01:00
Wei-Cheng Pan
bf4ee5ab2d
Bug 1310127 - Part 15: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug
...
MozReview-Commit-ID: DZBPvmSmlgR
--HG--
extra : rebase_source : 41ccd5282b8e3cf4b0f59bd2911abdb7a3b51201
2016-12-20 14:48:52 +08:00
Carsten "Tomcat" Book
a25648d3cd
Backed out changeset 189b914221f4 (bug 1324243) for wpt-11 bustage
2017-03-06 14:13:03 +01:00
Valentin Gosu
0cb0b2702b
Bug 1324243 - Normalize IPv6 r=manishearth
...
MozReview-Commit-ID: Kxe9eLqvKp6
--HG--
extra : rebase_source : 195cafb81adeb9d5fa0a84535144debe1b26f6ff
2017-03-01 00:01:15 +01:00
Ursula Sarracini
6b1858e254
Bug 1340181 - Hide Activity Stream URL in URLbar r=fkiefer,mconley
...
MozReview-Commit-ID: F0P5tn2wyG
--HG--
extra : rebase_source : a9f766913b8340e12a4f526dc741e8ed752e6acf
2017-02-22 13:18:09 -05:00
Xidorn Quan
bb5bcf34f4
Bug 1342303 part 3 - Remove nsCOMArray::EnumerateForwards uses in docshell. r=smaug
...
MozReview-Commit-ID: FJen0p0c54u
--HG--
extra : rebase_source : 8e98161531189c9cf2578eb6d81835a20d707ca1
2017-02-24 21:32:20 +11:00
Wes Kocher
5bb9a497ef
Backed out 6 changesets (bug 1342303) for build bustage a=backout
...
Backed out changeset 89137679a68c (bug 1342303)
Backed out changeset 20a1bcb47c33 (bug 1342303)
Backed out changeset bc3b2e7a383b (bug 1342303)
Backed out changeset bdc491b9ebde (bug 1342303)
Backed out changeset 5c6042dee665 (bug 1342303)
Backed out changeset b5de1dfff82f (bug 1342303)
MozReview-Commit-ID: BjlVAX480jI
2017-03-02 16:35:43 -08:00
Xidorn Quan
a01dc10d87
Bug 1342303 part 3 - Remove nsCOMArray::EnumerateForwards uses in docshell. r=smaug
...
MozReview-Commit-ID: FJen0p0c54u
--HG--
extra : rebase_source : 8e98161531189c9cf2578eb6d81835a20d707ca1
2017-02-24 21:32:20 +11:00
Christoph Kerschbaumer
ba60c4b63d
Bug 1341589 - Test TriggeringPrincipal on history entry for view-source loads. r=gijs
2017-03-02 17:45:24 +01:00
Christoph Kerschbaumer
c1f499b304
Bug 1341754: Test SetURI in Location passes triggeringPrincipal. r=smaug
2017-03-07 12:50:47 +01:00
Christoph Kerschbaumer
a7b6c2e202
Bug 1341754: Provide a valid triggeringPrincipal when calling SetURI in Location. r=smaug
2017-03-07 08:48:00 +01:00
Kris Maglione
ee306e28c0
Bug 1314361 - Part 6: Remove the addonId origin attribute. r=bholley
2016-11-08 17:11:32 -08:00
Kris Maglione
45dbac3bdd
Bug 1314361 - Part 4: Stop setting addonId origin attribute. r=billm
2016-11-04 18:22:45 -07:00
Ehsan Akhgari
8f5e5aeae0
Bug 1341657 - Properly deal with not having a frame element in nsDocShell::InternalLoad(); r=smaug
2017-02-27 09:39:50 -05:00
Masatoshi Kimura
7be7b11a1c
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Wes Kocher
b7294d3167
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 2R3yE5OIznC
2017-02-22 15:01:04 -08:00
Eugen Sawin
c237984e34
Bug 1322576 - [4.0] Fix some coding style issues. r=smaug
2017-02-22 14:57:41 +01:00
Eugen Sawin
c6533bef50
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
cf17189117
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
c23b7c4dcc
Bug 1323644
- Isolate the HSTS and HPKP storage by first party domain (DOM/DocShell) r=baku,ckerschb
...
MozReview-Commit-ID: AZUfZffsLxu
--HG--
extra : rebase_source : bcd831e5ba7e92dd142747dccacba5cd34da016e
2017-02-14 10:29:24 +08:00
Wes Kocher
8c4ce17711
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Michael Layzell
01804ef221
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
095953b36b
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