DescriptionReplicate LayoutTestRuntimeFlags across secondary window renderers.
Before this CL, LayoutTestRuntimeFlags would only be replicated across
renderers with frames belonging to the main test window. After this CL,
LayoutTestRuntimeFlags are replicated across all renderers (including
renderers for secondary window frames).
This CL also switches to use control/process IPC messages (rather than
RenderView messages) for propagating changes to LayoutTestRuntimeFlags.
This is desirable, because LayoutTestRuntimeFlags are a global object,
not really associated with a specific RenderView and/or BlinkTestRunner.
This is also nice from code clean-up perspective - this approach doesn't
need a swapped-out exception in LayoutTestContentClient and other
baroque pieces of code in BlinkTestRunner and BlinkTestController.
Regrettably, even after this CL, TestRunner continues to notify
the world about LayoutTestRuntimeFlags changes via an arbitrarily
picked BlinkTestRunner / WebTestDelegate.
After this CL (and after the earlier https://crrev.com/1875303002)
flags controlling WebContentSettingsClient are replicated to secondary
renderers. This means that a few extra mixed content layout tests
are passing in --site-per-process mode and allows to remove test
expectations for this mode.
BUG=587175, 582525, 595895
Committed: https://crrev.com/23c3a85fc9c33eecaec87d9cc85195dcdfb4b3aa
Cr-Commit-Position: refs/heads/master@{#387977}
Patch Set 1 #Patch Set 2 : Self-review. #Patch Set 3 : More self review. #Patch Set 4 : Global tracking of focused view. #Patch Set 5 : Extracted half of changes to https://crrev.com/1890223002 #
Total comments: 2
Patch Set 6 : Rebasing... #Depends on Patchset: Messages
Total messages: 22 (12 generated)
|