[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
Mon May 22 14:14:13 PDT 2017


--- Comment #13 from Sergey Shekyan <shekyan at gmail.com> ---
(In reply to Chris Dumez from comment #11)
> Comment on attachment 310570 [details]
> 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();
> }

It was a little more than that, but I think it works now. What should we do about worker navigator?

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/20170522/10bb609c/attachment-0001.html>

More information about the webkit-unassigned mailing list