WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
142076
Make IDBDatabase / IDBRequest suspendable
https://bugs.webkit.org/show_bug.cgi?id=142076
Summary
Make IDBDatabase / IDBRequest suspendable
Chris Dumez
Reported
2015-02-26 21:36:03 PST
Make IDBDatabase / IDBRequest suspendable under certain conditions to make it more likely for pages using indexeddb to enter the PageCache. IDBDatabase is safely suspendable if the database is closed. IDBRequest is safely suspendable if the request's state is DONE (i.e. success / failure handler was called). We may be able to do better later but this is the bare minimum. Radar: <
rdar://problem/19923085
>
Attachments
Patch
(11.50 KB, patch)
2015-02-26 21:52 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews101 for mac-mavericks
(587.95 KB, application/zip)
2015-02-26 22:24 PST
,
Build Bot
no flags
Details
Patch
(12.18 KB, patch)
2015-02-26 22:35 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(12.17 KB, patch)
2015-02-27 10:07 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2015-02-26 21:52:38 PST
Created
attachment 247498
[details]
Patch
Build Bot
Comment 2
2015-02-26 22:24:26 PST
Comment on
attachment 247498
[details]
Patch
Attachment 247498
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/5952840031797248
New failing tests: fast/history/page-cache-indexed-closed-db.html fast/history/page-cache-indexed-opened-db.html
Build Bot
Comment 3
2015-02-26 22:24:31 PST
Created
attachment 247501
[details]
Archive of layout-test-results from ews101 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
Chris Dumez
Comment 4
2015-02-26 22:35:54 PST
Created
attachment 247502
[details]
Patch
Chris Dumez
Comment 5
2015-02-27 10:07:37 PST
Created
attachment 247518
[details]
Patch
Andreas Kling
Comment 6
2015-02-27 11:19:02 PST
Comment on
attachment 247518
[details]
Patch r=me
Chris Dumez
Comment 7
2015-02-27 11:24:42 PST
Comment on
attachment 247518
[details]
Patch Clearing flags on attachment: 247518 Committed
r180771
: <
http://trac.webkit.org/changeset/180771
>
Chris Dumez
Comment 8
2015-02-27 11:24:47 PST
All reviewed patches have been landed. Closing bug.
Brent Fulgham
Comment 9
2015-02-27 13:23:50 PST
These new tests timeout on Windows: fast/history/page-cache-indexed-closed-db.html fast/history/page-cache-indexed-opened-db.html fast/history/page-cache-webdatabase-opened-db.html
Chris Dumez
Comment 10
2015-02-27 13:24:47 PST
(In reply to
comment #9
)
> These new tests timeout on Windows: > > fast/history/page-cache-indexed-closed-db.html > fast/history/page-cache-indexed-opened-db.html > fast/history/page-cache-webdatabase-opened-db.html
Maybe Windows does not implement IndexedDB?
Chris Dumez
Comment 11
2015-02-27 13:25:49 PST
(In reply to
comment #10
)
> (In reply to
comment #9
) > > These new tests timeout on Windows: > > > > fast/history/page-cache-indexed-closed-db.html > > fast/history/page-cache-indexed-opened-db.html > > fast/history/page-cache-webdatabase-opened-db.html > > Maybe Windows does not implement IndexedDB?
Right, they need to be skipped on Windows, similarly to pre-existing: LayoutTests/platform/win/TestExpectations:storage/indexeddb/ [ Skip ]
Chris Dumez
Comment 12
2015-02-27 13:35:32 PST
Follow up in <
http://trac.webkit.org/changeset/180776
> to skip the new tests on platforms that don't enable IndexedDB.
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