Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Ben Kelly c1eb2fc596 Bug 1737692 [wpt PR 31378] - Fetch: Plumb request initiator through passthrough service workers., a=testonly
Automatic update from web-platform-tests
Fetch: Plumb request initiator through passthrough service workers.

This CL contains essentially two changes:

1. The request initiator origin is plumbed through service workers
   that do `fetch(evt.request)`.  In addition to plumbing, this
   requires changes to how we validate navigation requests in the
   CorsURLLoaderFactory.
2. Tracks the original destination of a request passed through a
   service worker.  This is then used in the network service to force
   SameSite=Lax cookies to treat the request as a main frame navigation
   where appropriate.

For more detailed information about these changes please see the
internal design doc at:

https://docs.google.com/document/d/1KZscujuV7bCFEnzJW-0DaCPU-I40RJimQKoCcI0umTQ/edit?usp=sharing

In addition, there is some discussion of these features in the following
spec issues:

https://github.com/whatwg/fetch/issues/1321
https://github.com/whatwg/fetch/issues/1327

The test includes WPT tests that verify navigation headers and SameSite
cookies.  Note, chrome has a couple expected failures in the SameSite
cookie tests because of the "lax-allowing-unsafe" intervention that is
currently enabled.  See:

https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/TestExpectations;l=4635;drc=e8133cbf2469adb99c6610483ab78bcfb8cc4c76

