-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation report #213
Comments
@LJWatson To the best of my knowledge, we have test coverage for all the methods and error cases. We even have tests for some tricky bugs that have shown up in implementations. Modulo small bugs, Chrome, Firefox and Safari pass all the tests. Does this answer your question? |
Thanks @pwnall. It does answer the question, yes. It sounds like we just need to generate a report from the test results (so we have something to point to when we request transition to Proposed Recommendation). Ideally it would be good to have this by early September if we can - and I think @inexorabletash is back by then. |
I'm back! What exactly do we need for the implementation report? We now have a live dashboard of web-platform-test results: http://wpt.fyi/IndexedDB - it lists each test file and for each browser (chrome, edge, firefox, safari) it gives the test case pass results, for example 2/2, 1/14, etc. It does not summarize pass rate over the whole suite per browser; we may be able to add that if necessary. |
Welcome back. The dashboard will do the trick. No need to worry about a pass rate for the whole suite/browser because the interop requirement is for each feature to have at least two independent implementations. It looks like some features do not have 100% pass rates in at least two browsers (idb-binary-key-roundtrip.htm for example). Is that enough to put those features at risk do you think? |
The dashboard is unfortunately not yet showing results from the latest Safari; that might be one problem with pointing at the dashboard. I believe Safari 10.2 passes most of the tests. We can do a manual pass. ( |
If we can get the results from Safari into the implementation report, and assuming that gives us the interop we're missing based on the current report, we'll be ready to open the CFC to ask the WG if they're ok with us progressing to PR. |
Connect ipad |
I've recruited someone to do a pass with the latest Safari TP, and will put a report together once that's done. |
I assume following the process at https://github.com/w3c/test-results would be preferred, though? I'm getting server errors on the console from http://w3c-test.org/tools/runner/index.html "Manifest generation failed" :( |
@inexorabletash can you retry now? The Manifest generation should be back to normal. |
Thanks, will do! FYI @bsittler |
Thanks, @ylafon ! I filed a PR with the updated results: Here's the "less than 2": https://rawgit.com/inexorabletash/test-results/idb2/IndexedDB/less-than-2.html
Caveat: Safari apparently has a nasty bug triggered by the (I filed https://bugs.webkit.org/show_bug.cgi?177280 for the Safari issue) So of those, the following are intentional normative additions or behavior changes "new in 2.0":
And the rest were underspecified in v1 (e.g. does a property change before or after an event fires? are keypaths evaluated against the original object - possibly triggering side effects - or a clone?) |
Manually testing in Safari TP, the last three tests would not trip the "less than 2 passes" mark.
|
I can help to generate results in Safari TP for the manual tests. |
Thanks, @siusin ! How do you want to coordinate - should I look at merging the PR as-is so you can follow up, or do you want to take it over, or ... ? |
@inexorabletash if you have the test result of Edge 15, could you upload the According to the test results in Ff58, Ch63 and Sf11, and the information at
Any objection to ignore these edge cases and move to PR/REC? I'll try to find some time next week to review the test coverage of the substantive changes introduced by Level 2. |
@siusin - done! (hopefully done correctly)
I'm fine with ignoring, but I'm biased. :) Seriously though... error-attributes.html is the only normative change where only one browser has so far adopted it. |
@inexorabletash superb! We usually only put the results of the latest version into the implementation report, but it doesn't hurt to keep the I'm hoping we can move to PR with error-attributes.html as an exception... unless we find any missing test, I'll send out the transition request this week. Btw, do you plan to continue the editing of IndexedDB after 2.0 exits CR? We are using a script to auto-generate the |
@siusin Yes I plan to continue editing, and yes please! |
@xfq do you mind if we assign this issue to you?
|
@siusin Fine with me. |
The auto-deployment of Sorry for messing up the Git history. I set it up in my own repo in one commit (the other commit is for testing), but for some reason (my mistakes) I need to commit several changes when setting up auto-deployment in the W3C repo. |
Can we now tell whether the spec meets the interop requirement (at least two independent implementations for each feature)? |
Hi all, Here's my test coverage review of the level 2 changes. Because I'm not familiar with either Indexed DB or web-platform-tests, I might be missing something. Comments from @inexorabletash / @siusin are very appreciated! TIA
|
Renaming is testable, and the test landed in web-platform-tests/wpt#3854 |
@pwnall Thanks! I just edited my comment. |
Wow, thanks for this awesome analysis! First pass of responses - I need to dig into the tests for the rest.
Not testable. :(
Tested by interfaces.worker.js
Not testable, unfortunately - depends on implementation encountering an error or implementation-specific user action (E.g. clearing browsing data)
Not directly testable, although many edge cases discovered while doing this were covered with new tests.
open-request-queue.html, delete-request-queue.html
Implicitly tested throughout, the spec was just not precise here.
Not testable - this is just a change in IDL style, not web-observable.
Not testable, unfortunately. It would require the implementation to hit an internal I/O error.
Not testable. |
This is testable; I do not see coverage for it. Behavior is not new here, it was just a spec copy/pasta. But we should still have a test!
The [SameObject] assertions should be testable. I see a couple cases covered but not all of them. Behavior here is not new, but we should still have tests! I think that's it. I'll put a CL shortly with tests for these cases. |
Thank you very much, @inexorabletash! I edited my comment according to your comments. |
Missing coverage noted in w3c/IndexedDB#213 The test cases verify the `source` property of requests returned by operations made against stores, indexes, and cursors.
@inexorabletash ++ Yep, we can start the PR transition now. Thanks for your good work, as always. |
The request to transition to PR has been accepted (publication will happen after the TPAC moratorium). Well done everyone! |
We'll need an implementation report to exit CR. Is the test suite complete?
The text was updated successfully, but these errors were encountered: