| Index: third_party/WebKit/LayoutTests/http/tests/plugins/resources/navigator-plugins.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/plugins/resources/navigator-plugins.js b/third_party/WebKit/LayoutTests/http/tests/plugins/resources/navigator-plugins.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7c79475ca89f3f6a941fd5ec4c7d78e67beb15ab
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/plugins/resources/navigator-plugins.js
|
| @@ -0,0 +1,5 @@
|
| +function pluginDataAsString() {
|
| + var pluginNames = Array.prototype.map.call(navigator.plugins, function (plugin) { return plugin.name; });
|
| + var mimeTypes = Array.prototype.map.call(navigator.mimeTypes, function (mimeType) { return mimeType.type; });
|
| + return JSON.stringify({"pluginNames": pluginNames, "mimeTypes": mimeTypes});
|
| +}
|
|
|