Fixed WebKit.AttrStyle timing out on build.webkit.org.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Aug 2018 19:06:42 +0000 (19:06 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Aug 2018 19:06:42 +0000 (19:06 +0000)
* TestWebKitAPI/Tests/WebKitCocoa/AttrStyle.html: Changed from a URL that requires network
  access to one that doesn’t.
* TestWebKitAPI/Tests/WebKitCocoa/AttrStyle.mm:
(TEST): Updated expected value.

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

Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKitCocoa/AttrStyle.html
Tools/TestWebKitAPI/Tests/WebKitCocoa/AttrStyle.mm

index 73c9cf6..4561a29 100644 (file)
@@ -1,3 +1,12 @@
+2018-08-02  Dan Bernstein  <mitz@apple.com>
+
+        Fixed WebKit.AttrStyle timing out on build.webkit.org.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/AttrStyle.html: Changed from a URL that requires network
+          access to one that doesn’t.
+        * TestWebKitAPI/Tests/WebKitCocoa/AttrStyle.mm:
+        (TEST): Updated expected value.
+
 2018-08-02  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         [iOS] Keyboard becomes unresponsive after pressing delete while pressing down on a character key with accents
index 74f83f9..bba8842 100644 (file)
@@ -1,4 +1,4 @@
-<body background="https://example.com/body.png" dir="rtl" marginheight=20>
+<body background="about://example.com/body.png" dir="rtl" marginheight=20>
     <div id="target" align="center">
     </div>
 </body>
index 50d8772..b2820d9 100644 (file)
@@ -56,7 +56,7 @@ TEST(WebKit, AttrStyle)
 
     isDone = false;
     [webView evaluateJavaScript:@"document.body.getAttributeNode('background').style.cssText" completionHandler:^(NSString *result, NSError *error) {
-        EXPECT_STREQ("background-image: url(\"https://example.com/body.png\");", result.UTF8String);
+        EXPECT_STREQ("background-image: url(\"about://example.com/body.png\");", result.UTF8String);
         isDone = true;
     }];
     TestWebKitAPI::Util::run(&isDone);