Closed Bug 1327711 Opened 7 years ago Closed 5 years ago

Debugger doesn't show source in a window.open on http://stewd.io/pong/ (Browser pong)

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: arni2033, Unassigned)

Details

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open url [1]
2. Open debugger
3. Click "Click to pause" button, wait 3 seconds

AR:  Debugger selects the 2nd script and shows code "update_intervals()"
ER:  Debugger should show the actual code in selected script

> [1] <script src="data:text/javascript,onclick=function(){}//.js"></script>
data:text/html,<script src="data:text/javascript,onclick=function(){}//.js"></script><script src="data:text/javascript,setInterval('update_intervals()',3000); function update_intervals(){console.log(Date.now())}//.js"></script>



STR_2:  (origin; unreliable)
1. Open  http://sc2tv.ru/user/register
2. Open debugger
3. Set breaking at event "DOMMouseScroll"
4. Hover mouse over the scrollable block at the center of the page, rotate mouse wheel down once

AR:  Debugger selects one of scripts and shows code "update_intervals()"
ER:  Debugger should show the actual code in selected script



STR_3:  (original; the very first time I encountered it)
0. Open devtools, move devtools to separate window, close devtools
1. Open http://stewd.io/pong/
2. Click "Play", wait until 3 windows open
3. Click "Pause"
4. Switch to small window with url "http://stewd.io/pong/ball.html"
5. Press Ctrl+Shift+S to open debugger
6. Click "Click to pause" button in debugger
 (bonus - there's already bug, but you can continue)
7. Press "Step in" until you finish "debugging"

AR:
 Debugger doesn't display source of the script. It only displays text "move()" w/o outer quotes
 However, I can see how line numbers change in Step 7

ER:
 Debugger should display the actual code and let me see what I'm "debugging"
No longer blocks: 1277113
Component: Untriaged → Developer Tools: Canvas Debugger
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
Product: Firefox → DevTools

This seems to work now, but the game seems broken in my multi-screen setup; so I am not fully sure what the expected behavior is.

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