Changeset 196084 in webkit
- Timestamp:
- Feb 3, 2016 3:01:23 PM (8 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r196078 r196084 1 2016-02-03 Brent Fulgham <bfulgham@apple.com> 2 3 REGRESSION: LayoutTest http/tests/plugins/visible_plugins.html failing on Yosemite WK1 4 https://bugs.webkit.org/show_bug.cgi?id=153752 5 6 Reviewed by Alexey Proskuryakov. 7 8 Revise test to skip the plugins we expect to be displayed, and only display plugins 9 that are surprising. 10 11 * http/tests/plugins/visible_plugins.html: 12 * http/tests/plugins/visible_plugins-expected.txt: 13 * platform/mac-wk2/http/tests/plugins/visible_plugins-expected.txt: Removed. 14 1 15 2016-02-03 Ryan Haddad <ryanhaddad@apple.com> 2 16 -
trunk/LayoutTests/http/tests/plugins/visible_plugins-expected.txt
r195950 r196084 1 1 Check we only display the valid set of "public" plugins. 2 2 3 None 3 PASS: No unexpected plugins were found. -
trunk/LayoutTests/http/tests/plugins/visible_plugins.html
r195950 r196084 10 10 } 11 11 12 var pluginList = "";12 var unexpectedPlugins = []; 13 13 Array.prototype.forEach.call(navigator.plugins, function(plugin) { 14 if (pluginList.length) 15 pluginList = pluginList + "\n"; 16 pluginList = pluginList + plugin.name; 14 if (plugin.name.match(/Shockwave/i)) 15 return; 16 if (plugin.name.match(/QuickTime/i)) 17 return; 18 if (plugin.name.match(/Java/i)) 19 return; 20 if (plugin.name.match(/WebKit built-in PDF/i)) 21 return; 22 23 unexpectedPlugins.push(plugin.name); 17 24 }); 18 25 19 if (pluginList.length) 20 document.getElementById("result").innerText = pluginList; 26 if (unexpectedPlugins.length) 27 document.getElementById("result").innerText = "FAIL: Unexpected plugins: " + unexpectedPlugins.toString(); 28 else 29 document.getElementById("result").innerText = "PASS: No unexpected plugins were found." 21 30 if (window.testRunner) 22 31 testRunner.notifyDone(); … … 28 37 Check we only display the valid set of "public" plugins. 29 38 </p> 30 <div id="result"> None</div>39 <div id="result">TEST DID NOT RUN</div> 31 40 </body> 32 41 </html>
Note: See TracChangeset
for help on using the changeset viewer.