[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 Review URL: https://codereview.chromium.org/609283002 Cr-Commit-Position: refs/heads/master@{#297394}
Showing
Please register or sign in to comment