Closed Bug 800281 Opened 12 years ago Closed 12 years ago

Remove usage of MozWebSocket in FrameWorker.jsm

Categories

(Firefox Graveyard :: SocialAPI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 19

People

(Reporter: jaws, Assigned: ananuti)

Details

(Whiteboard: [good first bug][mentor=jaws][lang=js])

Attachments

(1 file)

Starting in Gecko 11, MozWebSocket was unprefixed and should just be referenced as WebSocket.

We should remove the reference to MozWebSocket in FrameWorker.jsm in this array,
> let workerAPI = ['MozWebSocket', 'WebSocket', 'localStorage',
>                  'atob', 'btoa', 'clearInterval', 'clearTimeout', 'dump',
>                  'setInterval', 'setTimeout', 'XMLHttpRequest',
>                  'MozBlobBuilder', 'FileReader', 'Blob',
>                  'location'];

https://mxr.mozilla.org/mozilla-central/source/toolkit/components/social/FrameWorker.jsm#99
Attached patch patchSplinter Review
Assignee: nobody → ananuti
Status: NEW → ASSIGNED
Attachment #670676 - Flags: review?(jaws)
Comment on attachment 670676 [details] [diff] [review]
patch

Review of attachment 670676 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me!
Attachment #670676 - Flags: review?(jaws) → review+
I verified there is no reason to keep MozWebSocket in the worker.
https://hg.mozilla.org/mozilla-central/rev/eaffa9d2341e
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: