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
Перейти к файлу
David Parks af5370612f Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv
This implements the new HTML spec for these fields, which now serve hard-coded values, depending on whether or not PDFs are supported.  The values were deemed important to maintain web compatibility.  The spec can be found in section 8.9.1.6:

https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support

The web-compat test for this can be found at:

https://wpt.live/html/webappapis/system-state-and-capabilities/the-navigator-object/plugins-and-mimetypes.html

This patch follows the spec for the PDF plugins if "pdfjs.disabled" is false.  It also produces empty plugin arrays if "pdfjs.disabled" is true, as per the spec.  Both cases are tested by the wpt.live page.

Differential Revision: https://phabricator.services.mozilla.com/D133291
2022-02-17 01:33:00 +00:00
.cargo Bug 1754861 - Update AudioIPC macOS branch to 8b5c7db0. r=cubeb-reviewers,chunmin 2022-02-10 23:07:39 +00:00
.vscode
accessible Bug 1755383 - P3: Migrate HTML selection tests from mochitests to browser tests. r=morgan 2022-02-16 18:42:54 +00:00
browser Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv 2022-02-17 01:33:00 +00:00
build Merge autoland to mozilla-central. a=merge 2022-02-16 23:39:12 +02:00
caps Bug 1753136 - Explicitly escape and unescape precursor origins in null principal queries, r=valentin 2022-02-08 15:18:21 +00:00
chrome Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi 2021-12-23 20:29:07 +00:00
config Bug 1754930 - Understand mozilla::Maybe in masm declarations. r=nbp 2022-02-15 07:03:29 +00:00
devtools Bug 1754371 - [devtools] Get Edit and resend action from the Headers panel to work r=bomsy 2022-02-16 20:53:11 +00:00
docs no bug - fx doc review: remove duplicate content r=marco 2022-02-11 18:50:54 +00:00
docshell Bug 1754813 - Make Hal::ScreenOrientation an enum class. r=gsvelto,m_kato,geckoview-reviewers 2022-02-14 07:51:06 +00:00
dom Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv 2022-02-17 01:33:00 +00:00
editor Backed out changeset 00f6bd7aa727 (bug 1755481) for causing multiple clipboard related failures CLOSED TREE 2022-02-16 12:14:58 +02:00
extensions Backed out changeset 0ef0b43b28f1 (bug 1736844) for causing gtest failures. CLOSED TREE 2022-02-16 09:27:30 +02:00
gfx Bug 1744765 - Add font features config from user's fontconfig r=jfkthame,layout-reviewers 2022-02-16 23:00:52 +00:00
gradle/wrapper Bug 1724480 - Upgrade JDK to Java 17. r=glandium,ahal,calu 2022-01-11 19:16:01 +00:00
hal Bug 1754858 - Simplify screen orientation API implementation. r=smaug,m_kato,geckoview-reviewers 2022-02-15 20:22:54 +00:00
image Backed out changeset 480ba71887c8 (bug 1755226) for causing build bustages. CLOSED TREE 2022-02-16 21:09:15 +02:00
intl Bug 1059603: Add pt-PT to available Accept-Languages locale, r=eemeli 2022-02-07 16:45:07 +00:00
ipc Bug 1753635 - Improve process bookkeeping about FOG r=handyman 2022-02-16 09:34:43 +00:00
js Bug 1755539 - Check more defensively in URLPreloader::ReadCache(). r=smaug 2022-02-16 21:56:01 +00:00
layout Bug 1724088 - Don't notify ScrollbarActivity in scroll frames without scrollbars. r=tnikkel 2022-02-17 01:31:02 +00:00
media Bug 1754027: disable SSRC changes for bundled audio RTP r=bwc 2022-02-16 00:02:04 +00:00
memory Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges 2021-12-30 20:56:43 +00:00
mfbt Bug 1750310 - Centralize and reuse pixelstorei pack/unpack handling. r=lsalzman 2022-02-12 02:20:42 +00:00
mobile Bug 1754721 - Use JSM global for GeckoView's permanentKey. r=jonalmeida 2022-02-16 16:22:01 +00:00
modules Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv 2022-02-17 01:33:00 +00:00
mozglue Backed out changeset 54f67e85078b (bug 1751781) for causing bug 1754972. CLOSED TREE 2022-02-16 07:24:33 +02:00
netwerk Backed out changeset 0ef0b43b28f1 (bug 1736844) for causing gtest failures. CLOSED TREE 2022-02-16 09:27:30 +02:00
nsprpub
other-licenses
parser Bug 1754301 - remove pref security.csp.enable r=ckerschb,mccr8 2022-02-15 16:03:27 +00:00
python Bug 1751853 - Update string paths to Pathlib objects in Mozrelease module r=firefox-build-system-reviewers,mhentges 2022-02-16 18:00:38 +00:00
remote Bug 1755317 - [remote] Only validate origin headers if BiDi is enabled r=webdriver-reviewers,whimboo 2022-02-16 06:25:35 +00:00
security Bug 1754217 - remove brittle time format APIs from nsIX509CertValidity r=jschanck 2022-02-15 22:55:02 +00:00
services Bug 1754899: Call sync after location change r=markh,Gijs 2022-02-15 07:06:51 +00:00
servo Bug 1754547 - Generalize moz-os-version into moz-platform. r=dao,preferences-reviewers,Gijs 2022-02-10 15:50:31 +00:00
startupcache
storage Backed out changeset 0ef0b43b28f1 (bug 1736844) for causing gtest failures. CLOSED TREE 2022-02-16 09:27:30 +02:00
taskcluster Backed out 5 changesets (bug 1755415) for causing build bustages. CLOSED TREE 2022-02-16 13:31:05 +02:00
testing Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv 2022-02-17 01:33:00 +00:00
third_party Bug 1755093 - Support repo_url with no slash. r=ahal 2022-02-15 17:46:59 +00:00
toolkit Bug 1755665 - Use --focus-outline instead of --deafult-focusring for .text-link across platforms. r=Itiel 2022-02-16 22:55:14 +00:00
tools Merge mozilla-central to autoland. CLOSED TREE 2022-02-16 23:50:23 +02:00
uriloader Bug 1753004, r=mhowell 2022-02-15 17:08:09 +00:00
view
widget Merge mozilla-central to autoland. CLOSED TREE 2022-02-16 23:50:23 +02:00
xpcom Bug 1755290. Don't descend into the chrome tabbar when looking for an async scrollable element to create a display port on. r=botond,emilio 2022-02-16 20:20:49 +00:00
xpfe/appshell Bug 1748888 - Add ErrorResult parameter to PromiseNativeHandler callbacks r=smaug 2022-01-20 19:11:39 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1750663 [Linux] Move mozva library and va headers to media directory r=alwu,media-playback-reviewers 2022-01-24 10:19:51 +00:00
.cron.yml Bug 1748581 - Update l10n changesets with daily builds r=aki 2022-01-18 18:07:59 +00:00
.eslintignore Bug 1750596 - Moving save to Pocket vendors into their own bundle. r=gvn 2022-01-20 21:27:44 +00:00
.eslintrc.js Bug 1746751 - Use `ChromeUtils.import` with one parameter in blocklist test code. r=robwu DONTBUILD 2022-01-07 10:06:51 +00:00
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1751511 - Save to Pocket panels, don't minify css build. r=gvn 2022-01-25 16:11:07 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1751511 - Save to Pocket panels, don't minify css build. r=gvn 2022-01-25 16:11:07 +00:00
.hgtags No bug - tagging c0ed4893120fe99dabf73c109dc77bdf109ae628 with FIREFOX_NIGHTLY_98_END a=release DONTBUILD CLOSED TREE 2022-02-07 15:33:01 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER
Cargo.lock Bug 1754474 - Update to Glean 44.0.0 and glean_parser 5.0.1. r=janerik 2022-02-15 13:35:07 +00:00
Cargo.toml Bug 1746533 - Part 1: Use custom vendored version of async-task, r=emilio 2022-01-26 15:36:13 +00:00
GNUmakefile
LICENSE
Makefile.in Bug 1751515 - Part 3: Do not install artifact test archive when `--disable-tests`. r=firefox-build-system-reviewers,glandium 2022-01-26 19:08:57 +00:00
README.txt
aclocal.m4 Bug 1747970 - Move AC_CHECK_FUNC{,S} to python configure. r=firefox-build-system-reviewers,andi 2022-01-20 21:01:20 +00:00
build.gradle Bug 1754474 - Update to Glean 44.0.0 and glean_parser 5.0.1. r=janerik 2022-02-15 13:35:07 +00:00
client.mk
client.py
configure.in
configure.py Bug 1747332 - Move build environment checks to configure.py. r=firefox-build-system-reviewers,andi 2021-12-23 20:47:47 +00:00
gradle.properties
gradlew
gradlew.bat
mach Bug 1752927: Avoid distutils deprecation warning on every Mach call r=ahal 2022-02-04 21:49:15 +00:00
mach.cmd Bug 1750874: Support launching Mach with `py` instead of `python` r=glandium 2022-01-21 18:22:58 +00:00
mach.ps1 Bug 1748762: Update mach.ps1 to always support MozillaBuild 4.0 r=saschanaz 2022-01-21 18:22:59 +00:00
moz.build Bug 1753127 - NSPR doc: move the doc into docs/nspr UPGRADE_NSS_RELEASE r=kaie,bbeurdouche 2022-02-02 17:19:51 +00:00
moz.configure Bug 1596656 - Move STRIP to python configure. r=firefox-build-system-reviewers,andi 2022-01-28 03:00:13 +00:00
mozilla-config.h.in Bug 1746991 - Avoid warning noise from __STDC_CONSTANT_MACROS being redefined. r=firefox-build-system-reviewers,andi 2021-12-21 21:22:26 +00:00
old-configure.in Bug 1752064 - Move the remainder of AS to python configure. r=firefox-build-system-reviewers,andi 2022-02-03 00:06:29 +00:00
package-lock.json Bug 1753652 - Update various node_modules to their latest versions. r=Gijs 2022-02-07 17:28:47 +00:00
package.json Bug 1753652 - Update various node_modules to their latest versions. r=Gijs 2022-02-07 17:28:47 +00:00
settings.gradle Bug 1753914 - ./mach environment is failed in gradle task on Windows. r=nalexander 2022-02-08 06:19:41 +00:00
substitute-local-geckoview.gradle Bug 1752381 - only parse stdout in substitute-local-geckoview. r=nalexander 2022-02-02 18:00:46 +00:00
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.