Open Bug 1513978 Opened Last year

Cached console messages are subject to later alterations

Categories

(DevTools :: Console, defect, P3)

65 Branch
defect

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

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
You need to log in before you can comment on or make changes to this bug.