2011-02-16 Anna Cavender <annacc@chromium.org>
authormihaip@chromium.org <mihaip@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Feb 2011 03:41:26 +0000 (03:41 +0000)
committermihaip@chromium.org <mihaip@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Feb 2011 03:41:26 +0000 (03:41 +0000)
        Reviewed by Mihai Parparita.

        http/tests/media should be served over HTTP (not from local file)
        https://bugs.webkit.org/show_bug.cgi?id=54028

        Removed special file:// treatment of http/tests/media
        Moved media-file.js and video-tests.js to http/tests/media so local server can access them.
        Update tests to point to new location of javascript libraries.

        * http/tests/media/media-file.js: Renamed from LayoutTests/media/media-file.js.
        * http/tests/media/pdf-served-as-pdf.html:
        * http/tests/media/reload-after-dialog.html:
        * http/tests/media/remove-while-loading.html:
        * http/tests/media/text-served-as-text.html:
        * http/tests/media/video-buffered.html:
        * http/tests/media/video-cancel-load.html:
        * http/tests/media/video-cookie.html:
        * http/tests/media/video-error-abort.html:
        * http/tests/media/video-load-twice.html:
        * http/tests/media/video-play-stall-seek.html:
        * http/tests/media/video-play-stall.html:
        * http/tests/media/video-play-suspend.html:
        * http/tests/media/video-referer.html:
        * http/tests/media/video-seekable-stall.html:
        * http/tests/media/video-served-as-text.html:
        * http/tests/media/video-test.js: Renamed from LayoutTests/media/video-test.js.
        * media/adopt-node-crash.html:
        * media/audio-constructor-preload.html:
        * media/audio-constructor-src.html:
        * media/audio-constructor.html:
        * media/audio-controls-rendering.html:
        * media/audio-data-url.html:
        * media/audio-delete-while-slider-thumb-clicked.html:
        * media/audio-delete-while-step-button-clicked.html:
        * media/audio-mpeg-supported.html:
        * media/audio-mpeg4-supported.html:
        * media/audio-play-event.html:
        * media/before-load-member-access.html:
        * media/broken-video.html:
        * media/constructors.html:
        * media/context-menu-actions.html:
        * media/controls-after-reload.html:
        * media/controls-css-overload.html:
        * media/controls-drag-timebar.html:
        * media/controls-right-click-on-timebar.html:
        * media/controls-strict.html:
        * media/controls-styling.html:
        * media/controls-without-preload.html:
        * media/event-attributes.html:
        * media/invalid-media-url-crash.html:
        * media/media-can-play-mpeg-audio.html:
        * media/media-can-play-mpeg4-video.html:
        * media/media-can-play-octet-stream.html:
        * media/media-can-play-ogg.html:
        * media/media-can-play-wav-audio.html:
        * media/media-captions.html:
        * media/media-constants.html:
        * media/media-fullscreen-inline.html:
        * media/media-fullscreen-not-in-document.html:
        * media/media-load-event.html:
        * media/media-startTime.html:
        * media/remove-from-document-no-load.html:
        * media/remove-from-document.html:
        * media/restore-from-page-cache.html:
        * media/unsupported-rtsp.html:
        * media/unsupported-tracks.html:
        * media/video-append-source.html:
        * media/video-aspect-ratio.html:
        * media/video-autoplay.html:
        * media/video-buffered.html:
        * media/video-can-play-type.html:
        * media/video-canvas-alpha.html:
        * media/video-canvas-source.html:
        * media/video-canvas.html-disabled:
        * media/video-click-dblckick-standalone.html:
        * media/video-controls-rendering.html:
        * media/video-controls-transformed.html:
        * media/video-controls-visible-audio-only.html:
        * media/video-controls-zoomed.html:
        * media/video-controls.html:
        * media/video-currentTime-delay.html:
        * media/video-currentTime-set.html:
        * media/video-currentTime-set2.html:
        * media/video-currentTime.html:
        * media/video-delay-load-event.html:
        * media/video-display-aspect-ratio.html:
        * media/video-display-none-crash.html:
        * media/video-display-toggle.html:
        * media/video-does-not-loop.html:
        * media/video-dom-autoplay.html:
        * media/video-dom-preload.html:
        * media/video-dom-src.html:
        * media/video-duration-known-after-eos.html:
        * media/video-error-does-not-exist.html:
        * media/video-frame-accurate-seek.html:
        * media/video-layer-crash.html:
        * media/video-load-networkState.html:
        * media/video-load-readyState.html:
        * media/video-loop.html:
        * media/video-muted.html:
        * media/video-no-audio.html:
        * media/video-no-autoplay.html:
        * media/video-pause-empty-events.html:
        * media/video-pause-immediately.html:
        * media/video-play-empty-events.html:
        * media/video-play-pause-events.html:
        * media/video-play-pause-exception.html:
        * media/video-played-collapse.html:
        * media/video-played-ranges-1.html:
        * media/video-played-reset.html:
        * media/video-poster-delayed.html:
        * media/video-poster-scale.html:
        * media/video-poster.html:
        * media/video-preload.html:
        * media/video-replaces-poster.html:
        * media/video-reverse-play-duration.html:
        * media/video-seek-by-small-increment.html:
        * media/video-seek-no-src-exception.html:
        * media/video-seek-past-end-paused.html:
        * media/video-seek-past-end-playing.html:
        * media/video-seekable.html:
        * media/video-seeking.html:
        * media/video-size-intrinsic-scale.html:
        * media/video-size.html:
        * media/video-source-error-no-candidate.html:
        * media/video-source-error.html:
        * media/video-source-inserted.html:
        * media/video-source-media.html:
        * media/video-source-moved.html:
        * media/video-source-none-supported.html:
        * media/video-source-removed.html:
        * media/video-source-type-params.html:
        * media/video-source-type.html:
        * media/video-source.html:
        * media/video-src-change.html:
        * media/video-src-invalid-remove.html:
        * media/video-src-none.html:
        * media/video-src-plus-source.html:
        * media/video-src-remove.html:
        * media/video-src-set.html:
        * media/video-src-source.html:
        * media/video-src.html:
        * media/video-timeupdate-during-playback.html:
        * media/video-timeupdate-reverse-play.html:
        * media/video-transformed.html:
        * media/video-volume-slider.html:
        * media/video-volume.html:
        * media/video-width-height.html:
        * media/video-zoom-controls.html:
        * media/video-zoom.html:
2011-02-16  Anna Cavender  <annacc@chromium.org>

        Reviewed by Mihai Parparita.

        http/tests/media should be served over HTTP (not from local file)
        https://bugs.webkit.org/show_bug.cgi?id=54028

        Removed special file:// treatment of http/tests/media

        * Scripts/old-run-webkit-tests:
        * Scripts/webkitpy/layout_tests/port/base.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78778 268f45cc-cd09-0410-ab3c-d52691b4dbfc

