2009-09-28 Shinichiro Hamaji <hamaji@chromium.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Sep 2009 18:51:10 +0000 (18:51 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Sep 2009 18:51:10 +0000 (18:51 +0000)
        Reviewed by Darin Adler.

        Move message-port-multi.js from resources to script-tests
        https://bugs.webkit.org/show_bug.cgi?id=29798

        * fast/events/message-port-multi-expected.txt:
        * fast/events/message-port-multi.html:
        * fast/events/resources/message-port-multi.js: Removed.
        * fast/events/script-tests/message-port-multi.js: Added.
        (channel.port2.onmessage):

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

LayoutTests/ChangeLog
LayoutTests/fast/events/message-port-multi-expected.txt
LayoutTests/fast/events/message-port-multi.html
LayoutTests/fast/events/script-tests/message-port-multi.js [moved from LayoutTests/fast/events/resources/message-port-multi.js with 98% similarity]

index 7fce347..c885d73 100644 (file)
@@ -1,3 +1,16 @@
+2009-09-28  Shinichiro Hamaji  <hamaji@chromium.org>
+
+        Reviewed by Darin Adler.
+
+        Move message-port-multi.js from resources to script-tests
+        https://bugs.webkit.org/show_bug.cgi?id=29798
+
+        * fast/events/message-port-multi-expected.txt:
+        * fast/events/message-port-multi.html:
+        * fast/events/resources/message-port-multi.js: Removed.
+        * fast/events/script-tests/message-port-multi.js: Added.
+        (channel.port2.onmessage):
+
 2009-09-28  Charles Wei  <charles.wei@torchmobile.com.cn>
 
         Reviewed by Nikolas Zimmermann.
index 8328d10..1538c0f 100644 (file)
@@ -9,6 +9,9 @@ PASS channel.port1.postMessage("null port", [channel3.port1, null, channel3.port
 PASS channel.port1.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: Type error.
 PASS channel.port1.postMessage("notAnArray", channel3.port1) threw exception TypeError: Type error.
 PASS channel.port1.postMessage("notASequence", [{length: 3}]) threw exception TypeError: Type error.
+PASS successfullyParsed is true
+
+TEST COMPLETE
 PASS event.ports is null when no port sent
 PASS event.ports is null when empty array sent
 PASS event.ports contains two ports when two ports sent
index 76fb748..e2b064c 100644 (file)
@@ -1,3 +1,5 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
 <head>
 <link rel="stylesheet" href="../js/resources/js-test-style.css">
 <script src="../js/resources/js-test-pre.js"></script>
@@ -5,5 +7,7 @@
 <body>
 <p id="description"></p>
 <div id="console"></div>
-<script src="resources/message-port-multi.js"></script>
+<script src="script-tests/message-port-multi.js"></script>
+<script src="../js/resources/js-test-post.js"></script>
 </body>
+</html>
@@ -60,3 +60,4 @@ channel.port2.onmessage = function(event) {
         testFailed("Received unexpected message: " + event.data);
 }
 
+var successfullyParsed = true;