Bug 180802

Summary: [GTK] imported/w3c/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator-pluginarray.html is failing
Product: WebKit Reporter: Miguel Gomez <magomez>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: bugs-noreply, cgarcia, Ms2ger
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Miguel Gomez 2017-12-14 03:30:33 PST
imported/w3c/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator-pluginarray.html [ Failure ]

failing since r225779 where the expectation was changed. This is the diff:

PASS Tests that named properties are not enumerable in navigator.plugins and navigator.mimeTypes 
-FAIL Tests that navigator.plugins and navigator.mimeTypes returns the same object when queried multiple times. assert_equals: expected object "[object Plugin]" but got object "[object Plugin]"
+FAIL Tests that navigator.plugins and navigator.mimeTypes returns the same object when queried multiple times. assert_equals: expected object "[object MimeType]" but got object "[object MimeType]"
 PASS Tests that navigator.plugins and navigator.mimeTypes does not return the same object on different frames. 
-FAIL Tests that navigator.plugins and navigator.mimeTypes returns plugins sorted in alphabetical order by plugin name. assert_less_than_equal: expected a number less than or equal to 0 but got 1
+PASS Tests that navigator.plugins and navigator.mimeTypes returns plugins sorted in alphabetical order by plugin name.
Comment 1 Ms2ger (he/him; ⌚ UTC+1/+2) 2017-12-14 03:43:58 PST
The exact failure annoyingly depends on the exact elements in the plugins and mimeTypes arrays. Fixing the bug would probably be the best way forward.
Comment 2 Carlos Garcia Campos 2020-08-17 06:46:08 PDT
Plugins are no longer supported.