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
102457
IndexedDB: remove setVersion from pending-version-change-on-exit.html
https://bugs.webkit.org/show_bug.cgi?id=102457
Summary
IndexedDB: remove setVersion from pending-version-change-on-exit.html
David Grogan
Reported
2012-11-15 19:19:02 PST
IndexedDB: remove setVersion from pending-version-change-on-exit.html
Attachments
Patch
(5.40 KB, patch)
2012-11-15 19:23 PST
,
David Grogan
no flags
Details
Formatted Diff
Diff
Patch
(5.40 KB, patch)
2012-11-16 10:16 PST
,
David Grogan
no flags
Details
Formatted Diff
Diff
Patch
(5.97 KB, patch)
2012-11-19 18:13 PST
,
David Grogan
no flags
Details
Formatted Diff
Diff
Patch
(5.99 KB, patch)
2012-11-20 12:29 PST
,
David Grogan
no flags
Details
Formatted Diff
Diff
Patch for landing
(5.98 KB, patch)
2012-11-20 15:57 PST
,
David Grogan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
David Grogan
Comment 1
2012-11-15 19:23:04 PST
Created
attachment 174591
[details]
Patch
David Grogan
Comment 2
2012-11-15 19:25:20 PST
Josh, could you take a look at this? There's a chromium bug about it:
http://code.google.com/p/chromium/issues/detail?id=161428
Let me know if you have any ideas. This test still passes in content_browsertests, though it is flaky there for a different reason (
http://code.google.com/p/chromium/issues/detail?id=159856
)
David Grogan
Comment 3
2012-11-16 10:16:13 PST
Created
attachment 174716
[details]
Patch
Joshua Bell
Comment 4
2012-11-19 17:14:14 PST
Comment on
attachment 174716
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=174716&action=review
> LayoutTests/ChangeLog:8 > + This test hangs in single process mode for unknown reasons.
Related to wkbug.com/82776 ?
> LayoutTests/storage/indexeddb/pending-version-change-on-exit.html:15 > +else {
Place on same line as {
> LayoutTests/storage/indexeddb/pending-version-change-on-exit.html:16 > + indexedDBTest(prepareDatabase, startTheWorker);
If the worker is going to hard-code the dbname, should the page should hard-code it as well so that changes to indexedDBTest() don't break the test in mysterious ways?
David Grogan
Comment 5
2012-11-19 18:09:14 PST
Comment on
attachment 174716
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=174716&action=review
>> LayoutTests/ChangeLog:8 >> + This test hangs in single process mode for unknown reasons. > > Related to wkbug.com/82776 ?
Oh sheesh, of course. Added more code that makes it clear this is what's happening.
>> LayoutTests/storage/indexeddb/pending-version-change-on-exit.html:15 >> +else { > > Place on same line as {
done.
>> LayoutTests/storage/indexeddb/pending-version-change-on-exit.html:16 >> + indexedDBTest(prepareDatabase, startTheWorker); > > If the worker is going to hard-code the dbname, should the page should hard-code it as well so that changes to indexedDBTest() don't break the test in mysterious ways?
Good point, changed to pass the dbname to the worker.
David Grogan
Comment 6
2012-11-19 18:13:55 PST
Created
attachment 175104
[details]
Patch
David Grogan
Comment 7
2012-11-19 18:15:20 PST
Josh, could you give this another look before I ask Tony to review?
Joshua Bell
Comment 8
2012-11-20 09:44:16 PST
Comment on
attachment 175104
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=175104&action=review
lgtm
> LayoutTests/storage/indexeddb/pending-version-change-on-exit.html:32 > + var worker = startWorker("resources/pending-version-change-on-exit.js?" + encodeURI(dbname));
You should use encodeURIComponent/decodeURIComponent here (since what's being encoded is being used as only part of a URI and you do want URI-reserved characters encoded) although given the usage here it should work correctly either way.
David Grogan
Comment 9
2012-11-20 12:29:11 PST
Comment on
attachment 175104
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=175104&action=review
>> LayoutTests/storage/indexeddb/pending-version-change-on-exit.html:32 >> + var worker = startWorker("resources/pending-version-change-on-exit.js?" + encodeURI(dbname)); > > You should use encodeURIComponent/decodeURIComponent here (since what's being encoded is being used as only part of a URI and you do want URI-reserved characters encoded) although given the usage here it should work correctly either way.
Changed, thanks for the tip.
David Grogan
Comment 10
2012-11-20 12:29:52 PST
Created
attachment 175265
[details]
Patch
David Grogan
Comment 11
2012-11-20 12:30:14 PST
Tony, could you review this?
WebKit Review Bot
Comment 12
2012-11-20 14:25:48 PST
Comment on
attachment 175265
[details]
Patch Rejecting
attachment 175265
[details]
from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: WebKit/chromium/v8 --revision 12947 --non-interactive --force --accept theirs-conflict --ignore-externals' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' 51>At revision 12947. ________ running '/usr/bin/python tools/clang/scripts/update.py --mac-only' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' ________ running '/usr/bin/python gyp_webkit' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' Updating webkit projects from gyp files... Total errors found: 0 in 1 files Full output:
http://queues.webkit.org/results/14909741
David Grogan
Comment 13
2012-11-20 15:57:30 PST
Created
attachment 175296
[details]
Patch for landing
WebKit Review Bot
Comment 14
2012-11-20 16:45:57 PST
Comment on
attachment 175296
[details]
Patch for landing Clearing flags on attachment: 175296 Committed
r135333
: <
http://trac.webkit.org/changeset/135333
>
WebKit Review Bot
Comment 15
2012-11-20 16:46:02 PST
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.
Top of Page
Format For Printing
XML
Clone This Bug