Bug: 1115847,1241188
Change-Id: I7e236fa20aeabb705aef40fcf8d5c36da6d2798c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3115917
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
Commit-Queue: Ben Kelly <wanderview@chromium.org>
Cr-Commit-Position: refs/heads/main@{#936029}

--

wpt-commits: cd0951f4268af579e9e26913fbefea1684c67f2d
wpt-pr: 31378
2021-11-02 14:58:08 +00:00
.cargo Bug 1735905 - Upgrade cubeb-pulse to fix a race condition that can lead to shutdown deadlock. r=kinetik 2021-10-16 01:19:56 +00:00
.vscode Bug 1701913 - Documentation regarding Remote Development over SSH using VS Code. r=marco 2021-03-30 14:44:51 +00:00
accessible Bug 1455514 - part 1: Add accessors and static helper methods to retrieve `nsINode` or its concrete classes from `EventTarget` r=smaug 2021-11-02 13:03:43 +00:00
browser Backed out 7 changesets (bug 1729640) for causing Bp-hybrid bustages on LoginDetectionService.o CLOSED TREE 2021-11-02 16:33:01 +02:00
build Merge mozilla-central to autoland. CLOSED TREE 2021-11-01 23:06:15 +01:00
caps Bug 1725942 - Part 1: Add ContentPrincipalInfoHashKey r=bholley 2021-10-19 12:01:49 +00:00
chrome Bug 1734823 - Enable ESLint rule no-unused-vars globally for xpcshell test*.js files. r=necko-reviewers,Gijs,valentin 2021-10-11 11:07:02 +00:00
config Bug 1736171 - Update wasm2c fork to fix hunspell crash when accessing top half of heap r=bholley 2021-10-31 21:28:06 +00:00
devtools Bug 1738265 - Explicitly close some devtools menus in some tests. r=nchevobbe,devtools-reviewers 2021-11-02 11:03:51 +00:00
docs Bug 1460100 - Added ESLint rule to prevent use of nsIScriptableUnicodeConverter r=Standard8 2021-11-01 16:56:25 +00:00
docshell Bug 1455514 - part 1: Add accessors and static helper methods to retrieve `nsINode` or its concrete classes from `EventTarget` r=smaug 2021-11-02 13:03:43 +00:00
dom Bug 1738663 - Remove unneeded special-case for backdrop-filter in GenerateCSS2PropertiesWebIDL. r=layout-reviewers,mats 2021-11-02 14:22:08 +00:00
editor Bug 1455514 - part 1: Add accessors and static helper methods to retrieve `nsINode` or its concrete classes from `EventTarget` r=smaug 2021-11-02 13:03:43 +00:00
extensions Bug 1737733 - Update rlbox wasm configuration to use direct function calls r=glandium 2021-10-26 23:41:11 +00:00
gfx Bug 1455514 - part 1: Add accessors and static helper methods to retrieve `nsINode` or its concrete classes from `EventTarget` r=smaug 2021-11-02 13:03:43 +00:00
gradle/wrapper Bug 1727438 - Upgrade to Gradle 6.9.1. r=nalexander,owlish 2021-08-31 20:53:09 +00:00
hal Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium 2021-08-25 10:46:17 +00:00
image Backed out 13 changesets (bug 1711061) on devs request. CLOSED TREE 2021-10-29 00:36:30 +03:00
intl Bug 1737814 - Part 3: Simplify parts data structure. r=platform-i18n-reviewers,anba,gregtatum 2021-11-01 14:23:23 +00:00
ipc Bug 1654112 - Add include dirs for abseil-cpp. r=ng 2020-10-26 15:19:21 -04:00
js Bug 1738750 - Review comment fixes for bug 1706265 2021-11-01 19:05:45 +00:00
layout Bug 1738663 - Add a pref to expose all shorthands in the computed style. r=layout-reviewers,mats 2021-11-02 14:22:51 +00:00
media Bug 1721443 - Implement gtest helper TakeN that return a MozPromise wrapping the first N events from a MediaEventSource. r=bwc 2021-11-02 12:45:50 +00:00
memory Bug 1736968 - Change MOZ_CRASH() to MOZ_ASSUME_UNREACHABLE_MARKER() for abort()'s ARM noreturn case. r=glandium 2021-10-29 06:04:09 +00:00
mfbt Bug 1722208 - Fix automatically displaying the on-screen keyboard on Windows 11 when running on convertible slates r=cmartin 2021-10-28 21:08:12 +00:00
mobile Backed out 7 changesets (bug 1729640) for causing Bp-hybrid bustages on LoginDetectionService.o CLOSED TREE 2021-11-02 16:33:01 +02:00
modules Bug 1738663 - Add a pref to expose all shorthands in the computed style. r=layout-reviewers,mats 2021-11-02 14:22:51 +00:00
mozglue Bug 1736459 - Update builders to rustc 1.56. r=firefox-build-system-reviewers,andi 2021-10-27 22:35:57 +00:00
netwerk Backed out 7 changesets (bug 1729640) for causing Bp-hybrid bustages on LoginDetectionService.o CLOSED TREE 2021-11-02 16:33:01 +02:00
nsprpub Bug 1715584 - Update to NSPR_4_32_RTM (no code change). r=bbeurdouche UPGRADE_NSPR_RELEASE DONTBUILD 2021-07-01 09:07:04 +00:00
other-licenses Bug 1733545 - Remove REQUIRES_UNIFIED_BUILD from third-party directories that don't need it. r=firefox-build-system-reviewers,andi 2021-10-01 09:01:27 +00:00
parser Bug 1556352 - Part 1: Do not set form owner from parser for form-associated custom element; r=smaug 2021-10-28 10:29:37 +00:00
python Merge mozilla-central to autoland. CLOSED TREE 2021-11-01 23:06:15 +01:00
remote Bug 1736859 - Explicitly disable fission if '--enable-fission' is not set in |mach puppeteer-test|, r=jgraham,webdriver-reviewers 2021-10-28 14:52:29 +00:00
security No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM 2021-11-01 16:11:24 +00:00
services Merge autoland to mozilla-central. a=merge 2021-11-01 22:58:34 +01:00
servo Bug 1738658 - Serialize text-decoration using Servo. r=layout-reviewers,mats 2021-11-02 14:21:38 +00:00
startupcache Backed out 3 changesets (bug 1724509) for causing marionette failures. CLOSED TREE 2021-10-06 03:57:57 +03:00
storage Bug 1731564: Use motivated SpinEventLoopUntil inside storage/*. r=janv 2021-10-07 08:06:14 +00:00
taskcluster Bug 1737558 - switch cron-bouncer-check away from esr78. r=jmaher DONTBUILD 2021-11-02 13:45:42 +00:00
testing Bug 1737692 [wpt PR 31378] - Fetch: Plumb request initiator through passthrough service workers., a=testonly 2021-11-02 14:58:08 +00:00
third_party Bug 1737896 - Update to core-foundation 0.9.2. r=mstange 2021-11-02 01:38:38 +00:00
toolkit Backed out 7 changesets (bug 1729640) for causing Bp-hybrid bustages on LoginDetectionService.o CLOSED TREE 2021-11-02 16:33:01 +02:00
tools Merge autoland to mozilla-central. a=merge 2021-11-01 22:58:34 +01:00
uriloader Bug 1736749 - ensure we alwaysAskBeforeHandling downloads in browser_download_open_with_internal_handler.js to verify unknown-content-type dialog behavior when download improvements are flipped on. r=Gijs 2021-10-21 10:37:16 +00:00
view Bug 1737044 - Include pointer and frame in nsWindow logging. r=stransky 2021-10-21 14:02:30 +00:00
widget Bug 1455514 - part 1: Add accessors and static helper methods to retrieve `nsINode` or its concrete classes from `EventTarget` r=smaug 2021-11-02 13:03:43 +00:00
xpcom Bug 1679741 - Not enable IOInterposer when Kingsoft Internet Security is installed. r=gerald 2021-10-30 15:25:22 +00:00
xpfe/appshell Bug 1672486 - Remove browser.toolbars.bookmarks.2h2020 pref from browser/customizableui/places r=mak 2021-10-14 07:51:14 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1725934 - Remove unnecessary babel plugin, and update node modules to the latest versions. r=Mardak 2021-08-18 07:44:47 +00:00
.clang-format
.clang-format-ignore Bug 1719746 - Add Locale to moz.build; r=platform-i18n-reviewers,gregtatum 2021-10-18 13:38:20 +00:00
.cron.yml Bug 1738598 - sunset Coverity in Firefox. 2021-10-31 17:18:02 +00:00
.eslintignore Bug 1658238 - Autocomplete source-mapped variable names r=nchevobbe 2021-10-19 11:40:09 +00:00
.eslintrc.js Bug 1738678 - Remove unnecessary ESLint warning rules for sjs files. r=Gijs 2021-11-02 08:55:52 +00:00
.flake8 Bug 1731542 - remove `infer` from our static-analysis pipeline. r=static-analysis-reviewers,marco 2021-09-20 12:47:44 +00:00
.git-blame-ignore-revs Bug 1735638 - Add Bug 1571899 to annotate/blame ignore revisions. r=glandium DONTBUILD 2021-10-14 16:02:46 +00:00
.gitattributes
.gitignore Bug 1737741 - Ignore pytest artifacts in VCS. r=ahal 2021-11-02 14:33:49 +00:00
.hg-annotate-ignore-revs Bug 1735638 - Add Bug 1571899 to annotate/blame ignore revisions. r=glandium DONTBUILD 2021-10-14 16:02:46 +00:00
.hg-format-source
.hgignore Bug 1737741 - Ignore pytest artifacts in VCS. r=ahal 2021-11-02 14:33:49 +00:00
.hgtags No bug - tagging 1379da0937ff9ae8aff8042fed31103dcd0bf13b with FIREFOX_NIGHTLY_95_END a=release DONTBUILD CLOSED TREE 2021-11-01 16:01:12 +00:00
.lando.ini Bug 1714470: add `.lando.ini` file r=zeid DONTBUILD 2021-06-08 12:52:25 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1732723 - Rename "taskgraph" Python module to "gecko_taskgraph". r=jmaher 2021-09-30 09:50:08 -04:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-10-04 18:58:55 +00:00
Cargo.lock Bug 1737896 - Update to core-foundation 0.9.2. r=mstange 2021-11-02 01:38:38 +00:00
Cargo.toml Bug 1736459 - Handle null RawHandles in winapi-util. r=xpcom-reviewers,nika 2021-10-27 22:35:56 +00:00
GNUmakefile
LICENSE
Makefile.in Bug 1690870 - Stop getting artifacts for host binaries. r=firefox-build-system-reviewers,andi 2021-10-28 11:05:04 +00:00
README.txt
aclocal.m4
build.gradle Bug 1735628 - Update Glean to v42.1.0 r=TravisLong 2021-10-19 20:32:38 +00:00
client.mk Bug 1734594 - Terminate the sccache server in cases where submakes end in an error. r=firefox-build-system-reviewers,andi 2021-10-08 09:30:48 +00:00
client.py No bug - fix client.py update_nss on python3. r=firefox-build-system-reviewers,mhentges,bbeurdouche 2021-05-05 16:59:09 +00:00
configure.in
configure.py Bug 1718878 - Updates to the build system to enable compatibility with Python 3.10 (Mainly regarding collections.abc) r=mhentges,webdriver-reviewers,whimboo 2021-10-27 13:35:13 +00:00
gradle.properties Bug 1727438 - Increase java max heap to 32G. r=nalexander,owlish 2021-08-31 20:53:08 +00:00
gradlew
gradlew.bat
mach Bug 1717051: Rename "mach_bootstrap.py" to "mach_initialize.py" r=firefox-build-system-reviewers,glandium 2021-09-03 20:46:22 +00:00
mach.ps1
moz.build Bug 1734831 - fx doc: import the gtest doc from mdn archive + refresh r=gcp DONTBUILD 2021-10-08 19:53:53 +00:00
moz.configure Bug 1731223 - Move wine detection to toolkit/moz.configure. r=firefox-build-system-reviewers,andi 2021-09-22 23:54:26 +00:00
mozilla-config.h.in
old-configure.in Bug 1729760 - Set -stdlib=libc++ for mac builds at the toolchain level. r=firefox-build-system-reviewers,nalexander 2021-09-21 04:45:34 +00:00
package-lock.json Bug 1736781 - Update eslint-plugin-no-unsanitized to version 3.2.0 r=Standard8 2021-10-21 13:08:11 +00:00
package.json Bug 1736781 - Update eslint-plugin-no-unsanitized to version 3.2.0 r=Standard8 2021-10-21 13:08:11 +00:00
settings.gradle Bug 1737195 - Allow GV artifact build on Windows workstation again. r=nalexander 2021-10-25 03:16:58 +00:00
substitute-local-geckoview.gradle Bug 1557796 - Custom mozconfig for gradle build. r=nalexander,owlish 2021-09-29 17:54:57 +00:00
test.mozbuild

README.txt

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.