RESOLVED FIXED 156139
Uncaught Exception: Error: Can't make a ContentView for an unknown representedObject (ApplicationCacheManifest)
https://bugs.webkit.org/show_bug.cgi?id=156139
Summary Uncaught Exception: Error: Can't make a ContentView for an unknown represente...
Daniel Bates
Reported 2016-04-02 14:52:57 PDT
------- Auto-generated details: Inspected URL: https://webkit.org/demos/sticky-notes/ Loading completed: true Frontend User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/602.1.27+ (KHTML, like Gecko) Uncaught exceptions: - Error: Can't make a ContentView for an unknown representedObject. (at ContentView.js:149:86) ------- * STEPS TO REPRODUCE 1. Visit <https://webkit.org/demos/sticky-notes/>. 2. Inspect the page. I am using a release build of WebKit r198972.
Attachments
[PATCH] Proposed Fix (5.06 KB, patch)
2016-04-04 16:58 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2016-04-02 14:53:22 PDT
Joseph Pecoraro
Comment 2 2016-04-04 16:46:01 PDT
I was able to reproduce. Improving the error message, I see two issues: NavigationSidebarPanel.js:234:26: CONSOLE ERROR Error: TreeElement.representedObject is missing a saveIdentityToCookie implementation. TreeElement.constructor: class ApplicationCacheManifestTreeElement extends WebInspector.StorageTreeElement ContentView.js:149:132" CONSOLE ERROR Error: Can't make a ContentView for an unknown representedObject of type: ApplicationCacheManifest
Joseph Pecoraro
Comment 3 2016-04-04 16:58:06 PDT
Created attachment 275593 [details] [PATCH] Proposed Fix
Timothy Hatcher
Comment 4 2016-04-04 17:03:20 PDT
Comment on attachment 275593 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=275593&action=review > Source/WebInspectorUI/UserInterface/Views/ContentView.js:149 > + throw new Error("Can't make a ContentView for an unknown representedObject of type: " + representedObject.constructor.name); Good call!
WebKit Commit Bot
Comment 5 2016-04-04 22:20:38 PDT
Comment on attachment 275593 [details] [PATCH] Proposed Fix Clearing flags on attachment: 275593 Committed r199041: <http://trac.webkit.org/changeset/199041>
WebKit Commit Bot
Comment 6 2016-04-04 22:20:42 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.