OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "FrameTestHelpers.h" | 7 #include "FrameTestHelpers.h" |
8 #include "bindings/v8/ScriptController.h" | 8 #include "bindings/core/v8/ScriptController.h" |
9 #include "bindings/v8/V8DOMActivityLogger.h" | 9 #include "bindings/core/v8/V8DOMActivityLogger.h" |
10 #include "web/WebLocalFrameImpl.h" | 10 #include "web/WebLocalFrameImpl.h" |
11 #include "wtf/Forward.h" | 11 #include "wtf/Forward.h" |
12 #include "wtf/text/Base64.h" | 12 #include "wtf/text/Base64.h" |
13 #include <gtest/gtest.h> | 13 #include <gtest/gtest.h> |
14 #include <v8.h> | 14 #include <v8.h> |
15 | 15 |
16 using WebCore::ScriptController; | 16 using WebCore::ScriptController; |
17 using WebCore::ScriptSourceCode; | 17 using WebCore::ScriptSourceCode; |
18 using WebCore::V8DOMActivityLogger; | 18 using WebCore::V8DOMActivityLogger; |
19 using WebCore::toCoreStringWithUndefinedOrNullCheck; | 19 using WebCore::toCoreStringWithUndefinedOrNullCheck; |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 "HTMLFormElement.action | data:text/html;charset=utf-8,\n" | 302 "HTMLFormElement.action | data:text/html;charset=utf-8,\n" |
303 "blinkAddElement | form | post | data:text/html;charset=utf-8,\n" | 303 "blinkAddElement | form | post | data:text/html;charset=utf-8,\n" |
304 "blinkAddElement | form | post | data:text/html;charset=utf-8,"; | 304 "blinkAddElement | form | post | data:text/html;charset=utf-8,"; |
305 executeScriptInMainWorld(code); | 305 executeScriptInMainWorld(code); |
306 ASSERT_TRUE(verifyActivities("")); | 306 ASSERT_TRUE(verifyActivities("")); |
307 executeScriptInIsolatedWorld(code); | 307 executeScriptInIsolatedWorld(code); |
308 ASSERT_TRUE(verifyActivities(expectedActivities)); | 308 ASSERT_TRUE(verifyActivities(expectedActivities)); |
309 } | 309 } |
310 | 310 |
311 } // namespace | 311 } // namespace |
OLD | NEW |