Closed Bug 986998 Opened 10 years ago Closed 10 years ago

self is not defined in Social API worker

Categories

(Firefox Graveyard :: SocialAPI, defect)

28 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: pbmaxi, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140317233501

Steps to reproduce:

I wanted to write a Social API provider and tried to access the self object from within the main worker.


Actual results:

The self object does not exist.


Expected results:

According to the documentation (https://developer.mozilla.org/en/docs/Social_API/Service_worker_API_reference), "a Service Worker inherits all the limitations and behaviors available to HTML5 Shared Workers".
So it should also be possible to access the self object (first paragraph of https://developer.mozilla.org/en-US/docs/Web/Guide/Performance/Using_web_workers).
Component: Untriaged → SocialAPI
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Depends on: 898706
Resolution: --- → INVALID
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.