зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1675349: Update tests under dom/tests/mochitest for the removal of plugins. r=jmathies
REMOVED ------- dom/tests/mochitest/bugs/test_bug427744.html Test that navigator.plugins properly includes testplugin Differential Revision: https://phabricator.services.mozilla.com/D95912
This commit is contained in:
Родитель
69ae75db9c
Коммит
c32ab86e13
|
@ -73,9 +73,6 @@ skip-if = toolkit == 'android' && !is_fennec && debug
|
|||
[test_bug404748.html]
|
||||
[test_bug414291.html]
|
||||
tags = openwindow
|
||||
[test_bug427744.html]
|
||||
skip-if = toolkit == 'android' || (processor == 'aarch64' && os == 'win')
|
||||
reason = Plugins are not supported on Android and Windows/AArch64
|
||||
[test_bug42976.html]
|
||||
[test_bug430276.html]
|
||||
[test_bug440572.html]
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=427744
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 427744</title>
|
||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
<body>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=427744">Mozilla Bug 427744</a>
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
|
||||
</div>
|
||||
<pre id="test">
|
||||
<script class="testbody" type="text/javascript">
|
||||
|
||||
/** Test for Bug 427744 **/
|
||||
|
||||
var firstPlugin = navigator.plugins["Test Plug-in"];
|
||||
ok(firstPlugin, "Should have seen the test plugin");
|
||||
is(firstPlugin.version, "1.0.0.0", "Should have seen the right test plugin version");
|
||||
|
||||
var secondPlugin = navigator.plugins["Second Test Plug-in"];
|
||||
ok(secondPlugin, "Should have seen the second test plugin");
|
||||
is(secondPlugin.version, "1.0.0.0", "Should have seen the right second test plugin version");
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
Загрузка…
Ссылка в новой задаче