Chromium Code Reviews| Index: third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp |
| diff --git a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp b/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp |
| index 09dd04d20f69f950dafe23dd5592a70bb86a7c5d..f22edc9f0c2f01784ffdd8ea4d07cdad12fce4b0 100644 |
| --- a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp |
| +++ b/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp |
| @@ -324,7 +324,7 @@ TEST(RemoteFrameThrottlingTest, ThrottledLocalRoot) |
| WebFrameOwnerProperties properties; |
| FrameTestHelpers::TestWebFrameClient localFrameClient; |
| WebRemoteFrame* rootFrame = webView->mainFrame()->toWebRemoteFrame(); |
| - WebLocalFrame* localFrame = rootFrame->createLocalChild(WebTreeScopeType::Document, "", WebSandboxFlags::None, &localFrameClient, nullptr, properties); |
| + WebLocalFrame* localFrame = rootFrame->createLocalChild(WebTreeScopeType::Document, "name", "uniqueName", WebSandboxFlags::None, &localFrameClient, nullptr, properties); |
|
dcheng
2016/02/16 22:17:29
I would have expected name == uniqueName for most
Łukasz Anforowicz
2016/02/16 23:39:53
In product code, we have name == uniqueName for th
dcheng
2016/02/19 18:14:57
I don't know, it just seems weird to explicitly ha
Łukasz Anforowicz
2016/02/19 19:56:59
Good idea for introducing a helper - this reduces
|
| WebString baseURL("http://internal.test/"); |
| URLTestHelpers::registerMockedURLFromBaseURL(baseURL, "simple_div.html"); |