Status: New
Owner: ----
New issue 2656 by [email protected]: Incorrect comment or incorrect
code in v8/src/messages.js
http://code.google.com/p/v8/issues/detail?id=2656
ScriptNameOrSourceURL has this comment:
@return {?string} script name if present, value for //@ sourceURL comment
otherwise.
However the code actually implements:
@return {?string} script name if the script has a line or column offset,
otherwise the value from //@ sourceURL comment if present, or finally
{?string} script name if present.
So it always looks for a sourceURL and returns it in preference to
the .name.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.