Closed Bug 1165436 Opened 9 years ago Closed 5 years ago

Tab console shows script actor warning

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1298830

People

(Reporter: jryans, Unassigned)

References

()

Details

I noticed a console warning appeared from the script actor while viewing a content page in a tab.  The seems surprising as I would only think they would appear in the browser toolbox...

Anyway, the message was:

Ignoring get or set of property that has [LenientThis] because the "this" object is incorrect. script.js:3500:0

which points to the line

let result = getter.call(this.obj);

inside _findSafeGetterValues.

STR:

1. Go to URL
2. Open the inspector tab
3. Click on the #content element
4. Switch to the console tab
5. Type $0
6. Click on the result (not the highlighter icon) to open the variable view side panel

ER:

No warning.

AR:

Script actor warning appears.
The warning is triggered by eval code from VariablesView that is run in the context of the page global, so the console can't tell it apart from other page warnings.
Product: Firefox → DevTools
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.