RESOLVED FIXED 161178
Web Inspector: Test and address issues in IndexedDB.requestData
https://bugs.webkit.org/show_bug.cgi?id=161178
Summary Web Inspector: Test and address issues in IndexedDB.requestData
Joseph Pecoraro
Reported 2016-08-24 18:59:03 PDT
Summary: Test and address issues in IndexedDB.requestData. This exists in the protocol, but is currently unused and untested. Testing it found some issues which were easy to fix.
Attachments
[PATCH] Proposed Fix (32.77 KB, patch)
2016-08-24 19:05 PDT, Joseph Pecoraro
bburg: review-
buildbot: commit-queue-
Archive of layout-test-results from ews103 for mac-yosemite (762.92 KB, application/zip)
2016-08-24 19:56 PDT, Build Bot
no flags
Archive of layout-test-results from ews104 for mac-yosemite-wk2 (847.59 KB, application/zip)
2016-08-24 20:00 PDT, Build Bot
no flags
Archive of layout-test-results from ews113 for mac-yosemite (1.46 MB, application/zip)
2016-08-24 20:03 PDT, Build Bot
no flags
[PATCH] Proposed Fix (33.68 KB, patch)
2016-08-25 19:03 PDT, Joseph Pecoraro
bburg: review+
buildbot: commit-queue-
Archive of layout-test-results from ews105 for mac-yosemite-wk2 (1.11 MB, application/zip)
2016-08-25 20:06 PDT, Build Bot
no flags
Archive of layout-test-results from ews115 for mac-yosemite (1.47 MB, application/zip)
2016-08-25 20:17 PDT, Build Bot
no flags
Archive of layout-test-results from ews101 for mac-yosemite (1010.38 KB, application/zip)
2016-08-25 20:26 PDT, Build Bot
no flags
Radar WebKit Bug Importer
Comment 1 2016-08-24 18:59:24 PDT
Joseph Pecoraro
Comment 2 2016-08-24 19:00:18 PDT
(In reply to comment #0) > but is currently unused That was wrong. Its basic functionality is used. Other functionality (key ranges) is not used. And some functionality (pagination) is broken. This tests everything.
Joseph Pecoraro
Comment 3 2016-08-24 19:05:53 PDT
Created attachment 286930 [details] [PATCH] Proposed Fix Blocked on other patches still up for review.
Build Bot
Comment 4 2016-08-24 19:56:40 PDT
Comment on attachment 286930 [details] [PATCH] Proposed Fix Attachment 286930 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1937405 New failing tests: inspector/indexeddb/requestData.html
Build Bot
Comment 5 2016-08-24 19:56:42 PDT
Created attachment 286934 [details] Archive of layout-test-results from ews103 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 6 2016-08-24 20:00:17 PDT
Comment on attachment 286930 [details] [PATCH] Proposed Fix Attachment 286930 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1937408 New failing tests: inspector/indexeddb/requestData.html
Build Bot
Comment 7 2016-08-24 20:00:19 PDT
Created attachment 286936 [details] Archive of layout-test-results from ews104 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 8 2016-08-24 20:03:24 PDT
Comment on attachment 286930 [details] [PATCH] Proposed Fix Attachment 286930 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1937406 New failing tests: inspector/indexeddb/requestData.html
Build Bot
Comment 9 2016-08-24 20:03:26 PDT
Created attachment 286937 [details] Archive of layout-test-results from ews113 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews113 Port: mac-yosemite Platform: Mac OS X 10.10.5
Blaze Burg
Comment 10 2016-08-25 16:32:26 PDT
Comment on attachment 286930 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=286930&action=review r- because of the real names issue. The rest looks pretty good and thorough, EWS notwithstanding. > LayoutTests/inspector/indexeddb/requestData-expected.txt:12 > +PASS: Value should be a remote object for: 'Timothy Hatcher' Please don't use real data/names in layout tests. > LayoutTests/inspector/indexeddb/requestData.html:24 > + // <https://webkit.org/b/148006> Each test should run with its own clean data store Same comment as in other patches. > Source/WebCore/inspector/InspectorIndexedDBAgent.cpp:509 > + Ref<OpenCursorCallback> openCursorCallback = OpenCursorCallback::create(m_injectedScript, m_requestCallback.copyRef(), m_skipCount, m_pageSize); Ouch!
Joseph Pecoraro
Comment 11 2016-08-25 19:03:20 PDT
Created attachment 287061 [details] [PATCH] Proposed Fix Updated names (in the other patch and used in this one).
Build Bot
Comment 12 2016-08-25 20:06:19 PDT
Comment on attachment 287061 [details] [PATCH] Proposed Fix Attachment 287061 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1943344 New failing tests: inspector/indexeddb/requestData.html
Build Bot
Comment 13 2016-08-25 20:06:22 PDT
Created attachment 287067 [details] Archive of layout-test-results from ews105 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 14 2016-08-25 20:16:57 PDT
Comment on attachment 287061 [details] [PATCH] Proposed Fix Attachment 287061 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1943333 New failing tests: inspector/indexeddb/requestData.html
Build Bot
Comment 15 2016-08-25 20:17:00 PDT
Created attachment 287068 [details] Archive of layout-test-results from ews115 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 16 2016-08-25 20:26:53 PDT
Comment on attachment 287061 [details] [PATCH] Proposed Fix Attachment 287061 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1943504 New failing tests: inspector/indexeddb/requestData.html
Build Bot
Comment 17 2016-08-25 20:26:56 PDT
Created attachment 287069 [details] Archive of layout-test-results from ews101 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-yosemite Platform: Mac OS X 10.10.5
Blaze Burg
Comment 18 2016-08-26 12:49:23 PDT
Comment on attachment 287061 [details] [PATCH] Proposed Fix r=me, thanks ;-)
Joseph Pecoraro
Comment 19 2016-08-26 14:01:47 PDT
Note You need to log in before you can comment on or make changes to this bug.