Closed
Bug 1298830
Opened 8 years ago
Closed 5 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•8 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•8 years ago
|
||
Possible duplicate of Bug 860312
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
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.
Description
•