Open
Bug 1326866
Opened 8 years ago
Updated 2 years ago
Debugger and Style editor don't scroll selected script/style into view when I switch from Inspector
Categories
(DevTools :: General, defect, P3)
DevTools
General
Tracking
(Not tracked)
NEW
People
(Reporter: arni2033, Unassigned)
Details
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open url [1]
2. Open inspector, open ruleview
3. Click on link "inline:1" to open stylesheet
STR_2:
1. Open url [1]
2. Open inspector
3. Click on (ev) button near <html> in markup, then "Open in debugger" button in popup to open script
4. Switch back to inspector, repeat Step 3 (this is required to work around another bug)
AR: Correct script/style opens in debugger/style editor, but it's not visible in the left sidebar
ER: Script/style should be scrolled into view in the left sidebar
> [1] data:text/html,<script>var short = "<style>a{width:0px}</style>";var long = "<style>body{color:red;display:block}</style>";var S = "data:text/html,";for(i=0;i++<99;)S+=short;S+=long;for(i=0;i++<99;i)S+="<scr"+"ipt src='data:text/javascript,onclick=function(){}//"+i+".js'></scr"+"ipt>";location.href=S;</script>
Note:
In some cases in STR_2 debugger only shows 2 sources. That's bug 1211514.
To work around bug 1211514 you will need to open debugger, reload the page until you see
all 99 sources loaded in debugger, then go to Step 4
Priority: -- → P3
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•