Title: [102729] trunk/LayoutTests
Revision
102729
Author
dslo...@google.com
Date
2011-12-13 18:56:11 -0800 (Tue, 13 Dec 2011)

Log Message

https://bugs.webkit.org/show_bug.cgi?id=74456
[V8][Chromium] Reenable dedicated worker layout tests.

Chromium-specific results are caused by exception message text differences between JSC and V8.

Reviewed by David Levin.

* platform/chromium/fast/workers/use-machine-stack-expected.txt: Added.
* platform/chromium/fast/workers/worker-constructor-expected.txt: Added.
* platform/chromium/fast/workers/worker-location-expected.txt: Added.
* platform/chromium/fast/workers/worker-script-error-expected.txt: Added.
* platform/chromium/test_expectations.txt:

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (102728 => 102729)


--- trunk/LayoutTests/ChangeLog	2011-12-14 02:55:02 UTC (rev 102728)
+++ trunk/LayoutTests/ChangeLog	2011-12-14 02:56:11 UTC (rev 102729)
@@ -1,3 +1,18 @@
+2011-12-13  Dmitry Lomov  <dslo...@google.com>
+
+        https://bugs.webkit.org/show_bug.cgi?id=74456
+        [V8][Chromium] Reenable dedicated worker layout tests.
+
+        Chromium-specific results are caused by exception message text differences between JSC and V8.
+
+        Reviewed by David Levin.
+
+        * platform/chromium/fast/workers/use-machine-stack-expected.txt: Added.
+        * platform/chromium/fast/workers/worker-constructor-expected.txt: Added.
+        * platform/chromium/fast/workers/worker-location-expected.txt: Added.
+        * platform/chromium/fast/workers/worker-script-error-expected.txt: Added.
+        * platform/chromium/test_expectations.txt:
+
 2011-12-13  Filip Pizlo  <fpi...@apple.com>
 
         DFG OSR exit for UInt32ToNumber should roll forward, not roll backward

Added: trunk/LayoutTests/platform/chromium/fast/workers/use-machine-stack-expected.txt (0 => 102729)


--- trunk/LayoutTests/platform/chromium/fast/workers/use-machine-stack-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium/fast/workers/use-machine-stack-expected.txt	2011-12-14 02:56:11 UTC (rev 102729)
@@ -0,0 +1,4 @@
+Test worker thread stack usage. Should not crash.
+
+PASS (RangeError: Maximum call stack size exceeded)
+

Added: trunk/LayoutTests/platform/chromium/fast/workers/worker-constructor-expected.txt (0 => 102729)


--- trunk/LayoutTests/platform/chromium/fast/workers/worker-constructor-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium/fast/workers/worker-constructor-expected.txt	2011-12-14 02:56:11 UTC (rev 102729)
@@ -0,0 +1,11 @@
+Test Worker constructor functionality. Should print a series of PASS messages, followed with DONE.
+
+PASS: toString exception propagated correctly.
+PASS: trying to create workers recursively resulted in an exception (RangeError: Maximum call stack size exceeded)
+PASS: invoking Worker constructor without arguments resulted in an exception (TypeError: Not enough arguments)
+PASS: invoking Worker constructor with empty script URL resulted in an exception (Error: SYNTAX_ERR: DOM Exception 12)
+PASS: invoking Worker constructor with invalid script URL resulted in an exception (Error: SYNTAX_ERR: DOM Exception 12)
+PASS: onerror invoked for a script that could not be loaded.
+PASS: Successfully created worker.
+DONE
+

Added: trunk/LayoutTests/platform/chromium/fast/workers/worker-location-expected.txt (0 => 102729)


--- trunk/LayoutTests/platform/chromium/fast/workers/worker-location-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium/fast/workers/worker-location-expected.txt	2011-12-14 02:56:11 UTC (rev 102729)
@@ -0,0 +1,15 @@
+Test WorkerLocation properties.
+
+WorkerLocation: function WorkerLocation() { [native code] }
+typeof location: object
+location: file:<...>/fast/workers/resources/worker-common.js
+location.href: file:<...>/fast/workers/resources/worker-common.js
+location.protocol: file:
+location.host: 
+location.hostname: 
+location.port: 
+location.pathname: <...>/fast/workers/resources/worker-common.js
+location.search: 
+location.hash: 
+DONE
+

Added: trunk/LayoutTests/platform/chromium/fast/workers/worker-script-error-expected.txt (0 => 102729)


