WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
101998
IndexedDB: non-trivial test conversion batch 2
https://bugs.webkit.org/show_bug.cgi?id=101998
Summary
IndexedDB: non-trivial test conversion batch 2
David Grogan
Reported
2012-11-12 15:27:35 PST
IndexedDB: non-trivial test conversion batch 2
Attachments
Patch
(29.22 KB, patch)
2012-11-12 15:37 PST
,
David Grogan
no flags
Details
Formatted Diff
Diff
Patch
(47.96 KB, patch)
2012-11-12 15:43 PST
,
David Grogan
no flags
Details
Formatted Diff
Diff
Patch
(30.29 KB, patch)
2012-11-12 15:43 PST
,
David Grogan
no flags
Details
Formatted Diff
Diff
Patch
(26.25 KB, patch)
2012-11-13 15:51 PST
,
David Grogan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
David Grogan
Comment 1
2012-11-12 15:37:32 PST
Created
attachment 173740
[details]
Patch
David Grogan
Comment 2
2012-11-12 15:43:05 PST
Created
attachment 173743
[details]
Patch
David Grogan
Comment 3
2012-11-12 15:43:55 PST
Created
attachment 173744
[details]
Patch
David Grogan
Comment 4
2012-11-12 15:49:20 PST
Josh, could you take a look at these 5 tests? delete-closed-database-object doesn't work in nrwt/DRT or stand-alone content_shell, only in nrwt/content_shell. If I let it stay loaded in stand-alone content_shell the connection eventually does get gc'd, allowing the other to proceed. When you wrote this test, did you struggle with getting gc to collect the dead objects? Any suggestions?
kov's GTK+ EWS bot
Comment 5
2012-11-12 15:54:57 PST
Comment on
attachment 173744
[details]
Patch
Attachment 173744
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/14803914
Joshua Bell
Comment 6
2012-11-12 16:52:56 PST
Comment on
attachment 173744
[details]
Patch lgtm... View in context:
https://bugs.webkit.org/attachment.cgi?id=173744&action=review
> LayoutTests/storage/indexeddb/resources/database-basics.js:58 > setVersionTrans.onabort = checkMetadata;
Can you change the setVersionTrans.abort(); call following this line to use evalAndLog() ?
> LayoutTests/storage/indexeddb/resources/database-closepending-flag.js:-74 > - // FIXME: Should verify 'blocked' not fired.
http://webkit.org/b/71130
Blocked event doesn't fire in the new code because we (incorrectly) enter a "pending" state before firing blocked when opening connections, right?
David Grogan
Comment 7
2012-11-12 16:57:27 PST
Comment on
attachment 173744
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=173744&action=review
Thanks for the review. Any thoughts on the delete-closed-database-object troubles from
comment 4
?
>> LayoutTests/storage/indexeddb/resources/database-basics.js:58 >> setVersionTrans.onabort = checkMetadata; > > Can you change the setVersionTrans.abort(); call following this line to use evalAndLog() ?
Will do.
>> LayoutTests/storage/indexeddb/resources/database-closepending-flag.js:-74 >> - // FIXME: Should verify 'blocked' not fired.
http://webkit.org/b/71130
> > Blocked event doesn't fire in the new code because we (incorrectly) enter a "pending" state before firing blocked when opening connections, right?
I think we don't fire it because there are no other connections. The previous connection is closed at line 46/25.
WebKit Review Bot
Comment 8
2012-11-13 00:59:50 PST
Comment on
attachment 173744
[details]
Patch
Attachment 173744
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/14817540
New failing tests: storage/indexeddb/delete-closed-database-object.html
David Grogan
Comment 9
2012-11-13 15:51:29 PST
Created
attachment 174016
[details]
Patch
David Grogan
Comment 10
2012-11-13 15:53:17 PST
Tony, could you review this? Patch 4 adds the requested evalAndLog and removes delete-closed-database-object test.
WebKit Review Bot
Comment 11
2012-11-13 21:04:23 PST
Comment on
attachment 174016
[details]
Patch Clearing flags on attachment: 174016 Committed
r134533
: <
http://trac.webkit.org/changeset/134533
>
WebKit Review Bot
Comment 12
2012-11-13 21:04:27 PST
All reviewed patches have been landed. Closing bug.
Kentaro Hara
Comment 13
2012-11-14 04:25:26 PST
This patch causes a layout test failure on chromium:
http://code.google.com/p/chromium/issues/detail?id=160961
For the time being, we updated expectation results (in order to roll out WebKit DEPS). Would you fix the bug and re-update expectation results? See the above chromium issue for more details.
jochen
Comment 14
2012-11-14 04:28:00 PST
storage/indexeddb/database-basics.html now shows on content_browsertests. I've temporarily disabled the test in chromium to not block the wk roll even longer FAIL Error function called unexpectedly: (AbortError) Version change transaction was aborted in upgradeneeded event handler.
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