[Webkit-unassigned] [Bug 161358] New: Web Inspector: WebInspector.reportInternalError doesn't work in the Test.html inspector page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 29 16:40:25 PDT 2016


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

            Bug ID: 161358
           Summary: Web Inspector: WebInspector.reportInternalError
                    doesn't work in the Test.html inspector page
    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: bburg 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

1. this function isn't defined in Test.js, just Main.js. So it doesn't work in tests.

[Error] TypeError: WebInspector.reportInternalError is not a function. (In 'WebInspector.reportInternalError(e, {"cause": `An uncaught exception was thrown while handling event: ${qualifiedName}`})', 'WebInspector.reportInternalError' is undefined)
    _dispatchEvent (TestCombined.js:5061)
    dispatch (TestCombined.js:4857)
    dispatchNextQueuedMessageFromBackend (TestCombined.js:5712)

We should just stub this out to call InspectorTest.reportUncaughtException, which notifies the test page and completes the test.

-- 
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/20160829/cf0ac38b/attachment.html>


More information about the webkit-unassigned mailing list