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
Перейти к файлу
Emilio Cobos Álvarez 06b663afd4 Bug 1697836 - Avoid throwing when asking for a selection. r=emalysz
Selection may be null if the page got hidden in e.g., the afterprint
event listener or somewhere else.

Add a try catch for good measure, assuming there's no selection is
always safe.

I'll try to get an automated test-case for this working, though it might
be tricky.

Depends on D109714

Differential Revision: https://phabricator.services.mozilla.com/D109715
2021-03-27 10:22:55 +00:00
.cargo Bug 673087 - Honor encoding declared via XML declaration in text/html. r=emk 2021-03-23 09:52:04 +00:00
.vscode
accessible Bug 1492259 - disable browser_test_focus_urlbar.js on Win10_QR for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD 2021-03-26 06:52:27 +00:00
browser Bug 1701003 - Use the darker toolbar text color in Light that was already being used in browser-custom-colors.inc.css. r=mstriemer 2021-03-26 22:55:21 +00:00
build Bug 1697844 - Remove unused FENNEC_NIGHTLY. r=esawin 2021-03-24 20:06:24 +00:00
caps Bug 708901 - Migrate to nsTHashSet in caps. r=ckerschb 2021-03-24 17:56:45 +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 673087 - Honor encoding declared via XML declaration in text/html. r=emk 2021-03-23 09:52:04 +00:00
devtools Bug 1449754 - [devtools] Wait for ruler text to be updated in browser_inspector_highlighter-rulers_03.js r=ladybenko 2021-03-26 15:45:34 +00:00
docs Bug 1674152 - Building documentation for Picture-in-Picture using SphinxJS r=mtigley 2021-03-26 21:55:19 +00:00
docshell Bug 1689684 - Ensure docshell/test/browser/browser_bug1347823.js works with SHIP-BFCache, r=peterv 2021-03-26 19:15:02 +00:00
dom Backed out changeset 1bde1bcafcf1 (bug 1700799) for causing webgl crashes. 2021-03-27 11:59:07 +02:00
editor Bug 1220696 - part 6: Support `insertLineBreak` and `insertParagraphSeparator` commands in `<textarea>` r=smaug 2021-03-24 01:55:09 +00:00
extensions Bug 1700051: part 13) Reduce accessibility of `mozInlineSpellStatus`'s constructor to `private`. r=smaug 2021-03-26 09:21:13 +00:00
gfx Backed out changeset 1bde1bcafcf1 (bug 1700799) for causing webgl crashes. 2021-03-27 11:59:07 +02:00
gradle/wrapper
hal Bug 1604106 - Don't assert on error conditions when changing the priority of a process on Windows r=bobowen 2021-03-25 15:41:23 +00:00
image Backed out 12 changesets (bug 1683131, bug 1696111, bug 1695987) for causing crashes(Bug 1701151). a=backout 2021-03-26 11:30:28 +02:00
intl Bug 1184468 - Use nsBaseHashtable::Values. r=xpcom-reviewers,nika 2021-03-24 17:56:49 +00:00
ipc Backed out 5 changesets (bug 1699224) for causing web platform and reftest failures CLOSED TREE 2021-03-26 22:16:10 +02:00
js Bug 1660006 - Part 4: Update DecommitEnabled. r=jonco 2021-03-27 09:02:55 +00:00
layout Bug 1523500 - Introduce nsLayoutUtils::IsAncestorFrameCrossDocInProcess and use it to find an ASR for perspective display items. r=mattwoodrow 2021-03-26 03:48:11 +00:00
media Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
memory Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
mfbt Bug 1700336 - Use MaybeStorageBase in Maybe. r=emilio 2021-03-24 13:21:31 +00:00
mobile Bug 1700917 - Force multi_e10s on xpcshell tests. r=aklotz 2021-03-26 18:30:17 +00:00
modules Backed out 5 changesets (bug 1699224) for causing web platform and reftest failures CLOSED TREE 2021-03-26 22:16:10 +02:00
mozglue Bug 1698129 - Rename the profiler browsingContextID outputs to tabID and bump the profile version r=gerald 2021-03-25 12:52:11 +00:00
netwerk Bug 1700954 - Remove remaining BinAST fragments from ScriptLoader. r=arai,hsivonen,necko-reviewers 2021-03-26 13:01:40 +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 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
python Bug 1697844 - Remove unused FENNEC_NIGHTLY. r=esawin 2021-03-24 20:06:24 +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 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM 2021-03-25 14:56:34 +00:00
services Bug 1700791 - update bundled fxa-pairing-channel version to v1.0.2. r=markh,vbudhram 2021-03-26 00:51:20 +00:00
servo Bug 1699088 - Use a single system font definition rather than two. r=cmartin 2021-03-24 22:57:37 +00:00
startupcache Bug 708901 - Migrate to nsTHashSet in startupcache. r=dthayer 2021-03-23 10:36:39 +00:00
storage Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
taskcluster Bug 1696041 - [taskgraph] Drop 'fission-run-on-projects' and 'fission-tier' keys in test kind, r=taskgraph-reviewers,jmaher 2021-03-26 21:51:53 +00:00
testing Bug 1701308 - Change page-cycle-delay to 1 second. r=perftest-reviewers,davehunt 2021-03-26 18:49:50 +00:00
third_party Bug 1692854 - Migrate sunspider to browsertime desktop r=perftest-reviewers,Bebe 2021-03-25 12:29:07 +00:00
toolkit Bug 1697836 - Avoid throwing when asking for a selection. r=emalysz 2021-03-27 10:22:55 +00:00
tools Bug 1700423 - Remove py2 and py3 linters and their config from taskcluster.r=ahal 2021-03-26 05:26:42 +00:00
uriloader Bug 1581859: Part 2a - Add LOCATION_CHANGE_HASHCHANGE onLocationChange flag. r=nika 2021-03-25 19:47:00 +00:00
view Backed out changeset 93fd52dafca2 (bug 1689682) as requested by haik. CLOSED TREE 2021-03-14 04:29:17 +02:00
widget Bug 1701231 - Allow Software WebRender on non-x86 targets. r=jrmuizel 2021-03-26 13:51:40 +00:00
xpcom Bug 1581859: Part 3a - Add do_GetProperty helper for nsIPropertyBag2. r=mccr8 2021-03-25 19:47:01 +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 1670005 - Remove weekly Fennec cron for Raptor tests; r=perftest-reviewers,AlexandruIonescu 2021-03-25 12:02:04 +00:00
.eslintignore Bug 1700954 - Remove remaining BinAST fragments from ScriptLoader. r=arai,hsivonen,necko-reviewers 2021-03-26 13:01:40 +00:00
.eslintrc.js Bug 1700106 - [devtools] Remove now-useless eslint files related to mochitests. r=jdescottes,Standard8 2021-03-23 15:51:18 +00:00
.flake8 Bug 1622676 - Made dom/base flake8 compliant.r=championshuttler,sylvestre 2021-03-24 15:26:06 +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 729eaf579f2827239182db122d59e42730ea540f with FIREFOX_NIGHTLY_88_END a=release DONTBUILD CLOSED TREE 2021-03-22 15:15:11 +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
AUTHORS
CLOBBER
Cargo.lock Bug 673087 - Honor encoding declared via XML declaration in text/html. r=emk 2021-03-23 09:52:04 +00:00
Cargo.toml Bug 673087 - Honor encoding declared via XML declaration in text/html. r=emk 2021-03-23 09:52:04 +00:00
GNUmakefile
LICENSE
Makefile.in
README.txt
aclocal.m4
build.gradle Bug 1685390 - Update apilint to 0.4.1. r=esawin 2021-01-08 16:17:22 +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
configure.in
configure.py
gradle.properties
gradlew
gradlew.bat
mach Bug 1700419 - Remove py2commands logic from mach driver.r=ahal 2021-03-26 05:26:47 +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
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
settings.gradle
substitute-local-geckoview.gradle
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.