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
Valentin Gosu 7d213246fb Bug 1555302 - Ensure that nsStandardURL::Resolve() doesn't parse URLs with a different scheme as relative r=mayhemer
Normally, this method will return the entire in string if it has a scheme.
However, mParser->ParseURL may fail, leading to the scheme to be cleared,
and the result will be the same HTTP URL with the input appended to the
path. This triggers the assertion in NS_NewURI that the scheme should not
change.

As a fix, we bail out of nsStandardURL::Resolve() if the parsed scheme of
the input is different than the base URIs current scheme. This condition
is necessary, because we still need to support a deprecated form of relative
URLs like http:file or http:/path/file

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

--HG--
extra : moz-landing-system : lando
2019-06-04 13:42:37 +00:00
.cargo Bug 1547682: Bump Cranelift to cc216b46b35a797d03c0f3e8b16a2096f1c6db61; r=lth 2019-04-30 14:22:41 +02:00
.vscode Bug 1543529 - Stop recommending VSCode plugin "Babel ES6/ES7" r=jya 2019-04-11 03:31:54 +00:00
accessible Bug 1554831: For out-of-process iframe documents on Windows, send the a11y emulated window (if any) to the content process. r=eeejay 2019-05-29 04:37:28 +00:00
browser Bug 1551902 - Add a test for the toggle switch in the protections panel. r=johannh 2019-06-04 13:10:56 +00:00
build Bug 1554989 - Fix implicit checker on inheriting constructors r=andi 2019-06-04 11:36:46 +00:00
caps Bug 1496418: Update Content Policy checks and allow CSP checks for system principal triggered loads. r=mccr8,baku 2019-06-03 06:04:25 +00:00
chrome Bug 1536744 - Remove nsIProtocolHandler.newURI r=baku 2019-05-28 13:49:27 +00:00
config Bug 1508976 - Produce a multi-architecture GeckoView "fat AAR". r=glandium 2019-05-30 15:22:09 +00:00
devtools Bug 1554133 - Part 2: make app panel to use the shared fluent l10n module r=jdescottes,Ola 2019-06-03 12:16:27 +00:00
docshell Bug 1533877 - Frame navigations should check their parent's Cross-Origin policy r=nika 2019-06-04 12:24:56 +00:00
dom Bug 1555302 - Ensure that nsStandardURL::Resolve() doesn't parse URLs with a different scheme as relative r=mayhemer 2019-06-04 13:42:37 +00:00
editor Bug 1426709 - Make HTMLEditor update selection ancestor limit synchronously when editing host is changed to ancestor element r=smaug 2019-06-04 08:42:43 +00:00
extensions Merge mozilla-inbound to mozilla-central. a=merge 2019-06-03 19:01:53 +03:00
gfx Bug 1554502 - Track the reference frame of batched bounding boxes and enforce it in WR r=gw 2019-06-03 21:12:54 +00:00
gradle/wrapper
hal Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-05-25 17:46:15 +00:00
image Bug 1554847 - Improve cross-origin checks in canvas API - imgIRequest.hadCrossOriginRedirects, r=aosmond 2019-06-04 06:31:42 +00:00
intl Merge mozilla-central to autoland. 2019-06-03 19:24:20 +03:00
ipc Bug 1555917 - Exception handler and crash reporter client cleanup r=froydnj 2019-05-31 21:54:03 +00:00
js Bug 1395509 - Add APIs to handle memory accounting while initializing object pointers to malloc memory r=sfink? 2019-06-04 10:05:17 +00:00
layout Backed out 4 changesets (bug 1555511) for devtools failures at browser_viewport_resizing_minimum_scale.js CLOSED TREE 2019-06-04 12:43:01 +03:00
media Bug 1523162 - Remove WebRtc_GetCPUFeaturesARM from cpu_features.cc; r=glandium 2019-06-04 08:51:40 +00:00
memory Bug 1553363 - Generalize the *_impl goop for allocation functions in mozglue. r=froydnj 2019-05-29 22:49:42 +00:00
mfbt Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
mobile Bug 1532404 - Disable org.mozilla.geckoview.test.MediaElementTest.webmPlayMediaFromScript on pgo and debug for frequent failures. r=jmaher 2019-06-04 13:24:33 +00:00
modules Bug 1525554 - Enable promise rejection event and update tests result; r=smaug 2019-06-04 12:55:57 +00:00
mozglue Backed out 12 changesets (bug 1492121) for platform.cpp and TestBaseProfiler.cpp related bustages CLOSED TREE 2019-06-04 12:08:39 +03:00
netwerk Bug 1555302 - Ensure that nsStandardURL::Resolve() doesn't parse URLs with a different scheme as relative r=mayhemer 2019-06-04 13:42:37 +00:00
nsprpub Bug 1526010, NSPR 4.21 RTM, r=me 2019-03-07 11:16:36 +01:00
other-licenses Bug 1523802 - Cancel BITS jobs in uninstaller. r=mhowell 2019-04-30 15:25:48 +00:00
parser Bug 1543077 - Fix merge conflict bustage, add missing comma. r=bustage-fix CLOSED TREE 2019-06-03 19:49:09 +03:00
python Bug 1556185 - Ensure autoconf.mk is tracked as a dependency when preprocessing webidls. r=nalexander 2019-06-03 20:33:36 +00:00
remote Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-28 00:57:10 +03:00
security bug 1555854 - avoid creating transient threads in PSM (particularly CryptoTask) r=KevinJacobs 2019-06-03 23:47:48 +00:00
services Backed out changeset 8aca39389e35 (bug 1555771) for browser-chrome failures at browser/components/extensions/test/browser/browser_ext_tabs_events.js 2019-06-04 03:22:59 +03:00
servo Backed out changeset ba1f75c56457 (bug 1555150) for xpcshell failures at devtools/shared/tests/unit/test_css-properties-db.js 2019-06-04 07:52:50 +03:00
startupcache Bug 1554162 - Enable ESLint for startupcache/. r=froydnj 2019-05-25 02:07:26 +00:00
storage Bug 1555205 - Move db/sqlite3 to third_party/; r=mak 2019-05-29 10:16:29 +00:00
taskcluster Bug 1556695 - Remove pinned Chromium revision on OSX r=perftest-reviewers,davehunt 2019-06-04 12:32:35 +00:00
testing Bug 1555370 - Use percent value instead of ratio for %_dropped_frames subtest r=perftest-reviewers,Bebe,whimboo,alexandru.irimovici 2019-06-04 13:17:28 +00:00
third_party Bug 1543077 part 1 - Vendor shift_or_euc into m-c. r=emk. 2019-06-03 15:30:41 +03:00
toolkit Backed out 12 changesets (bug 1492121) for platform.cpp and TestBaseProfiler.cpp related bustages CLOSED TREE 2019-06-04 12:08:39 +03:00
tools Backed out 12 changesets (bug 1492121) for platform.cpp and TestBaseProfiler.cpp related bustages CLOSED TREE 2019-06-04 12:08:39 +03:00
uriloader Bug 1555374. Use StaticPrefs accessors for various prefs that moved to StaticPrefs recently. r=edgar 2019-06-01 02:29:26 +00:00
view Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel 2019-05-26 14:31:53 +00:00
widget Bug 1554522 - [Wayland] Implement Wayland DMABuf surface, r=jhorak 2019-06-04 11:11:28 +00:00
xpcom Bug 1556386: rename aSkip to aMightSkip in nsCycleCollectionParticipant.h. r=mccr8 2019-06-03 20:09:40 +00:00
xpfe/appshell Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
.arcconfig
.clang-format Bug 1547143 - Force the pointer style declaration r=Ehsan 2019-05-01 08:46:08 +00:00
.clang-format-ignore Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
.cron.yml Bug 1554608 Schedule raptor fennec v64 tests in CI r=dustin,tomprince 2019-06-03 13:59:18 +00:00
.eslintignore Bug 1532937 - Enable ESLint for dom/flex and dom/grid (manual changes). r=Standard8,smaug 2019-06-03 10:35:57 +00:00
.eslintrc.js Bug 1554224 - Enable some ESLint rules for more of layout/. r=dholbert 2019-05-29 10:50:49 +00:00
.flake8 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=firefox-build-system-reviewers,chmanchester 2019-05-28 14:22:20 +00:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs No Bug - Ignore Bug 1519636 in blame/annotate. r=sylvestre 2019-04-30 11:41:02 +00:00
.gitignore Bug 1552011 - Ignore newtab component build artifacts r=Mardak,Standard8 2019-05-17 16:45:30 +00:00
.hg-annotate-ignore-revs Bug 1554625 - Add more commits to the hg ignore list r=marco 2019-05-28 15:32:37 +00:00
.hg-format-source
.hgignore Bug 1552011 - Ignore newtab component build artifacts r=Mardak,Standard8 2019-05-17 16:45:30 +00:00
.hgtags No bug - Tagging mozilla-central 97dae745c1b3ef2292127ba1c4e90b1345c8f576 with FIREFOX_NIGHTLY_68_END a=release DONTBUILD CLOSED TREE 2019-05-20 13:18:38 +00:00
.lldbinit
.mailmap
.prettierrc Bug 1551218 - Part 3: Add a top-level .prettierrc and reformat the debugger, r=jlast 2019-05-17 15:51:36 +00:00
.taskcluster.yml Bug 1547724 - send cron failure notifications to sheriffs / ciduty r=aryx 2019-05-16 15:37:05 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1391438 - Support FIDO2 for WebAuthn on Android r=snorp,keeler 2019-05-10 16:40:17 +00:00
Cargo.lock Bug 1543077 part 1 - Vendor shift_or_euc into m-c. r=emk. 2019-06-03 15:30:41 +03:00
Cargo.toml Bug 1547682: Bump Cranelift to cc216b46b35a797d03c0f3e8b16a2096f1c6db61; r=lth 2019-04-30 14:22:41 +02:00
client.mk
client.py
CLOBBER Bug 1555661 - Fix client code inclusion in Google urls. r=daleharvey 2019-05-31 12:56:59 +00:00
configure.in
configure.py Bug 1547730 - Add six to path when running configure. r=glandium 2019-05-28 14:23:35 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat Bug 1527796 - Part 3. Use gradlew.bat on Windows. r=nalexander 2019-02-26 11:06:12 +09:00
LEGAL
LICENSE
mach
Makefile.in Bug 1508976 - Produce a multi-architecture GeckoView "fat AAR". r=glandium 2019-05-30 15:22:09 +00:00
moz.build Backed out changeset 8d14aa373383 (bug 1522113) for Bugzilla lint failures CLOSED TREE 2019-05-18 01:23:13 +03:00
moz.configure Bug 1543323 - On Android, only build gtest tests archive on x86_64 builds; r=glandium 2019-04-12 00:17:45 +00:00
mozilla-config.h.in
old-configure.in bug 1555110 - Backed out changeset a187487af38a to disable cert_storage on non-nightly builds r=jcj,froydnj 2019-05-29 00:11:53 +00:00
package-lock.json Bug 1551218 - Part 1: Enable running top-level eslint for the devtools debugger, r=Standard8,jlast 2019-05-17 15:50:29 +00:00
package.json Bug 1551218 - Part 1: Enable running top-level eslint for the devtools debugger, r=Standard8,jlast 2019-05-17 15:50:29 +00:00
README.txt
settings.gradle Bug 1543982 - Part 1: Avoid re-configuring from within Gradle. r=emilio 2019-05-09 20:38:48 +00:00
test.mozbuild

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

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

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 in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

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.