This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24828 - 11.2.1 executeScript does not specify how to handle invalid return types
Summary: 11.2.1 executeScript does not specify how to handle invalid return types
Status: RESOLVED FIXED
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Browser Testing and Tools WG
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20860
  Show dependency treegraph
 
Reported: 2014-02-26 22:25 UTC by jleyba
Modified: 2015-10-26 01:14 UTC (History)
3 users (show)

See Also:


Attachments

Description jleyba 2014-02-26 22:25:04 UTC
If executeScript does not indicate how to handle an invalid return type (e.g. a function).  The text should be updated to indicate WebDriver should throw.
Comment 1 James Graham 2015-10-26 01:12:44 UTC
I think this is handled by https://w3c.github.io/webdriver/webdriver-spec.html#dfn-json-clone now