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
Go to file
Antonio Sartori 0943438c81 Bug 1698536 [wpt PR 27992] - CSP: Fix report-to for frame-ancestors violation, a=testonly
Automatic update from web-platform-tests
CSP: Fix report-to for frame-ancestors violation

Content-Security-Policy 'frame-ancestors' checks are performed in the
browser during the navigation. Violation reports, however, are sent
through Blink. When using the reporting API (via the 'report-to'
directive), we need to use the correct URL for the report, since that
URL's origin will be used to match the reporting endpoints. Otherwise,
we end up not sending reports or, worse, sending them to the wrong
endpoints.

This change addresses that and adds a WPT.

In the future, we should avoid sending the reports through Blink at
all.

Bug: 2324115
Change-Id: Iccab0cfe178900844d97aa7989922b014d02efcf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2747378
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#862787}

--

wpt-commits: 8a4a29f7491c950550528576757f77d0e7f973f1
wpt-pr: 27992
2021-03-19 10:35:23 +00:00
.cargo Bug 1699463 - Update neqo to v0.4.23 r=necko-reviewers,dragana 2021-03-18 16:18:27 +00:00
.vscode
accessible Backed out 9 changesets (bug 1581859) for bustages jsapi.h . CLOSED TREE 2021-03-18 08:26:57 +02:00
browser Bug 1698550 - Change "Settings" to "Preferences" in Mac menu bar. r=Gijs 2021-03-19 10:30:53 +00:00
build Bug 1695285 - Pass ASan/UBSan flags to cargo for native builds. r=firefox-build-system-reviewers,glandium 2021-03-18 20:46:55 +00:00
caps Bug 1684001 - IsURIInPrefList should be infallible. r=masayuki 2021-03-08 23:36:40 +00:00
chrome Bug 1695162 - Use range-based for instead of custom hashtable iterators. r=xpcom-reviewers,kmag 2021-03-17 15:49:46 +00:00
config Bug 1695285 - Pass ASan/UBSan flags to cargo for native builds. r=firefox-build-system-reviewers,glandium 2021-03-18 20:46:55 +00:00
devtools Bug 1698554 - [devtools] Improve error logging when a request fails with a custom exception. r=nchevobbe 2021-03-19 10:04:48 +00:00
docs Bug 1658876 - [devtools] Avoid including its own cloning and build instructions in docs. r=nchevobbe 2021-03-15 11:41:14 +00:00
docshell Bug 1675820 - Part 7: Fix marionette BrowsingContext replace detection logic, r=whimboo,marionette-reviewers,farre 2021-03-18 19:24:51 +00:00
dom Bug 1698098 - Make use of nsBaseHashtable::Clone. r=xpcom-reviewers,mccr8 2021-03-19 09:01:46 +00:00
editor Bug 1698786: part 4) Add some logging to EditorSpellChecker. r=masayuki 2021-03-18 09:33:22 +00:00
extensions Bug 1698786: part 3) Add some logging to mozSpellChecker. r=masayuki 2021-03-18 09:33:21 +00:00
gfx Backed out 7 changesets (bug 1687977) for causing build bustages CLOSED TREE 2021-03-19 11:52:25 +02:00
gradle/wrapper
hal Bug 1694481 - Remove unused android lock screen orientation support. r=aklotz 2021-03-10 22:43:09 +00:00
image Bug 1698098 - Make use of nsBaseHashtable::Clone. r=xpcom-reviewers,mccr8 2021-03-19 09:01:46 +00:00
intl Bug 1696206 - Update documentation for legacy migrations; r=flod 2021-03-17 18:51:01 +00:00
ipc Bug 1563624 - Part 2: Automatically reject async IPC responses when the resolver is dropped, r=mccr8 2021-03-18 16:56:10 +00:00
js Bug 1693482 - SIMD optimization x64/x86: inline constant load for PSHUFB in MacroAssembler::permuteInt8x16. r=lth 2021-03-19 07:03:42 +00:00
layout Backed out 7 changesets (bug 1687977) for causing build bustages CLOSED TREE 2021-03-19 11:52:25 +02:00
media Bug 1690167 - Change VsprintfLiteral/SprintfLiteral to rely on PrintfTarget. r=nika,Gankra,firefox-build-system-reviewers,mhentges 2021-03-10 23:52:40 +00:00
memory Bug 1698719 - Remove aSkipFrames argument to both FramePointerStackWalk and MozStackWalkThread. r=gsvelto,gerald 2021-03-17 00:21:39 +00:00
mfbt Bug 1571631 - Remove MOZ_MUST_USE definition. r=sg 2021-03-17 03:01:21 +00:00
mobile Bug 1698823 - Don't allow null delegateController. r=aklotz,droeh 2021-03-18 18:31:09 +00:00
modules Bug 1698015 - Add another way to download ODoHConfigs via https r=necko-reviewers,dragana 2021-03-19 08:29:14 +00:00
mozglue Bug 1698719 - Remove aSkipFrames argument to both FramePointerStackWalk and MozStackWalkThread. r=gsvelto,gerald 2021-03-17 00:21:39 +00:00
netwerk Bug 1698015 - Add another way to download ODoHConfigs via https r=necko-reviewers,dragana 2021-03-19 08:29:14 +00:00
nsprpub Bug 1694371, Update Firefox to NSPR_4_30_RTM. r=bbeurdouche UPGRADE_NSPR_RELEASE DONTBUILD 2021-03-16 15:15:43 +00:00
other-licenses Bug 1692893 - Minimal patch: Workaround atk extern "C" issue. r=Jamie 2021-02-16 00:40:33 +00:00
parser Bug 1675820 - Part 6: Make DocGroup cycle-collected, r=farre,smaug 2021-03-18 19:24:50 +00:00
python Bug 1695792 - Update copy for accounts error notifications. r=mconley,fluent-reviewers 2021-03-18 21:45:09 +00:00
remote Bug 1694506 - [puppeteer] Update puppeteer-expected.json for v8.0.0 r=remote-protocol-reviewers,whimboo 2021-03-18 15:02:13 +00:00
security Bug 1698098 - Make use of nsBaseHashtable::Clone. r=xpcom-reviewers,mccr8 2021-03-19 09:01:46 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM 2021-03-18 14:52:53 +00:00
servo Backed out 2 changesets (bug 1647845) for causing build bustages. CLOSED TREE 2021-03-19 01:07:18 +02:00
startupcache Bug 1688511 - do not use 'else' after 'return'. r=sylvestre 2021-02-04 09:24:19 +00:00
storage Bug 1695162 - Use range-based for instead of custom hashtable iterators. r=xpcom-reviewers,kmag 2021-03-17 15:49:46 +00:00
taskcluster Bug 1697839: Bump Updatebot for commit alerting and better behavior all-around r=jewilde 2021-03-18 20:30:41 +00:00
testing Bug 1698536 [wpt PR 27992] - CSP: Fix report-to for frame-ancestors violation, a=testonly 2021-03-19 10:35:23 +00:00
third_party Bug 1507074 - Update glslopt-rs to add support for GL_OES_EGL_image_external. r=nical 2021-03-18 18:31:25 +00:00
toolkit Bug 1698098 - Make use of nsBaseHashtable::Clone. r=xpcom-reviewers,mccr8 2021-03-19 09:01:46 +00:00
tools Bug 1699188 - [mozlint] Include jsmin now that mozversioncontrol uses it r=ahal 2021-03-17 18:57:03 +00:00
uriloader Backed out 9 changesets (bug 1581859) for bustages jsapi.h . CLOSED TREE 2021-03-18 08:26:57 +02:00
view Backed out changeset 93fd52dafca2 (bug 1689682) as requested by haik. CLOSED TREE 2021-03-14 04:29:17 +02:00
widget Bug 1699433 [Linux] Use a global lock to access libdrm, r=jhorak 2021-03-19 09:20:13 +00:00
xpcom Bug 1698098 - Add nsBaseHashtable::Clone methods. r=xpcom-reviewers,nika 2021-03-19 09:01:46 +00:00
xpfe/appshell Bug 1699506 - Part 1 - Add a NSTitlebarAccessoryViewController to ToolbarWindow to track when the titlebar is shown in fullscreen. r=mac-reviewers,mstange 2021-03-18 20:20:39 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1686831 - Import glibc printf test cases verbatim. r=mhoye 2021-01-28 09:48:53 +00:00
.cron.yml Bug 1696496 - Disable raptor tests running on windows10-64-ref-hw-2017. r=perftest-reviewers,igoldan 2021-03-11 14:13:09 +00:00
.eslintignore Bug 1690475 - [remote] Reorganize xpcshell and browser chrome tests. r=remote-protocol-reviewers,jdescottes 2021-02-23 17:37:03 +00:00
.eslintrc.js Bug 1698768 - Bundle sec-fetch-* tests within dom/security/tests/sec-fetch/ r=ckerschb 2021-03-18 15:00:37 +00:00
.flake8 Bug 1695263 - Vendor in a copy of wptserve that's still Python 2 compatible, r=marionette-reviewers,whimboo 2021-03-03 10:03:05 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1687154 - Add raptor's generated files to .gitignore. r=glandium DONTBUILD 2021-01-19 00:34:55 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags No bug - tagging 396d6048aec7d8118bf31637be4a3f5aa06d74ee with FIREFOX_NIGHTLY_87_END a=release DONTBUILD CLOSED TREE 2021-02-22 12:50:38 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1667276 - Part 3: Load a custom prefs file when running a background task. r=mossop,KrisWright 2021-01-27 22:54:25 +00:00
.prettierrc
.taskcluster.yml Bug 1696944 - Part 3 - Add new image to taskcluster.yml. r=aki 2021-03-17 11:22:02 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle
Cargo.lock Bug 1507074 - Update glslopt-rs to add support for GL_OES_EGL_image_external. r=nical 2021-03-18 18:31:25 +00:00
Cargo.toml Bug 1698295 - Build glsl with opt-level=2 to improve build times. r=glandium 2021-03-16 14:28:07 +00:00
client.mk Bug 1683797: Removes unnecessary lines from client.mk r=sheehan,firefox-build-system-reviewers,glandium 2021-03-09 14:45:24 +00:00
client.py
CLOBBER
configure.in
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach Bug 1638992 - Run ./mach test with Python 3, r=releng-reviewers,jmaher 2021-03-12 21:10:31 +00:00
mach.ps1 Bug 1686256 - Add Windows friendly wrapper for mach r=mhentges,firefox-build-system-reviewers,dmajor 2021-01-20 02:08:40 +00:00
Makefile.in
moz.build Bug 1687640 - Cover mach.ps1 in moz.build r=dmajor,firefox-build-system-reviewers 2021-01-20 15:20:27 +00:00
moz.configure Bug 1697098 - Default to --enable-bootstrap for arm64 mac builds. r=firefox-build-system-reviewers,andi,sheehan,mhentges 2021-03-09 21:27:52 +00:00
mozilla-config.h.in
old-configure.in Bug 1698706 - Always add PIC flags to C{,XX}FLAGS. r=firefox-build-system-reviewers,andi,sheehan,mhentges 2021-03-17 02:27:22 +00:00
package-lock.json
package.json
README.txt
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild

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.