Closed
Bug 672414
Opened 14 years ago
Closed 9 years ago
Multiple instances of "JavaScript strict warning: chrome://path/to/sometest.xul, line N: assignment to undeclared variable filePath" in mochitest-oth output
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: dholbert, Assigned: khuey)
References
Details
Bug 583863 added an undeclared variable "filePath" to a bunch of tests, triggering a warning like this for each affected test:
{
JavaScript strict warning: chrome://mochitests/content/chrome/docshell/test/chrome/bug294258_window.xul, line 48: assignment to undeclared variable filePath
}
...or like this in some cases:
{
TEST-INFO | chrome://mochitests/content/browser/browser/components/sessionstore/test/browser/browser_248970_b.js | Console message: [JavaScript Warning: "assignment to undeclared variable filePath" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser/browser_248970_b.js" line: 51}]
}
| Reporter | ||
Comment 1•14 years ago
|
||
(I think this just needs s/filePath/var filePath/ the first time the variable is used, in each affected test.)
| Reporter | ||
Updated•14 years ago
|
Summary: Multiple instances of "JavaScript strict warning: chrome://path/to/sometest.xul, line N: assignment to undeclared variable filePath" → Multiple instances of "JavaScript strict warning: chrome://path/to/sometest.xul, line N: assignment to undeclared variable filePath" in mochitest-oth output
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → khuey
| Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•