| Summary: | Web Inspector: Fix layering issues with ApplicationCacheFrameTreeElement | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Timothy Hatcher <timothy> | ||||
| Component: | Web Inspector | Assignee: | 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
Timothy Hatcher
2015-04-23 12:27:56 PDT
Created attachment 251467 [details]
Patch
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. Comment on attachment 251467 [details] Patch Clearing flags on attachment: 251467 Committed r183214: <http://trac.webkit.org/changeset/183214> All reviewed patches have been landed. Closing bug. |