Closed
Bug 767396
Opened 14 years ago
Closed 14 years ago
Modifying the source code for a JS or adding new JSs to a web page is not picked up by the Debugger when reloading the web page
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 758663
People
(Reporter: ioana_damy, Unassigned)
References
()
Details
(Whiteboard: [testday-20120706])
Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120621 Firefox/15.0a2 (20120621042006)
STR:
1. Load a web page with at least one JS in the browser.
2. Open the Debugger (Tools->Web developer->Debugger, or press Ctrl+Shift+S).
3. Change the source for the JS loaded in the Debugger.
4. Reload the page in the browser.
5. Add another script to the loaded page.
6. Reload the page in the browser.
The changes are not picked up by the Debugger, although the page is reloaded with the changes in the browser. This issue is intermittent.
Comment 1•14 years ago
|
||
Can only reproduce this with file:// urls in which the script doesn't have enough time to execute. Most likely related to bug 758663.
Comment 2•14 years ago
|
||
(In reply to Victor Porof from comment #1)
> Can only reproduce this with file:// urls in which the script doesn't have
> enough time to execute. Most likely related to bug 758663.
Yes, me too. Ioana can you be more specific on your STR? Using your referenced URL I can modify the page at will, and the changes are reflected in the debugger. Also, can you verify that it's still present with the latest nightly?
| Reporter | ||
Comment 3•14 years ago
|
||
(In reply to Panos Astithas [:past] from comment #2)
> (In reply to Victor Porof from comment #1)
> > Can only reproduce this with file:// urls in which the script doesn't have
> > enough time to execute. Most likely related to bug 758663.
>
> Yes, me too. Ioana can you be more specific on your STR? Using your
> referenced URL I can modify the page at will, and the changes are reflected
> in the debugger. Also, can you verify that it's still present with the
> latest nightly?
This issue doesn't reproduce on the latest nightly (20120701030537).
On the latest Aurora (20120701042008), it's still reproducible.
As for the STR, I did exactly what I said in comment 0 with the mention that, at step 3, I asked Victor to change the source and reloaded the page when I was done with the changes.
I can reproduce this issue with file:// urls very often too.
Comment 4•14 years ago
|
||
Nope, I still can't reproduce this, even in Aurora (June 2nd version). Can you perhaps post a screencast with your STR? Maybe there is something I'm missing here.
Comment 5•14 years ago
|
||
(In reply to Panos Astithas [:past] from comment #4)
> Nope, I still can't reproduce this, even in Aurora (June 2nd version). Can
Er, make that July 2nd.
Updated•14 years ago
|
Priority: -- → P3
| Reporter | ||
Comment 6•14 years ago
|
||
I can't reproduce this issue in Aurora anymore either. Nor in Nightly. It only reproduces with local files now, but even this way, I see it very rarely.
The changes I made the last time I saw this were quite small: I commented a line, I added a new line with a simple alert() etc.
The STR were those from comment 0:
1. Load a web page with at least one JS in the browser.
2. Open the Debugger (Tools->Web developer->Debugger, or press Ctrl+Shift+S).
3. Change the source for the JS loaded in the Debugger.
4. Reload the page in the browser.
| Reporter | ||
Updated•14 years ago
|
Whiteboard: [testday-20120706]
Comment 7•14 years ago
|
||
(In reply to Ioana Budnar [QA] from comment #6)
> I can't reproduce this issue in Aurora anymore either. Nor in Nightly. It
> only reproduces with local files now, but even this way, I see it very
> rarely.
>
> The changes I made the last time I saw this were quite small: I commented a
> line, I added a new line with a simple alert() etc.
>
> The STR were those from comment 0:
> 1. Load a web page with at least one JS in the browser.
> 2. Open the Debugger (Tools->Web developer->Debugger, or press Ctrl+Shift+S).
> 3. Change the source for the JS loaded in the Debugger.
> 4. Reload the page in the browser.
The issue with local files is bug 758663, as Victor noted.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•