Closed Bug 1784414 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 35447 - [beacon-api] Support `Blob` type in POST beacon's `setData()`

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox106 fixed)

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Ming-Ying Chung <mych@chromium.org> wrote:

[beacon-api] Support Blob type in POST beacon's setData()

  • Support setting & sending Blob and file-like object
  • Specify data limit for ArrayBuffer* types and throws exception when
    exceeding, which is the same as what navigator.sendBeacon()
    does.
  • Throws exception when getting ReadableStream type.

Bug: 1293679
Change-Id: I2c86efda3617910012d4a97e48642d1cd800e1a4
Reviewed-on: https://chromium-review.googlesource.com/3823144
WPT-Export-Revision: 0adcf522272051185a672c6a72b018a32871d792

PR 35447 applied with additional changes from upstream: 74938560647321aed597aa158a4bff731edbd759, f1ef84ca14e9e7f18d82544dfa2191ccab027757

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests

Status Summary

Firefox

ERROR: 4

Chrome

ERROR: 4

Safari

ERROR: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5da23579f5e4 [wpt PR 35447] - [beacon-api] Support `Blob` type in POST beacon's `setData()`, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.