Open annevk opened 2 years ago
I think it make sense.
I was modeled similarly to sandbox. Chrome is moving the document's sandbox into the document's PolicyContainer. It makes sense this applies to the anonymous bit as well.
Actually, this came up during a code review: https://chromium-review.googlesource.com/c/chromium/src/+/3634527/18/third_party/blink/renderer/core/loader/frame_loader.cc and a bug was created for it: https://bugs.chromium.org/p/chromium/issues/detail?id=1325733
Should the anonymous bit be stored on a policy container? It seems like it is meant to inherit into all the relevant places.