FuckTheWorld / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

XPathElementFindingTest/ElementFindingTest failures #1155

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After crrev.com/1197183003 landed, XPathElementFindingTest tests have started 
failing on our waterfall. XPathElementFindingTest.java no longer exists in the 
upstream selenium repo - the tests have been moved to ElementFindingTest.java.

Issue 1138 exists to track updating the tests on the waterfall, and this issue 
is for the failing tests themselves.

Original issue reported on code.google.com by samu...@chromium.org on 20 Jul 2015 at 6:32

GoogleCodeExporter commented 9 years ago
After some investigation, it looks like there is a bug the upstream selenium 
repo. It appears to be specifying type information incorrectly, and this is 
resulting in incorrect output from the closure optimizer.

https://github.com/google/closure-compiler/issues/1044

In the meantime, we've got a workaround: invoke the closure compiler with 
--use_types_for_optimization=false.

Original comment by samu...@chromium.org on 20 Jul 2015 at 6:32