<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>220495</bug_id>
          
          <creation_ts>2021-01-09 00:17:46 -0800</creation_ts>
          <short_desc>Consider emptying navigator.plugins and navigator.mimeTypes</short_desc>
          <delta_ts>2022-09-29 14:16:57 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>245396</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne van Kesteren">annevk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>ahmad.saleem792</cc>
    
    <cc>beidson</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>d</cc>
    
    <cc>ggaren</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1718553</commentid>
    <comment_count>0</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2021-01-09 00:17:46 -0800</bug_when>
    <thetext>In Firefox these return empty arrays and it would be nice if Safari were to follow suit now that plugins are removed. (Safari still seems to return something for PDF.)

See also https://github.com/whatwg/html/issues/6003.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1720120</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-01-16 00:18:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/73276215&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1721054</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2021-01-20 17:41:01 -0800</bug_when>
    <thetext>Chrome canary seems to also have pdf-related things.  I suspect that they&apos;ll run into the compatibility issues that Ryosuke mentioned in GitHub, but when the time comes that they do it and find no compatibility issues I have nothing against trying.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1776674</commentid>
    <comment_count>3</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2021-07-13 10:55:35 -0700</bug_when>
    <thetext>We&apos;ve updated the spec to now instead have a hard-coded lists of plugins (either 0 or 5) for web compatibility, with the idea that all browsers have those 5 plugins. We&apos;ve also added navigator.pdfViewerSupported as a boolean for simpler feature detection going forward.

* Spec PR: https://github.com/whatwg/html/pull/6738
* New spec: https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support
* Tests: https://github.com/web-platform-tests/wpt/pull/29559 (not yet reviewed/merged)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879404</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-06-30 10:10:17 -0700</bug_when>
    <thetext>Safari is failing these in WPT test cases - https://wpt.fyi/results/html/webappapis/system-state-and-capabilities/the-navigator-object/plugins-and-mimetypes.html?label=master&amp;label=experimental&amp;aligned&amp;q=navigator

Can we align with other browsers? It can be used as potential fingerprinting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902176</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-09-29 14:16:57 -0700</bug_when>
    <thetext>This work (to match spec) is covered under Bug 245396, so I&apos;m going to dupe there.

*** This bug has been marked as a duplicate of bug 245396 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>