RESOLVED FIXED 130167
Web Inspector: [iOS 6] uncaught exception attempting to use CSSAgent.getNamedFlowCollection
https://bugs.webkit.org/show_bug.cgi?id=130167
Summary Web Inspector: [iOS 6] uncaught exception attempting to use CSSAgent.getNamed...
Joseph Pecoraro
Reported 2014-03-12 17:11:56 PDT
I see an uncaught exception attempting to use an undefined protocol method inspecting an iOS 6 device: [Error] TypeError: undefined is not a function (evaluating 'CSSAgent.getNamedFlowCollection(documentNodeIdentifier, onNamedFlowCollectionAvailable.bind(this))') getNamedFlowCollection (DOMTreeManager.js, line 586) (anonymous function) (DOMTree.js, line 256) requestRootDOMNode (DOMTree.js, line 109) requestContentFlowList (DOMTree.js, line 254) _rootDOMNodeInvalidated (FrameTreeElement.js, line 288) dispatch (Object.js, line 180) dispatchEventToListeners (Object.js, line 187) performInvalidate (DOMTree.js, line 95) performInvalidate ([native code], line 0) We should feature detect this function before using it.
Attachments
[PATCH] Proposed Fix (1.74 KB, patch)
2014-03-12 17:13 PDT, Joseph Pecoraro
timothy: review+
Joseph Pecoraro
Comment 1 2014-03-12 17:13:27 PDT
Created attachment 226562 [details] [PATCH] Proposed Fix
Joseph Pecoraro
Comment 2 2014-03-12 17:36:17 PDT
Note You need to log in before you can comment on or make changes to this bug.