Valentin Gosu
1ced192f38
Bug 1607460 - Align with Cross-Origin-Opener-Policy changes r=michal
...
See: https://gist.github.com/annevk/6f2dd8c79c77123f39797f6bdac43f3e/f39cac7bf3a8a894059879f15c5b7b41f0195e29
The definition of the header is now:
Cross-Origin-Opener-Policy = %s"same-origin" / %s"same-origin-allow-popups" / %s"unsafe-none"; case-sensitive
Differential Revision: https://phabricator.services.mozilla.com/D60480
--HG--
extra : moz-landing-system : lando
2020-02-18 16:39:08 +00:00
Eric Rahm
2c08316c5d
Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D60341
--HG--
extra : moz-landing-system : lando
2020-02-11 16:20:08 +00:00
Emilio Cobos Álvarez
6615ff9fad
Bug 1614208 - Stop including AccessibleCaretEventHub and PresShell.h from Selection.h. r=TYLin
...
And fix a bunch of fallout as we now don't include nsDocShell.h everywhere.
Differential Revision: https://phabricator.services.mozilla.com/D62169
--HG--
extra : moz-landing-system : lando
2020-02-11 01:22:29 +00:00
Valentin Gosu
8277bba048
Bug 1613497 - Get rid of URIParams in the predictor code r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D61748
--HG--
extra : moz-landing-system : lando
2020-02-07 10:55:53 +00:00
Nika Layzell
c56289e054
Bug 1557739 - Be more consistent with IPC Transport APIs, r=jld
...
Differential Revision: https://phabricator.services.mozilla.com/D60285
--HG--
extra : moz-landing-system : lando
2020-02-06 22:41:56 +00:00
Narcis Beleuzu
e0d2f84cc3
Backed out 2 changesets (bug 1613497) for build bustages on Predictor.cpp . CLOSED TREE
...
Backed out changeset 4daf20b37baf (bug 1613497)
Backed out changeset 182a8403e7d0 (bug 1613497)
2020-02-06 12:33:02 +02:00
Valentin Gosu
a728b8c1eb
Bug 1613497 - Get rid of URIParams in the predictor code r=dragana
...
Depends on D61744
Differential Revision: https://phabricator.services.mozilla.com/D61748
--HG--
extra : moz-landing-system : lando
2020-02-06 09:22:44 +00:00
Dragana Damjanovic
2f3c76f02c
Bug 1612816 - Implement AsyncResoleWithTrrServer. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D61445
--HG--
extra : moz-landing-system : lando
2020-02-04 19:35:34 +00:00
Kershaw Chang
2f7e31abd6
Bug 1600254
- P9: Avoild accessing http channel from transaction r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D56730
--HG--
extra : moz-landing-system : lando
2020-01-30 13:38:39 +00:00
Kershaw Chang
4bc096f818
Bug 1600254
- P8: Make nsIInputChannelThrottleQueue work with socket process r=dragana
...
The only information that devtools needs is the amount of how many bytes readed, so this patch introduces PInputChannelThrottleQueue ipdl for carrying on this information.
Differential Revision: https://phabricator.services.mozilla.com/D56710
--HG--
extra : moz-landing-system : lando
2020-01-30 13:32:55 +00:00
Kershaw Chang
ad3911288e
Bug 1600254
- P5: Make TransactionObserver work r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D56040
--HG--
extra : moz-landing-system : lando
2020-01-30 13:07:45 +00:00
Kershaw Chang
41300d6e8a
Bug 1600254
- P4: Make HttpActivityObserver work in socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D56039
--HG--
extra : moz-landing-system : lando
2020-01-30 13:00:11 +00:00
Dimi Lee
d58587be36
Bug 1599046 - P3. Remove unused IPC method in nsIParentChannel.idl. r=timhuang,Ehsan
...
The following methods are removed:
1. notifyChannelClassifierProtectionDisabled
2. notifyCookieAllowed
3. notifyCookieBlocked
Depends on D56875
Differential Revision: https://phabricator.services.mozilla.com/D57630
--HG--
extra : moz-landing-system : lando
2020-01-27 10:39:38 +00:00
Brindusan Cristian
00b2950b8d
Backed out 4 changesets (bug 1599046) for xpcshell failures at test_ext_cookieBehaviors. CLOSED TREE
...
Backed out changeset 721f54870498 (bug 1599046)
Backed out changeset 2e165c119a4f (bug 1599046)
Backed out changeset 2bc0fa3bbe0e (bug 1599046)
Backed out changeset 805fb67be8a3 (bug 1599046)
2020-01-27 12:36:11 +02:00
Dimi Lee
9b6c954be8
Bug 1599046 - P3. Remove unused IPC method in nsIParentChannel.idl. r=timhuang,Ehsan
...
The following methods are removed:
1. notifyChannelClassifierProtectionDisabled
2. notifyCookieAllowed
3. notifyCookieBlocked
Depends on D56875
Differential Revision: https://phabricator.services.mozilla.com/D57630
--HG--
extra : moz-landing-system : lando
2020-01-27 09:13:27 +00:00
Perry Jiang
c2250891d2
Bug 1264175 - remove FetchEvent.isReload r=dom-workers-and-storage-reviewers,valentin,sg,bzbarsky
...
isReload is no longer a property defined by the FetchEvent specification.
Differential Revision: https://phabricator.services.mozilla.com/D60774
--HG--
extra : moz-landing-system : lando
2020-01-25 00:05:12 +00:00
shindli
78f9c85759
Backed out changeset 86d1da74131f (bug 1264175) for causing mochitest failures in dom/serviceworkers/test/test_fetch_event.html CLOSED TREE
2020-01-24 06:18:04 +02:00
Perry Jiang
64699e71f7
Bug 1264175 - remove FetchEvent.isReload r=dom-workers-and-storage-reviewers,valentin,sg,bzbarsky
...
isReload is no longer a property defined by the FetchEvent specification.
Differential Revision: https://phabricator.services.mozilla.com/D60774
--HG--
extra : moz-landing-system : lando
2020-01-24 02:38:01 +00:00
Andrea Marchesini
d2e146600e
Bug 1507055 - Implement Anti-tracking heuristic for redirects, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D56191
--HG--
extra : moz-landing-system : lando
2020-01-21 18:18:32 +00:00
Noemi Erli
e5fff9caae
Backed out 2 changesets (bug 1507055) for causing build bustages in AntiTrackingCommon.cpp CLOSED TREE
...
Backed out changeset be170480919d (bug 1507055)
Backed out changeset 678dd02cf719 (bug 1507055)
2020-01-21 20:14:36 +02:00
Andrea Marchesini
f97dcc5818
Bug 1507055 - Implement Anti-tracking heuristic for redirects, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D56191
--HG--
extra : moz-landing-system : lando
2020-01-21 17:59:33 +00:00
Andreea Pavel
bd998e0112
Backed out changeset 4639d83e5871 (bug 1507055) for causing the crash in bug 1610485 a=backout
...
--HG--
extra : amend_source : 8cf2f5ccf0dc884c0d2ccdc3f1c48b3b5e014e1e
2020-01-21 16:46:22 +02:00
Andrea Marchesini
1aa9918367
Bug 1507055 - Implement Anti-tracking heuristic for redirects, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D56191
--HG--
extra : moz-landing-system : lando
2020-01-20 14:43:03 +00:00
Valentin Gosu
1e2da20ce2
Bug 1590166
- WindowGlobalChild::Create should call GetCrossOriginOpenerPolicy instead of ComputeCrossOriginOpenerPolicy r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D59360
--HG--
extra : moz-landing-system : lando
2020-01-18 17:14:07 +00:00
Jean-Yves Avenard
fa730b1f03
Bug 1606901 - Test that channel is still opened before continuing. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D60209
--HG--
extra : moz-landing-system : lando
2020-01-17 05:57:54 +00:00
Matt Woodrow
ca24f6fed5
Bug 1607991 - Remove ConfigureChannel. r=kmag
...
The intent of ConfigureChannel was to be code that needed to be applied to both the DocumentChannelChild in the content process, and the real channel in the parent.
It looks like everything in there is either QI'ing to a sub-type of channel (which won't apply to DocumentChannelChild), or is mutating the loadinfo/loadflags (which only need to be done once).
Differential Revision: https://phabricator.services.mozilla.com/D59264
--HG--
extra : moz-landing-system : lando
2020-01-17 02:11:40 +00:00
Matt Woodrow
dc86748b77
Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D59263
--HG--
extra : moz-landing-system : lando
2020-01-15 08:02:57 +00:00
Narcis Beleuzu
c59ca04e7b
Backed out changeset b3538b7016aa (bug 1599438) for bustages on TestHttpFuzzing.cpp . CLOSED TREE
2020-01-15 06:03:55 +02:00
Matt Woodrow
dd0d183cb4
Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D59263
--HG--
extra : moz-landing-system : lando
2020-01-15 02:05:57 +00:00
Matt Woodrow
ce3b50b737
Bug 1607987 - Split DocumentChannelChild into two classes. r=jya
...
This shouldn't have any functional changes, and adds some new comments to explain the purpose of the classes a bit better.
Differential Revision: https://phabricator.services.mozilla.com/D59265
--HG--
rename : netwerk/ipc/DocumentChannelChild.cpp => netwerk/ipc/DocumentChannel.cpp
rename : netwerk/ipc/DocumentChannelChild.h => netwerk/ipc/DocumentChannel.h
extra : source : ca6f43c061311dfe3e45f0216e320872d9d62cd4
2020-01-13 00:28:13 +00:00
Ciure Andrei
c4c26cd32b
Backed out changeset ca6f43c06131 (bug 1607987) for causing test_bug369370.html to permafail
2020-01-13 04:10:57 +02:00
Matt Woodrow
8b09f8ec79
Bug 1607987 - Split DocumentChannelChild into two classes. r=jya
...
This shouldn't have any functional changes, and adds some new comments to explain the purpose of the classes a bit better.
Differential Revision: https://phabricator.services.mozilla.com/D59265
--HG--
rename : netwerk/ipc/DocumentChannelChild.cpp => netwerk/ipc/DocumentChannel.cpp
rename : netwerk/ipc/DocumentChannelChild.h => netwerk/ipc/DocumentChannel.h
extra : moz-landing-system : lando
2020-01-13 00:28:13 +00:00
Matt Woodrow
282120e051
Bug 1601779 - Don't process switch when we actually abort a channel load. r=kmag
...
We currently do a process switch for a failed load so that we show an error page in the right process. This adds an exception for loads that we just explicitly cancelled, since it shouldn't be necessary, and so that tests that use BrowserUtils.waitForDocLoadAndStopIt don't get confused.
Differential Revision: https://phabricator.services.mozilla.com/D58889
--HG--
extra : moz-landing-system : lando
2020-01-09 02:40:03 +00:00
Valentin Gosu
16ae7bd480
Bug 1552176 - pass TRRMode into nsHTMLDNSPrefetch methods r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D49159
--HG--
extra : moz-landing-system : lando
2020-01-07 19:33:51 +00:00
Valentin Gosu
c7d9b630cb
Bug 1552176 - Add nsIRequest.set/getTRRMode r=dragana
...
* Makes it possible to selectively enable TRR for pbmode/container/window/etc
Differential Revision: https://phabricator.services.mozilla.com/D48363
--HG--
extra : moz-landing-system : lando
2020-01-07 20:20:38 +00:00
Matt Woodrow
5913bdc39b
Bug 1598523 - Create nsIWrapperChannel so that we can find the inner channel within view-source. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D57893
--HG--
extra : moz-landing-system : lando
2020-01-08 01:00:35 +00:00
Matt Woodrow
a59b688778
Bug 1598523 - Make DocumentChannelChild/ContentChild QI to the specific interfaces it wants, rather than assuming that only HttpChannelChild will have them. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D57890
--HG--
extra : moz-landing-system : lando
2020-01-08 01:00:39 +00:00
Matt Woodrow
225eeb216b
Bug 1598523 - Improve logging of channel names for DC and view-source. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D57888
--HG--
extra : moz-landing-system : lando
2020-01-08 01:00:41 +00:00
Matt Woodrow
87b0e83cf6
Bug 1598523 - Share code for creating a channel for a document between nsDocShell, DocumentChannelChild and ContentChild. r=kmag
...
Note that this also implicitly adds support for the view-source+srcdoc configuration, and setting of the BaseURI, which were both in the nsDocShell version but not the others.
Differential Revision: https://phabricator.services.mozilla.com/D57887
--HG--
extra : moz-landing-system : lando
2020-01-08 02:10:54 +00:00
Bogdan Tara
4e368405fa
Backed out 6 changesets (bug 1598523) for geckoview failures complaining about NavigationDelegateTest.loadUnknownProtocol
...
Backed out changeset 2e7ea1ae7fa2 (bug 1598523)
Backed out changeset 6adc1062662b (bug 1598523)
Backed out changeset 141372c43f02 (bug 1598523)
Backed out changeset c5abcaabaf2d (bug 1598523)
Backed out changeset 5a22a20dd993 (bug 1598523)
Backed out changeset e0df103c9cf3 (bug 1598523)
2020-01-08 02:56:18 +02:00
Matt Woodrow
27d2b8a269
Bug 1598523 - Create nsIWrapperChannel so that we can find the inner channel within view-source. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D57893
--HG--
extra : moz-landing-system : lando
2020-01-07 20:57:52 +00:00
Matt Woodrow
93ab0405ec
Bug 1598523 - Make DocumentChannelChild/ContentChild QI to the specific interfaces it wants, rather than assuming that only HttpChannelChild will have them. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D57890
--HG--
extra : moz-landing-system : lando
2020-01-07 20:57:13 +00:00
Matt Woodrow
e835127601
Bug 1598523 - Improve logging of channel names for DC and view-source. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D57888
--HG--
extra : moz-landing-system : lando
2020-01-07 20:56:02 +00:00
Matt Woodrow
0e8ab1d433
Bug 1598523 - Share code for creating a channel for a document between nsDocShell, DocumentChannelChild and ContentChild. r=kmag
...
Note that this also implicitly adds support for the view-source+srcdoc configuration, and setting of the BaseURI, which were both in the nsDocShell version but not the others.
Differential Revision: https://phabricator.services.mozilla.com/D57887
--HG--
extra : moz-landing-system : lando
2020-01-07 21:17:22 +00:00
Matt Woodrow
d18c4f70a4
Bug 1598520 - Add more logging to DocumentChannel. r=mayhemer,jya
...
Differential Revision: https://phabricator.services.mozilla.com/D57589
--HG--
extra : moz-landing-system : lando
2020-01-06 21:37:34 +00:00
Matt Woodrow
f02ab8e1c4
Bug 1598520 - Fix missing flags write. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D57588
--HG--
extra : moz-landing-system : lando
2020-01-06 21:37:01 +00:00
Matt Woodrow
3687cec8cf
Bug 1598520 - Allow DocumentChannel for srcdoc= loads. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D57587
--HG--
extra : moz-landing-system : lando
2020-01-06 21:36:34 +00:00
Jean-Yves Avenard
7d42be93a7
Bug 1603187 - P4. Pass navigation timing info to the new docshell when performing a process switch. r=mattwoodrow,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D57772
--HG--
extra : moz-landing-system : lando
2020-01-05 05:44:44 +00:00
Razvan Maries
188a114962
Backed out 5 changesets (bug 1598520) for perma fails on test_enumerateDevices_navigation.html. CLOSED TREE
...
Backed out changeset 583dac2feebc (bug 1598520)
Backed out changeset c769e733f588 (bug 1598520)
Backed out changeset 45287a2ec476 (bug 1598520)
Backed out changeset 59cff6014447 (bug 1598520)
Backed out changeset ddf722557c33 (bug 1598520)
2019-12-20 01:56:55 +02:00
Matt Woodrow
7883ff5767
Bug 1598520 - Add more logging to DocumentChannel. r=mayhemer,jya
...
Differential Revision: https://phabricator.services.mozilla.com/D57589
--HG--
extra : source : 8e3b650d93130c7774b08180f9a92efce09c7440
2019-12-19 21:49:01 +00:00