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
Перейти к файлу
Tim Huang c9d7e80dfa Bug 1626226 - Copy the hasStoragePermssion flag from the document for workers when creating under a window for dedicated and shared workers. r=dimi,baku,asuth
When creating workers, dedicated workers, shared workers, we will set
the storage prinicpal to the worker load info. During getting the storage
principal, we need to check the storage permission in the content process.
However, we don't have the hasStroagePermission flag which is needed to do
the check since the channel that we use to get the principal is not opened
yet at the moment.

To address this issue, we can copy the hasStoragePermission flag from
the doucment of the window which creates the worker. Because the worker
would be the same-origin as the window. So, the hasStoragePermission
flag is supposed to be the same between the window and the worker.

We don't need to do anything for the service worker since the storage
permission won't be checked due to the service worker is disabled for
third party trackers. And the storage permission is for the third party
trackers. Thus, we can ignore this flag for service workers.

Differential Revision: https://phabricator.services.mozilla.com/D69810

--HG--
extra : moz-landing-system : lando
2020-04-08 19:02:37 +00:00
.cargo Backed out 4 changesets (bug 1626967) for breaking Raptor tests godot-c and wm-c. a=backout 2020-04-08 10:06:47 +02:00
.vscode
accessible Bug 1627899 - Focus selected tatb only if nott already focused. r=MarcoZ 2020-04-08 04:51:22 +00:00
browser Bug 1590573, create a unified approach for caching fragments in our Custom Elements r=emilio 2020-04-08 16:17:50 +00:00
build Bug 1435148 - Disable jemalloc when any sanitizer is used. r=glandium 2020-04-08 18:01:03 +00:00
caps Bug 1622409 - Put FTP code behind a pref r=marionette-reviewers,valentin,whimboo,mixedpuppy 2020-04-07 19:49:26 +00:00
chrome
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-04-06 14:28:50 +00:00
devtools Bug 1626280 - Test order of cached messages in the console. r=Honza. 2020-04-08 14:10:58 +00:00
docs Bug 1625855 - Replace MOZ_MUST_USE with [[nodiscard]] in some Servo Rust code. r=emilio 2020-04-02 08:27:59 +00:00
docshell Bug 1625513 - Part 1: Perform onMayChangeProcess handling within DocumentLoadListener, r=mattwoodrow,pbone,droeh 2020-04-08 16:56:37 +00:00
dom Bug 1626226 - Copy the hasStoragePermssion flag from the document for workers when creating under a window for dedicated and shared workers. r=dimi,baku,asuth 2020-04-08 19:02:37 +00:00
editor Bug 1496320 - part 1: Make `TypeInState` clear "link style" when it detects caret coming from outside of current link r=m_kato 2020-04-06 03:52:53 +00:00
extensions Bug 1620594 - Part 6: Use AbstractThread::MainThread instead of SystemGroup::AbstractThread. r=nika 2020-04-07 15:17:14 +00:00
gfx Bug 1628419 - Don't keep a live CGFont reference in every macOS font entry; only retain it for fonts actually used. r=lsalzman 2020-04-08 17:35:30 +00:00
gradle/wrapper
hal Bug 1626456 - Remove stray nsAutoPtr.h includes. r=KrisWright 2020-04-03 21:05:46 +00:00
image Backed out 3 changesets (bug 1470350) for reftest failures in image/test/crashtests/delaytest.html?523528-1.gif CLOSED TREE 2020-04-08 04:08:59 +03:00
intl Backed out 3 changesets (bug 1621674) for causing xpcshell permafailures in browser/extensions/formautofill/test/unit/test_createRecords.js CLOSED TREE 2020-04-08 00:49:16 +03:00
ipc Bug 1603974 - Part 1: Implement nt::VirtualQuery consuming only ntdll.dll. r=mhowell 2020-04-08 14:27:01 +00:00
js Bug 1624886 - Fix argBytes calculation in GenerateImportInterpExit. r=lth 2020-04-08 13:25:18 +00:00
layout Bug 1424714 - Add a test to ensure sticky position items don't checkerboard unnecessarily. r=mstange 2020-04-08 05:03:09 +00:00
media Bug 1626787 - ClearKeyDecryptionManager.cpp check emptiness by empty instead of by size. r=sylvestre 2020-04-08 15:47:17 +00:00
memory Backed out changeset 916894e8b8fc (bug 1626272) for frequent test_dmd.js failures CLOSED TREE 2020-04-07 03:52:49 +03:00
mfbt Backed out 4 changesets (bug 1620152) because it blocks the backout of bug 1626967. a=backout 2020-04-08 10:06:27 +02:00
mobile Bug 1627886 - Fix android system color array. r=snorp 2020-04-07 13:53:31 +00:00
modules Bug 1622409 - Put FTP code behind a pref r=marionette-reviewers,valentin,whimboo,mixedpuppy 2020-04-07 19:49:26 +00:00
mozglue Bug 1603974 - Part 8: Use RedirectToNoOpEntryPoint for dgapi[64].dll. r=mhowell 2020-04-08 14:27:03 +00:00
netwerk Bug 1625513 - Part 2: Completely remove nsIProcessSwitchRequestor, r=mattwoodrow 2020-04-08 16:56:39 +00:00
nsprpub
other-licenses
parser Bug 1620594 - Part 2: Use SchedulerGroup::Dispatch instead of SystemGroup::Dispatch. r=nika 2020-04-07 15:16:33 +00:00
python Bug 1625285 - A few small fixes to prevent bustage under Python 3 in lint/resource monitor/testing r=marionette-reviewers,glandium,whimboo 2020-04-08 11:42:52 +00:00
remote Bug 1627780 - [remote] Add status mapping for Mocha's "CRASHED" status. r=remote-protocol-reviewers,maja_zf 2020-04-07 15:25:52 +00:00
security Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
services Merge mozilla-central to autoland. CLOSED TREE 2020-04-07 00:59:27 +03:00
servo Bug 1623819 - Part 2: Assert that initial values in style structs match those in property definitions. r=emilio 2020-04-08 05:31:26 +00:00
startupcache Bug 1626456 - Remove stray nsAutoPtr.h includes. r=KrisWright 2020-04-03 21:05:46 +00:00
storage Bug 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika 2020-04-07 15:16:23 +00:00
taskcluster Bug 1326486 - build-clang: Convert 3-stage builds to 4-stage PGO builds. r=glandium 2020-04-07 14:12:51 +00:00
testing Bug 1607405 - Validate regexp derived from pattern attribute before using it. r=emilio 2020-04-08 14:30:21 +00:00
third_party Bug 1626323 - Vendor rusqlite into mozilla-central. r=lina 2020-04-07 22:13:51 +00:00
toolkit Bug 1590573, create a unified approach for caching fragments in our Custom Elements r=emilio 2020-04-08 16:17:50 +00:00
tools Bug 1625285 - A few small fixes to prevent bustage under Python 3 in lint/resource monitor/testing r=marionette-reviewers,glandium,whimboo 2020-04-08 11:42:52 +00:00
uriloader Bug 1626451 - Remove nsAutoPtr usage from uriloader/. r=valentin 2020-04-03 21:05:39 +00:00
view Bug 1626456 - Remove stray nsAutoPtr.h includes. r=KrisWright 2020-04-03 21:05:46 +00:00
widget Bug 1626765 - delete 'else' after 'return'. r=sylvestre 2020-04-08 16:55:00 +00:00
xpcom Bug 1627131 - Part 3: Move nsTString<T>::Contains implementation. r=xpcom-reviewers,sg 2020-04-08 10:46:25 +00:00
xpfe/appshell Bug 1616353 - Part 13: Don't create an extra BrowsingContext when opening a new tab from content, r=kmag 2020-04-07 21:39:59 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr 2020-03-19 13:47:51 +00:00
.clang-format
.clang-format-ignore
.cron.yml Bug 1622302 - kick off automated beta builds at 02:00 UTC instead of 04:00. DONTBUILD r=jlorenzo 2020-03-23 16:17:09 +00:00
.eslintignore
.eslintrc.js Bug 1582666 - Enable more ESLint rules for netwerk/. r=Standard8,valentin 2020-04-07 16:00:03 +00:00
.flake8 Backed out changeset 78a429af0ec5 (bug 1622687) for build bustage 2020-03-30 23:32:19 +03:00
.gdbinit Bug 1627398 Part 5 - Support dumping frame trees in CSS pixels for gdb and lldb. r=heycam 2020-04-07 23:42:38 +00:00
.gdbinit_python
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags No bug - tagging 3cc678e923e6f105437db28740c8223fd4940c8d with FIREFOX_NIGHTLY_76_END a=release DONTBUILD CLOSED TREE 2020-04-06 14:28:44 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1624887 - set decision task retries to 0. r=Callek 2020-03-27 17:57:48 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-04-06 14:28:50 +00:00
Cargo.lock Bug 1626323 - Vendor rusqlite into mozilla-central. r=lina 2020-04-07 22:13:51 +00:00
Cargo.toml Backed out 4 changesets (bug 1626967) for breaking Raptor tests godot-c and wm-c. a=backout 2020-04-08 10:06:47 +02:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1623593 - Get rid of NECKO_COOKIES compilation flag, r=mayhemer 2020-03-24 16:30:03 +00:00
README.txt
aclocal.m4
build.gradle Bug 1627354: Part 2 - Update gradle files to set buildToolsVersion; r=nalexander 2020-04-04 03:15:56 +00:00
client.mk
client.py
configure.in Bug 1627163 - Switch python configure to python 3. r=firefox-build-system-reviewers,rstewart 2020-04-07 18:31:56 +00:00
configure.py Bug 1627163 - Switch python configure to python 3. r=firefox-build-system-reviewers,rstewart 2020-04-07 18:31:56 +00:00
gradle.properties
gradlew
gradlew.bat
mach Bug 1617748 - Run `./mach build`, `./mach build-backend`, `./mach configure` with Python 3 r=dmajor 2020-04-04 20:38:01 +00:00
moz.build Bug 1625216 - Migration the bugzilla doc in-tree from github r=emceeaich 2020-03-28 00:40:49 +00:00
moz.configure Bug 1626951 - Disable new pass manager on aarch64-windows builds without LTO. r=dmajor 2020-04-03 14:27:45 +00:00
mozilla-config.h.in
old-configure.in Bug 1621350 - land NSS NSS_3_51_1_RTM UPGRADE_NSS_RELEASE, r=jcj 2020-04-03 22:39:37 +00:00
package-lock.json Bug 1622717: When parsing an AST allow the chosen parser to override the default scope manager and visitor keys. r=Standard8 2020-03-23 12:58:28 +00:00
package.json Bug 1622717: When parsing an AST allow the chosen parser to override the default scope manager and visitor keys. r=Standard8 2020-03-23 12:58:28 +00:00
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild

README.txt

An explanation of the Mozilla 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 Mozilla from the source code and create the patch see:

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

If you have a question about developing Mozilla, and can't find the solution
on https://developer.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 Mozilla developers for
testing, may be buggy.