gecko-dev/modules
David Parks 532e4bcbe5 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-11 15:59:01 +00:00
..
brotli Bug 1733545 - Remove REQUIRES_UNIFIED_BUILD from third-party directories that don't need it. r=firefox-build-system-reviewers,andi 2021-10-01 09:01:27 +00:00
fdlibm Bug 531915 - part 5 - build and export sin, cos, and tan from fdlibm r=arai 2021-08-13 11:57:06 +00:00
freetype2 Bug 1744073 - Update freetype2 to 2.11.1. r=jfkthame 2021-12-09 16:22:19 +00:00
libjar Bug 1725363 - Replace PL_strcasecmp with nsCRT::strcasecmp modules/libjar/ r=valentin 2022-01-26 09:06:37 +00:00
libmar Bug 1747160 - Don't add TK_CFLAGS to CFLAGS/CXXFLAGS and don't add frameworks to LDFLAGS. r=firefox-build-system-reviewers,mhentges 2021-12-22 03:47:26 +00:00
libpref Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv 2022-02-11 15:59:01 +00:00
woff2 Bug 1754147 - Remove REQUIRES_UNIFIED_BUILD from modules/woff2. r=firefox-build-system-reviewers,mhentges 2022-02-09 04:22:39 +00:00
xz-embedded Bug 1733545 - Remove REQUIRES_UNIFIED_BUILD from third-party directories that don't need it. r=firefox-build-system-reviewers,andi 2021-10-01 09:01:27 +00:00
zlib Bug 1713081 - Fix to use the default clang from upstream for SM WASI. r=glandium 2021-06-02 06:00:10 +00:00
moz.build