[Webkit-unassigned] [Bug 171997] navigator.webdriver should return false if the page is not controlled by automation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 19 18:10:58 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=171997
--- Comment #11 from Chris Dumez <cdumez at apple.com> ---
Comment on attachment 310570
--> https://bugs.webkit.org/attachment.cgi?id=310570
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=310570&action=review
> Source/WebCore/Modules/webdriver/NavigatorWebDriver.cpp:72
> JSValue JSNavigator::webdriver(ExecState&) const
If you drop the [Custom], I believe you'll need to drop this method and add a new one:
static bool NavigatorWebDriver::webdriver(Navigator&) const
{
return isControlledByAutomation();
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170520/ca837056/attachment.html>
More information about the webkit-unassigned
mailing list