⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 194258 in webkit


Ignore:
Timestamp:
Dec 17, 2015, 8:14:40 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: CSS warning's fake CallFrame is not creating a valid payload
​https://bugs.webkit.org/show_bug.cgi?id=152413

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2015-12-17
Reviewed by Timothy Hatcher.

  • UserInterface/Views/ConsoleMessageView.js:

(WebInspector.ConsoleMessageView.prototype._appendLocationLink):
This attempts to create a CallFrame from a Console.CallFrame payload,
but this was missing the required functionName string parameter.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r194251 r194258  
     12015-12-17  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: CSS warning's fake CallFrame is not creating a valid payload
     4        https://bugs.webkit.org/show_bug.cgi?id=152413
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Views/ConsoleMessageView.js:
     9        (WebInspector.ConsoleMessageView.prototype._appendLocationLink):
     10        This attempts to create a CallFrame from a Console.CallFrame payload,
     11        but this was missing the required functionName string parameter.
     12
    1132015-12-17  Joseph Pecoraro  <pecoraro@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js

    r194243 r194258  
    324324            // CSS warnings have no stack traces.
    325325            callFrame = WebInspector.CallFrame.fromPayload({
     326                functionName: "",
    326327                url: this._message.url,
    327328                lineNumber: this._message.line,
Note: See TracChangeset for help on using the changeset viewer.