[jsdbg2] unparsable source

NEW
Unassigned

Status

()

Core
JavaScript Engine
5 years ago
4 years ago

People

(Reporter: David Bruant, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

417 bytes, application/gzip
Details
544 bytes, text/plain
Details
(Reporter)

Description

5 years ago
Created attachment 771834 [details]
Test data

1) Open index.html from testdata.tar.gz in Firefox
2) Open s.js in a scratchpad
3) execute the scratchpad in browser context

What is observed (current Aurora and current Nightly):
2 scripts. The second has source.url === null (is it expected?) and its source.text is "(){}" which isn't anywhere in either the HTML nor the JS file.

I imagine this might be the button@onclick script
(Reporter)

Comment 1

5 years ago
Created attachment 771835 [details]
s.js
(Reporter)

Comment 2

5 years ago
(In reply to David Bruant from comment #0)
> The second has source.url === null (is it expected?) and its
> source.text is "(){}"
Just to be extremely accurate, the exact text is:
--------------
() {
}
--------------
(Assignee)

Updated

4 years ago
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.