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
Перейти к файлу
Julian Descottes 66eca9e88c Bug 1757457 - [devtools] Recompute mCanExecuteScripts after navigation r=smaug
I can see that after navigation, allowJavascript is correctly set for the browsing context, but it seems we need to call
RecomputeCanExecuteScripts() to force it to be applied to the new page. Not sure if doing this here makes sense or if it should be done earlier.

Also there are still other issues with this feature:
- closing the toolbox does not reload the page: meaning JavaScript remains disabled on the page
- similarly all pages which have been put in bfcache will retain the javascript disabled/enabled setting

For the first issue, I wonder if we should force a reload when closing the toolbox (iff javascript disabled was toggled).
And for the second issue, could we invalidate contexts put in bfcache for a given browsing context when we toggle allowJavaScript?

Olli: Does this change make sense at least to fix the basic issue?

Differential Revision: https://phabricator.services.mozilla.com/D169182
2023-02-13 17:52:51 +00:00
.cargo Bug 1814736 - Update mp4parse to fix a crash on files with invalid box sizes. r=kinetik 2023-02-08 01:36:17 +00:00
.vscode
accessible Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
browser no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE 2023-02-13 19:05:50 +00:00
build Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
caps Backed out 5 changesets (bug 1795312) for causing build bustage at BasePrincipal.h on a CLOSED TREE 2023-02-08 19:33:48 +02:00
chrome
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-02-13 16:28:07 +00:00
devtools Bug 1757457 - [devtools] Recompute mCanExecuteScripts after navigation r=smaug 2023-02-13 17:52:51 +00:00
docs Bug 1794552 - Reorganize modules for Remote Protocol. r=zeid DONTBUILD 2023-02-09 19:38:39 +00:00
docshell Bug 1757457 - [devtools] Recompute mCanExecuteScripts after navigation r=smaug 2023-02-13 17:52:51 +00:00
dom Backed out 4 changesets (bug 1805676) for wpt failures on shared-worker-import-csp.html. CLOSED TREE 2023-02-13 21:14:00 +02:00
editor Backed out 9 changesets (bug 1810141) for several test failures on a CLOSED TREE 2023-02-13 16:05:30 +02:00
extensions Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
gfx Bug 1816405 - Only print source of single shader when glslopt pass fails. r=gfx-reviewers,lsalzman 2023-02-13 16:30:26 +00:00
gradle/wrapper
hal Bug 1812938 - Part 1. GetWidgetScreen returns Screen instead of nsIScreen. r=emilio,geckoview-reviewers,owlish 2023-02-06 04:51:26 +00:00
image Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
intl Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
ipc Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
js Bug 1816213: Store one shape for uncacheable iterators with indices r=jandem 2023-02-13 17:51:43 +00:00
layout Bug 1815913 - Init nsImageMap more eagerly r=emilio 2023-02-13 15:52:40 +00:00
media Bug 1813468 - Signal start and stop to MediaPipeline through state mirroring. r=bwc 2023-02-09 15:33:01 +00:00
memory Bug 1808429 - Disconnect runtime configuration from MOZ_DEBUG r=glandium 2023-01-20 06:21:12 +00:00
mfbt Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
mobile Backed out 9 changesets (bug 1810141) for several test failures on a CLOSED TREE 2023-02-13 16:05:30 +02:00
modules Bug 1815553 - follow the naming convention of existing code (mf -> wmf). r=alwu 2023-02-11 01:48:59 +00:00
mozglue Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
netwerk Backed out 2 changesets (bug 1814961) for causing xpcshell failures on test_rcwn_interrupted.js. CLOSED TREE 2023-02-13 19:03:45 +02:00
nsprpub
other-licenses
parser Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
python Bug 1815570 - Update to JDK 17.0.6+10. r=geckoview-reviewers,m_kato 2023-02-09 03:34:45 +00:00
remote Backed out 9 changesets (bug 1810141) for several test failures on a CLOSED TREE 2023-02-13 16:05:30 +02:00
security No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan 2023-02-13 12:54:22 +00:00
services Merge mozilla-central to autoland. a=merge CLOSED TREE 2023-02-13 19:14:05 +02:00
servo Backed out changeset 488ea16d9b8b (bug 1816394) for causing reftest failures on 1315113-1.html. CLOSED TREE 2023-02-13 18:26:17 +02:00
startupcache
storage Bug 1810791 - Check `SQLITE_IOERR_SHORT_READ` against `rc`. r=dom-storage-reviewers,asuth,hsingh 2023-01-18 18:28:03 +00:00
supply-chain Bug 1814722 - Handle FIDO AppID extension in CTAPHIDTokenManager. r=keeler,supply-chain-reviewers 2023-02-10 00:15:43 +00:00
taskcluster Bug 1787331 - Expire test variants in the taskgraph. r=ahal 2023-02-13 17:06:46 +00:00
testing Backed out 4 changesets (bug 1805676) for wpt failures on shared-worker-import-csp.html. CLOSED TREE 2023-02-13 21:14:00 +02:00
third_party Bug 1811641 - [libwebrtc] Unset output delegate before stopping. r=webrtc-reviewers,dbaker 2023-02-10 20:45:42 +00:00
toolkit Backed out changeset 0d0223fcdc02 (bug 1812141) for xpcshelll failures on test_ClientEnvironment.js. CLOSED TREE 2023-02-13 20:34:22 +02:00
tools Bug 1811853 - Rename panel.jsm.js to logic.jsm.js, to better reflect its content r=canaltinova 2023-02-13 16:46:40 +00:00
uriloader Backed out 9 changesets (bug 1810141) for several test failures on a CLOSED TREE 2023-02-13 16:05:30 +02:00
view Bug 1814239 - Expose Point/Size rounded-to-multiple helpers, and use them from MaybeRoundToDisplayPixels. r=tnikkel,gfx-reviewers,nical 2023-02-06 12:28:47 +00:00
widget Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
xpcom Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,webdriver-reviewers,whimboo 2023-02-13 15:02:07 +00:00
xpfe/appshell Bug 1814889: Ensure that opening private windows continues to display a private browsing icon on the Windows taskbar. r=bhearsum,mstange 2023-02-03 18:10:09 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore
.cron.yml
.eslintignore Bug 1811853 - Move symbolication files to the shared/ directory r=canaltinova 2023-02-13 16:46:38 +00:00
.eslintrc-test-paths.js Bug 1693495 - [devtools] Implement a beginning of "Network" commands, starting with sendHTTPRequest. r=devtools-reviewers,nchevobbe 2023-01-09 13:09:43 +00:00
.eslintrc.js Bug 1816182 - Stop applying ESLint test configuration to module files. r=Gijs,necko-reviewers 2023-02-13 12:26:46 +00:00
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1799699 - expand storybook args table docs r=mstriemer,tgiles 2023-01-23 23:52:36 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1797744 - [puppeteer] Sync vendored puppeteer to v19.6.0. r=webdriver-reviewers,jdescottes,whimboo 2023-01-27 16:50:45 +00:00
.hgtags No bug - tagging 936d17fd83ca2497225995193a49bfe425739135 with FIREFOX_NIGHTLY_111_END a=release DONTBUILD CLOSED TREE 2023-02-13 16:28:00 +00:00
.isort.cfg
.lando.ini
.lldbinit
.mailmap
.prettierignore
.prettierrc.js Bug 1811820 - Change prettier config file from json to common js format. r=cmkm,Gijs 2023-01-24 22:53:55 +00:00
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-02-13 16:28:07 +00:00
Cargo.lock Bug 1814722 - Handle FIDO AppID extension in CTAPHIDTokenManager. r=keeler,supply-chain-reviewers 2023-02-10 00:15:43 +00:00
Cargo.toml Bug 1810615 - Update the async-task crate, r=supply-chain-reviewers,emilio 2023-01-31 20:35:32 +00:00
GNUmakefile
LICENSE
Makefile.in
README.txt
aclocal.m4
build.gradle Bug 1812615 - Update to Glean v52.2.0, glean_parser 7.0.0 and UniFFI 0.23. r=chutten,markh,glandium,supply-chain-reviewers 2023-01-31 11:12:05 +00:00
client.mk
client.py
configure
configure.py
gradle.properties
gradlew
gradlew.bat
mach Bug 1814369 - Properly format Python2 detection message r=ahochheiden 2023-02-01 16:22:39 +00:00
mach.cmd
mach.ps1
mots.yaml Bug 1794552 - Reorganize modules for Remote Protocol. r=zeid DONTBUILD 2023-02-09 19:38:39 +00:00
moz.build
moz.configure
mozilla-config.h.in
old-configure.in Bug 1806470 - Still set some build-id on local builds. r=firefox-build-system-reviewers,andi 2023-01-12 20:54:52 +00:00
package-lock.json Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop 2023-02-03 13:28:13 +00:00
package.json Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop 2023-02-03 13:28:13 +00:00
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.