Bug 254189

Summary: Correct WebKit Built-in PDF Plugin Naming
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebCore Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 255155    

Description Brent Fulgham 2023-03-20 15:45:49 PDT
In Bug 245396, we revised our Navigator.plugins response to better match the standard. Unfortunately, I made the plugin Localized, which provides a language-specific label for this plugin.

Since that is not what the specification requires, this violates some anti-fraud site logic and is not generally helpful.

This change removes that translation and simply hard-codes the text as defined in https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support.
Comment 1 Brent Fulgham 2023-03-20 15:46:06 PDT
<rdar://106476286>
Comment 2 Brent Fulgham 2023-03-20 15:52:49 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11738
Comment 3 Brent Fulgham 2023-03-21 10:00:23 PDT
Pull request: https://github.com/Webkit/WebKit/pull/11738
Comment 4 EWS 2023-03-21 11:17:37 PDT
Committed 261928@main (3b84731a5f6a): <https://commits.webkit.org/261928@main>

Reviewed commits have been landed. Closing PR #11738 and removing active labels.