Closed Bug 1574193 Opened 5 years ago Closed 5 years ago

The server should hide watchpoint getters and setters

Categories

(DevTools :: Debugger, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlast, Unassigned)

References

(Blocks 1 open bug)

Details

We should not show watchpoint getters and setters in the UI. Instead, the server should show the original property value.

Priority: -- → P3

This was resolved by the server patch

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

I have found a situation where the watchpoint getters and setters aren't hidden:
I have a global object obj = { a: 1 } with a watchpoint on its a property.
When I write obj in the debug console, I get "Object { a: 1 }" as expected.
But when I write console.log(obj) in the debug console, I get "Object { a: Getter & Setter }"...

You need to log in before you can comment on or make changes to this bug.