Closed Bug 1151664 Opened 7 years ago Closed 7 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.
https://hg.mozilla.org/mozilla-central/rev/a6e54018a69a
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.