145 files changed:
LayoutTests/ChangeLog
LayoutTests/http/tests/media/media-file.js [moved from LayoutTests/media/media-file.js with 100% similarity]
LayoutTests/http/tests/media/pdf-served-as-pdf.html
LayoutTests/http/tests/media/reload-after-dialog.html
LayoutTests/http/tests/media/remove-while-loading.html
LayoutTests/http/tests/media/text-served-as-text.html
LayoutTests/http/tests/media/video-buffered.html
LayoutTests/http/tests/media/video-cancel-load.html
LayoutTests/http/tests/media/video-cookie.html
LayoutTests/http/tests/media/video-error-abort.html
LayoutTests/http/tests/media/video-load-twice.html
LayoutTests/http/tests/media/video-play-stall-seek.html
LayoutTests/http/tests/media/video-play-stall.html
LayoutTests/http/tests/media/video-play-suspend.html
LayoutTests/http/tests/media/video-referer.html
LayoutTests/http/tests/media/video-seekable-stall.html
LayoutTests/http/tests/media/video-served-as-text.html
LayoutTests/http/tests/media/video-test.js [moved from LayoutTests/media/video-test.js with 100% similarity]
LayoutTests/media/adopt-node-crash.html
LayoutTests/media/audio-constructor-preload.html
LayoutTests/media/audio-constructor-src.html
LayoutTests/media/audio-constructor.html
LayoutTests/media/audio-controls-rendering.html
LayoutTests/media/audio-data-url.html
LayoutTests/media/audio-delete-while-slider-thumb-clicked.html
LayoutTests/media/audio-delete-while-step-button-clicked.html
LayoutTests/media/audio-mpeg-supported.html
LayoutTests/media/audio-mpeg4-supported.html
LayoutTests/media/audio-play-event.html
LayoutTests/media/before-load-member-access.html
LayoutTests/media/broken-video.html
LayoutTests/media/constructors.html
LayoutTests/media/context-menu-actions.html
LayoutTests/media/controls-after-reload.html
LayoutTests/media/controls-css-overload.html
LayoutTests/media/controls-drag-timebar.html
LayoutTests/media/controls-right-click-on-timebar.html
LayoutTests/media/controls-strict.html
LayoutTests/media/controls-styling.html
LayoutTests/media/controls-without-preload.html
LayoutTests/media/event-attributes.html
LayoutTests/media/invalid-media-url-crash.html
LayoutTests/media/media-can-play-mpeg-audio.html
LayoutTests/media/media-can-play-mpeg4-video.html
LayoutTests/media/media-can-play-octet-stream.html
LayoutTests/media/media-can-play-ogg.html
LayoutTests/media/media-can-play-wav-audio.html
LayoutTests/media/media-captions.html
LayoutTests/media/media-constants.html
LayoutTests/media/media-fullscreen-inline.html
LayoutTests/media/media-fullscreen-not-in-document.html
LayoutTests/media/media-load-event.html
LayoutTests/media/media-startTime.html
LayoutTests/media/remove-from-document-no-load.html
LayoutTests/media/remove-from-document.html
LayoutTests/media/restore-from-page-cache.html
LayoutTests/media/unsupported-rtsp.html
LayoutTests/media/unsupported-tracks.html
LayoutTests/media/video-append-source.html
LayoutTests/media/video-aspect-ratio.html
LayoutTests/media/video-autoplay.html
LayoutTests/media/video-buffered.html
LayoutTests/media/video-can-play-type.html
LayoutTests/media/video-canvas-alpha.html
LayoutTests/media/video-canvas-source.html
LayoutTests/media/video-canvas.html-disabled
LayoutTests/media/video-click-dblckick-standalone.html
LayoutTests/media/video-controls-rendering.html
LayoutTests/media/video-controls-transformed.html
LayoutTests/media/video-controls-visible-audio-only.html
LayoutTests/media/video-controls-zoomed.html
LayoutTests/media/video-controls.html
LayoutTests/media/video-currentTime-delay.html
LayoutTests/media/video-currentTime-set.html
LayoutTests/media/video-currentTime-set2.html
LayoutTests/media/video-currentTime.html
LayoutTests/media/video-delay-load-event.html
LayoutTests/media/video-display-aspect-ratio.html
LayoutTests/media/video-display-none-crash.html
LayoutTests/media/video-display-toggle.html
LayoutTests/media/video-does-not-loop.html
LayoutTests/media/video-dom-autoplay.html
LayoutTests/media/video-dom-preload.html
LayoutTests/media/video-dom-src.html
LayoutTests/media/video-duration-known-after-eos.html
LayoutTests/media/video-error-does-not-exist.html
LayoutTests/media/video-frame-accurate-seek.html
LayoutTests/media/video-layer-crash.html
LayoutTests/media/video-load-networkState.html
LayoutTests/media/video-load-readyState.html
LayoutTests/media/video-loop.html
LayoutTests/media/video-muted.html
LayoutTests/media/video-no-audio.html
LayoutTests/media/video-no-autoplay.html
LayoutTests/media/video-pause-empty-events.html
LayoutTests/media/video-pause-immediately.html
LayoutTests/media/video-play-empty-events.html
LayoutTests/media/video-play-pause-events.html
LayoutTests/media/video-play-pause-exception.html
LayoutTests/media/video-played-collapse.html
LayoutTests/media/video-played-ranges-1.html
LayoutTests/media/video-played-reset.html
LayoutTests/media/video-poster-delayed.html
LayoutTests/media/video-poster-scale.html
LayoutTests/media/video-poster.html
LayoutTests/media/video-preload.html
LayoutTests/media/video-replaces-poster.html
LayoutTests/media/video-reverse-play-duration.html
LayoutTests/media/video-seek-by-small-increment.html
LayoutTests/media/video-seek-no-src-exception.html
LayoutTests/media/video-seek-past-end-paused.html
LayoutTests/media/video-seek-past-end-playing.html
LayoutTests/media/video-seekable.html
LayoutTests/media/video-seeking.html
LayoutTests/media/video-size-intrinsic-scale.html
LayoutTests/media/video-size.html
LayoutTests/media/video-source-error-no-candidate.html
LayoutTests/media/video-source-error.html
LayoutTests/media/video-source-inserted.html
LayoutTests/media/video-source-media.html
LayoutTests/media/video-source-moved.html
LayoutTests/media/video-source-none-supported.html
LayoutTests/media/video-source-removed.html
LayoutTests/media/video-source-type-params.html
LayoutTests/media/video-source-type.html
LayoutTests/media/video-source.html
LayoutTests/media/video-src-change.html
LayoutTests/media/video-src-invalid-remove.html
LayoutTests/media/video-src-none.html
LayoutTests/media/video-src-plus-source.html
LayoutTests/media/video-src-remove.html
LayoutTests/media/video-src-set.html
LayoutTests/media/video-src-source.html
LayoutTests/media/video-src.html
LayoutTests/media/video-timeupdate-during-playback.html
LayoutTests/media/video-timeupdate-reverse-play.html
LayoutTests/media/video-transformed.html
LayoutTests/media/video-volume-slider.html
LayoutTests/media/video-volume.html
LayoutTests/media/video-width-height.html
LayoutTests/media/video-zoom-controls.html
LayoutTests/media/video-zoom.html
Tools/ChangeLog
Tools/Scripts/old-run-webkit-tests
Tools/Scripts/webkitpy/layout_tests/port/base.py

index d983e608ffe8cab9562ebe27080906ed0e171640..c4999e70392b8355f9637e120ec9f546822dd6e4 100644 (file)
@@ -1,3 +1,156 @@
+2011-02-16  Anna Cavender  <annacc@chromium.org>
+
+        Reviewed by Mihai Parparita.
+
+        http/tests/media should be served over HTTP (not from local file)
+        https://bugs.webkit.org/show_bug.cgi?id=54028
+
+        Removed special file:// treatment of http/tests/media
+        Moved media-file.js and video-tests.js to http/tests/media so local server can access them.
+        Update tests to point to new location of javascript libraries.
+
+        * http/tests/media/media-file.js: Renamed from LayoutTests/media/media-file.js.
+        * http/tests/media/pdf-served-as-pdf.html:
+        * http/tests/media/reload-after-dialog.html:
+        * http/tests/media/remove-while-loading.html:
+        * http/tests/media/text-served-as-text.html:
+        * http/tests/media/video-buffered.html:
+        * http/tests/media/video-cancel-load.html:
+        * http/tests/media/video-cookie.html:
+        * http/tests/media/video-error-abort.html:
+        * http/tests/media/video-load-twice.html:
+        * http/tests/media/video-play-stall-seek.html:
+        * http/tests/media/video-play-stall.html:
+        * http/tests/media/video-play-suspend.html:
+        * http/tests/media/video-referer.html:
+        * http/tests/media/video-seekable-stall.html:
+        * http/tests/media/video-served-as-text.html:
+        * http/tests/media/video-test.js: Renamed from LayoutTests/media/video-test.js.        
+        * media/adopt-node-crash.html:
+        * media/audio-constructor-preload.html:
+        * media/audio-constructor-src.html:
+        * media/audio-constructor.html:
+        * media/audio-controls-rendering.html:
+        * media/audio-data-url.html:
+        * media/audio-delete-while-slider-thumb-clicked.html:
+        * media/audio-delete-while-step-button-clicked.html:
+        * media/audio-mpeg-supported.html:
+        * media/audio-mpeg4-supported.html:
+        * media/audio-play-event.html:
+        * media/before-load-member-access.html:
+        * media/broken-video.html:
+        * media/constructors.html:
+        * media/context-menu-actions.html:
+        * media/controls-after-reload.html:
+        * media/controls-css-overload.html:
+        * media/controls-drag-timebar.html:
+        * media/controls-right-click-on-timebar.html:
+        * media/controls-strict.html:
+        * media/controls-styling.html:
+        * media/controls-without-preload.html:
+        * media/event-attributes.html:
+        * media/invalid-media-url-crash.html:
+        * media/media-can-play-mpeg-audio.html:
+        * media/media-can-play-mpeg4-video.html:
+        * media/media-can-play-octet-stream.html:
+        * media/media-can-play-ogg.html:
+        * media/media-can-play-wav-audio.html:
+        * media/media-captions.html:
+        * media/media-constants.html:
+        * media/media-fullscreen-inline.html:
+        * media/media-fullscreen-not-in-document.html:
+        * media/media-load-event.html:
+        * media/media-startTime.html:
+        * media/remove-from-document-no-load.html:
+        * media/remove-from-document.html:
+        * media/restore-from-page-cache.html:
+        * media/unsupported-rtsp.html:
+        * media/unsupported-tracks.html:
+        * media/video-append-source.html:
+        * media/video-aspect-ratio.html:
+        * media/video-autoplay.html:
+        * media/video-buffered.html:
+        * media/video-can-play-type.html:
+        * media/video-canvas-alpha.html:
+        * media/video-canvas-source.html:
+        * media/video-canvas.html-disabled:
+        * media/video-click-dblckick-standalone.html:
+        * media/video-controls-rendering.html:
+        * media/video-controls-transformed.html:
+        * media/video-controls-visible-audio-only.html:
+        * media/video-controls-zoomed.html:
+        * media/video-controls.html:
+        * media/video-currentTime-delay.html:
+        * media/video-currentTime-set.html:
+        * media/video-currentTime-set2.html:
+        * media/video-currentTime.html:
+        * media/video-delay-load-event.html:
+        * media/video-display-aspect-ratio.html:
+        * media/video-display-none-crash.html:
+        * media/video-display-toggle.html:
+        * media/video-does-not-loop.html:
+        * media/video-dom-autoplay.html:
+        * media/video-dom-preload.html:
+        * media/video-dom-src.html:
+        * media/video-duration-known-after-eos.html:
+        * media/video-error-does-not-exist.html:
+        * media/video-frame-accurate-seek.html:
+        * media/video-layer-crash.html:
+        * media/video-load-networkState.html:
+        * media/video-load-readyState.html:
+        * media/video-loop.html:
+        * media/video-muted.html:
+        * media/video-no-audio.html:
+        * media/video-no-autoplay.html:
+        * media/video-pause-empty-events.html:
+        * media/video-pause-immediately.html:
+        * media/video-play-empty-events.html:
+        * media/video-play-pause-events.html:
+        * media/video-play-pause-exception.html:
+        * media/video-played-collapse.html:
+        * media/video-played-ranges-1.html:
+        * media/video-played-reset.html:
+        * media/video-poster-delayed.html:
+        * media/video-poster-scale.html:
+        * media/video-poster.html:
+        * media/video-preload.html:
+        * media/video-replaces-poster.html:
+        * media/video-reverse-play-duration.html:
+        * media/video-seek-by-small-increment.html:
+        * media/video-seek-no-src-exception.html:
+        * media/video-seek-past-end-paused.html:
+        * media/video-seek-past-end-playing.html:
+        * media/video-seekable.html:
+        * media/video-seeking.html:
+        * media/video-size-intrinsic-scale.html:
+        * media/video-size.html:
+        * media/video-source-error-no-candidate.html:
+        * media/video-source-error.html:
+        * media/video-source-inserted.html:
+        * media/video-source-media.html:
+        * media/video-source-moved.html:
+        * media/video-source-none-supported.html:
+        * media/video-source-removed.html:
+        * media/video-source-type-params.html:
+        * media/video-source-type.html:
+        * media/video-source.html:
+        * media/video-src-change.html:
+        * media/video-src-invalid-remove.html:
+        * media/video-src-none.html:
+        * media/video-src-plus-source.html:
+        * media/video-src-remove.html:
+        * media/video-src-set.html:
+        * media/video-src-source.html:
+        * media/video-src.html:
+        * media/video-timeupdate-during-playback.html:
+        * media/video-timeupdate-reverse-play.html:
+        * media/video-transformed.html:
+        * media/video-volume-slider.html:
+        * media/video-volume.html:
+        * media/video-width-height.html:
+        * media/video-zoom-controls.html:
+        * media/video-zoom.html:
+
 2011-02-16  Adam Barth  <abarth@webkit.org>
 
         Reviewed by Daniel Bates.
index 5709ef827c29a732f0fe284f256045c18fa918f2..69dfc51a1799720f5b405fd201f70954e905a841 100644 (file)
@@ -2,7 +2,7 @@
 <html>
     <head>
         <title>PDF file served as 'application/pdf'</title>
-        <script src=../../../media/video-test.js></script>
+        <script src=video-test.js></script>
         <script>
             function loadedmetadata(evt) 
             {
index fe8e2c20708e1bac82c7487cbba490444c4eb8c2..943b026c36ff7a3ef3a3764dcfabefa53db23438 100644 (file)
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
-        <script src=../../../media/media-file.js></script>
-        <script src=../../../media/video-test.js></script>
+        <script src=media-file.js></script>
+        <script src=video-test.js></script>
         <script>
             var loadCount = 0;
 
index 0ea6a60c5a77e15f33c474308a53370679cd027e..b7aea82085ce4bc3304d69041d5f801e332cc907 100644 (file)
@@ -1,6 +1,6 @@
 <video></video>
 <p>Test that removing a media element from the tree while loading does not crash.</p>
-<script src=../../../media/video-test.js></script>
+<script src=video-test.js></script>
 <script>
 waitForEvent('loadedmetadata', function () {
     run("document.body.removeChild(video)");
index 0ec31fcb7ff6d3b1f46f83fdd921fc83eed65f69..59752056139c76b4efe0c7ec7f5639437be29183 100644 (file)
@@ -2,7 +2,7 @@
 <html>
     <head>
         <title>text file served as 'text/plain'</title>
-        <script src=../../../media/video-test.js></script>
+        <script src=video-test.js></script>
         <script>
             function loadedmetadata(evt) 
             {
index e958edfc3258dcae1a126b1335a3b717f35368f9..9eb75a0adbe3ecd15a5020d429011d77bc0184e4 100644 (file)
@@ -5,8 +5,8 @@
 <p>Start playing a video with preloading enabled, do a seek near the
   end and check multiple buffered timeranges have been created.</p>
 <video id="video" preload="auto" autobuffer></video>
-<script src=../../../media/video-test.js></script>
-<script src=../../../media/media-file.js></script>
+<script src=video-test.js></script>
+<script src=media-file.js></script>
 <script>
     function delayedSeek() {
         testExpected("video.buffered.length", 1, "==");
index 1b7054f3ca1f0ec7202f51079e288a14dfb8c1e8..08f504b7f8d38c0cc1bee45fd0b564fff8fb3850 100644 (file)
@@ -7,8 +7,8 @@
   If this test is successful it will terminate with a blank page.
   This test should finish without crashing.
 
-  <script src=../../../media/media-file.js></script>
-  <script src=../../../media/video-test.js></script>
+  <script src=media-file.js></script>
+  <script src=video-test.js></script>
   <video controls id="video"></video>
 
   <textarea id="child_content" style="display: none;">
index 8d5408db9fbae11cebaba37b410a22b5ea3eb7e3..cb0f43c5cdfc3d502ca90f4b88f1a9e4a62bbcf8 100644 (file)
@@ -3,8 +3,8 @@
 </head>
 <body onload="loadCookie()">
 <video id="video"></video>
-<script src=../../../media/video-test.js></script>
-<script src=../../../media/media-file.js></script>
+<script src=video-test.js></script>
+<script src=media-file.js></script>
 <script>
     if (window.layoutTestController) {
         layoutTestController.dumpAsText();
index 79d35c5e71a815766b625fba9d35bccd97cb124d..b64c869594ede3f27bb54c0c91e5c660119dd33b 100644 (file)
@@ -2,8 +2,8 @@
 <html>
     <head>
         <title>'abort' event test</title>
-        <script src=../../../media/media-file.js></script>
-        <script src=../../../media/video-test.js></script>
+        <script src=media-file.js></script>
+        <script src=video-test.js></script>
         <script>
             var didLoad = false;
 
index 0337035ab9796affbb923d1cf5f3507804b3c5fd..165ec3c29ee1df6c812ffaf37a1d6c068ba11c8b 100644 (file)
@@ -1,7 +1,7 @@
 <html>
 <head>
-<script src=../../../media/media-file.js></script>
-<script src=../../../media/video-test.js></script>
+<script src=media-file.js></script>
+<script src=video-test.js></script>
 <script>
     var file = findMediaFile("video", "http://127.0.0.1:8000/resources/test");
 
index 24a103e39642189ac10439eea217df25f508a2fa..03d87448ab6cb1d47579aaa12d5a4db1e4ea20b8 100644 (file)
@@ -1,6 +1,6 @@
 <video controls></video>
 <p>Test that playback can be resumed by seeking backwards after load stalls.</p>
-<script src=../../../media/video-test.js></script>
+<script src=video-test.js></script>
 <script>
 
     var waitingCount = 0;
index 4dbecda58cc8b624b8d98d4ad721274ef7671294..969ec22325f611c9a8b43a68ba905a689e712b55 100644 (file)
@@ -1,6 +1,6 @@
 <video></video>
 <p>Test that stalled, timeupdate and waiting events are sent when media load stalls in the middle.</p>
-<script src=../../../media/video-test.js></script>
+<script src=video-test.js></script>
 <script>
 
     var timeupdateCount = 0;
index bc25c1d9084606a417d9178e257971b06c747206..5789e73d58c60e289c5385d82125319b49938206 100644 (file)
@@ -1,7 +1,7 @@
 <html>
   <head>
-      <script src=../../../media/media-file.js></script>
-      <script src=../../../media/video-test.js></script>
+      <script src=media-file.js></script>
+      <script src=video-test.js></script>
       <script>
           function start() {
               findMediaElement();
index 5876e7711758f677f970222a267c7959ec77f79e..7953c60547464516188c417b923dffdfbb52f66a 100644 (file)
@@ -3,8 +3,8 @@
 </head>
 <body onload="loadCookieAndReferer()">
 <video id="video"></video>
-<script src=../../../media/video-test.js></script>
-<script src=../../../media/media-file.js></script>
+<script src=video-test.js></script>
+<script src=media-file.js></script>
 <script>
     if (window.layoutTestController) {
         layoutTestController.setAlwaysAcceptCookies(true);
index fac6d0a947ba42944109c907b544355564ec629f..9326e2aa6f2516d6ef5072e06cadcd5cd78d6273 100644 (file)
@@ -1,6 +1,6 @@
 <video></video>
 <p>Test seekable range when video load is incomplete.</p>
-<script src=../../../media/video-test.js></script>
+<script src=video-test.js></script>
 <script>
 waitForEvent('canplay', function () {
     test("video.seekable");
index c1d9a6648727e973edcd91a7af171cf11366dc81..69ef3254d4fcc0beccb3c739a605af83ba67e8df 100644 (file)
@@ -2,8 +2,8 @@
 <html>
     <head>
         <title>media file served as 'text/plain'</title>
-        <script src=../../../media/media-file.js></script>
-        <script src=../../../media/video-test.js></script>
+        <script src=media-file.js></script>
+        <script src=video-test.js></script>
         <script>
             function loadedmetadata(evt) 
             {
index 993a14da6e1668e97dcdef4f3e8ff4905d392888..4f3e861016a27d16aa0d8fcd8b349e2471ec1f97 100644 (file)
@@ -2,7 +2,7 @@
 
 <html>
     <head>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/media-file.js></script>
 
         <script>
 
index d3a104fdada4692a3bb98df627682a7f67519935..da582b95dc06d68643f4000b2ce0e0d175a16d81 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <head>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
 
index 078f905bc87f7c75935d0f594f2ae0623bece90c..b9eb336cc8fc30f94e3b7226f5f9ac35af305f5a 100644 (file)
@@ -1,7 +1,7 @@
 <body>
 <p>Test that Audio("url") constructor loads the specified resource.</p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     var audioFile = findMediaFile("audio", "content/test");
     var audio = new Audio(audioFile);
index 5c13e2600b653c0c212c297c40cb3e20a52342c3..00971e07cfe639fd46a90cc071738e4cadd49dde 100644 (file)
@@ -1,8 +1,8 @@
 <body>
 <p>Test that Audio() object loads the resource after src attribute is set and load() is called.</p>
 
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 
 <script>
     var audio = new Audio();
index 43e0c1dbf2a9a332f570ea606e0968a971a12e7d..d75410b5d9ffb7400b33ada8a4fddf04492af746 100644 (file)
@@ -3,7 +3,7 @@
         <style>
             audio { background-color: blue; } 
         </style>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <script>
             function test()
             {
index 9dd2b379fcbbc959d305a69fa7fd73fbd7164eea..8386769ef4e457f9c866d74e3d7621246089af13 100644 (file)
@@ -1,6 +1,6 @@
 <html>
     <head>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
         
index 97866c950709e752fc22b0d5e1f2a83c530eb11e..5ef8d7e52187bc279f848a7b347296423bf71d3c 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html>
     <head>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <script>
             if (window.layoutTestController) {
                 layoutTestController.dumpAsText();
index d087d5c7070a3a9a3cb572b9c3553b8c0fcff672..0aa7896e45582762be4117b4e018592990bfbe9a 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html>
     <head>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <script>
             if (window.layoutTestController) {
                 layoutTestController.dumpAsText();
index 1407f6d90d933b8d40453bd29ebe1b30c19526d6..0ec28879e8a3ce8420b8d4143e594943dee8d781 100644 (file)
@@ -5,7 +5,7 @@
 
     <audio controls></audio>
     
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script>
         var timeupdateEventCount = 0;
         mediaElement = document.getElementsByTagName('audio')[0];
index bab7f654e82ca766956ada1ee8f3f3fc64de9e93..270d5c3aa86a32cf59cfe2b67feda8256eb45eb6 100644 (file)
@@ -5,7 +5,7 @@
 
     <audio controls></audio>
     
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script>
         var timeupdateEventCount = 0;
         mediaElement = document.getElementsByTagName('audio')[0];
index 315df8ef830b757da0164a1484e1347c9a944370..596a205752be8911a55af27740387f666300334a 100644 (file)
@@ -1,8 +1,8 @@
 <html>
     <head>
         <title>'play' event</title>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
             function start()
index 58866a5f2f5eaf74736ff3f225cb3409490df17e..f2671d5dac3b81170cde0052576576997b9fa47f 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <head>
         <title>Test that accessing member of a non loaded video works.</title>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
         function test()
         {
index 3aa84247e2b7c25713dd10d35801d81af7369ebc..40234aa270e57310cb89ebd1fd5c17c991d9a314 100644 (file)
@@ -1,7 +1,7 @@
 <video controls></video>
 <p>Test that QuickTime file with broken content generates an error.<p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 
 <script>
     video.src = findMediaFile("video", "content/garbage");
index 61125eeeff7e91a43db73dcf8ea8c065d73b5750..3c844af9a5ad49f6929dd9114533b75e6b334f63 100644 (file)
@@ -2,7 +2,7 @@
 <p>Test that media constructors behave consistently.</p>
 <video></video>
 <audio></audio>
-<script src=video-test.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     var audioJS = new Audio();
     var videoElem = document.getElementsByTagName('video')[0];
index ae80f14b07b67253b7c975b31961a44961a410d9..993bd60249345e14f76dca6ce407fca4e2204164 100644 (file)
@@ -1,7 +1,7 @@
 <html>
 <head>
-        <script src="media-file.js"></script>
-        <script src=video-test.js></script>
+        <script src="../http/tests/media/media-file.js"></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
 
             function playing()
index 499823512e20259fc1574a34833ed7636a17f0b6..b0c7def69bee3f4d1811e3647a28bde51dbd7513 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src=media-file.js></script>
+    <script src=../http/tests/media/media-file.js></script>
     <script>
     var video;
     var loadedCount = 0;
index 8ac44b512be2084597b4591421ccdc193aa15266..5b680f5577f7ac3c0cf8f9e2dc9e3b422debc261 100644 (file)
@@ -12,7 +12,7 @@
                 display:none;
             }
         </style>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/video-test.js></script>
 </head>
 <body>
     <video class="nocontrols" width=300 height=200 controls></video>
index ea2416a7844b7674c88c7df99763dc8069a67744..402388f4c6d2298b7220ace15043d227218b0783 100644 (file)
@@ -2,8 +2,8 @@
 <html>
     <head>
         <title>drag timebar test</title>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             var x;
             var y;
index fad0373fd4b9aed281bd2ff1ae376fa533ed51d8..0e242346ae98296c25e444c1e26e425530e8d062 100644 (file)
@@ -1,8 +1,8 @@
 <html>
     <head>
         <title>right click on timebar test</title>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             if (window.layoutTestController)
                 layoutTestController.dumpAsText();
index de5b4de4441f68599e44d12f7927e8c60d8a9f6c..88560aa2a9ea8471d8f1d1c8b7c6c88696a11431 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML>
 <html>
     <head>
-        <script src="media-file.js"></script>
+        <script src="../http/tests/media/media-file.js"></script>
         <script src="video-paint-test.js"></script>
     </head>
     <body onload="setSrcByTagName('video', findMediaFile('video', 'content/test')); init()">
index 453ae4675e6264c534066bc780d2b12fe4116512..e3f0a11cb00b8ef37baf4b527a2b4057b2bb4e42 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="media-file.js"></script>
+    <script src="../http/tests/media/media-file.js"></script>
     <script src="video-paint-test.js"></script>
     <style>
     .override {
index 95b35314239b1f5a728369fa9eddcb0bc7a9d3ad..3eb35e7a3d569a37fa5bfc1a125ba0476434fafa 100644 (file)
@@ -1,6 +1,6 @@
 <html>
     <head>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <script>
             if (window.layoutTestController)
                 layoutTestController.waitUntilDone();
index bc9610add7096f8aa558864537ccb9a3aceb918d..10d092dc3c324bea7f20f9ce8319533954603f37 100644 (file)
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             var ratechangeCount = 0;
             var playingCount = 0;
index 73f9be65b283c7d24f1234b80d2f4bc994268d86..b66bbad645a2f2db993ad91f5c5b8cd3dbcd0943 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <body>
         <p>Tests that invalid media src url does not result in crash.</p>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             var invalid_url = "http:aa" + String.fromCharCode(0) + "%aa#aa";
             var error_count = 0;
index 98894698e943ce1a6d1d26bb5e5f08e5d3e68c3b..32355d5e461eaddab44033bd3ef770bd9ea829ef 100644 (file)
@@ -3,7 +3,7 @@
         <style>
             video { background-color: yellow; width: 320px; height: 240px;}
         </style>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             function start()
             {
index 7a9e67fbcaba4e708e19b75d80e5af30bc50eee0..c96325beb74d5b34b3edbac5f31628cf82e68e6f 100644 (file)
@@ -3,7 +3,7 @@
         <style>
             video { background-color: yellow; width: 320px; height: 240px;}
         </style>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             function start()
             {
index bc6fc395ce2853a2d7b9354cd73202c8a254f58d..e5a76b5661491e30557de59d76510f26a39bbd00 100644 (file)
@@ -5,7 +5,7 @@
         <style>
             video { background-color: yellow; width: 320px; height: 240px;}
         </style>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             function test()
             {
index 4ac9aa77157976dc4de0163f7c788b05831c9c50..885a987701f578c373b84e50206fbebf46565e80 100644 (file)
@@ -10,7 +10,7 @@
 
         <p>Test HTMLMediaElement <em>canPlayType()</em> method for ogg media containers.</p>
 
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             video = mediaElement = document.getElementsByTagName('video')[0];
 
index 94adeda5c40143f4a566fe89f7f1cd3b9fa5c8ac..750961cd8c4fe3634aec14a4a7841cd686190a92 100644 (file)
@@ -1,7 +1,7 @@
 <!doctype html>
 <html>
     <head>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             function start()
             {
index b2f45653e0352fc813255e41914696dd284e7c39..9361ee47b34a754b458cc9b6944132977d027385 100644 (file)
@@ -3,7 +3,7 @@
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <title>closed caption API test</title>
 
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script src=media-fullscreen.js></script>
 
         <script>
index b4ad1a6fd5f573b81a24efe60de086e0472ef013..f30d17359ea4d10edd0ce96b82bdf8cd02690ca2 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html>
 <head>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script type="text/javascript">
         function doTest () 
         {
index 571ec815dc3a2a5a569eb542fddf63ba6b848e6c..fd7008b88b07a10a309337cbd947456b6ea78f52 100644 (file)
@@ -3,7 +3,7 @@
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <title>inline &lt;video&gt; element fullscreen test</title>
 
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script src=media-fullscreen.js></script>
 
         <script>
index dbb5bee8a56fbf2d2044d6bb4c3350da398d538e..db01f48c2e69c5455e830cd2e4f6bbdbfaf19f70 100644 (file)
@@ -3,7 +3,7 @@
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <title>not in document &lt;video&gt; element fullscreen test</title>
 
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script src=media-fullscreen.js></script>
         <script>
             var movieInfo = 
index e8382bd5684e1db7ac40013853119d5184b99cc3..ad3a31e351d312862fac54d5019ffe83c11f2846 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <head>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
 
index afe21eb11fc291aeb4518dda089461c4387419d5..172633aeee81e3eb27cc75d58c833afe370607f1 100644 (file)
@@ -1,8 +1,8 @@
 <html>
     <head>
         <title>startTime attribute test</title>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
             function loadeddata()
index 1cb37bbd54bd35eabe01e7efd51b0ddfd7851bf8..76ff1450a22b89ad13e94b0f51f38a37f5947d9e 100644 (file)
@@ -1,7 +1,7 @@
 <video controls></video>
 <p>Test that removing a media element from the tree when no media has been loaded does not generate a loadstart event.</p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     didReceiveLoadStartEvent = false;
     video.addEventListener('loadstart', function() { didReceiveLoadStartEvent = true; });
index d95f6aa30500472abab69a02712895495bdad315..131991fbcb0b5ca2cc896e70bf41be7e14d8d186 100644 (file)
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
 <html>
 <head>
-    <script src=media-file.js></script>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/media-file.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script type="text/javascript" charset="utf-8">
         function doSetup()
         {
index a125e42845270df949d254d596249bac9829c0b0..47cc82b96ac19033ecb7b3084081bf1ffa13ea3f 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <head>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             var mediaFile = findMediaFile("video", "content/test");
             var loadCount = 0;
index bea9820b4eb309653493863b7622bf1f13e79099..6247573231fe81f4eec29d07acf5297582521cee 100644 (file)
@@ -3,7 +3,7 @@
 
 <p>Test that QuickTime file with RTSP URL generates a load error.<p>
 
-<script src=video-test.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     video.src = "rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/wwdc_2006_2_650.mov";
     waitForEvent("error", function () {
index 57d05c9bcb211fc45b6da3116d8a811d17ef0b2a..fbe9a278ecc5b1f0d66d7af28ec9a205d67d803d 100644 (file)
@@ -1,7 +1,7 @@
 <video controls></video>
 <p>Test that QuickTime file with unsupported track types only generates an error.<p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
 video.src = findMediaFile("video", "content/unsupported_track");
 waitForEvent("error", function () {
index 00b79ef3d787e99681ef981db50e027725490771..7de73f5d4aa97c5ec8915af59b6f46ed6f6bb99e 100644 (file)
@@ -1,6 +1,6 @@
 <video controls></video>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 
 <script>
     testExpected("video.currentSrc", "");
index ffd95a930e0b6840858adf81325f3dd7e203d9ed..3b260d44e21bc820539807bbd34fcaf1391f4e98 100644 (file)
@@ -1,4 +1,4 @@
-<script src="media-file.js"></script>
+<script src="../http/tests/media/media-file.js"></script>
 <script src="video-paint-test.js"></script>
 <body onload="setSrcByTagName('video', findMediaFile('video', 'content/test')); init()">
 <p>Test video sizing. You should see one bigger image (paused video) and 7 small ones of 1/4 its size. </p>
index e1d8ba211a615c50b843c221f23433d3af91f4bf..075cee9a39e1e6d3b3b5d2401854dcfdd15799dd 100644 (file)
@@ -1,6 +1,6 @@
 <video autoplay controls></video>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 
 <script>
     testExpected("video.autoplay", true);
index 2885fd4c20e4d68393357bc1cbf8ac1fb44a555b..8d94a8df31350b67f86f4f07743490a6a6ba2199 100644 (file)
@@ -1,6 +1,6 @@
 <video controls></video>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     testExpected("video.buffered.length", 0);
     testException("video.buffered.start(-1)", "DOMException.INDEX_SIZE_ERR");
index 873381d3fa502e8496017deb56e3bdc81efc22b8..7fe0d566386a4e73c24a135ef5a81bad292f9da6 100644 (file)
@@ -10,7 +10,7 @@
 
         <p>Test HTMLMediaElement <em>canPlayType()</em> method.</p>
 
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
         
             video = mediaElement = document.getElementsByTagName('video')[0];
index 9001ae14a2e987b0035662f5733388e10c5ae8a3..26a408724c6b7507013a7e5c8732b6d6463351bb 100644 (file)
@@ -1,6 +1,6 @@
 <html>
  <head>
-  <script src="media-file.js"></script>
+  <script src="../http/tests/media/media-file.js"></script>
 
   <script>
     if (window.layoutTestController) {
index 1b3efd768c22139238ca65ecc2a6a4a698bb7524..d93ea5a4f7a5cbff6bed0effc3dd92bba03bf33d 100644 (file)
@@ -2,8 +2,8 @@
     <head>
         <title>Drawing to canvas using video with source element does not taint canvas</title>
         <link rel="stylesheet" href="../fast/js/resources/js-test-style.css">
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script src="../fast/js/resources/js-test-pre.js"></script>
         <script>
             var ctx;
index 39ad495a3ef55280e2e6a13dc242a3328265e9f0..b160f63ae0f64d4c72c9406537a23e29c518fa69 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <head>
         <title>drawing &lt;video&gt; to &lt;canvas&gt;</title>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
             var ctx;
index 7a13e43203f099f3f912ed5e6156717aefdd0ee8..578aa1607e8b9890f63b9adaeb36eb0919b9e52e 100644 (file)
@@ -1,6 +1,6 @@
 <html>
     <head>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <script>
         if (window.layoutTestController) {
             layoutTestController.dumpAsText();
index 0ef508407c0794bdebdecf1c5413be8fd9f3f337..3e2e25285fc9549453a1c3c576aab6fc3877e819 100644 (file)
@@ -1,4 +1,4 @@
-<script src="media-file.js"></script>
+<script src="../http/tests/media/media-file.js"></script>
 <script src="video-paint-test.js"></script>
 <body>
 <p>Test controls placement. </p>
index e3ff1206bc2ba723b01295a4f08cf915abeab144..552df33fdf810668726f60d7b8038c9749049527 100644 (file)
@@ -12,8 +12,8 @@
     <video controls></video>
     <p>Test controls on transformed video.</p>
     <p>This test only runs in DRT!</p>
-    <script src=media-file.js></script>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/media-file.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script>
         testExpected("video.controls", null, '!=');
         waitForEvent('canplaythrough', function () {
index 826d359541dfaecb9173b59e168137ae474df894..5b49e9bd65a98570bb92b7119fc39a805edc2fc9 100644 (file)
@@ -5,7 +5,7 @@
             #no-video-media { background-color: yellow; width: 320px; height: 100px;} 
             #mouse-parking:hover { padding:8; background-color: blue; }
         </style>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <script>
             if (window.layoutTestController) {
                 layoutTestController.dumpAsText();
index 532524824c6c304a61d51f425ab44576ee57c927..9995e2aed8c9684d286205beaf36864385f768e9 100644 (file)
@@ -6,7 +6,7 @@
       margin: 50px;
     }
   </style>
-  <script src=media-file.js></script>
+  <script src=../http/tests/media/media-file.js></script>
   <script type="text/javascript" charset="utf-8">
     function runTest()
     {
@@ -28,7 +28,7 @@
     <video controls></video>
     <p>Test controls on zoomed video.</p>
     <p>This test only runs in DRT!</p>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script>
         testExpected("video.controls", null, '!=');
         waitForEvent('canplaythrough', function() {
index 6d596a4cdb182e76ebaddc34f7a2863d55101f59..59b6f06b9cc025d6cf7fc09f35e6bbfbc0e7f353 100644 (file)
@@ -1,7 +1,7 @@
 <video controls></video>
 <p>Test 'controls' attribute<p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     testExpected("video.controls", null, '!=');
     waitForEvent('canplaythrough', function () {
index 91ce6313684fb9722f494dbc2018a82707896d40..9edda7e89930f026f2c132a5e15307d4df778d8e 100644 (file)
@@ -5,8 +5,8 @@
     
     <p>Test a delay in playing the movie results in a canPlay event.</p>
     
-    <script src=media-file.js></script>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/media-file.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script>
     waitForEvent('canplaythrough',  
     function () { 
index 688081c1523f9d3875ddeb60555f915a27744179..42942593e3ee71ea13e4961712efcf25076f536d 100644 (file)
@@ -5,8 +5,8 @@
     
     <p>Test that setting currentTime changes the time, and that 'ended' event is fired in a reasonable amount of time</p>
     
-    <script src=media-file.js></script>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/media-file.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script>
     waitForEvent('canplaythrough',  
     function () { 
index 8221cca8d3046ad1e594f3714e648a6da14ca050..7ad24d281db0d83aea4b2233549f1397275ded90 100644 (file)
@@ -1,6 +1,6 @@
 <video controls></video>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     waitForEvent('canplaythrough',  
     function () { 
index f0f2a4537acf1d06726d56a60c89d98a74438557..04068cb80e093d33427a1eec1fd2bf7e5bd3497b 100644 (file)
@@ -1,6 +1,6 @@
 <video controls></video>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     testExpected("video.currentTime", 0)
     waitForEvent('canplaythrough', function() { testExpected("video.currentTime", 0); } );
index ae5e11c67960e7595bd0bc9239a8a494d1c87a97..4c84e85d5900fba0a9326b7c7fde26d5312303cb 100644 (file)
@@ -3,8 +3,8 @@
     <head>
         <title>delay document 'load' event test</title>
         <style> video { border: 3px solid red; } </style>
-        <script src=video-test.js></script>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <script>
             var video;
 
index b66da18cc5609c2819caf7bc3b78643668262b1c..7abd61ac4ee011ec8964d46b3e533f35f2cdf4d6 100644 (file)
@@ -1,6 +1,6 @@
 <video controls></video>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     testExpected("video.videoWidth", 0, "==");
     testExpected("video.videoHeight", 0, "==");
index 4f66c1c6ce647d944ee7d6fa9651f8ec4913e966..6ec1bbed14ad2cf832caac44f8dee3167b4bf18a 100644 (file)
@@ -1,7 +1,7 @@
 <video controls></video>
 <p>Test that pause() after changing display to "none" doesn't cause a crash.</p>
-<script src="media-file.js"></script>
-<script src="video-test.js"></script>
+<script src="../http/tests/media/media-file.js"></script>
+<script src="../http/tests/media/video-test.js"></script>
 <script>
     video.src = findMediaFile("video", "content/test");
     video.play();
index e3f9cd8179d81923a3fa7c03b8f424a46167db61..289b216387048b25d68397b800c05f342afb2ad7 100644 (file)
@@ -1,6 +1,6 @@
 <html>
     <head>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <script>
             function toggleDisplay()
             {
index 3a30d74f4e3568e9eaa3b00c68ff68220fea97cb..6433c5a94ba84b8db17fc9861a9c570c8532bb01 100644 (file)
@@ -2,7 +2,7 @@
 <html>
     <head>
         <style> video { height: 25px; width: 300px; } </style>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
     
         <script>
             var seekCount = 0;
index 12fa569200c26699eaa32093414c25fa4f34e83d..9bf146374a0dc38f3224949bd2ab28413673771f 100644 (file)
@@ -1,6 +1,6 @@
 <video controls></video>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     testExpected("video.autoplay", false);
     video.autoplay = true;
index 02f79de121cb237e397dc05c65f5910806991e87..aca3c50e41b53d41983392fb6c01ce1d7cfbcdbf 100644 (file)
@@ -1,6 +1,6 @@
 <html>
     <head>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             function setPreload(value, expected)
             {
index 0abdf7e0c131795ffcd1740940569866fcdd82c9..b563eed936373279cba96f0dbe65a7a5bf2f9351 100644 (file)
@@ -1,6 +1,6 @@
 <video controls></video>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     testExpected("video.currentSrc", "");
     var mediaFile = findMediaFile("video", "content/test");
index 9efa0f33ed717b24753fceeced7e06c56cef46c2..f671855eadf6103a8402b515758c372c721c01e7 100644 (file)
@@ -4,8 +4,8 @@
     <head>
         <title>local video</title>
 
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
             function ended()
index 35015bc502821e9ff273f6b203cbdf9a6d202722..d567c6e6b4c69251b49d22421fec973e233dee45 100644 (file)
@@ -1,6 +1,6 @@
 <p>Test that the media element is in correct state after load fails.</p>
 <video controls></video>
-<script src=video-test.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
 
     consoleWrite("");
index 07c936a0143f46b567462cac5b342d1f9121b25e..0425a7d000b50411f578c4ea2adf0c0ffb112882 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html>
     <head>
-        <script src="media-file.js"></script>
+        <script src="../http/tests/media/media-file.js"></script>
         <script src="video-paint-test.js"></script>
     </head>
     <body onload="setSrcByTagName('video', findMediaFile('video', 'content/test-25fps')); init()">
index b5844d616ddf66b92440d09db4b53a183a1509d2..5e2dba3d3ab620ade5a6e0fdf88132581712e140 100644 (file)
@@ -1,6 +1,6 @@
 <html>
     <head>
-        <script src="media-file.js"></script>
+        <script src="../http/tests/media/media-file.js"></script>
         <script src="video-paint-test.js"></script>
         <style>
             video { width:200px; border: 3px solid red; -webkit-box-reflect: below 5px; }
index eee64ac8ac51df5091df526748dc826d6dac718e..e198317ff6015f5ae6393a858841179d1eca77f5 100644 (file)
@@ -8,8 +8,8 @@
     events and end up with networkState >= NETWORK_LOADING.
      </p>
     
-    <script src=media-file.js></script>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/media-file.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script>
         function testNetworkState(expected, endit, op)
         {
index d0402acb93b63e8df94eaa269d5e104a648dbbbb..a7bec95ac4bc56445ace15b1608488aa56563afd 100644 (file)
@@ -1,6 +1,6 @@
 <video controls></video>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     function testReadyState(expected, endit, op)
     {
index f37cd68fba38eb12ec8211059949d75870681e26..7ad940eb4aae5a5d9828821c7f407987942c58ef 100644 (file)
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
     
         <script>
             var seekCount = 0;
index 431f8cd6ea3d2032fbc45c6924c49bac3d9566d9..2e1940ffc0d29189042094e77e73245c8f1868e3 100644 (file)
@@ -1,7 +1,7 @@
 <video controls></video>
 <p>Test 'muted' attribute<p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     testExpected("video.muted", false);
     run("video.muted = true");
index f411e151794ada04e7ac151505c8e92edd4228ce..fb79b5cb0b0d7b5ba08666048a2a5b0bd5318ecc 100644 (file)
@@ -1,6 +1,6 @@
 <html>
     <head>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <script>
             if (window.layoutTestController)
                 layoutTestController.waitUntilDone();
index 38920ceaa662a47be7e17f57a495ca0135e3081e..7fc4e59a7a640ccbd8e7f10b2cad73b0e3284ab9 100644 (file)
@@ -1,7 +1,7 @@
 <video controls></video>
 <p>Test that play event does not fire when "src" set with no autoplay attribute.</p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     testExpected("video.paused", true);
 
index 9c157db9a6b3531a30f7d2e1575a9df0b2e3a17d..e9093a05582a7d60cb4461cdfd46594ff9fee826 100644 (file)
@@ -1,7 +1,7 @@
 <video controls></video>
 <p>Test that pause() from EMPTY network state triggers load()</p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     video.src = findMediaFile("video", "content/test");
     testExpected("video.networkState", HTMLMediaElement.NETWORK_NO_SOURCE);
index aa36036cb2fb3d1f0ee3ec0889634125a68db5c9..159f63fec5c5c2319606562da4ed64024c2e484d 100644 (file)
@@ -1,8 +1,8 @@
 <html>
     <head>
         <title>Test pause() pauses the clock immediately</title>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             var timeAfterPause;
 
index dea1480bec65065138294b0739b4751f6bc8a731..8d1abfb27a2e000e8c5b876da8aba73e1b8a3780 100644 (file)
@@ -3,8 +3,8 @@
 
     <video controls></video>
     <p>Test that play() from EMPTY network state triggers load() and async play event.</p>
-    <script src=media-file.js></script>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/media-file.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script>
         testExpected("video.networkState", HTMLMediaElement.NETWORK_EMPTY);
     
index 87ec7812f2bb0c63c3fb24ee064c274c1324fe4b..0dd2e33cc7cb0dfa8dfc96b61fd07cf295a88399 100644 (file)
@@ -1,7 +1,7 @@
 <video controls></video>
 <p>Test that calling play() and pause() triggers async play, timeupdate and pause events.</p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     video.src = findMediaFile("video", "content/test.mp4");
 
index de624016c09a2aaa9b6e43aa3a3f06a40d044ef5..2f6f86e92f1072353bd77726ed9f93f868a14241 100644 (file)
@@ -4,7 +4,7 @@
 
 <p>Video has no src. Test that the playing event is not dispatched.</p>
 
-<script src=video-test.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     waitForEventAndFail('playing');
 
index 5e81fb4355c7686c49bc8577abf7a2447c5b9e08..3280ed22f15e0d4f1f0b79878f9f27f7f61dea53 100644 (file)
@@ -1,8 +1,8 @@
 <html>
     <head>
         <title>Test of 'played' attribute</title>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script src=video-played.js></script>
         <script>
     
index 801316082e3e7c06a56f3a75f86c4aa59777b0c6..58e3a59a6c301a58428be03e41559231665d0053 100644 (file)
@@ -1,8 +1,8 @@
 <html>
     <head>
         <title>Test of 'played' attribute</title>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script src=video-played.js></script>
         <script>
     
index dbc25e6c7e8a7d527564690040b6e6c6df72712f..72da0540b6f9e289dc2bb0d78669efbc71cd2ee8 100644 (file)
@@ -1,8 +1,8 @@
 <html>
     <head>
         <title>Test of 'played' attribute</title>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script src=video-played.js></script>
         <script>
     
index ac74f23396ed730b96e9f2f35a6e43d2e0554858..77f6431ffe8d28ebec7c5792938c298452fdfbad 100644 (file)
@@ -3,8 +3,8 @@
 <html>
     <head>
         <title>Delayed load of poster should not overwrite intrinsic size of video</title>
-        <script src=video-test.js></script>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <style>
             video {
                 border: 3px solid red;
index f87507d741ae063117d854ba2e878cb3684cd5e9..9866c701cf84b2d7ed5bfe5808a03353ac55543f 100644 (file)
@@ -3,7 +3,7 @@
 <html>
     <head>
         <title>'poster' aspect ratio test</title>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <style> 
             video { 
                 border: 3px solid red; 
index 188cf2dcd30ee2acf974fb1abea79c78c9a1b311..64e655d64b6bace64ff6150b16caa90e41d69b21 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <head>
         <title>&lt;video&gt; element with poster size test</title>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             var posterInfo = 
             {
index e264b888f9ed8a70bca527295d19d64b3d96449c..3e8f79f7e5437440b593a5821f98008636322389 100644 (file)
@@ -2,8 +2,8 @@
 
 <html>
     <head>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
             var timer = null;
index b99055e6f38d410cef5dff396786f1526783992c..f628ec13d4e4dec828a7715372704bb4db67e5dc 100644 (file)
@@ -2,7 +2,7 @@
 <html>
 <head>
     <script src="video-paint-test.js"></script>
-    <script src="media-file.js"></script>
+    <script src="../http/tests/media/media-file.js"></script>
     <script type="text/javascript" charset="utf-8">
         function doSetup()
         {
index a43c53da55cc6dbe99f634730c68682e880ad57c..63e4fb3cf58f1c41bbc459b48ae0f147dec88e6a 100644 (file)
@@ -4,8 +4,8 @@
     <head>
         <title>local video</title>
 
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
 
index 12aa8ddcb830e27ed0b401427deecb7a4473a9ed..73bce9e89814cd1a6765cf6205295378af21c43e 100644 (file)
@@ -1,8 +1,8 @@
 <!DOCTYPE HTML>
 <html>
     <head>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
             var seekedEventCount = 0;
index 7d304aec2760fc0d202779b3dfdab4cc53653b34..cf0aacc238ae81812968f60e29acf6b0d6bb8991 100644 (file)
@@ -5,7 +5,7 @@
     
     <p>Test that seeking video with no 'src' attribute throws an INVALID_STATE_ERR exception.</p>
 
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script>
         testExpected("video.networkState", HTMLMediaElement.NETWORK_EMPTY);
         testExpected("video.readyState", HTMLMediaElement.HAVE_NOTHING);
index e9c784ea71e5a8f7a42bdc7d1cd3666756c0c868..b5d6b543d24625b10bbbfce2c99850a4a93cf33e 100644 (file)
@@ -1,8 +1,8 @@
 
 <video controls></video>
 <p>Test that seeking paused video past it's duration time sets currentTime to duration and leaves video paused.</p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
 
     waitForEvent('canplaythrough', function () { 
index 9191d3b9164fd7b319c2017e0488ed5c60109a80..eb36a96d353415d56ca432f80573904819e4f4eb 100644 (file)
@@ -3,8 +3,8 @@
 
 <video loop controls></video>
 <p>Test that seeking video with 'loop' past it's end rewinds to the beginning and continues playback.</p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     var timeupdateEventCount = 0;
 
index d7366a8fe8af6a34e0f19b212ad1633ef9a86874..797a1e2aadb2344b449548ea5539d9b826d25019 100644 (file)
@@ -1,6 +1,6 @@
 <video controls></video>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     testExpected("video.seekable.length", 0);
     testException("video.seekable.start(-1)", "DOMException.INDEX_SIZE_ERR");
index a8c6b5aec9efc1369440ef5cc9342eb1ce9a1094..a38d3ef0118f1e032ef8cbd76d41a3f4d6d5deba 100644 (file)
@@ -3,8 +3,8 @@
  goes back to false when seeking completes, and that a 'seeked' event
  is fired for each seek
  </p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
 
     var seekedCount = 0;
index 22eb4cbd8063446667fc921dbdea2ed8e629c9d9..cdd52905a9d2d2c62ee7c1bc5216d9e5f305f2c7 100644 (file)
@@ -2,7 +2,7 @@
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <title>&lt;video&gt; element intrinsic size test</title>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
 
index c237ff0a0c884a2362ba8ba9ad7583aa7af4336d..3e69b2c589d06c48e9c3cee1e3d3b4c47f2f1a48 100644 (file)
@@ -1,8 +1,8 @@
 <html>
     <head>
         <title>&lt;video&gt; element size and resize test</title>
-        <script src=video-test.js></script>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
 
         <script>
             var movieInfo = 
index d16ea688fa6d319d39f58b01fe8b7998bc4ef4b9..81525bb6f31273324b9ece5a88cb9f42f9c90d91 100644 (file)
@@ -2,7 +2,7 @@
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <title>&lt;video&gt; and &lt;source&gt; error test</title>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
 
index bc5601851f326929200a03a0791f9da18e910e57..f1646042725ecc4769687d1110bf35f2be6693ec 100644 (file)
@@ -2,8 +2,8 @@
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <title>&lt;video&gt; and &lt;source&gt; error test</title>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
 
index 191aee4b35f8d6619206c7a9994bbf90eae8cc8d..b9d32ff27067a8874affb30c77b2521d0467425f 100644 (file)
@@ -2,7 +2,7 @@
 <html>
     <head>
         <title>networkState after inserting &lt;source&gt; test</title>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
     </head>
     <body>
         <video controls><source></video>
index a86625b8dff0849a011faaa4ae2b96cab0031c48..25930170c978886464a01395efe4570bb78dec28 100644 (file)
@@ -1,5 +1,5 @@
 <body>
-<script src=video-test.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <video controls>
     <source src=content/error.mpeg media="print">
     <source src=content/error2.mpeg media="screen and (min-device-width: 80000px)">
index ba5a96cc5201bbcd2f0f33377c3ea909711a5a36..ef4da9d3ef40ace4cac46104bfde7d39172868c5 100644 (file)
@@ -2,8 +2,8 @@
 <html>
     <head>
         <title>moving &lt;source&gt; element test</title>
-        <script src=video-test.js></script>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <script>
 
             var testInfo = 
index a3f3b9e26ecb58fa1eea27d85897dd61dab1aeb3..b0761b31c49a8cc0837482a4bbec8ee43a131848 100644 (file)
@@ -2,7 +2,7 @@
 <html>
 <head>
     <title>no usable &lt;source&gt; test</title>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script>
 
         function setup()
index 316b0eedd1c32ce83c2df028585893b2f51b9ad6..cc7d86eba8a548e7fe968a657d5ba15405598372 100644 (file)
@@ -2,8 +2,8 @@
 <html>
     <head>
         <title>crash after removing &lt;source&gt; test</title>
-        <script src=video-test.js></script>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <script>
 
             var testInfo = 
index 455a47954d4bd4892a4c68d4beee57871ad7c86f..e92e617b9565e62ad5989686723475da513770c3 100644 (file)
@@ -1,6 +1,6 @@
 <body>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <video controls>
     <source src=content/bogus.mpeg type="video/blahblah">
     <source src=content/test.mp4 type="video/mpeg; codecs=&quot;avc1.4D400C&quot;">
index 3488f540ec3f650fceead0e1f3a8360ae012ea26..67fc49b605ffd77171119518efe2771fcb9beb80 100644 (file)
@@ -3,8 +3,8 @@
 <head>
     <title> &lt;source&gt; @type attribute</title>
 
-    <script src=media-file.js></script>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/media-file.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script>
         function setup()
         {
index 31038db26becb195d1b17e6f8832cdd3359c7c8f..54093c875fd00b7c4f10c2d52be49af6e6fac35c 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <head>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
 
             function test()
index b186bd865ea4def0333960e50fa543a82005c494..511fa6c904cb66c1f88afcf417e77e6a7260a9e9 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <head>
-        <script src=video-test.js></script>
-        <script src=media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
         <script>
             var mediaFile;
             var loadedCount = 0;
index 88fe9ffa8e1578904616cca6348553def612a2da..f7cb800241f94ffcc8bf090d7a61ef14778a578b 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <head>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         
         <script>
index 2cc0ee9fced3b7bdb0bee9311a300cb9028cd07b..b7fa11c9be52fd1e12c785e82ce3ec05fedde699 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html>
     <head>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
             var state;
 
index b4740d607741cbb505ff862ff6e76938f3f71cc0..b4744e92bf15cede6709bc47fef5eae00320ef1d 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 <body>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/video-test.js></script>
 
     <video src=content/bogus.mpeg controls>
         <source src=content/test.mp4>
index 7efa76a4d809feaff315d7b828e53c9aaf19a40e..c9dfcd8249ab01184bd631bc049dffc94cb90816 100644 (file)
@@ -1,7 +1,7 @@
 <html>
 <body>
-    <script src=media-file.js></script>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/media-file.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <div id=panel></div>
     <script>
         var panel = document.getElementById("panel");
index b40e0d9472e087b3100113aa14db6952709e6691..b3dcaf4383c843901b087fb2e67588c3aa8fd2d0 100644 (file)
@@ -1,7 +1,7 @@
 <video controls></video>
 <div>Test that setting src attribute triggers load</div>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     var mediaFile = findMediaFile("video", "content/test");
     video.setAttribute('src', mediaFile);
index 9714fb7373eccbfefa0cc0890bd105a2c58de708..269eca4c9008f483da968c1102441289fb6d82a2 100644 (file)
@@ -1,6 +1,6 @@
 <body>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <div id=panel></div>
 <script>
     var panel = document.getElementById("panel");
index bda4c15df814f796f5bba0834786773ecb2a2b22..2e380023f9bb863117c4090c45dbd10cb7f8fe97 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <head>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
         <script>
 
             function test()
index 13a52dec2d4a5d62169864d07e0672bd8eb0cfa0..04c99bd2cd1a90b0f126dfbf41afbe94c3cdd26e 100644 (file)
@@ -6,8 +6,8 @@
     <p>
     Test 'timeupdate' events are posted while playing but not while paused.
     </p>
-    <script src=media-file.js></script>
-    <script src=video-test.js></script>
+    <script src=../http/tests/media/media-file.js></script>
+    <script src=../http/tests/media/video-test.js></script>
     <script>
         setSrcByTagName("video", findMediaFile("video", "content/test"));
     
index eda31278156b1002baac08e80acbafffad8cddfc..a95faa5db0f0b36a20a2aa0e8a9223edc235092c 100644 (file)
@@ -2,8 +2,8 @@
 
 <html>
     <head>
-        <script src=media-file.js></script>
-        <script src=video-test.js></script>
+        <script src=../http/tests/media/media-file.js></script>
+        <script src=../http/tests/media/video-test.js></script>
 
         <script>
 
index 3c1a72b7d79dd3cf26cde44c6353c9bdd26f84a0..f198d2e5ed62dac00311c618e7668920d46029bd 100644 (file)
@@ -1,4 +1,4 @@
-<script src="media-file.js"></script>
+<script src="../http/tests/media/media-file.js"></script>
 <script src="video-paint-test.js"></script>
 <body>
 <style>
index ca8d7c8b155973e774c555a32efa891b4249dd36..4d227c1d754036a9d63ac6990b4a6439b7f44e84 100644 (file)
@@ -1,7 +1,7 @@
 <html>
 <head>
     <title>Test rendering of volume slider of video tag</title>
-    <script src=media-file.js></script>
+    <script src=../http/tests/media/media-file.js></script>
     <script>
         var video;
 
index 4d871fb6f09a7d5f22fe667ef717ed8fe71331d4..02a31d8ac391b2b0d3c2c3d3a739378066acc106 100644 (file)
@@ -1,7 +1,7 @@
 <video controls></video>
 <p>Test 'volume' attribute<p>
-<script src=media-file.js></script>
-<script src=video-test.js></script>
+<script src=../http/tests/media/media-file.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     testExpected("video.volume", 1.0);
     run("video.volume = 0.5");
index 3b4e831402dc8cac8597c4f18a7bbba06297943d..094b95e5e7cbc8b17e263f82a5352494bb11dcbe 100644 (file)
@@ -1,5 +1,5 @@
 <video width=100 height=50 controls></video>
-<script src=video-test.js></script>
+<script src=../http/tests/media/video-test.js></script>
 <script>
     testExpected("video.width", 100);
     testExpected("video.height", 50);
index dea901150a09d4e5940e2abbdb963db1fb18a1eb..812a637fa182c56082d08d64a5cf789882c29e3b 100644 (file)
@@ -10,7 +10,7 @@
         -webkit-transform: rotate(10deg);
       }
     </style>
-    <script src="media-file.js"></script>
+    <script src="../http/tests/media/media-file.js"></script>
     <script src="video-paint-test.js"></script>
 </head>
 <body onload="setSrcByTagName('video', findMediaFile('video', 'content/test')); init()">
index 8dc86a373584902736a82b420a2c1c0805ada8a9..92a2ebb75c956e4c4b56809d2eb7fcc497924c8c 100644 (file)
@@ -1,7 +1,7 @@
 <html>
 <head>
     <style> video { zoom: 150%; border: 3px solid red; } </style>
-    <script src=media-file.js></script>
+    <script src=../http/tests/media/media-file.js></script>
     <script>
         function init()
         {
index daaed9a4363050e1a661eb8e260f72df50145806..17c665475c045f12c0a2195bb46aecf17ef3c2cb 100644 (file)
@@ -1,3 +1,15 @@
+2011-02-16  Anna Cavender  <annacc@chromium.org>
+
+        Reviewed by Mihai Parparita.
+
+        http/tests/media should be served over HTTP (not from local file)
+        https://bugs.webkit.org/show_bug.cgi?id=54028
+
+        Removed special file:// treatment of http/tests/media
+
+        * Scripts/old-run-webkit-tests:
+        * Scripts/webkitpy/layout_tests/port/base.py:
+
 2011-02-16  Mihai Parparita  <mihaip@chromium.org>
 
         Reviewed by Ojan Vafai.
index c56cb1c21b2a90199271a94998677e2f190779da..33c7a72ab7158ae6d74b95455d77d14a68daed56 100755 (executable)
@@ -766,7 +766,7 @@ for my $test (@tests) {
                     print OUT "$errorMessagePath\n";
                 }
             }
-        } elsif ($test !~ /^http\/tests\/local\// && $test !~ /^http\/tests\/ssl\// && $test !~ /^http\/tests\/wml\// && $test !~ /^http\/tests\/media\//) {
+        } elsif ($test !~ /^http\/tests\/local\// && $test !~ /^http\/tests\/ssl\// && $test !~ /^http\/tests\/wml\//) {
             my $path = canonpath($test);
             $path =~ s/^http\/tests\///;
             print OUT "http://127.0.0.1:$httpdPort/$path$suffixExpectedHash\n";
index 91113e2291effe510e9695bd48a19f81e0d72aec..de9d8f0effd8805d1798b8293e8e394bd01ad505 100644 (file)
@@ -356,9 +356,8 @@ class Port(object):
         # Make http/tests/local run as local files. This is to mimic the
         # logic in run-webkit-tests.
         #
-        # TODO(dpranke): remove the media reference and the SSL reference?
-        if (port and not relative_path.startswith("local/") and
-            not relative_path.startswith("media/")):
+        # TODO(dpranke): remove the SSL reference?
+        if (port and not relative_path.startswith("local/")):
             if relative_path.startswith("ssl/"):
                 port += 443
                 protocol = "https"