Merge request for ChromeDriver w3c mode flag handling bug fix |
||||
Issue descriptionRequesting merge of https://chromium-review.googlesource.com/1227226 to m70 branch. This CL fixes a ChromeDriver bug in determining when to operate in W3C-compliant mode. This bug created difficulties for using ChromeDriver inside google3 environment, and will also cause problems for external users as WebDriver libraries move to better standard compliance. This fix was originally done under issue chromedriver:2371 . Note that these changes are in ChromeDriver directory (src/chrome/test/chromedriver), and Chrome does not depend on that at all, so these will have no impact on Chrome binary that is shipping. See go/chromedriver-versioning and go/chops-proj-rev-27 for background.
,
Sep 18
,
Sep 18
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/bdf77f2eff3f028758c2c293a477844c3506e4ce commit bdf77f2eff3f028758c2c293a477844c3506e4ce Author: John Chen <johnchen@chromium.org> Date: Tue Sep 18 02:06:25 2018 [ChromeDriver] Improve W3C mode flag handling While processing Init Session command, ChromeDriver now looks for W3C mode flag at more locations, including capabilities.firstMatch and desiredCapabilities. Also making it possible to change the default mode using a single constant kW3CDefault. Bug: 884757 , chromedriver:2371 Change-Id: I674df3571f50762a595a02034bb891513cb10f9d Reviewed-on: https://chromium-review.googlesource.com/1227226 Commit-Queue: John Chen <johnchen@chromium.org> Reviewed-by: Caleb Rouleau <crouleau@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#591589}(cherry picked from commit d704de8c3703bbb4d8201423c521f17697b5f9e2) Reviewed-on: https://chromium-review.googlesource.com/1228306 Cr-Commit-Position: refs/branch-heads/3538@{#470} Cr-Branched-From: 79f7c91a2b2a2932cd447fa6f865cb6662fa8fa6-refs/heads/master@{#587811} [modify] https://crrev.com/bdf77f2eff3f028758c2c293a477844c3506e4ce/chrome/test/chromedriver/commands.cc [modify] https://crrev.com/bdf77f2eff3f028758c2c293a477844c3506e4ce/chrome/test/chromedriver/session.cc [modify] https://crrev.com/bdf77f2eff3f028758c2c293a477844c3506e4ce/chrome/test/chromedriver/session.h [modify] https://crrev.com/bdf77f2eff3f028758c2c293a477844c3506e4ce/chrome/test/chromedriver/session_commands.cc [modify] https://crrev.com/bdf77f2eff3f028758c2c293a477844c3506e4ce/chrome/test/chromedriver/test/run_py_tests.py
,
Sep 18
|
||||
►
Sign in to add a comment |
||||
Comment 1 by sheriffbot@chromium.org
, Sep 17