[Curl] Test gardening
authorBasuke.Suzuki@sony.com <Basuke.Suzuki@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Jul 2018 03:34:57 +0000 (03:34 +0000)
committerBasuke.Suzuki@sony.com <Basuke.Suzuki@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Jul 2018 03:34:57 +0000 (03:34 +0000)
https://bugs.webkit.org/show_bug.cgi?id=188034

Unreviewed WinCairo gardening.

* httpxmlhttprequest/simple-sync.html: Added.
* platform/wincairo/TestExpectations:

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

LayoutTests/ChangeLog
LayoutTests/http/tests/xmlhttprequest/simple-sync.html [new file with mode: 0644]
LayoutTests/platform/wincairo/TestExpectations

index 3f4320d..8765737 100644 (file)
@@ -1,3 +1,13 @@
+2018-07-25  Basuke Suzuki  <Basuke.Suzuki@sony.com>
+
+        [Curl] Test gardening
+        https://bugs.webkit.org/show_bug.cgi?id=188034
+
+        Unreviewed WinCairo gardening.
+
+        * httpxmlhttprequest/simple-sync.html: Added.
+        * platform/wincairo/TestExpectations:
+
 2018-07-25  Zalan Bujtas  <zalan@apple.com>
 
         REGRESSION(r227577) Text on TV & Movies page doesn't wrap properly in iTunes
diff --git a/LayoutTests/http/tests/xmlhttprequest/simple-sync.html b/LayoutTests/http/tests/xmlhttprequest/simple-sync.html
new file mode 100644 (file)
index 0000000..db99f71
--- /dev/null
@@ -0,0 +1,19 @@
+<body>\r
+    <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=188033">bug 188033</a>:\r
+    Syncronous XMLHTTPRequest crashes on WinCairo.</p>\r
+    \r
+    <div id=result>result: </div>\r
+    \r
+    <script>\r
+    if (window.testRunner)\r
+      testRunner.dumpAsText();\r
+    \r
+    req = new XMLHttpRequest;\r
+    req.open("GET", "resources/print-referer.cgi", false);\r
+    req.send(null);\r
+    if (req.responseText == document.URL)\r
+      document.getElementById("result").firstChild.data += "OK";\r
+    else\r
+      document.getElementById("result").firstChild.data += req.responseText;\r
+    </script>\r
+</body>\r
index fa209ab..0e01d29 100644 (file)
@@ -859,6 +859,9 @@ http/tests/websocket/tests/hybi/websocket-cookie-overwrite-behavior.html [ Failu
 
 http/tests/websocket/tests/hybi/contentextensions/block-cookies.php [ Timeout ]
 
+# XMLHTTPRequest (sync)
+http/tests/xmlhttprequest/simple-sync.html [ Crash ]
+
 #///////////////////////////////////////////////////////////////////////////////
 # Issue categories below are shared with other platforms (primarily AppleWin)
 #///////////////////////////////////////////////////////////////////////////////