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
Перейти к файлу
Gijs Kruitbosch 7d3d1390b0 Bug 1650162 - disjoint external URI loading protection should deal with invisible iframes, r=mattwoodrow
The aim of the code we're modifying here is to block things in one browsingcontext
tree from opening external links in another browsingcontext tree (and causing the
external protocol dialog to show up for that tab/window) -- except if the other
browsingcontext into which something is being loaded is same-origin.

Unfortunately the pre-patch code assumed that it would find currentWindowGlobal
objects for each browsingcontext, and it turns out that's not guaranteed,
especially in the case of hidden iframes, which turn out to be quite commonly
used for external protocol launches.

This patch fixes this by continuing to move towards the root of the browsingcontext
tree even if there's no currentWindowGlobal (though logically speaking, this
should only be necessary for the first iteration of the loop, it seems easier to
just always check this). It also adds a test for this behaviour working.

Differential Revision: https://phabricator.services.mozilla.com/D83015
2020-07-15 22:14:23 +00:00
.cargo Bug 1652573 - Update to neqo version 0.4.8 r=agrover,necko-reviewers 2020-07-15 19:49:36 +00:00
.vscode Bug 1646417 - Add `mrcrowl.hg` as a default plugin to `vscode` r=andi 2020-06-17 16:26:45 +00:00
accessible Bug 1652021 - Remove unnecessary includes from Accessible.h. r=surkov 2020-07-15 13:46:02 +00:00
browser Backed out 2 changesets (bug 1649032) for leakcheck failures CLOSED TREE 2020-07-16 00:37:06 +03:00
build Backed out changeset 928233ea49ee (bug 634697) for causing leaks. CLOSED TREE 2020-07-15 16:39:11 +03:00
caps Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp 2020-07-15 11:20:45 +00:00
chrome Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski 2020-07-10 23:58:28 +00:00
config Bug 1652448 - Use the same codegen-units numbers on host and target rust builds. r=firefox-build-system-reviewers,rstewart 2020-07-13 22:24:59 +00:00
devtools Bug 1645234 - Add a test for document.requestStorageAccess error messages. r=nchevobbe 2020-07-15 18:52:22 +00:00
docs Bug 1649497 - [perfdocs] Port mozperftest into Performance Testing r=sparky,perftest-reviewers 2020-07-15 17:13:30 +00:00
docshell Bug 1648038 - Create session history entry in the parent without checking if session history is on for the browsing context, because we only find out later if session history is disabled. r=smaug 2020-07-14 10:41:04 +00:00
dom Backed out changeset 8dee8cb525a2 (bug 1653003) for test_ioutils.html failures CLOSED TREE 2020-07-16 00:35:21 +03:00
editor Bug 1652942 - Remove unnecessary includes from Element.h. r=smaug 2020-07-15 14:09:01 +00:00
extensions Bug 1651714 - Reduce expensive includes for TabMessageUtils.h. r=smaug 2020-07-15 13:24:20 +00:00
gfx Bug 1648085 - Create family entries for any localized font-family names exposed by fontconfig. r=jwatt 2020-07-15 18:38:51 +00:00
gradle/wrapper
hal Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
image Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp 2020-07-15 11:20:45 +00:00
intl Bug 1622662 - Remove the } else { after a return to simplify code. r=m_kato 2020-07-09 16:22:24 +00:00
ipc Bug 1325918 - Ignore MsgDropped errors in BackgroundChildImpl. r=nika 2020-07-14 20:23:49 +00:00
js Bug 1647747 - Add in zone edges for delegates to DebuggerWeakMap r=jonco,jorendorff 2020-07-15 16:57:52 +00:00
layout Bug 1649278 - Don't do PreventDefault for escape key if <select> dropdown is not shown r=smaug 2020-07-15 19:00:30 +00:00
media Bug 1652675 - Define OPUS_ARM_MAY_HAVE_NEON{,_INTR} on non-android non-windows aarch64. r=kinetik 2020-07-15 22:07:50 +00:00
memory Bug 1651079 - Add necessary LOCAL_INCLUDES for StackWalk.cpp in memory/replace/logalloc/replay. r=rstewart 2020-07-08 21:37:24 +00:00
mfbt Bug 1651977 - add MOZ_NO_VALIDATE r=tjr 2020-07-13 09:01:00 +00:00
mobile Backed out 2 changesets (bug 1652870) for bustages on Android GeckoView multi-arch fat AAR. 2020-07-15 21:50:08 +03:00
modules Bug 1642772: Add fission process renaming to eTLD+1 for Nightly (only) via a pref r=smaug,dveditz 2020-07-15 17:59:36 +00:00
mozglue Bug 1642772: name processes in the profiler with eTLD+1 r=gerald,dveditz 2020-07-15 18:00:54 +00:00
netwerk Bug 1648038 - Create session history entry in the parent without checking if session history is on for the browsing context, because we only find out later if session history is disabled. r=smaug 2020-07-14 10:41:04 +00:00
nsprpub Bug 1652330 - NSPR 4.27 snapshot 1. r=glandium 2020-07-14 06:05:26 +00:00
other-licenses Bug 1634535 - Move ply to third_party/python r=glandium 2020-05-05 16:02:02 +00:00
parser Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp 2020-07-15 11:20:45 +00:00
python Bug 1649497 - [perfdocs] Port mozperftest into Performance Testing r=sparky,perftest-reviewers 2020-07-15 17:13:30 +00:00
remote Bug 1649883 - Fix user pref for pocket toggle off. r=gvn,remote-protocol-reviewers,perftest-reviewers,maja_zf 2020-07-15 14:51:02 +00:00
security Bug 1651714 - Reduce expensive includes for TabMessageUtils.h. r=smaug 2020-07-15 13:24:20 +00:00
services Bug 1639843 - Added reason field to command-received telemetry events r=markh,rfkelly 2020-07-13 21:46:49 +00:00
servo Bug 1652023 - Remove unnecessary includes from PresShell.h. r=smaug 2020-07-15 13:53:02 +00:00
startupcache Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi 2020-07-08 20:15:59 +00:00
storage Bug 1652630 - Fix variable redefinition to un-break the Thunderbird build r=mossop 2020-07-14 02:13:24 +00:00
taskcluster Backed out 2 changesets (bug 1652870) for bustages on Android GeckoView multi-arch fat AAR. 2020-07-15 21:50:08 +03:00
testing Bug 1649497 - [perfdocs] Port mozperftest into Performance Testing r=sparky,perftest-reviewers 2020-07-15 17:13:30 +00:00
third_party Bug 1652573 - Update to neqo version 0.4.8 r=agrover,necko-reviewers 2020-07-15 19:49:36 +00:00
toolkit Bug 1648038 - Don't require session history object when creating an entry. r=smaug 2020-07-14 11:14:46 +00:00
tools Bug 1642772: name processes in the profiler with eTLD+1 r=gerald,dveditz 2020-07-15 18:00:54 +00:00
uriloader Bug 1650162 - disjoint external URI loading protection should deal with invisible iframes, r=mattwoodrow 2020-07-15 22:14:23 +00:00
view
widget Bug 1631465 part 2 - Add unwritable margin information for OS X r=jwatt 2020-07-15 18:25:19 +00:00
xpcom Bug 1652002 - Remove some unnecessary includes from BindingUtils.h. r=peterv 2020-07-15 15:34:49 +00:00
xpfe/appshell Bug 1580811 - Make the ContentPage browser work with out-of-process frames, r=nika,zombie 2020-07-10 13:40:51 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1651731: [lint] Only allow files that are typically executable to have shebang lines override permission check; r=linter-reviewers,sylvestre 2020-07-09 21:16:32 +00:00
.cron.yml Bug 1649168: Add a cron target that will trigger scriptworker canaries; r=rail 2020-07-10 16:11:13 +00:00
.eslintignore Bug 1618465 - Move pdf.js to toolkit (main files). r=bdahl,Pike 2020-07-02 07:13:46 +00:00
.eslintrc.js Bug 1603779 - Part 6: Remove now-obsolete exceptions from .eslintrc.js. r=Gijs 2020-07-10 15:16:06 +00:00
.flake8 Bug 1555560: Add support for black formatting with mozlint; r=sylvestre 2020-07-08 22:08:08 +00:00
.git-blame-ignore-revs Bug 1633969 - Refresh .git-blame-ignore-revs. r=sylvestre 2020-04-30 16:38:19 +00:00
.gitattributes
.gitignore Bug 1651214 - Ignore .python-version file at top of checkout r=nalexander 2020-07-07 23:41:55 +00:00
.hg-annotate-ignore-revs Bug 1633969 - Add a changeset marked as "skip-blame" to .hg-annotate-ignore-revs. r=sylvestre 2020-04-30 16:37:44 +00:00
.hg-format-source
.hgignore Bug 1651214 - Ignore .python-version file at top of checkout r=nalexander 2020-07-07 23:41:55 +00:00
.hgtags No bug - tagging 4c7e22cb6a476089657b971f2ebe333c5649a4a9 with FIREFOX_NIGHTLY_79_END a=release DONTBUILD CLOSED TREE 2020-06-29 15:15:37 +00:00
.lldbinit
.mailmap Bug 1650456 - Correct name in a few places, r=froydnj 2020-07-03 20:20:29 +00:00
.prettierignore
.prettierrc
.taskcluster.yml Bug 1652184: Report to perherder stats about bugbug timings; r=ahal 2020-07-13 19:53:00 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1646256 - Make rust-analyzer and YouCompleteMe work with mozilla-central. r=sylvestre 2020-06-17 17:53:56 +00:00
AUTHORS
CLOBBER Bug 1651807 - CLOBBER because build system regards file as missing which got moved in bug 1618465. DONTBUILD a=clobber 2020-07-13 12:28:32 +02:00
Cargo.lock Bug 1652573 - Update to neqo version 0.4.8 r=agrover,necko-reviewers 2020-07-15 19:49:36 +00:00
Cargo.toml Bug 1648885 and Bug 1649432: vendor latest Cranelift to get Spectre mitigations and fix fuzzbug. r=bbouvier 2020-07-02 15:47:56 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1641291 - Part 2: Make NSDISTMODE=copy impact install manifests. r=glandium 2020-07-07 02:16:12 +00:00
README.txt
aclocal.m4 Bug 1635764 - Move --with-system-icu and --with-intl-api to python configure. r=firefox-build-system-reviewers,rstewart 2020-05-29 21:29:52 +00:00
build.gradle Bug 1641983 - Update apilint to 0.3.0. r=snorp 2020-06-01 15:58:01 +00:00
client.mk Bug 1633016 - Remove a bunch of references to PYTHON(2) in Makefiles r=glandium 2020-05-05 19:53:22 +00:00
client.py Bug 1650306 - Address the defects found by the pylint/no-else-return rule. r=sylvestre 2020-07-08 09:24:49 +00:00
configure.in Bug 1644887 - `configure` calls into `$PYTHON3` rather than `python3` directly r=glandium 2020-06-10 21:29:27 +00:00
configure.py Bug 1649901 - Improve reproducibility of config_status_deps.in files r=froydnj 2020-07-01 22:55:52 +00:00
gradle.properties
gradlew
gradlew.bat
mach Bug 1638999 - Convert 'mach webidl-parser-test' to run with Python 3; r=peterv 2020-07-15 20:28:16 +00:00
moz.build Bug 1648348 - Create "Writing Rust Code" docs. r=froydnj,zbraniecki,lina. 2020-07-07 07:38:27 +00:00
moz.configure Bug 1641291 - Part 1: Allow cross-compiling from host macOS -> Windows target. r=froydnj 2020-07-07 02:13:35 +00:00
mozilla-config.h.in
old-configure.in Bug 1641291 - Pre: Work around logging not handling '\x' in `old-configure` output. r=froydnj 2020-07-07 02:13:22 +00:00
package-lock.json Bug 1652130 - Switch the Mozilla eslint parser to use multi-ini. r=mossop 2020-07-13 18:05:18 +00:00
package.json
settings.gradle Backed out changeset d0ff30e1d830 (bug 1650692) for toolchains failures on ImageDecoderTest.kt. CLOSED TREE 2020-07-15 07:42:37 +03:00
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.