Changeset 61859 in webkit
- Timestamp:
- Jun 25, 2010 6:32:18 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r61855 r61859 1 2010-06-25 Yury Semikhatsky <yurys@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 Can't see source when hitting debugger statement in evaled source 6 https://bugs.webkit.org/show_bug.cgi?id=41058 7 8 Test that debugger will stop at a debugger statement in code evaluated 9 in Web Inspector console. 10 11 * inspector/debugger-pause-in-eval-script-expected.txt: Added. 12 * inspector/debugger-pause-in-eval-script.html: Added. 13 1 14 2010-06-25 Mikhail Naganov <mnaganov@chromium.org> 2 15 -
trunk/LayoutTests/platform/qt/Skipped
r61757 r61859 5455 5455 # https://bugs.webkit.org/show_bug.cgi?id=41147 5456 5456 inspector/debugger-pause-on-debugger-statement.html 5457 inspector/debugger-pause-in-eval-script.html -
trunk/WebCore/ChangeLog
r61854 r61859 1 2010-06-25 Yury Semikhatsky <yurys@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 Can't see source when hitting debugger statement in evaled source 6 https://bugs.webkit.org/show_bug.cgi?id=41058 7 8 Test: inspector/debugger-pause-in-eval-script.html 9 10 * bindings/js/ScriptDebugServer.cpp: 11 (WebCore::ScriptDebugServer::sourceParsed): use lexical global object to figure out 12 where the script is compiled. Otherwise scripts typed in Web Inspector console will 13 be treated as ones evaluated in the context of Web Inspector and won't appear in the 14 scripts list. 15 * inspector/InspectorController.cpp: 16 (WebCore::InspectorController::didParseSource): cache script sources for eval's too. 17 1 18 2010-06-25 Lucas De Marchi <lucas.demarchi@profusion.mobi> 2 19 -
trunk/WebCore/bindings/js/ScriptDebugServer.cpp
r61749 r61859 324 324 return; 325 325 326 Page* page = toPage(exec-> dynamicGlobalObject());326 Page* page = toPage(exec->lexicalGlobalObject()); 327 327 if (!page) 328 328 return; -
trunk/WebCore/inspector/InspectorController.cpp
r61772 r61859 1773 1773 m_frontend->parsedScriptSource(sourceID, url, "", firstLine, worldType); 1774 1774 1775 m_scriptIDToContent.set(sourceID, data); 1776 1775 1777 if (url.isEmpty()) 1776 1778 return; … … 1786 1788 } 1787 1789 } 1788 1789 1790 m_sourceIDToURL.set(sourceID, url); 1790 m_scriptIDToContent.set(sourceID, data);1791 1791 } 1792 1792
Note: See TracChangeset
for help on using the changeset viewer.