Userscripts on special documents should be tested
authorbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Aug 2010 22:54:04 +0000 (22:54 +0000)
committerbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Aug 2010 22:54:04 +0000 (22:54 +0000)
commit8615f020c994f69af273de72ff67c0a1445e962f
tree190c6e38b9903fded2fa0fb7d8870641096eb816
parent2034100eb177ee1ed068997a02f26cd06f23525a
Userscripts on special documents should be tested
<https://bugs.webkit.org/show_bug.cgi?id=44725>

Reviewed by Dave Hyatt.

Add tests of user script injection in audio, image, plugin, and video documents.

* userscripts/user-script-audio-document.html: Added. Test injection of user scripts
    in an audio document.
* userscripts/user-script-audio-document-expected.txt: Added.
* userscripts/user-script-image-document.html: Added. Test injection of user scripts
    in an image document.
* userscripts/user-script-image-document-expected.txt: Added.
* userscripts/user-script-plugin-document.html: Added. Test injection of user scripts
    in a plugin document.
* userscripts/user-script-plugin-document-expected.txt: Added.
* userscripts/user-script-video-document.html: Added. Test injection of user scripts
    in a video document.
* userscripts/user-script-video-document-expected.txt: Added.

* userscripts/resources/abe.png: Copied from media/content/abe.png.
* userscripts/resources/counting.mp4: Copied from media/content/counting.mp4.
* userscripts/resources/test.wav: Copied from media/content/test.wav.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@66144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
LayoutTests/ChangeLog
LayoutTests/userscripts/resources/abe.png [new file with mode: 0644]
LayoutTests/userscripts/resources/counting.mp4 [new file with mode: 0644]
LayoutTests/userscripts/resources/test.wav [new file with mode: 0644]
LayoutTests/userscripts/user-script-audio-document-expected.txt [new file with mode: 0644]
LayoutTests/userscripts/user-script-audio-document.html [new file with mode: 0644]
LayoutTests/userscripts/user-script-image-document-expected.txt [new file with mode: 0644]
LayoutTests/userscripts/user-script-image-document.html [new file with mode: 0644]
LayoutTests/userscripts/user-script-plugin-document-expected.txt [new file with mode: 0644]
LayoutTests/userscripts/user-script-plugin-document.html [new file with mode: 0644]
LayoutTests/userscripts/user-script-video-document-expected.txt [new file with mode: 0644]
LayoutTests/userscripts/user-script-video-document.html [new file with mode: 0644]