--- trunk/LayoutTests/platform/chromium/fast/workers/worker-script-error-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium/fast/workers/worker-script-error-expected.txt	2011-12-14 02:56:11 UTC (rev 102729)
@@ -0,0 +1,15 @@
+CONSOLE MESSAGE: line 10: Uncaught ReferenceError: foo is not defined
+Test Worker script error handling functionality. Should print a series of PASS messages, followed with DONE.
+
+PASS: onerror invoked for a script that has invalid syntax.
+PASS: onerror invoked for a script that has script error 'Uncaught ReferenceError: foo is not defined' at line 1.
+PASS: event listener invoked for a script that has script error 'Uncaught ReferenceError: foo is not defined' at line 1.
+PASS: onerror invoked for a script that has script error 'Uncaught ReferenceError: foo is not defined' at line 7.
+PASS: onerror invoked for a script that has script error 'Uncaught ReferenceError: bar is not defined' at line 3.
+message from worker: "PASS: onerror in worker context invoked for a script that has script error 'Uncaught ReferenceError: foo is not defined' at line 10 in worker-script-error-bubbled.js".
+PASS: onerror invoked for a script that has script error 'Uncaught ReferenceError: foo is not defined' at line 10.
+PASS: onerror invoked for a script that has script error 'Uncaught ReferenceError: foo is not defined' at line 10.
+PASS: message received from WorkerGlobalScope.onerror: onerror invoked for a script that has script error 'Uncaught ReferenceError: foo is not defined' at line 7.
+PASS: onerror invoked for an exception in setTimeout callback.
+DONE
+

Modified: trunk/LayoutTests/platform/chromium/test_expectations.txt (102728 => 102729)


--- trunk/LayoutTests/platform/chromium/test_expectations.txt	2011-12-14 02:55:02 UTC (rev 102728)
+++ trunk/LayoutTests/platform/chromium/test_expectations.txt	2011-12-14 02:56:11 UTC (rev 102729)
@@ -136,8 +136,42 @@
 // is implemented.
 WONTFIX SKIP : storage/domstorage/localstorage/storagetracker = PASS TIMEOUT FAIL
 
-// We use worker_uitests to run workers tests. Don't run them in test_shell.
-WONTFIX SKIP : fast/workers = PASS TIMEOUT FAIL
+// test_shell does not support shared workers
+WONTFIX SKIP : fast/workers/shared-worker-context-gc.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-event-listener.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-exception.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-frame-lifecycle.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-gc.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-in-iframe.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-lifecycle.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-load-error.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-location.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-navigator.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-replace-global-constructor.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-replace-self.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-shared.html = TIMEOUT
+WONTFIX SKIP : fast/workers/shared-worker-constructor.html = TEXT
+WONTFIX SKIP : fast/workers/shared-worker-name.html = TEXT
+WONTFIX SKIP : fast/workers/shared-worker-script-error.html = TEXT
+WONTFIX SKIP : fast/workers/shared-worker-simple.html = TIMEOUT
+WONTFIX SKIP : fast/workers/worker-crash-with-invalid-location.html = TEXT
+
+// test_shell does not support message ports
+BUGWK74459 SKIP : fast/workers/termination-with-port-messages.html = CRASH
+BUGWK74459 SKIP : fast/workers/worker-cloneport.html = CRASH
+BUGWK74459 SKIP : fast/workers/worker-context-multi-port.html = CRASH
+BUGWK74459 SKIP : fast/workers/worker-messageport-gc.html = CRASH
+BUGWK74459 SKIP : fast/workers/worker-messageport.html = CRASH
+BUGWK74459 SKIP : fast/workers/worker-multi-port.html = CRASH
+
+BUGWK74449 SKIP : fast/workers/storage = CRASH TIMEOUT
+
+BUGWK74449 SKIP : fast/workers/dedicated-worker-lifecycle.html = TIMEOUT
+BUGWK74449 SKIP : fast/workers/worker-close-more.html = TIMEOUT
+BUGWK74449 SKIP : fast/workers/worker-lifecycle.html = TIMEOUT
+BUGWK74466 : fast/workers/worker-script-error.html = PASS TIMEOUT FAIL
+
+// test_shell does not support workers
 WONTFIX SKIP : fast/files/workers = PASS TIMEOUT FAIL
 WONTFIX SKIP : fast/filesystem/workers = PASS TIMEOUT FAIL
 WONTFIX SKIP : fast/canvas/webgl/worker-data-view-test.html = PASS TIMEOUT FAIL
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to