Closed Bug 570039 Opened 11 years ago Closed 10 years ago

Errors in plugins are reported from tiki.js in Firebug

Categories

(Skywriter Graveyard :: Add-ons & Plugins, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pcwalton, Unassigned)

References

Details

Because XHR is used to load plugins, Firebug doesn't manage to tag the error correctly. Possible solution: Wrap plugin loading in a try/catch/rethrow block.
Depends on: 332176
This is a bug in SpiderMonkey (bug 332176). Can't do anything about it until it's fixed.
Sigh. That's precisely the reason that I was so keen on using script tags when I wrote the first bespin plugin loader last summer. Can we use script tags to load in the main thread and XHR in the workers?
Yeah, I'm about to commit a change to do just that.
Great. That should be optimal.
Workaround committed as changeset f454cccdecb1.
Assignee: pwalton → nobody
Status: ASSIGNED → NEW
Script tag insertion is how we're going to load plugins in Skywriter going forward, so this bug is no longer applicable.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.