Bug 144113

Summary: Web Inspector: Fix layering issues with ApplicationCacheFrameTreeElement
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web InspectorAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: DoNotImportToRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Timothy Hatcher
Reported 2015-04-23 12:27:56 PDT
There is a FIXME in ApplicationCacheFrameTreeElement. We need to fix it for tabs to work.
Attachments
Patch (2.46 KB, patch)
2015-04-23 12:28 PDT, Timothy Hatcher
no flags
Timothy Hatcher
Comment 1 2015-04-23 12:28:43 PDT
Joseph Pecoraro
Comment 2 2015-04-23 14:10:50 PDT
Comment on attachment 251467 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=251467&action=review r=me > Source/WebInspectorUI/UserInterface/Views/ApplicationCacheFrameTreeElement.js:53 > + while (currentAncestor && !currentAncestor.root) { > + if (currentAncestor instanceof WebInspector.ApplicationCacheManifestTreeElement) { And maybe we should just have a helper for this. TreeElement.prototype.firstAncestorOfType(class). I think this is not the first time we've walked up to find an ancestor via instanceof.
WebKit Commit Bot
Comment 3 2015-04-23 15:01:21 PDT
Comment on attachment 251467 [details] Patch Clearing flags on attachment: 251467 Committed r183214: <http://trac.webkit.org/changeset/183214>
WebKit Commit Bot
Comment 4 2015-04-23 15:01:32 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.