Andreea Pavel
e09dd2a72d
Backed out 2 changesets (bug 1509738) for failing propagate-nonce-external-classic.html on a CLOSED TREE
...
Backed out changeset 5cbc3f79a126 (bug 1509738)
Backed out changeset 44a945b21f87 (bug 1509738)
2019-02-13 02:18:28 +02:00
Christoph Kerschbaumer
6111ccf5fd
Bug 1509738: CSP snapshot nonce at load start time r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D19519
--HG--
extra : moz-landing-system : lando
2019-02-12 18:01:32 +00:00
Jonathan Kingston
3421b8fcff
Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin
...
Replacing js and text occurences of asyncOpen2
Replacing open2 with open
Differential Revision: https://phabricator.services.mozilla.com/D16885
--HG--
rename : layout/style/test/test_asyncopen2.html => layout/style/test/test_asyncopen.html
extra : moz-landing-system : lando
2019-02-12 16:08:25 +00:00
Dorel Luca
313155b999
Backed out 4 changesets (bug 1521808) for build bustage. CLOSED TREE
...
Backed out changeset 80aeea5f7abe (bug 1521808)
Backed out changeset c8c151d92c03 (bug 1521808)
Backed out changeset cc0a5c7dabb4 (bug 1521808)
Backed out changeset 8d5174a560fa (bug 1521808)
2019-02-12 14:54:45 +02:00
Valentin Gosu
4ef1efc776
Bug 1521808 - Implement Cross-Origin-Opener-Policy header r=nika,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D18119
--HG--
extra : moz-landing-system : lando
2019-02-12 12:15:54 +00:00
shindli
6b820cdfea
Backed out 6 changesets (bug 1522637) for en-US failures in testing/firefox-ui/tests/functional/safebrowsing/test_notification.py TestSafeBrowsingNotificationBar.test_notification_bar CLOSED TREE
...
Backed out changeset 18a809d53298 (bug 1522637)
Backed out changeset 9e9fd362dd8f (bug 1522637)
Backed out changeset f1191be4243a (bug 1522637)
Backed out changeset 5a8067fd848c (bug 1522637)
Backed out changeset 5f49cd87b1bd (bug 1522637)
Backed out changeset f82ba91f5ea2 (bug 1522637)
2019-02-09 03:12:53 +02:00
Nika Layzell
37ec17b0f5
Bug 1522637 - Part 2: Include BrowsingContextID in LoadInfo for subdocument loads, r=valentin
...
Depends on D18602
Differential Revision: https://phabricator.services.mozilla.com/D18603
--HG--
extra : moz-landing-system : lando
2019-02-08 17:36:00 +00:00
Nika Layzell
9b4bbc17fd
Bug 1467223 - Part 2: Add BrowsingContextID to LoadInfo, r=valentin
...
This is handy when performing process swaps, as it provides useful & important
information to parent-process callers.
Depends on D15608
Differential Revision: https://phabricator.services.mozilla.com/D15609
--HG--
extra : moz-landing-system : lando
2019-01-23 21:06:59 +00:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Andrea Marchesini
301d9591cd
Bug 1515693 - Check allow-storage-access-by-user-activation sandbox flag only if StorageAccess API is enabled, r=ehsan
2018-12-22 00:38:37 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Ehsan Akhgari
e8df714b7c
Bug 1509555 - Part 3: Remove reporting of tracker statistics to docshell which was added for fastblock r=valentin,baku
...
Depends on D12829
Differential Revision: https://phabricator.services.mozilla.com/D12830
--HG--
extra : moz-landing-system : lando
2018-11-27 08:55:36 +00:00
Ehsan Akhgari
15bf246249
Bug 1509555 - Part 1: Remove the telemetry probe for measuring the rate at which popular analytics providers get blocked by fastblock r=baku,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D12828
--HG--
extra : moz-landing-system : lando
2018-11-27 08:50:36 +00:00
Valentin Gosu
e823bab3cc
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
--HG--
extra : moz-landing-system : lando
2018-11-21 16:28:20 +00:00
Cosmin Sabou
79b7d9fe91
Backed out changeset 395b95afd795 (bug 1487964) for mochitest failures on test_resource_timing_nocors.
2018-11-21 17:14:29 +02:00
Valentin Gosu
a80d7bf63e
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
--HG--
extra : moz-landing-system : lando
2018-11-17 19:30:36 +00:00
Boris Zbarsky
9691e7ba88
Bug 1507540 part 3. Use more notxpcom attributes in netwerk/. r=valentin
2018-11-19 20:17:53 -05:00
Andrea Marchesini
efb6992ab2
Bug 1499995 - part 1 - LoadInfo must expose the correct top-level-storage-area-principal for sub documents, r=ehsan
2018-10-25 10:44:12 +02:00
Andrea Marchesini
4439acd683
Bug 1498510 - Move nsICSPEventListener out of CSP object, r=ckerschb
2018-10-23 08:17:13 +02:00
Francois Marier
eb27c3267c
Bug 1488974 - Disable FastBlock after the load event has fired. r=mayhemer,Ehsan
...
The test used to assume that the load event didn't matter and so
the expected values had to be updated to match the new behavior.
A new "slowIFrame" test was added to capture what was previously
tested by the "badIFrame".
Differential Revision: https://phabricator.services.mozilla.com/D7031
--HG--
extra : moz-landing-system : lando
2018-09-28 19:12:10 +00:00
Ehsan Akhgari
d3787265b1
Bug 1489252 - Part 2: Add a telemetry probe for measuring the rate at which popular analytics providers get blocked by fastblock for top-level documents; r=baku,mayhemer,chutten data-r=liuche
...
Differential Revision: https://phabricator.services.mozilla.com/D5296
2018-09-14 16:06:07 -04:00
Ehsan Akhgari
6bbaf2cf8c
Bug 1489147 - Remove the XPCOM component registration for nsXPConnect; r=mccr8
...
We move the XPConnect() singleton accessor to nsIXConnect to make it available for consumers outside of XPConnect. Most of the consumers of the singleton accessor just need the nsIXPConnect public interface, except for the IsShuttingDown() member which this patch adds to nsIXPConnect as well.
Differential Revision: https://phabricator.services.mozilla.com/D5151
2018-09-06 16:39:35 -04:00
shindli
2a86142e74
Backed out changeset d4ae1994c20c (bug 1489147) for bustages in JSDebugger.cpp on a CLOSED TREE
2018-09-06 22:12:44 +03:00
Ehsan Akhgari
bb7fcd9d69
Bug 1489147 - Remove the XPCOM component registration for nsXPConnect; r=mccr8
...
We move the XPConnect() singleton accessor to nsIXConnect to make it available for consumers outside of XPConnect. Most of the consumers of the singleton accessor just need the nsIXPConnect public interface, except for the IsShuttingDown() member which this patch adds to nsIXPConnect as well.
Differential Revision: https://phabricator.services.mozilla.com/D5151
2018-09-06 14:52:07 -04:00
Andrea Marchesini
24005dab5f
Bug 1485492 - Disable fastblocking when the user has interacted with a document, r=ehsan
2018-08-31 13:21:17 +02:00
Liang-Heng Chen
6c9d7c21d6
Bug 1481252 - Part 1: Report FastBlock status to docshell; r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D3024
--HG--
extra : moz-landing-system : lando
2018-08-16 15:29:22 +00:00
Andrea Marchesini
04fcbb6556
Bug 1480131 - AntiTrackingCommon::IsFirstPartyStorageAccessGrantFor() should not grant permission to sub-sub-iframe channels; r=ehsan
2018-08-10 14:59:33 -04:00
Andrea Marchesini
44ce53c72e
Bug 1476592 - Remove the cache from nsCSPContext - part 2 - sendViolationReports parameter, r=ckerschb, r=aosmond
2018-08-01 06:35:24 +02:00
Andrea Marchesini
a053cf1c15
Bug 1476306 - Moving NullPrincipal/ContentPrincipal/SystemPrincipal under mozilla namespace - part 1 - NullPrincipal, r=ckerschb
2018-07-17 21:37:48 +02:00
Andrea Marchesini
1498612e1b
Bug 1474812 - No needs to store granted storage access in nsILoadInfo and in the inner window, r=ehsan
2018-07-13 12:02:19 +02:00
Andrea Marchesini
0a542c2c05
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 7 - cookies, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
2227a5e089
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 3 - using permissions, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
ba1f8971c7
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 2 - storing first user interaction in nsILoadInfo, r=ehsan
2018-07-10 10:09:59 +02:00
Margareta Eliza Balazs
c37b51f523
Backed out 9 changesets (bug 1469993) for causing bustage in build/srcdom/base/nsGlobalWindowInner.cpp on a CLOSED TREE
...
Backed out changeset e89192032fe2 (bug 1469993)
Backed out changeset 4b261595099d (bug 1469993)
Backed out changeset 37182cfe869c (bug 1469993)
Backed out changeset 5b9870995c73 (bug 1469993)
Backed out changeset 55499fcd9738 (bug 1469993)
Backed out changeset 8c1c838d54ba (bug 1469993)
Backed out changeset 12b9c8bfa41f (bug 1469993)
Backed out changeset 04ab7d6c169a (bug 1469993)
Backed out changeset 53885d61244e (bug 1469993)
2018-07-10 11:32:34 +03:00
Andrea Marchesini
de64db476d
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 7 - cookies, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
f34232490a
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 3 - using permissions, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
637cab9bf6
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 2 - storing first user interaction in nsILoadInfo, r=ehsan
2018-07-10 10:09:59 +02:00
Ben Kelly
bee2ef4646
Bug 1470114 Make parent-side of redirect override the reserved ClientInfo to handle some corner cases. r=valentin
2018-06-22 08:09:00 -07:00
Ben Kelly
6301585f22
Bug 1467852 Align LoadInfo::mServiceWorkerTaintingSynthesized handling with other service worker fields. r=valentin
2018-06-10 18:44:38 -07:00
Ben Kelly
ac7ea6f3f6
Bug 1441932 P4 Treat same-value assignments to the LoadInfo reserved and initial ClientInfo values as no-op changes. r=mayhemer
2018-06-04 09:26:51 -07:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Andrea Marchesini
9023e7c7b4
Bug 1446937 - Have ContextForTopLevelLoad return already_AddRefed<nsISupports> within LoadInfo, r=qdot
2018-05-30 21:21:18 +02:00
Adrian Wielgosik
af5b239997
Bug 1460940 - Remove nsIDOMDocument uses in netwerk/. r=bz
...
MozReview-Commit-ID: QkZ36LGoBx
--HG--
extra : rebase_source : 5aa83c576f269a6f33a1fb7ea7a61bd63a3c0c25
2018-05-11 19:46:15 +02:00
Rob Wu
7e5117562b
Bug 1459588 - Remove unused allowDocumentToBeAgnosticToCSP r=ckerschb
...
This cleanup basically reverts the remaining bits of 93dcf59ff87
MozReview-Commit-ID: 9zimpjAkZyj
--HG--
extra : rebase_source : 7c2d573a0cd067f529f096472c1d543d8d598635
2018-05-07 15:12:51 +02:00
Andi-Bogdan Postelnicu
3f2298c2f6
Bug 1457411 - Update netwerk module to make use of newer methods introduced with c++11 and c++14. r=valentin
...
MozReview-Commit-ID: 666LNaHyiuQ
--HG--
extra : rebase_source : f3a24e0342d8dcdf9020dd473bc6b1045cbc533b
2018-04-30 19:46:04 +03:00
Christoph Kerschbaumer
3739c23b85
Bug 1439713 - Add flag to loadinfo for skipping certain security policy checks. r=bz
2018-03-29 11:14:35 +02:00
Christoph Kerschbaumer
a929955d1f
Bug 1439713 - Change nsIContentPolicy shouldLoad to take an <uri, loadInfo> pair instead of the various args. r=bz
2018-03-29 12:16:23 +02:00
Boris Zbarsky
d989f864ea
Bug 1444143 part 14. Rename nsIFrameLoader.idl to nsIFrameLoaderOwner.idl. r=mystor
...
MozReview-Commit-ID: 1XpEjoFLSQh
--HG--
rename : dom/base/nsIFrameLoader.idl => dom/base/nsIFrameLoaderOwner.idl
2018-03-21 22:43:17 -04:00
Boris Zbarsky
9cb6df0dac
Bug 1444143 part 2. Remove nsIFrameLoader::GetDocShell. r=mystor
...
The change from "docShell" to "mDocShell" for the SetName call in the
OwnerIsMozBrowserFrame case in nsFrameLoader::MaybeCreateDocShell is a
drive-by correctness fix for a bug the rename of "docShell" to "parentDocShell"
caught: setting the name of our _parent_ docshell based on the name attr of our
owner makes no sense.
MozReview-Commit-ID: DwnWt8jTokV
2018-03-21 22:43:15 -04:00
Jonathan Kingston
10ebc30d5d
Bug 1440701 - Adding in telemetry for upgrading display content. r=ckerschb,valentin
...
MozReview-Commit-ID: 7oEIith4Ehv
--HG--
extra : rebase_source : 454d56277aa5dc08bf8cfd7cd9c1e24d31014838
2018-03-04 14:33:33 +00:00