repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git]
/
js
/
xpconnect
/
tests
/
unit
/
test_import_fail.js
blob
9ad7fcb0726126d9c8f1114a379a1356dea7ecce
1
function run_test()
2
{
3
try {
4
ChromeUtils.import("resource://test/importer.jsm");
5
Assert.ok(false, "import should not succeed.");
6
} catch (x) {
7
Assert.notEqual(x.fileName.indexOf("syntax_error.jsm"), -1);
8
Assert.equal(x.lineNumber, 1);
9
}
10
}