Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Unified Diff: webkit/data/layout_tests/chrome/fast/dom/window-postmessage-null.html

Issue 55025: Remove tests that have been upstreamed. Update test_expectations list... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/data/layout_tests/chrome/fast/dom/window-postmessage-null.html
===================================================================
--- webkit/data/layout_tests/chrome/fast/dom/window-postmessage-null.html (revision 12664)
+++ webkit/data/layout_tests/chrome/fast/dom/window-postmessage-null.html (working copy)
@@ -1,36 +0,0 @@
-<html>
-
-<script>
-if (window.layoutTestController) {
- layoutTestController.dumpAsText();
- layoutTestController.waitUntilDone();
-}
-
-function onmessage(evt) {
- alert(evt.data);
-
- if (evt.data == 'done' && window.layoutTestController)
- layoutTestController.notifyDone();
-}
-
-function run_test() {
- window.addEventListener('message', onmessage);
- try {
- window.postMessage('1', 1, '*')
- window.postMessage('2', "", '*')
- window.postMessage('3', window, '*')
- window.postMessage('4', { x: 1 }, '*')
- window.postMessage('5', null, '*')
- window.postMessage('6', void 0, '*')
- window.postMessage('done', '*')
- } catch(e) {
- alert(e);
- if (window.layoutTestController)
- layoutTestController.notifyDone();
- }
-}
-
-</script>
-<body onload='run_test()'>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698