OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stddef.h> |
| 6 |
5 #include "base/base64.h" | 7 #include "base/base64.h" |
6 #include "base/command_line.h" | 8 #include "base/command_line.h" |
7 #include "base/json/json_reader.h" | 9 #include "base/json/json_reader.h" |
8 #include "base/json/json_writer.h" | 10 #include "base/json/json_writer.h" |
9 #include "base/values.h" | 11 #include "base/values.h" |
| 12 #include "build/build_config.h" |
10 #include "content/public/browser/devtools_agent_host.h" | 13 #include "content/public/browser/devtools_agent_host.h" |
11 #include "content/public/browser/render_view_host.h" | 14 #include "content/public/browser/render_view_host.h" |
12 #include "content/public/browser/web_contents.h" | 15 #include "content/public/browser/web_contents.h" |
13 #include "content/public/common/url_constants.h" | 16 #include "content/public/common/url_constants.h" |
14 #include "content/public/test/browser_test_utils.h" | 17 #include "content/public/test/browser_test_utils.h" |
15 #include "content/public/test/content_browser_test.h" | 18 #include "content/public/test/content_browser_test.h" |
16 #include "content/public/test/content_browser_test_utils.h" | 19 #include "content/public/test/content_browser_test_utils.h" |
17 #include "content/public/test/test_navigation_observer.h" | 20 #include "content/public/test/test_navigation_observer.h" |
18 #include "content/shell/browser/shell.h" | 21 #include "content/shell/browser/shell.h" |
19 #include "net/dns/mock_host_resolver.h" | 22 #include "net/dns/mock_host_resolver.h" |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 GURL("javascript:x=1"), | 479 GURL("javascript:x=1"), |
477 nullptr, | 480 nullptr, |
478 gfx::Size()); | 481 gfx::Size()); |
479 WaitForLoadStop(window->web_contents()); | 482 WaitForLoadStop(window->web_contents()); |
480 Attach(); | 483 Attach(); |
481 SendCommand("Page.reload", nullptr, false); | 484 SendCommand("Page.reload", nullptr, false); |
482 // Should not crash at this point. | 485 // Should not crash at this point. |
483 } | 486 } |
484 | 487 |
485 } // namespace content | 488 } // namespace content |
OLD | NEW |