paulirish/break-on-access

add this option to devTools

Closed this issue · 3 comments

This is such a handy snippet!

Can this be ported to dev tools to set a breakpoint on cookie set/change/remove
cookie

I did a super quick test and I was in fact able to override document.cookie with Object.defineProperty so for cookies at least it would be possible.

Oh, sorry I was in a hurry when I saw this. Probably? But this is the wrong place to be asking I think.

this is upstream here: https://code.google.com/p/chromium/issues/detail?id=154804
see my latest comment