Summary: | Web Inspector:Duplicated display of storage db when running Web SQL from an iframe | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ilya Tikhonovsky <loislo> | ||||||||
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Created attachment 88205 [details]
parent.html
Created attachment 88206 [details]
[patch] initial version
Comment on attachment 88206 [details] [patch] initial version View in context: https://bugs.webkit.org/attachment.cgi?id=88206&action=review > Source/WebCore/inspector/InspectorDatabaseAgent.cpp:224 > + resource->setDatabase(database); What is this needed for? Comment on attachment 88206 [details]
[patch] initial version
This patch covers typical use cases.
The page reopens Database and we have to update our internal ref to it because the old instance of DB usually has been closed.
Comment on attachment 88206 [details] [patch] initial version Clearing flags on attachment: 88206 Committed r83841: <http://trac.webkit.org/changeset/83841> All reviewed patches have been landed. Closing bug. |
Created attachment 88204 [details] test1.html What steps will reproduce the problem? 1. Go to page with iframe and a database in it 2. See the Storage section in the dev tools 3. Every time the iframe is loaded the icon of the database is duplicated What is the expected output? Show one single instance of the database in the dev tools What do you see instead? A duplicate for every reload