Closed
Bug 1298830
Opened 10 years ago
Closed 7 years ago
mysterious warning: Ignoring get or set of property that has [LenientThis] because the “this” object is incorrect.
Categories
(DevTools :: Console, defect, P2)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 860312
People
(Reporter: claude.pache, Unassigned)
References
Details
Repro steps
-----------
1. Open a new tab.
2. Open the web console.
3. Enter: Object.getPrototypeOf(document.createElement('div'))
Actual result
-------------
Got the warning: Ignoring get or set of property that has [LenientThis] because the “this” object is incorrect.
Expected result
---------------
I don’t know what is expected, since I don’t understand the warning, to begin with. Either no warning, or a link explaining what it means.
Comment 1•10 years ago
|
||
I think this is triggered by something inside the console itself since I don't see the warning on data:text/html,<script>Object.getPrototypeOf(document.createElement('div'))</script> but I do on data:text/html,<script>console.log(Object.getPrototypeOf(document.createElement('div')))</script>.
So seems the fix should be getting rid of the warning entirely.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
| Reporter | ||
Comment 2•10 years ago
|
||
Possible duplicate of Bug 860312
Updated•8 years ago
|
Product: Firefox → DevTools
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•