Description[ServiceWorker] Fix RenderFrameImpl::isControlledByServiceWorker()
In current code, we check the main frame's data_source in RenderFrameImpl.
But even if the main frame is not controlled by the ServiceWorker the iframe on it could be controlled by the ServiceWorker.
So we must check their own frame_'s data_source.
BUG=411151
Committed: https://crrev.com/bf24e5ea0df583420cb420330efef7de12801875
Cr-Commit-Position: refs/heads/master@{#297394}
Patch Set 1 #
Total comments: 2
Patch Set 2 : DCHECK(frame_) #Messages
Total messages: 17 (5 generated)
|