Closed Bug 1151664 Opened 11 years ago Closed 10 years ago

Make claim return undefined for now

Categories

(Core :: DOM: Workers, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: dougt, Assigned: dougt)

Details

Attachments

(1 file)

Some demos for push are using this for sw activation: this.addEventListener("activate", function(evt) { console.log("SW onactivate"); if (clients.claim) evt.waitUntil(clients.claim()); }); Our claim() implementation throws because we haven't implemented it yet. Until we do, lets just return UndefinedHandleValue.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: