The problem here is related to the '//# sourceURL=my-foo.js' in the eval'ed
source, which assigns a URL to the source which the client can use. When the
client wants to set a breakpoint in that source, it sends the URL down to the
server, but then the server goes and compares the URL with the
Debugger.Source's .url property, which is a different value
("http://whatever/script.js line 8 > eval"). I think it would make more sense
to use the actor's .url property, which is almost the same as what was sent up
to the client. (The source actor's form actually sends 'this.url.split(" ->
").pop()'; I don't know what this is for but hopefully it is no longer
necessary.)
--
Bugzilla@Mozilla
unread,
Mar 6, 2019, 2:06:03 PM3/6/19
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message