| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 { | 313 { |
| 314 if (consoleMessage->type() == AssertMessageType && scriptDebugServer().pause
OnExceptionsState() != ScriptDebugServer::DontPauseOnExceptions) | 314 if (consoleMessage->type() == AssertMessageType && scriptDebugServer().pause
OnExceptionsState() != ScriptDebugServer::DontPauseOnExceptions) |
| 315 breakProgram(InspectorFrontend::Debugger::Reason::Assert, nullptr); | 315 breakProgram(InspectorFrontend::Debugger::Reason::Assert, nullptr); |
| 316 } | 316 } |
| 317 | 317 |
| 318 String InspectorDebuggerAgent::preprocessEventListener(LocalFrame* frame, const
String& source, const String& url, const String& functionName) | 318 String InspectorDebuggerAgent::preprocessEventListener(LocalFrame* frame, const
String& source, const String& url, const String& functionName) |
| 319 { | 319 { |
| 320 return scriptDebugServer().preprocessEventListener(frame, source, url, funct
ionName); | 320 return scriptDebugServer().preprocessEventListener(frame, source, url, funct
ionName); |
| 321 } | 321 } |
| 322 | 322 |
| 323 PassOwnPtr<ScriptSourceCode> InspectorDebuggerAgent::preprocess(LocalFrame* fram
e, const ScriptSourceCode& sourceCode) | 323 ScriptSourceCode InspectorDebuggerAgent::preprocess(LocalFrame* frame, const Scr
iptSourceCode& sourceCode) |
| 324 { | 324 { |
| 325 return scriptDebugServer().preprocess(frame, sourceCode); | 325 return scriptDebugServer().preprocess(frame, sourceCode); |
| 326 } | 326 } |
| 327 | 327 |
| 328 static PassRefPtr<JSONObject> buildObjectForBreakpointCookie(const String& url,
int lineNumber, int columnNumber, const String& condition, bool isRegex) | 328 static PassRefPtr<JSONObject> buildObjectForBreakpointCookie(const String& url,
int lineNumber, int columnNumber, const String& condition, bool isRegex) |
| 329 { | 329 { |
| 330 RefPtr<JSONObject> breakpointObject = JSONObject::create(); | 330 RefPtr<JSONObject> breakpointObject = JSONObject::create(); |
| 331 breakpointObject->setString(DebuggerAgentState::url, url); | 331 breakpointObject->setString(DebuggerAgentState::url, url); |
| 332 breakpointObject->setNumber(DebuggerAgentState::lineNumber, lineNumber); | 332 breakpointObject->setNumber(DebuggerAgentState::lineNumber, lineNumber); |
| 333 breakpointObject->setNumber(DebuggerAgentState::columnNumber, columnNumber); | 333 breakpointObject->setNumber(DebuggerAgentState::columnNumber, columnNumber); |
| (...skipping 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1556 visitor->trace(m_v8AsyncCallTracker); | 1556 visitor->trace(m_v8AsyncCallTracker); |
| 1557 visitor->trace(m_promiseTracker); | 1557 visitor->trace(m_promiseTracker); |
| 1558 visitor->trace(m_asyncOperations); | 1558 visitor->trace(m_asyncOperations); |
| 1559 visitor->trace(m_currentAsyncCallChain); | 1559 visitor->trace(m_currentAsyncCallChain); |
| 1560 visitor->trace(m_asyncCallTrackingListeners); | 1560 visitor->trace(m_asyncCallTrackingListeners); |
| 1561 #endif | 1561 #endif |
| 1562 InspectorBaseAgent::trace(visitor); | 1562 InspectorBaseAgent::trace(visitor); |
| 1563 } | 1563 } |
| 1564 | 1564 |
| 1565 } // namespace blink | 1565 } // namespace blink |
| OLD | NEW |