WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
161188
javascript exception when evaluating built in objects
https://bugs.webkit.org/show_bug.cgi?id=161188
Summary
javascript exception when evaluating built in objects
David Keijser
Reported
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`
Attachments
Add attachment
proposed patch, testcase, etc.
David Keijser
Comment 1
2016-08-25 01:41:48 PDT
Using webkit_web_view_run_javascript I should probably add
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug