Closed Bug 771809 Opened 12 years ago Closed 11 years ago

make FrameWorker use identity's Sandbox.jsm for iframe creation

Categories

(Firefox Graveyard :: SocialAPI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Gavin, Unassigned)

Details

Attachments

(1 file)

These two modules do very similar things (create a restricted, hidden iframe), and so it makes sense to investigate re-using the same code. This might require tweaking the Sandbox.jsm API a bit.
Attached patch WIPSplinter Review
This doesn't actually work yet. The callback isn't being fired, and as such we fail to set up the frameworker properly. We'll probably need to change the sandbox API to allow being called back onload, and/or expose a way to get at the actual frame (._frame is probably not meant to be accessed externally).
In the longer term, we really just want to use a real worker (blocked by bug 504553).  since we have enough social-specific requirements right now with our frameworker, I'm going to close this.  Lets wait on bug 504553 and then refactor.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
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: