Show origin for Paint/LayoutWorklet in DevTools context selector
Previously, an opaque origin is passed to MainThreadDebugger::ContextCreated() for Paint/Layout worklets, and caused the origins in the context selector shown as "IFrame". This CL passes DocumentSecurityOrigin() instead, which is the origin of the Document that creates the worklets, and thus shows the correct origin. Bug: 866666, 861564 Change-Id: Ic038b3901ed0e301e4d2d9afdf632f7caf6add77 Reviewed-on: https://chromium-review.googlesource.com/1141290Reviewed-by:Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by:
Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#578754}
Showing
Please register or sign in to comment