Bug 172587
Summary: | [GTK] Source URL reported as "undefined" from user run script | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Keijser <keijser> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | aperez, bugs-noreply, cgarcia, mcatanzaro, ysuzuki |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
David Keijser
Scripts run in the web view with `webkit_web_view_run_javascript` has the source file reported as the literal string "undefined"
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adrian Perez
I think this is to be expected, because the name of the source file
is never set when using “webkit_web_view_run_javascript()”. That being
said, maybe it makes sense that the name is set to something sensible
like “<no file>” instead of leaving it as undefined.
I added Carlos García in CC, who has been recently doing improvements
in our JS support (including the new JSC GLib API) so it would be
interesting to know his opinion on this.