Ignore:
Timestamp:
Oct 15, 2015, 4:02:43 PM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r191135.
https://bugs.webkit.org/show_bug.cgi?id=150197

This patch causes 50+ LayoutTest crashes related to the
inspector (Requested by ryanhaddad on #webkit).

Reverted changeset:

"Web Inspector: JavaScriptCore should parse sourceURL and
sourceMappingURL directives"
https://bugs.webkit.org/show_bug.cgi?id=150096
http://trac.webkit.org/changeset/191135

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/parser/SourceProvider.h

    r191135 r191145  
    5050        }
    5151
    52         const String& url() const { return m_url; }
    53         const String& sourceURL() const { return m_sourceURL; }
    54         const String& sourceMappingURL() const { return m_sourceMappingURL; }
    55 
     52        const String& url() { return m_url; }
    5653        TextPosition startPosition() const { return m_startPosition; }
    5754        intptr_t asID()
     
    6663
    6764    private:
    68         template <typename T> friend class Parser;
    69 
    70         void setSourceURL(const String& sourceURL) { m_sourceURL = sourceURL; }
    71         void setSourceMappingURL(const String& sourceMappingURL) { m_sourceMappingURL = sourceMappingURL; }
    7265
    7366        JS_EXPORT_PRIVATE void getID();
     
    7568
    7669        String m_url;
    77         String m_sourceURL;
    78         String m_sourceMappingURL;
    7970        TextPosition m_startPosition;
    8071        bool m_validated : 1;
Note: See TracChangeset for help on using the changeset viewer.