Closed
Bug 1436822
Opened 7 years ago
Closed 7 years ago
Startup terminalspew: "JavaScript error: chrome://browser/content/tabbrowser.xml, line 2473: TypeError: cannot use 'in' operator to search for 'canGoBack' in 'browser'"
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
DUPLICATE
of bug 1436351
People
(Reporter: dholbert, Unassigned)
Details
Attachments
(1 file)
300.31 KB,
image/png
|
Details |
I noticed this today, among the first ~20 lines of terminal output of my local mozilla-central debug build, when I run e.g. "./mach run" or "./mach reftest":
> JavaScript error: chrome://browser/content/tabbrowser.xml, line 2473:
> TypeError: cannot use 'in' operator to search for 'canGoBack' in 'browser'
It shows up in the Browser Console, too (see screenshot coming up). It seems to point to this chunk of code:
> // If browser is a lazy browser, delete the substitute properties.
> if (this._browserBindingProperties[0] in browser) {
> for (let name of this._browserBindingProperties) {
> delete browser[name];
> }
> }
I think it's complaining about the first line there (the "this._browserBindingProperties[0] in browser" check), though technically the reported line number is for the following line.
Not sure what's going on here, but I'm pretty sure this is a recent regression, because I don't recall seeing this error output before.
Reporter | ||
Comment 1•7 years ago
|
||
My tree is based on https://hg.mozilla.org/mozilla-central/rev/0ac953fcddf1 (with some unrelated gecko layout patches stacked on top).
Keywords: regression
Reporter | ||
Comment 2•7 years ago
|
||
(and I'm on 64-bit Ubuntu 17.10 Linux, if it matters)
Keywords: regressionwindow-wanted
Reporter | ||
Comment 3•7 years ago
|
||
Ah, looks like this was a dupe of bug 1436351, which has since been fixed -- hooray!
I confirmed that I don't see this in my startup terminal output anymore, too. (So it does seem indeed to be fixed.)
No longer blocks: 1287330
Status: NEW → RESOLVED
Closed: 7 years ago
Keywords: regression,
regressionwindow-wanted
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•