Skip to content
  • yurys@chromium.org's avatar
    inspector/debugger/pause-in-inline-script.html asserts in chromium debug · 0a0e576d
    yurys@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=77663
    
    Source/WebCore:
    
    Make ASSERT in MainResourceLoader not fail if debugger hits breakpoint
    in the main resource inline script.
    
    Reviewed by Pavel Feldman.
    
    Test: inspector/debugger/pause-in-inline-script.html
    
    * bindings/js/ScriptDebugServer.h:
    (WebCore::ScriptDebugServer::isPaused):
    (ScriptDebugServer):
    * bindings/v8/ScriptDebugServer.h:
    (ScriptDebugServer):
    * inspector/InspectorDebuggerAgent.cpp:
    (WebCore::InspectorDebuggerAgent::didClearMainFrameWindowObject):
    (WebCore):
    (WebCore::InspectorDebuggerAgent::isPaused):
    * inspector/InspectorDebuggerAgent.h:
    (InspectorDebuggerAgent):
    * inspector/InspectorInstrumentation.cpp:
    (WebCore::InspectorInstrumentation::isDebuggerPausedImpl):
    (WebCore):
    * inspector/InspectorInstrumentation.h:
    (InspectorInstrumentation):
    (WebCore::InspectorInstrumentation::isDebuggerPaused):
    (WebCore):
    * loader/MainResourceLoader.cpp:
    (WebCore::MainResourceLoader::didFinishLoading):
    
    LayoutTests:
    
    Reviewed by Pavel Feldman.
    
    * platform/chromium/test_expectations.txt: assert was fixed, remove
      custom expectation for inspector/debugger/pause-in-inline-script.html
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    0a0e576d