Closed Bug 1513978 Opened 5 years ago Closed 5 months ago

Cached console messages are subject to later alterations

Categories

(DevTools :: Console, defect, P3)

65 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 754861

People

(Reporter: nchevobbe, Unassigned)

References

Details

**Steps to reproduce**
1. Go to `data:text/html,<meta charset=utf8><script>x = [];console.log(x); x.push("shouldn't be logged");</script>`
2. Open the console
3. The following is printed: `Array [ "shouldn't be logged" ]`
4. Reload the page
5. The following is printed: `Array []`

**Expected results**

In Step 3, we should have the same result as in step 5, an empty array.

---

This might confuse people because doing the same thing have different effects
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 5 months ago
Duplicate of bug: 754861
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.