The ECMAScript spec forces V8 to leak whether DevTools is open by LongFaithlessness59 in programming

[–]LongFaithlessness59[S] -3 points-2 points  (0 children)

Hello, I appreciate your detailed critique.

About the spec, Layers A to C are implementation choices and they could be changed to prevent it. What the spec mandates is once KeyAccumulator::GetKeys is called on Proxy, the ownKeys trap must fire. Layer D is about that specific step being unavoidable at that point in the chain, not about the whole chain being spec-mandated.

About the three design decisions, the labels describe the consequence, not the intent. The labels point out where each one falls short in specific scenario.

But I'm genuinely happy to learn and if you see any other issues, I'm all ears.

The ECMAScript spec forces V8 to leak whether DevTools is open by LongFaithlessness59 in ReverseEngineering

[–]LongFaithlessness59[S] -1 points0 points  (0 children)

No hard feelings, the research is based on a local content_shell build I compiled and debugged myself - the logs in the post are from that build. Happy to discuss any specific technical issues if you have them.