Changeset 182428 in webkit
- Timestamp:
- Apr 6, 2015 9:28:52 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r182424 r182428 1 2015-04-03 Alexey Proskuryakov <ap@apple.com> 2 3 Reduce the dependency on Flash in regression tests 4 https://bugs.webkit.org/show_bug.cgi?id=143391 5 6 Reviewed by Anders Carlsson. 7 8 * accessibility/inline-block-assertion.html: 9 * accessibility/plugin.html: 10 * compositing/geometry/empty-embed-rects.html: 11 * fast/history/resources/subframe-with-plugin.html: 12 * fast/images/embed-does-not-propagate-dimensions-to-object-ancestor.html: 13 * fast/loader/loadInProgress.html: 14 * fast/replaced/border-radius-clip.html: 15 * fast/replaced/embed-display-none.html: 16 * plugins/crash-restoring-plugin-page-from-page-cache.html: 17 * plugins/object-embed-plugin-scripting.html: 18 * plugins/resources/plugin-frame.html: 19 Use TestNetscapePlugin, as the tests don't appear to have any real need for Flash. 20 21 * plugins/iframe-shims.html: Removed. This was a test for a chromium only feature 22 that never existed in WebKit. 23 24 * platform/mac/TestExpectations: 25 * platform/wincairo/TestExpectations: 26 Removed the deleted plugins/iframe-shims.html. 27 28 * platform/mac-wk2/TestExpectations: Skip snapshotting tests that use Flash, 29 because they make WebKitTestRunner crash now. Marked all other snapshotting tests 30 as Pass/Failure, because they don't really make any sense, and are only useful for 31 finsing crashes. 32 33 * platform/wk2/TestExpectations: Skipped a few remaining tests that use Flash. 34 These tests still run (and pass) under WebKit1, regardless of whether Flash is 35 installed, so they don't seem like very accurate tests. 36 1 37 2015-04-06 Brent Fulgham <bfulgham@apple.com> 2 38 -
trunk/LayoutTests/accessibility/inline-block-assertion.html
r176321 r182428 6 6 <body id="body"> 7 7 8 <embed src="../resources/test.swf" type="application/x-shockwave-flash" allowfullscreen="true" width="362" height="298" data-original-width="425" data-original-height="350">8 <embed> 9 9 <div pseudo="-webkit-plugin-replacement" style="display: inline-block; position: relative; width: 100; height: 100;" id="group"> 10 10 <iframe width="100%" id="iframe" style="max-height: 100%" height="350" src="resources/cake.png" frameborder="0" scrolling="no"></iframe> -
trunk/LayoutTests/accessibility/plugin.html
r157780 r182428 8 8 <object width=100 height=100> 9 9 <param name="movie"> 10 <embed src="../resources/test.swf" type="application/x-shockwave-flash">10 <embed type="application/x-webkit-test-netscape"> 11 11 </object> 12 12 -
trunk/LayoutTests/compositing/geometry/empty-embed-rects.html
r119992 r182428 11 11 <p>This testcase should not fire an assertion related to the clip rects root.</p> 12 12 <div style="position: absolute;"> 13 <embed type="application/x- shockwave-flash">13 <embed type="application/x-webkit-test-netscape"> 14 14 </div> 15 15 <div style="position: relative;"> 16 16 <div style="position: absolute;"></div> 17 <embed type="application/x- shockwave-flash">17 <embed type="application/x-webkit-test-netscape"> 18 18 </div> 19 19 </body> -
trunk/LayoutTests/fast/history/resources/subframe-with-plugin.html
r155361 r182428 2 2 <head></head> 3 3 <body> 4 <embed src="../../../plugins/resources/lines.swf"></embed>4 <embed type="application/x-webkit-test-netscape"></embed> 5 5 </body> 6 6 </html> -
trunk/LayoutTests/fast/images/embed-does-not-propagate-dimensions-to-object-ancestor.html
r121012 r182428 25 25 <object id="first" data="resources/mu.png" style="height: 100px; width:100px;"><embed height="300" width="300"></object> 26 26 <br> 27 <object id="second" data="resources/mu.png" style="" width="100" height="100"><embed height="300" width="300" type="application/x- shockwave-flash" src="../../plugins/resources/simple_blank.swf"></object>27 <object id="second" data="resources/mu.png" style="" width="100" height="100"><embed height="300" width="300" type="application/x-webkit-test-netscape"></object> 28 28 <br> 29 <object id="third" style="" width="100" height="100"><embed height="300" width="300" type="application/x- shockwave-flash" src="../../plugins/resources/simple_blank.swf"></object>29 <object id="third" style="" width="100" height="100"><embed height="300" width="300" type="application/x-webkit-test-netscape"></object> 30 30 <div id="console">FAILURE</div> 31 31 </body></html> -
trunk/LayoutTests/fast/loader/loadInProgress.html
r122687 r182428 21 21 <body onLoad="testForm();"> 22 22 <form name="LoginForm"> 23 <embed src="" type="application/x-shockwave-flash"></embed>23 <embed type="application/x-webkit-test-netscape"></embed> 24 24 </form> 25 25 </body> -
trunk/LayoutTests/fast/replaced/border-radius-clip.html
r157780 r182428 19 19 <br> 20 20 21 <embed s rc="../../resources/test.swf" style="border:3px solid black; background-color: lime; -webkit-border-radius: 32px; margin-bottom:-32px"21 <embed style="border:3px solid black; background-color: lime; -webkit-border-radius: 32px; margin-bottom:-32px" 22 22 quality="high" width="550" height="400" wmode="transparent" 23 type="application/x-shockwave-flash" 24 pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> 23 type="application/x-webkit-test-netscape"> 25 24 </embed> -
trunk/LayoutTests/fast/replaced/embed-display-none.html
r157780 r182428 4 4 5 5 <p>Should not see the embed below (it has display:none).</p> 6 <embed style="display:none" src="../../resources/test.swf"6 <embed style="display:none" 7 7 quality="high" width="550" height="400" 8 type="application/x-shockwave-flash" 9 pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> 8 type="application/x-webkit-test-netscape"> 10 9 </embed> 11 10 -
trunk/LayoutTests/platform/mac-wk2/TestExpectations
r182322 r182428 299 299 webkit.org/b/132766 fast/hidpi/filters-reference.html [ ImageOnlyFailure ] 300 300 301 # Plug-in snapshotting tests do not make much sense: 302 # - snapshotting is only supported for Flash, but we can't use Flash because it isn't installed everywhere; 303 # - so most of the tests use QuickTime, which doesn't support snapshotting, and is 32-bit only, thus failing to load in engineering builds. 304 plugins/snapshotting [ Pass Failure ] 305 # These two tests use Flash, so they trigger a release assertion. 306 plugins/snapshotting/autoplay-similar-to-dominant-after-delay.html [ Skip ] 307 plugins/snapshotting/print-snapshotted-plugin.html [ Skip ] 308 301 309 webkit.org/b/133227 plugins/snapshotting/set-plugin-size-to-tiny.html [ Failure ] 302 310 webkit.org/b/133227 plugins/snapshotting/quicktime-plugin-snapshotted.html [ Pass Failure ] -
trunk/LayoutTests/platform/mac/TestExpectations
r182281 r182428 180 180 # viewport meta tag support 181 181 fast/viewport 182 183 # The WebKit plugin implementation does not support iframe shims.184 webkit.org/b/46223 plugins/iframe-shims.html185 182 186 183 webkit.org/b/116640 plugins/plugin-initiate-popup-window.html -
trunk/LayoutTests/platform/wincairo/TestExpectations
r180871 r182428 1775 1775 fast/parser/pre-html5-parser-quirks.html 1776 1776 1777 # https://bugs.webkit.org/show_bug.cgi?id=462231778 # The WebKit plugin implementation does not support iframe shims.1779 plugins/iframe-shims.html1780 1781 1777 # Requires WebP support. 1782 1778 fast/canvas/canvas-toDataURL-webp.html -
trunk/LayoutTests/platform/wk2/TestExpectations
r182316 r182428 281 281 http/tests/security/javascriptURL/xss-ALLOWED-to-javascript-url-sub-frame-2-level.html 282 282 283 # These are plug-in tests that use Flash or QuickTime. We should convert these to use the test plug-in. 284 plugins/iframe-shims.html 285 plugins/embed-attributes-setting.html 283 # These tests use Flash, which is not a good idea, because it is not installed on all machines that run tests. 284 # WebKitTestRunner detects attempts to use Flash, and raises an assertion. 285 editing/pasteboard/paste-noplugin.html [ Skip ] 286 fast/dom/beforeload/flash-before-load.html [ Skip ] 287 fast/dom/beforeload/remove-flash-in-beforeload-listener.html [ Skip ] 288 fast/loader/sandboxed-plugin-crash.html [ Skip ] 289 plugins/hidden-iframe-with-swf-plugin.html [ Skip ] 290 plugins/plugin-document-load-prevented-userscript.html [ Skip ] 291 plugins/plugin-document-willSendRequest-null.html [ Skip ] 292 plugins/plugin-remove-readystatechange.html [ Skip ] 286 293 287 294 # This test checks that NPN_GetURL with a blank target will return an error if the window isn't opened. This behavior doesn't -
trunk/LayoutTests/plugins/crash-restoring-plugin-page-from-page-cache.html
r120417 r182428 64 64 <object> 65 65 66 <object type="application/x- shockwave-flash" width="500" height="375" id="ExamplePlugin">66 <object type="application/x-webkit-test-netscape" width="500" height="375" id="ExamplePlugin"> 67 67 <img src="resources/apple.gif"> 68 68 </object> -
trunk/LayoutTests/plugins/object-embed-plugin-scripting.html
r120417 r182428 38 38 width = 0 height = 0 39 39 > 40 <PARAM name="src" value="resources/simple_blank.swf">41 40 <PARAM name="autostart" value="false"> 42 41 … … 104 103 width = 0 height = 0 105 104 > 106 <param name="src" value="resources/simple_blank.swf">107 105 <param name="autostart" value="false"> 108 106 <param name="enablejavascript" value="true"> -
trunk/LayoutTests/plugins/resources/plugin-frame.html
r180441 r182428 23 23 <table> 24 24 <tr> 25 <td><embed src="foo.swf" type="application/x-shockwave-flash"></td>25 <td><embed type="application/x-webkit-test-netscape"></td> 26 26 </tr> 27 27 </table> -
trunk/Tools/ChangeLog
r182386 r182428 1 2015-04-03 Alexey Proskuryakov <ap@apple.com> 2 3 Reduce the dependency on Flash in regression tests 4 https://bugs.webkit.org/show_bug.cgi?id=143391 5 6 Reviewed by Anders Carlsson. 7 8 * WebKitTestRunner/TestController.cpp: (WTR::TestController::decidePolicyForPluginLoad): 9 Only allow QuickTime and the test plug-in. 10 1 11 2015-04-06 Youenn Fablet <youenn.fablet@crf.canon.fr> 2 12 -
trunk/Tools/WebKitTestRunner/TestController.cpp
r182260 r182428 47 47 #include <WebKit/WKPageInjectedBundleClient.h> 48 48 #include <WebKit/WKPagePrivate.h> 49 #include <WebKit/WKPluginInformation.h> 49 50 #include <WebKit/WKPreferencesRefPrivate.h> 50 51 #include <WebKit/WKProtectionSpace.h> … … 1315 1316 if (m_shouldBlockAllPlugins) 1316 1317 return kWKPluginLoadPolicyBlocked; 1318 1319 #if PLATFORM(MAC) 1320 WKStringRef bundleIdentifier = (WKStringRef)WKDictionaryGetItemForKey(pluginInformation, WKPluginInformationBundleIdentifierKey()); 1321 if (!bundleIdentifier) 1322 return currentPluginLoadPolicy; 1323 1324 if (WKStringIsEqualToUTF8CString(bundleIdentifier, "com.apple.QuickTime Plugin.plugin")) 1325 return currentPluginLoadPolicy; 1326 1327 if (WKStringIsEqualToUTF8CString(bundleIdentifier, "com.apple.testnetscapeplugin")) 1328 return currentPluginLoadPolicy; 1329 1330 RELEASE_ASSERT_NOT_REACHED(); // Please don't use any other plug-ins in tests, as they will not be installed on all machines. 1331 #else 1317 1332 return currentPluginLoadPolicy; 1333 #endif 1318 1334 } 1319 1335
Note: See TracChangeset
for help on using the changeset viewer.