WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
Bug 120544
Web Inspector: inspector/storage-panel-dom-storage-update.html is flakey on the bots
https://bugs.webkit.org/show_bug.cgi?id=120544
Summary
Web Inspector: inspector/storage-panel-dom-storage-update.html is flakey on t...
Joseph Pecoraro
Reported
2013-08-30 12:25:32 PDT
inspector/storage-panel-dom-storage-update.html is flakey on the bots. It looks like the test is relying on InspectorTest.runAfterPendingDispatches(…) to run code after DOM Storage add/update/clears. However, those are not pending dispatches / results of actions, but DOMStorage agent events. So we should instead listen for pending events.
Attachments
[PATCH] Proposed Fix
(5.66 KB, patch)
2013-08-30 12:29 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2013-08-30 12:25:40 PDT
<
rdar://problem/14881605
>
Joseph Pecoraro
Comment 2
2013-08-30 12:29:02 PDT
Created
attachment 210147
[details]
[PATCH] Proposed Fix The test could probably be simplified even more (removing most of the runAfterPendingDispatches could probably be removed) but ideally this would be converted to a real protocol test. I think this should fix the flakey ness though.
WebKit Commit Bot
Comment 3
2013-08-30 13:00:37 PDT
Comment on
attachment 210147
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 210147 Committed
r154907
: <
http://trac.webkit.org/changeset/154907
>
WebKit Commit Bot
Comment 4
2013-08-30 13:00:39 PDT
All reviewed patches have been landed. Closing bug.
Joseph Pecoraro
Comment 5
2013-08-30 13:44:58 PDT
Ahh, WebKit2 bot still complains about this: <
http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK2%20(Tests)/r154907%20(11253)/results.html
> Investigating now that I can reproduce with -2.
Joseph Pecoraro
Comment 6
2013-08-30 14:13:06 PDT
So adding an extra log makes the test not timeout right now which makes very little sense at the moment. function viewUpdatedAfterAddition() { InspectorTest.addResult("viewUpdatedAfterAddition"); InspectorTest.runAfterPendingDispatches(function() {
Joseph Pecoraro
Comment 7
2013-08-30 14:43:10 PDT
(In reply to
comment #6
)
> So adding an extra log makes the test not timeout right now which makes very little sense at the moment. > > function viewUpdatedAfterAddition() > { > InspectorTest.addResult("viewUpdatedAfterAddition"); > InspectorTest.runAfterPendingDispatches(function() {
So apparently removing this runAfterPendingDispatches fixed things, as long as I then made running the event handlers aware of this. I have no idea why this caused any issue on WebKit 2. I have little interest in investigating that further right now when it was unnecessary anyways.
Joseph Pecoraro
Comment 8
2013-08-30 14:44:02 PDT
Landed follow-up fix: <
http://trac.webkit.org/changeset/154911
>
Alexey Proskuryakov
Comment 9
2013-09-17 14:48:59 PDT
This change made it so that the test times out 100% of the time on WebKit2. The test also sometimes times out on WK1. Marked accordingly in <
http://trac.webkit.org/r156002
>. This doesn't happen when new Web Inspector is enabled (I don't know if the test runs properly then, but it's reported as passing).
Timothy Hatcher
Comment 10
2014-01-10 15:37:21 PST
Moving to the right component.
Brian Burg
Comment 11
2014-12-12 13:29:19 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests. Please file a new bug (
https://www.webkit.org/new-inspector-bug
) if the bug/feature/issue is still relevant to WebKit trunk.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug