New issue
Advanced search Search tips
Starred by 7 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 17


Show other hotlists

Hotlists containing this issue:
Hotlist-1


Sign in to add a comment

Execute Async Script does not return spec compliant error codes

Project Member Reported by kereliuk@chromium.org, Sep 8 2017

Issue description

spec: https://w3c.github.io/webdriver/webdriver-spec.html#execute-async-script

At least differs from the spec in returning Unknown Error when it should be returning Invalid Arguments
 
 
Project Member

Comment 1 by johnchen@chromium.org, Aug 3

Labels: StandardsCompliance
Also returns "asynchronous script timeout" and not "script timeout".
Project Member

Comment 3 by johnchen@chromium.org, Aug 22

Labels: Pri-2
Owner: ----
Project Member

Comment 4 by johnchen@chromium.org, Sep 17 (6 days ago)

Owner: buldina@chromium.org
Status: Assigned (was: Available)

Comment 5 by buldina@chromium.org, Sep 17 (6 days ago)

Labels: ToBeReleased ChromeDriver-2.43
Status: Fixed (was: Assigned)
Project Member

Comment 6 by johnchen@chromium.org, Sep 17 (6 days ago)

commit c263819ca8e3942de6387027a8686bad08cf1fc0
Author: Tatiana Buldina <buldina@chromium.org>
Date:   Mon Sep 17 21:06:47 2018 +0000

    [ChromeDriver] Update returned error codes
    
    Make ExecuteExecuteAsyncScript(), ExecuteGet(), ExecuteExecuteScript()
    return kInvalidArgument according W3C standard
    
    chromedriver: 2000, chromedriver:2001, chromedriver:1987
    Change-Id: Id5c82fca12bc32ef88c59e84f53d04f77e6114ca
    Reviewed-on: https://chromium-review.googlesource.com/1228753
    Commit-Queue: Tatiana Buldina <buldina@chromium.org>
    Reviewed-by: John Chen <johnchen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#591813}

Sign in to add a comment