loadFrameScript should throw if the URI passed to it cannot be resolved

NEW
Unassigned

Status

()

P5
normal
4 years ago
6 months ago

People

(Reporter: mconley, Unassigned)

Tracking

31 Branch
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

I just wasted about an hour chasing my tail because of this:

mm.loadFrameScript("data,(" + frame_script.toString() + ")();", false);
// ---------------------^ missing semi-colon

Basically, I passed an invalid URI to loadFrameScript, and it failed to load it silently. It would be great if we could throw or show some useful error message for that case.
(Reporter)

Comment 1

4 years ago
er, not semi-colon - I'm missing the colon in that URI.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.