Closed Bug 1730324 Opened 3 years ago Closed 3 years ago

[web-share] implement validate share and non-fully active check

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: marcos, Assigned: marcos)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15

Steps to reproduce:

Call share() in a non-fully active document.

Actual results:

It returned a promise rejected with an unexpected error.

Expected results:

It should have returned a promise rejected with InvalidStateError.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Summary: web-share implement validate share → [web-share] implement validate share and non-fully active check

update implementation to match spec, but exclude .canShare()

Assignee: nobody → marcos
Blocks: webshare
Type: defect → enhancement
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ab5f761072d3 [web-share] implement validate share and non-fully active check r=saschanaz
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: