• timothy@apple.com's avatar
    Fix a bug in the Web Inspector where it would show scripts · 62fbb293
    timothy@apple.com authored
            from previous pages when toggling the debugger off and back on.
    
            https://bugs.webkit.org/show_bug.cgi?id=25095
            rdar://problem/6769970
    
            Reviewed by John Sullivan.
    
            * bindings/js/ScriptCachedFrameData.cpp:
            (WebCore::ScriptCachedFrameData::ScriptCachedFrameData): Null out the
            debugger for the scriptController. This balances the attachDebugger
            that was already in ScriptCachedFrameData::restore.
            (WebCore::ScriptCachedFrameData::restore): Clean up an if statement.
            * bindings/js/ScriptController.cpp:
            (WebCore::ScriptController::clearWindowShell): Clear the debugger from
            the current window before setting the new window.
            * inspector/JavaScriptDebugServer.cpp:
            (WebCore::JavaScriptDebugServer::recompileAllJSFunctions): Only accumulate
            source providers for code associated this as the debugger.
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@42400 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    62fbb293
ChangeLog 3.03 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.