summaryrefslogtreecommitdiffstats
path: root/WebKitTools/TestWebKitAPI/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'WebKitTools/TestWebKitAPI/Tests')
-rw-r--r--WebKitTools/TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/WebKitTools/TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp b/WebKitTools/TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp
index b7db746..0ccee5a 100644
--- a/WebKitTools/TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp
+++ b/WebKitTools/TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp
@@ -41,10 +41,7 @@ static void didFailProvisionalLoadWithErrorForFrame(WKPageRef page, WKFrameRef f
TEST_ASSERT(WKFrameGetFrameLoadState(frame) == kWKFrameLoadStateFinished);
WKURLRef url = WKFrameCopyProvisionalURL(frame);
- WKURLRef emptyURL = WKURLCreateWithUTF8CString("");
- TEST_ASSERT(WKURLIsEqual(url, emptyURL));
- WKRelease(url);
- WKRelease(emptyURL);
+ TEST_ASSERT(!url);
testDone = true;
}