Closed Bug 1554090 Opened 5 years ago Closed 5 years ago

Firefox debugger script tag

Categories

(DevTools :: Debugger, defect)

67 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1538056

People

(Reporter: elineau.alain, Unassigned)

Details

User Agent: Mozilla/5.0 (Linux; Android 8.1.0; ASUS_X00TD) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Mobile Safari/537.36

Steps to reproduce:

If in a page two in line script, the second one and next are not recognised by Firefox debugger, impossible to put a break point in the nth scripts. Exemple <script>alert(1) </script><script>alert(2) </script> both alert are executed but debugger can set breakpoint only on first scriot

Expected results:

This issue doesn't exist in chrome and Internet explorer and did not exist before in Firefox

Component: Untriaged → Debugger
Product: Firefox → DevTools

Thanks

here is a small test case https://dbg-alerts.glitch.me/

this happens because we do not calculate column offsets for inline scripts. We're working on fixing this now though

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.