Reduce the dependency on Flash in regression tests
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Apr 2015 16:28:52 +0000 (16:28 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Apr 2015 16:28:52 +0000 (16:28 +0000)
commit141cbe14e3122037ba1c632931a63cc81a364cfb
tree2b324ef140b99a7e4d416a019008257b6eb7af9a
parent993ff78606f0e3378ae8f2f7ead8352fcec5c001
Reduce the dependency on Flash in regression tests
https://bugs.webkit.org/show_bug.cgi?id=143391

Reviewed by Anders Carlsson.

Tools:

* WebKitTestRunner/TestController.cpp: (WTR::TestController::decidePolicyForPluginLoad):
Only allow QuickTime and the test plug-in.

LayoutTests:

* accessibility/inline-block-assertion.html:
* accessibility/plugin.html:
* compositing/geometry/empty-embed-rects.html:
* fast/history/resources/subframe-with-plugin.html:
* fast/images/embed-does-not-propagate-dimensions-to-object-ancestor.html:
* fast/loader/loadInProgress.html:
* fast/replaced/border-radius-clip.html:
* fast/replaced/embed-display-none.html:
* plugins/crash-restoring-plugin-page-from-page-cache.html:
* plugins/object-embed-plugin-scripting.html:
* plugins/resources/plugin-frame.html:
Use TestNetscapePlugin, as the tests don't appear to have any real need for Flash.

* plugins/iframe-shims.html: Removed. This was a test for a chromium only feature
that never existed in WebKit.

* platform/mac/TestExpectations:
* platform/wincairo/TestExpectations:
Removed the deleted plugins/iframe-shims.html.

* platform/mac-wk2/TestExpectations: Skip snapshotting tests that use Flash,
because they make WebKitTestRunner crash now. Marked all other snapshotting tests
as Pass/Failure, because they don't really make any sense, and are only useful for
finsing crashes.

* platform/wk2/TestExpectations: Skipped a few remaining tests that use Flash.
These tests still run (and pass) under WebKit1, regardless of whether Flash is
installed, so they don't seem like very accurate tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
19 files changed:
LayoutTests/ChangeLog
LayoutTests/accessibility/inline-block-assertion.html
LayoutTests/accessibility/plugin.html
LayoutTests/compositing/geometry/empty-embed-rects.html
LayoutTests/fast/history/resources/subframe-with-plugin.html
LayoutTests/fast/images/embed-does-not-propagate-dimensions-to-object-ancestor.html
LayoutTests/fast/loader/loadInProgress.html
LayoutTests/fast/replaced/border-radius-clip.html
LayoutTests/fast/replaced/embed-display-none.html
LayoutTests/platform/mac-wk2/TestExpectations
LayoutTests/platform/mac/TestExpectations
LayoutTests/platform/wincairo/TestExpectations
LayoutTests/platform/wk2/TestExpectations
LayoutTests/plugins/crash-restoring-plugin-page-from-page-cache.html
LayoutTests/plugins/iframe-shims.html [deleted file]
LayoutTests/plugins/object-embed-plugin-scripting.html
LayoutTests/plugins/resources/plugin-frame.html
Tools/ChangeLog
Tools/WebKitTestRunner/TestController.cpp