Closed
Bug 1230148
Opened 10 years ago
Closed 10 years ago
import and uplift streams spec wpt tests
Categories
(Testing :: web-platform-tests, defect)
Testing
web-platform-tests
Tracking
(firefox46 fixed)
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: bkelly, Assigned: yury)
References
Details
Attachments
(1 file, 2 obsolete files)
204.74 KB,
patch
|
bkelly
:
review+
|
Details | Diff | Splinter Review |
The streams spec has a nice test suite written in wpt format. We should import and uplift it to the wpt repo as our first step to implementation.
https://github.com/whatwg/streams/tree/master/reference-implementation/web-platform-tests
The webkit teams has also shown interest in using these tests:
https://github.com/whatwg/streams/issues/411
Assignee | ||
Comment 1•10 years ago
|
||
Some tests trip on "SyntaxError: missing = in const declaration" in `for (const i of [1,2])` statements. bug 449811 shall address that.
Depends on: 449811
Reporter | ||
Comment 2•10 years ago
|
||
We could also just change the tests not to use const for now.
Assignee | ||
Comment 3•10 years ago
|
||
WebKit team imported that to the "streams-api" folder (per https://github.com/whatwg/streams/issues/411#issuecomment-162652583), shall we choose the same name?
Reporter | ||
Comment 4•10 years ago
|
||
I guess we can keep the "streams-api". I know from experience we'll end up typing this a lot, though. I would have preferred just "streams".
In case you haven't worked with out wpt tests before, you can just put them in:
testing/web-platform/tests/streams-api
I would like to keep the disabled until we actually have some code to test, though. That can be done with a "disable: true" line in:
testing/web-platform/meta/streams-api/__dir__.ini
After adding the tests you need to run something like this to teach wpt about the new tests:
./mach web-platform-tests --manifest-update streams-api
Assignee | ||
Comment 5•10 years ago
|
||
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8705159 -
Attachment is obsolete: true
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8705167 -
Attachment is obsolete: true
Attachment #8705174 -
Flags: review?(bkelly)
Reporter | ||
Comment 9•10 years ago
|
||
Comment on attachment 8705174 [details] [diff] [review]
Import and uplift streams spec wpt tests
Review of attachment 8705174 [details] [diff] [review]:
-----------------------------------------------------------------
I did not look at the test content in detail since we're basically just importing from the spec. I agree with disabling for now, but also keeping expected failure meta data. Lets land this so it can get upstreamed and we can iterate from there. Thanks! r=me
Attachment #8705174 -
Flags: review?(bkelly) → review+
Assignee | ||
Comment 10•10 years ago
|
||
Keywords: checkin-needed
Comment 11•10 years ago
|
||
Keywords: checkin-needed
Comment 12•10 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Comment 13•10 years ago
|
||
Landing this has lead to an interesting situation.
WPT e10s (3) on linux x64 debug has become extremely unstable. Any idea what's causing this?
See: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&filter-searchStr=a667f0f51aec3d6841635efb6fe10984380a43a3&fromchange=2ee573ab8547&selectedJob=19568537
Flags: needinfo?(ydelendik)
Reporter | ||
Comment 14•10 years ago
|
||
(In reply to Nigel Babu [:nigelb] from comment #13)
> WPT e10s (3) on linux x64 debug has become extremely unstable. Any idea
> what's causing this?
The streams tests are in W(7), not W(3). Also, they are disabled and you can see in the log they are being skipped. The only way this landing could affect W(3) is through chunking changes.
Assignee | ||
Comment 15•10 years ago
|
||
(In reply to Ben Kelly [:bkelly] from comment #14)
> (In reply to Nigel Babu [:nigelb] from comment #13)
> > WPT e10s (3) on linux x64 debug has become extremely unstable. Any idea
> > what's causing this?
>
> The only way this landing could affect W(3) is through chunking changes.
I concur with this assumption. I looked at the log files before and after landing -- the /html/dom/reflection-*.html files were in different chunk [W(4) ? and now they are included in W(3)] for some reason and I didn't see we run W(4) anywhere to check we did not fail this test before.
Flags: needinfo?(ydelendik)
Comment 16•10 years ago
|
||
The fact that W4 is missing is due to the fact that SETA identified it as a chunk that doesn't fail very often, so we don't run it very often. But it should be run every 10 pushes or so iirc. Of course this whole SETA thing breaks down when chunks change.
I assume the instability is now covered by the other bug?
You need to log in
before you can comment on or make changes to this bug.
Description
•