Ignore:
Timestamp:
Jan 19, 2011, 9:01:12 AM (14 years ago)
Author:
[email protected]
Message:

2011-01-19 Pavel Podivilov <[email protected]>

Reviewed by Yury Semikhatsky.

Web Inspector: [JSC] scripts have incorrect starting line (always 1).
https://bugs.webkit.org/show_bug.cgi?id=52721

  • inspector/debugger-scripts-expected.txt: Added.
  • inspector/debugger-scripts.html: Added.

2011-01-19 Pavel Podivilov <[email protected]>

Reviewed by Yury Semikhatsky.

Web Inspector: [JSC] scripts have incorrect starting line (always 1).
https://bugs.webkit.org/show_bug.cgi?id=52721

  • debugger/Debugger.cpp: (JSC::Debugger::recompileAllJSFunctions):
  • debugger/Debugger.h:
  • parser/Parser.h: (JSC::Parser::parse):
  • parser/SourceCode.h: (JSC::SourceCode::SourceCode):
  • parser/SourceProvider.h: (JSC::SourceProvider::startPosition):

2011-01-19 Pavel Podivilov <[email protected]>

Reviewed by Yury Semikhatsky.

Web Inspector: [JSC] scripts have incorrect starting line (always 1).
https://bugs.webkit.org/show_bug.cgi?id=52721

Test: inspector/debugger-scripts.html

  • bindings/js/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::dispatchDidParseSource): (WebCore::ScriptDebugServer::dispatchFailedToParseSource): (WebCore::ScriptDebugServer::sourceParsed):
  • bindings/js/ScriptDebugServer.h:
  • bindings/js/ScriptSourceCode.h: (WebCore::ScriptSourceCode::ScriptSourceCode):
  • bindings/js/StringSourceProvider.h: (WebCore::StringSourceProvider::create): (WebCore::StringSourceProvider::startPosition): (WebCore::StringSourceProvider::StringSourceProvider):

2011-01-19 Pavel Podivilov <[email protected]>

Reviewed by Yury Semikhatsky.

Web Inspector: [JSC] scripts have incorrect starting line (always 1).
https://bugs.webkit.org/show_bug.cgi?id=52721

  • WebView/WebScriptDebugger.h:
  • WebView/WebScriptDebugger.mm: (toNSString): (WebScriptDebugger::sourceParsed):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/debugger/Debugger.h

    r53516 r76129  
    3232    class JSGlobalObject;
    3333    class JSValue;
    34     class SourceCode;
     34    class SourceProvider;
    3535    class UString;
    3636
     
    4242        virtual void detach(JSGlobalObject*);
    4343
    44         virtual void sourceParsed(ExecState*, const SourceCode&, int errorLineNumber, const UString& errorMessage) = 0;
     44        virtual void sourceParsed(ExecState*, SourceProvider*, int errorLineNumber, const UString& errorMessage) = 0;
    4545        virtual void exception(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber, bool hasHandler) = 0;
    4646        virtual void atStatement(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0;
Note: See TracChangeset for help on using the changeset viewer.