[Webkit-unassigned] [Bug 160604] New: Web Inspector: switching between Computed and Visual Styles panels causes internal error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 5 11:54:36 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=160604

            Bug ID: 160604
           Summary: Web Inspector: switching between Computed and Visual
                    Styles panels causes internal error
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mattbaker at apple.com
                CC: bburg at apple.com, joepeck at webkit.org,
                    mattbaker at apple.com, nvasilyev at apple.com,
                    timothy at apple.com, webkit-bug-importer at group.apple.com

Summary:
Switching between Computed and Visual Styles panels causes internal error.

Steps to Reproduce:
1. Open Inspector > Elements
2. Show Styles sidebar if necessary
3. Switch from Computed panel to Visual panel
  => [Error] TypeError: undefined is not an object (evaluating 'this._selectorSection.update')
    refresh — VisualStyleDetailsPanel.js:64
    _refreshPreservingScrollPosition — StyleDetailsPanel.js:143
    nodeStylesRefreshed — StyleDetailsPanel.js:114
    dispatch — Object.js:162
    dispatchEventToListeners — Object.js:169
    fetchedComputedStyle — DOMNodeStyles.js:228
    ...

4. When switching from Visual to Computed
  => [Error] TypeError: undefined is not an object (evaluating 'this._propertiesTextEditor.style = this.nodeStyles.computedStyle')
    refresh — ComputedStyleDetailsPanel.js:130
    _refreshPreservingScrollPosition — StyleDetailsPanel.js:143
    nodeStylesRefreshed — StyleDetailsPanel.js:114
    dispatch — Object.js:162
    dispatchEventToListeners — Object.js:169
    fetchedComputedStyle — DOMNodeStyles.js:228
    ...

Note:
I expected this to be a regression caused by https://trac.webkit.org/changeset/203253, but it looks like it was broken earlier.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160805/81f89102/attachment-0001.html>


More information about the webkit-unassigned mailing list