Open
      
        Bug 1327717
      
      
        Opened 8 years ago
          Updated 1 year ago
      
        
    
  
Devtools break and can't be closed if document.open() is involved 
    Categories
(DevTools :: General, defect, P3)
        DevTools
          
        
        
      
        
    
        General
          
        
        
      
        
    Tracking
(Not tracked)
        NEW
        
        
    
  
People
(Reporter: arni2033, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 obsolete file)
>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open the following "data:" url in a new tab
> data:text/html,<html onclick='open(); setTimeout(function(){location.href="http://ya.ru/"},8000)'>
2. Open debugger -> events, wait until page source appears
3. Click on the page   (then in less than 8 seconds perform remaining steps)
4. Switch to inspector tab in devtools
5. Press Ctrl+Shift+I, i.e. try to close devtools
6. Press Ctrl+Shift+S, i.e. try to switch to debugger
7.(bonus) wait 8 seconds, then click close button in devtools toolbox
AR:  Step 3 - debugger becomes empty. Step 4 - inspector is empty too. Step 5 fails. Step 7 fails.
ER:  Step 5 should close devtools
See Also:  → 1327677
          Comment 1•8 years ago
           
         | 
      ||
Failure starting at step 6 should be related to bug 1328004.
Breakage around document.open() is already reported in bug 1277348.
Priority: -- → P3
          Updated•7 years ago
           
         | 
      
Product: Firefox → DevTools
          Updated•3 years ago
           
         | 
      
Severity: normal → S3
          Updated•1 year ago
           
         | 
      
        Attachment #9386096 -
        Attachment is obsolete: true
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•