Auto merge of #10485 - ConnorGBrewster:navigator_plugins, r=Ms2ger

Implement stub for NavigatorPlugins

This PR implements stub for NavigatorPlugins as outlined in #9991.

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10485)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-04-11 21:17:16 +05:30
commit 3b7e426d33
13 changed files with 316 additions and 124 deletions

View file

@ -7086,12 +7086,6 @@
[Navigator interface: operation yieldForStorageUpdates()]
expected: FAIL
[Navigator interface: attribute plugins]
expected: FAIL
[Navigator interface: attribute mimeTypes]
expected: FAIL
[Navigator interface: attribute javaEnabled]
expected: FAIL
@ -7143,114 +7137,9 @@
[Navigator interface: window.navigator must inherit property "yieldForStorageUpdates" with the proper type (17)]
expected: FAIL
[Navigator interface: window.navigator must inherit property "plugins" with the proper type (18)]
expected: FAIL
[Navigator interface: window.navigator must inherit property "mimeTypes" with the proper type (19)]
expected: FAIL
[Navigator interface: window.navigator must inherit property "javaEnabled" with the proper type (20)]
expected: FAIL
[PluginArray interface: existence and properties of interface object]
expected: FAIL
[PluginArray interface object length]
expected: FAIL
[PluginArray interface: existence and properties of interface prototype object]
expected: FAIL
[PluginArray interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[PluginArray interface: operation refresh(boolean)]
expected: FAIL
[PluginArray interface: attribute length]
expected: FAIL
[PluginArray interface: operation item(unsigned long)]
expected: FAIL
[PluginArray interface: operation namedItem(DOMString)]
expected: FAIL
[MimeTypeArray interface: existence and properties of interface object]
expected: FAIL
[MimeTypeArray interface object length]
expected: FAIL
[MimeTypeArray interface: existence and properties of interface prototype object]
expected: FAIL
[MimeTypeArray interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[MimeTypeArray interface: attribute length]
expected: FAIL
[MimeTypeArray interface: operation item(unsigned long)]
expected: FAIL
[MimeTypeArray interface: operation namedItem(DOMString)]
expected: FAIL
[Plugin interface: existence and properties of interface object]
expected: FAIL
[Plugin interface object length]
expected: FAIL
[Plugin interface: existence and properties of interface prototype object]
expected: FAIL
[Plugin interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[Plugin interface: attribute name]
expected: FAIL
[Plugin interface: attribute description]
expected: FAIL
[Plugin interface: attribute filename]
expected: FAIL
[Plugin interface: attribute length]
expected: FAIL
[Plugin interface: operation item(unsigned long)]
expected: FAIL
[Plugin interface: operation namedItem(DOMString)]
expected: FAIL
[MimeType interface: existence and properties of interface object]
expected: FAIL
[MimeType interface object length]
expected: FAIL
[MimeType interface: existence and properties of interface prototype object]
expected: FAIL
[MimeType interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[MimeType interface: attribute type]
expected: FAIL
[MimeType interface: attribute description]
expected: FAIL
[MimeType interface: attribute suffixes]
expected: FAIL
[MimeType interface: attribute enabledPlugin]
expected: FAIL
[External interface: existence and properties of interface object]
expected: FAIL
@ -8793,18 +8682,6 @@
[ApplicationCache interface object name]
expected: FAIL
[PluginArray interface object name]
expected: FAIL
[MimeTypeArray interface object name]
expected: FAIL
[Plugin interface object name]
expected: FAIL
[MimeType interface object name]
expected: FAIL
[External interface object name]
expected: FAIL

View file

@ -193,6 +193,8 @@ var interfaceNamesInGlobalScope = [
"KeyboardEvent",
"Location",
"MessageEvent",
"MimeType",
"MimeTypeArray",
"MouseEvent",
"NamedNodeMap",
"Navigator",
@ -202,6 +204,8 @@ var interfaceNamesInGlobalScope = [
"NodeList",
"Performance",
"PerformanceTiming",
"Plugin",
"PluginArray",
"ProcessingInstruction",
"ProgressEvent",
"RadioNodeList",