mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 14bd12d6 (#333041)
- Remove CefNavigationEntry::GetFrameName() (see http://crbug.com/477150#c5). - Devirtualize base::BindState (see http://crbug.com/486594). - Move Tuple to the base namespace.
This commit is contained in:
@@ -2027,9 +2027,11 @@ class V8TestHandler : public TestHandler {
|
||||
void OnBeforeClose(CefRefPtr<CefBrowser> browser) override {
|
||||
if (test_mode_ == V8TEST_ON_UNCAUGHT_EXCEPTION_DEV_TOOLS &&
|
||||
browser->IsPopup()) {
|
||||
// Generate the uncaught exception in the main browser.
|
||||
// Generate the uncaught exception in the main browser. Use a 200ms delay
|
||||
// because there's a bit of a lag between destroying the DevToolsAgent and
|
||||
// re-registering for uncaught exceptions.
|
||||
GetBrowser()->GetMainFrame()->ExecuteJavaScript(
|
||||
"window.setTimeout(test, 0);",
|
||||
"window.setTimeout(test, 200);",
|
||||
GetBrowser()->GetMainFrame()->GetURL(), 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user