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
David Parks 48c6934e1d Bug 1900225: Part 6 - Wait for Windows permission dialog to be dismissed before requesting geolocation r=emilio,win-reviewers,gstoll
When Windows presents the dialog asking the user to give geolocation permission
to Firefox, we need to wait for the user to make a choice before running the
geolocation request.    Previously, we were not waiting for the user's response
so most requests would timeout and fail, even if the user replied "Yes".

This dialog is only ever presented once -- the first time that Firefox asks
Windows for a wifi scan.  It does not reappear on restarts or reinstalls.   This
dedicated Yes/No system prompt is a bit more user-friendly than system settings.

This "system will prompt for permission" case could be completely avoided since
wifi scanning is not useful to us when it requires geolocation permissions as
geolocation would override it.  We would need the MLSFallback behavior to skip
scanning wifi when geolocation permission wasn't already granted, or else the
MLSFallback would present the system prompt in question, despite the user having
already denied permission.  On the other hand, we need the old scanning behavior
for this case when running versions of Windows 10 and 11 that don't have these
updates.  (The updates are set to appear in the 24H2 version of Windows 11.)
This approach avoids that kind of version special-casing.

Differential Revision: https://phabricator.services.mozilla.com/D218589
2024-08-27 22:47:33 +00:00
.cargo Bug 1914434 - Update wgpu to revision cc11260547ae7cc2814888208f244227ed32a1d0. r=webgpu-reviewers,glandium,supply-chain-reviewers,ErichDonGubler 2024-08-27 09:57:08 +00:00
.github/workflows
.vscode
accessible Bug 1911505: Expose highlighted text to Mac a11y. r=morgan,eeejay 2024-08-26 02:02:46 +00:00
browser Bug 1900225: Part 2 - Inform user of system UX issues initiated by geolocation request r=gstoll,emilio,bolsson,pbz 2024-08-27 22:47:32 +00:00
build Backed out 6 changesets (bug 1907326, bug 1873984, bug 1873986, bug 1899969, bug 1873982) for causing multiple wd assertion failures. 2024-08-28 02:37:51 +03:00
caps Bug 1914286 - Remove NS_RelaxStrictFileOriginPolicy. r=smaug,necko-reviewers,kershaw 2024-08-23 10:13:35 +00:00
chrome Bug 1910698 - Remove nsIScriptError.sourceLine. r=smaug,devtools-reviewers,webdriver-reviewers,necko-reviewers,nchevobbe,kershaw,jdescottes,credential-management-reviewers,dimi 2024-08-01 17:12:48 +00:00
config Backed out changeset fb02d762cca9 (bug 1910796) for causing mass assertion failures on Compression. CLOSED TREE 2024-08-15 15:32:52 +03:00
devtools Bug 1913263 - [devtools] Handle generic keydown events in nodePicker even if no currentNode available r=devtools-reviewers,ochameau 2024-08-27 13:16:48 +00:00
docs Bug 1617964 - Update references from Toolkit:Storage to the new Core module, correct governance info, introduce placeholder docs. r=lina,zeid 2024-08-24 08:50:25 +00:00
docshell Bug 1911981 - Replace use of SearchTestUtils.useTestEngines with setRemoteSettingsConfig in non-search test code. r=mbeier,backup-reviewers 2024-08-27 16:01:45 +00:00
dom Bug 1900225: Part 6 - Wait for Windows permission dialog to be dismissed before requesting geolocation r=emilio,win-reviewers,gstoll 2024-08-27 22:47:33 +00:00
editor Bug 1911010 - Make IMEContentObserver observe ParentChainChanged and let IMEStateManager know that r=smaug 2024-08-27 07:55:26 +00:00
extensions Bug 1900930 - Make ENSURE_SUCCESS call WouldReportJSException. r=dom-core,win-reviewers,emilio,gstoll,edgar 2024-08-21 08:43:09 +00:00
gfx Bug 1914345 Part 3 - Increase fuzziness for Android R-nofis r=emilio 2024-08-27 20:49:49 +00:00
gradle/wrapper
hal Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
image Bug 1910297. Handle repaint propagation to the root if the root is a table. r=layout-reviewers,emilio 2024-08-09 10:25:21 +00:00
intl Bug 1912853 - Remove network.IDN.* prefs r=necko-reviewers,hsivonen,valentin 2024-08-13 21:12:55 +00:00
ipc Bug 1912171 - Remove telemetry media.audio_process_per_codec_name r=alwu 2024-08-27 08:47:43 +00:00
js Backed out changeset de51eb8b0839 (bug 1914895) for causing multiple wpt failures related to unscopable. CLOSED TREE 2024-08-28 02:38:32 +03:00
layout Bug 1915206 - Simplify SVG transforms a bit more. r=longsonr 2024-08-27 21:14:28 +00:00
media Bug 1910690 - Update opus to 5854a9f7de06ab3505b8fe6e8943db581c2cbe70 r=kinetik 2024-08-15 09:18:50 +00:00
memory Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
mfbt Bug 1914378 part 3 - Use a StringBuffer for long flattened ropes. r=sfink 2024-08-27 07:23:47 +00:00
mobile Backed out 6 changesets (bug 1907326, bug 1873984, bug 1873986, bug 1899969, bug 1873982) for causing multiple wd assertion failures. 2024-08-28 02:37:51 +03:00
modules Bug 1900225: Part 4 - Add geo.prompt.open_system_prefs to block opening system preferences r=gstoll 2024-08-27 22:47:32 +00:00
mozglue Bug 1904429 - Extract some core logging types into their own header file r=padenot 2024-08-23 15:52:45 +00:00
netwerk Bug 1900225: Part 6 - Wait for Windows permission dialog to be dismissed before requesting geolocation r=emilio,win-reviewers,gstoll 2024-08-27 22:47:33 +00:00
nsprpub
other-licenses Bug 1909747 - Fix liteFirewall mozilla_customizations.diff regarding error representation r=nrishel 2024-08-20 19:52:43 +00:00
parser Bug 1913624 - Remove expired telemetry histograms ENCODING_DETECTION_OUTCOME_TEXT and ENCODING_DETECTION_OUTCOME_HTML, r=chutten. 2024-08-20 10:26:54 +00:00
python Bug 1914501 - Don't run emerge when all packages have been filtered out. r=firefox-build-system-reviewers,sergesanspaille 2024-08-27 09:00:31 +00:00
remote Bug 1853887 - [bidi] Add support for cookies and headers arguments for network.continueResponse r=webdriver-reviewers,Sasha 2024-08-23 18:40:08 +00:00
security No Bug, mozilla-central repo-update HSTS HPKP remote-settings ct-logs - r=release-managers,RyanVM 2024-08-26 11:40:04 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings ct-logs - r=release-managers,RyanVM 2024-08-26 11:40:04 +00:00
servo Bug 1914449 - Fix stylesheet cloning in presence of both @layer and @import. r=zrhoffman,firefox-style-system-reviewers 2024-08-26 13:01:59 +00:00
startupcache
storage Bug 1617964 - Update references from Toolkit:Storage to the new Core module, correct governance info, introduce placeholder docs. r=lina,zeid 2024-08-24 08:50:25 +00:00
supply-chain Bug 1914434 - Update wgpu to revision cc11260547ae7cc2814888208f244227ed32a1d0. r=webgpu-reviewers,glandium,supply-chain-reviewers,ErichDonGubler 2024-08-27 09:57:08 +00:00
taskcluster Bug 1915065 - Separate out aarch64 Visual Studio. r=firefox-build-system-reviewers,sergesanspaille 2024-08-27 08:59:57 +00:00
testing Bug 1900225: Part 4 - Add geo.prompt.open_system_prefs to block opening system preferences r=gstoll 2024-08-27 22:47:32 +00:00
third_party Bug 1914835 - With ScreenCaptureKit embed the mouse cursor directly. r=webrtc-reviewers,ng 2024-08-27 10:01:03 +00:00
toolkit Bug Bug 1915023 - Add region/locale controls for topic labels r=home-newtab-reviewers,maxx 2024-08-27 21:55:23 +00:00
tools Bug 1870226 - Upgrade eslint-plugin-jsdoc to version 50.2.2. r=zombie,frontend-codestyle-reviewers,translations-reviewers,backup-reviewers,kpatenio 2024-08-23 16:43:57 +00:00
uriloader Bug 1903780 - Support directory names again in downloads.download r=geckoview-reviewers,NeilDeakin,m_kato 2024-08-20 18:53:21 +00:00
view Bug 1831649 - Propagate the software keyboard height change into nsPresContext. r=botond,geckoview-reviewers,m_kato 2024-08-06 07:46:21 +00:00
widget Bug 1546267 - Detect system locale/timezone change. r=geckoview-reviewers,owlish 2024-08-27 08:40:58 +00:00
xpcom Bug 1904429 - Connect JS_LOG to MOZ_LOG via the JS Logging interface r=jandem 2024-08-23 15:52:46 +00:00
xpfe/appshell Bug 1905253 - Add a null-check in AppWindow::MoveResize. r=smaug 2024-07-16 07:43:22 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1890370 - Remove libtheora from the tree. r=sylvestre,frontend-codestyle-reviewers,zeid 2024-07-15 14:20:37 +00:00
.cron.yml Bug 1907655: remove l10n bump cron task/hook from mozilla-central r=RyanVM,aryx,releng-reviewers,jcristau 2024-07-15 14:35:53 +00:00
.eslintrc-ignores.js Bug 1907841 - Change ESLint's .eslintignore to be an imported module. r=frontend-codestyle-reviewers,zeid,devtools-reviewers,nchevobbe 2024-07-16 12:53:09 +00:00
.eslintrc-rollouts.js Bug 1912171 - Remove telemetry media.audio_process_per_codec_name r=alwu 2024-08-27 08:47:43 +00:00
.eslintrc-test-paths.js
.eslintrc.js Bug 1907841 - Change ESLint's .eslintignore to be an imported module. r=frontend-codestyle-reviewers,zeid,devtools-reviewers,nchevobbe 2024-07-16 12:53:09 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Backed out 4 changesets (bug 1743983) for causing multiple failures. CLOSED TREE 2024-08-06 01:49:21 +03:00
.hg-annotate-ignore-revs
.hgignore Backed out 4 changesets (bug 1743983) for causing multiple failures. CLOSED TREE 2024-08-06 01:49:21 +03:00
.hgtags No bug - tagging a12975dc04594d4ebd1d3e2927c6c1f18b7aa09c with FIREFOX_NIGHTLY_130_END a=release DONTBUILD CLOSED TREE 2024-08-05 13:59:00 +00:00
.lando.ini
.lldbinit
.mailmap No bug - Add some old committer emails to mailmap. DONTBUILD 2024-07-21 00:20:52 +00:00
.prettierignore Bug 1913967 - Move shared modules to a shared folder. r=sylvestre,frontend-codestyle-reviewers,dimi 2024-08-21 14:12:52 +00:00
.prettierrc.js
.stylelintignore
.stylelintrc.js Bug 1913322 - Make arrowscrollbox use resizeobserver rather than overflow/underflow events. r=Gijs,dao,desktop-theme-reviewers,tabbrowser-reviewers,frontend-codestyle-reviewers 2024-08-21 12:23:34 +00:00
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4 Bug 1907067 - Remove AC_PROG_CC, AC_PROG_CXX and MOZ_CROSS_COMPILER from old-configure r=glandium 2024-08-15 09:39:59 +00:00
AUTHORS
build.gradle Bug 1913314 - Migrate the OSS Licenses Gradle Plugin to the AC dependencies plugin. r=android-reviewers,mcarare 2024-08-27 12:40:46 +00:00
Cargo.lock Bug 1914434 - Update wgpu to revision cc11260547ae7cc2814888208f244227ed32a1d0. r=webgpu-reviewers,glandium,supply-chain-reviewers,ErichDonGubler 2024-08-27 09:57:08 +00:00
Cargo.toml Bug 1913183 - Vendor in app-services, r=nanj,supply-chain-reviewers,urlbar-reviewers,adw 2024-08-16 16:18:07 +00:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-08-05 13:59:10 +00:00
configure
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach
mach.cmd
mach.ps1
Makefile.in Bug 1821091 - Send Glean crash pings from the crashreporter r=gsvelto,glandium 2024-07-16 14:08:52 +00:00
mots.yaml Bug 1617964 - Update references from Toolkit:Storage to the new Core module, correct governance info, introduce placeholder docs. r=lina,zeid 2024-08-24 08:50:25 +00:00
moz.build
moz.configure Backed out changeset fb02d762cca9 (bug 1910796) for causing mass assertion failures on Compression. CLOSED TREE 2024-08-15 15:32:52 +03:00
mozilla-config.h.in
old-configure.in Bug 1912973 - Move MOZ_APP_MAXVERSION from old-configure to moz.configure r=glandium 2024-08-21 13:01:49 +00:00
package-lock.json Bug 1870226 - Upgrade eslint-plugin-jsdoc to version 50.2.2. r=zombie,frontend-codestyle-reviewers,translations-reviewers,backup-reviewers,kpatenio 2024-08-23 16:43:57 +00:00
package.json Bug 1870226 - Upgrade eslint-plugin-jsdoc to version 50.2.2. r=zombie,frontend-codestyle-reviewers,translations-reviewers,backup-reviewers,kpatenio 2024-08-23 16:43:57 +00:00
pyproject.toml
README.txt
settings.gradle Bug 1894704 - Check if the gradle extension mozconfig property is set and only apply mozconfig.gradle when it is not available. r=gl,geckoview-reviewers,android-reviewers,ohall 2024-08-19 15:24:50 +00:00
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.