Closed Bug 1585805 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 19478 - [encoding] Defer API reference

Categories

(Core :: Internationalization, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 19478 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/19478
Details from upstream follow.

Mike Pennisi <mike@mikepennisi.com> wrote:

[encoding] Defer API reference

This test references the API under test outside the context of a
subtest. This produces an uncaught exception in non-conforming
implementations. Currently, testharness.js interprets this result as a
failing "single-page test," although it will soon be more accurately
reported as a harness error [1].

Update the test to only reference the API from within the body of a
subtest.

[1] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md

This is in service of https://github.com/web-platform-tests/rfcs/pull/28

Component: web-platform-tests → Internationalization
Product: Testing → Core
Ran 4 tests and 16 subtests
OK     : 4
FAIL   : 16

New tests that have failures or other problems:
/encoding/streams/backpressure.any.html
    additional writes should wait for backpressure to be relieved for class TextDecoderStream: FAIL
    additional writes should wait for backpressure to be relieved for class TextEncoderStream: FAIL
    write() should not complete until read relieves backpressure for TextDecoderStream: FAIL
    write() should not complete until read relieves backpressure for TextEncoderStream: FAIL
/encoding/streams/backpressure.any.serviceworker.html
    additional writes should wait for backpressure to be relieved for class TextDecoderStream: FAIL
    additional writes should wait for backpressure to be relieved for class TextEncoderStream: FAIL
    write() should not complete until read relieves backpressure for TextDecoderStream: FAIL
    write() should not complete until read relieves backpressure for TextEncoderStream: FAIL
/encoding/streams/backpressure.any.sharedworker.html
    additional writes should wait for backpressure to be relieved for class TextDecoderStream: FAIL
    additional writes should wait for backpressure to be relieved for class TextEncoderStream: FAIL
    write() should not complete until read relieves backpressure for TextDecoderStream: FAIL
    write() should not complete until read relieves backpressure for TextEncoderStream: FAIL
/encoding/streams/backpressure.any.worker.html
    additional writes should wait for backpressure to be relieved for class TextDecoderStream: FAIL
    additional writes should wait for backpressure to be relieved for class TextEncoderStream: FAIL
    write() should not complete until read relieves backpressure for TextDecoderStream: FAIL
    write() should not complete until read relieves backpressure for TextEncoderStream: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e54fa578d6cd
[wpt PR 19478] - [encoding] Defer API reference, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/c4418df2ebb6
[wpt PR 19478] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.