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

Unified Diff: Source/WebKit/chromium/tests/WebFrameTest.cpp

Issue 14264012: Create errors (especially cancellation errors) internally to WebCore, rather (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 7 years, 8 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: Source/WebKit/chromium/tests/WebFrameTest.cpp
===================================================================
--- Source/WebKit/chromium/tests/WebFrameTest.cpp (revision 148844)
+++ Source/WebKit/chromium/tests/WebFrameTest.cpp (working copy)
@@ -1308,18 +1308,6 @@
EXPECT_FALSE(isRedirect);
return WebNavigationPolicyCurrentTab;
}
-
- virtual WebURLError cancelledError(WebFrame*, const WebURLRequest& request)
- {
- // Return a dummy error so the DocumentLoader doesn't assert when
- // the reload cancels it.
- WebURLError webURLError;
- webURLError.domain = "";
- webURLError.reason = 1;
- webURLError.isCancellation = true;
- webURLError.unreachableURL = WebURL();
- return webURLError;
- }
};
TEST_F(WebFrameTest, ReloadDoesntSetRedirect)

Powered by Google App Engine
This is Rietveld 408576698