Closed Bug 1327164 Opened 8 years ago Closed 4 years ago

Debugger displays empty scripts as broken [0x80470002 (NS_BASE_STREAM_CLOSED)]

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: arni2033, Unassigned)

References

(Blocks 1 open bug)

Details

>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509 STR_1: 1. Open url [1] 2. Open debugger, switch to script "about:blank" STR_2: 1. Choose any line [2]-[4] 2. Open url in the line from Step 1 3. Open debugger, switch to script with name mentioned in the line from Step 1 > [1] data:text/html,<script src="about:blank"></script><script src="data:text/javascript,onclick=function(){console.log(123)}"></script> > [2] name: "mb" url: data:text/html,<script src="http://montblanc.rambler.ru/mb"></script><script src="data:text/javascript,onclick=function(){console.log(123)}"></script> > [3] name: "723233" url: data:text/html,<script src="https://mc.yandex.ru/watch/723233?wmode=5"></script><script src="data:text/javascript,onclick=function(){console.log(123)}"></script> > [4] name: "tt.onthe.io" url: https://rns.online/quote_videos/Politsiya-ne-nazivaet-strelbu-v-Myunhene-teraktom-2016-07-23/?track=head_video AR: Debugger shows error instead of the actual script (user doesn't know yet that it's empty) ER: Either X or X+Y X) Debugger should show empty script Y) Debugger should show a special button/sign saying that script is empty and debugger isn't broken Note: STR_2 is unreliable, but it proved to me that it happens with all empty scripts on the web
No longer blocks: 1277113
Component: Untriaged → Developer Tools: Canvas Debugger
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
Product: Firefox → DevTools

Currently about:blank shows no sources, so we should see if a Source object every makes it to debugger.

Blocks: dbg-sources
Priority: -- → P3

I don't see an error on these anymore.

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