Bug 161188 - javascript exception when evaluating built in objects
Summary: javascript exception when evaluating built in objects
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-25 01:41 PDT by David Keijser
Modified: 2016-08-25 01:41 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Keijser 2016-08-25 01:41:01 PDT
When running a script that evaluates to some built in object like e.g `window`, `window.location` etc a javascript exception is returned. Explicitly coercing to a string like `""+window` does not result in an exception and anything returning a primitive also works like `window.length`
Comment 1 David Keijser 2016-08-25 01:41:48 PDT
Using webkit_web_view_run_javascript I should probably add