Incorrect error locations for errors from scripts importScripts'ed by the frameworker

RESOLVED FIXED in Firefox 27

Status

()

Firefox
SocialAPI
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: florian, Assigned: florian)

Tracking

Trunk
Firefox 27
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Created attachment 817148 [details] [diff] [review]
Patch

Example of error I got:
TypeError: callback is not a function @ resource://gre/modules/FrameWorker.jsm:252

The line number is actually the real line of the error + the line of the evalInSandbox call (as explained in bug 307984).
Attachment #817148 - Flags: review?(mhammond)
Comment on attachment 817148 [details] [diff] [review]
Patch

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

nice!
Attachment #817148 - Flags: review?(mhammond) → review+
(Assignee)

Comment 2

4 years ago
Pushed to try to ensure the test works on all platforms: https://tbpl.mozilla.org/?tree=Try&rev=783e38a12527
(Assignee)

Comment 3

4 years ago
https://hg.mozilla.org/integration/fx-team/rev/8c8de10998cb
https://hg.mozilla.org/mozilla-central/rev/8c8de10998cb
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
You need to log in before you can comment on or make changes to this bug.