Closed Bug 652049 Opened 13 years ago Closed 12 years ago

Turning off JavaScript doesn't disable it until page refresh

Categories

(Firefox :: General, defect)

4.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 409737

People

(Reporter: r_rom, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows NT 6.1; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0) Gecko/20100101 Firefox/4.0

Go to that page, scroll it up and down, observe that the tool box on the left stays in a fixed position within a certain range but moves in another. This is implemented by a JS script.

Now turn off JS and observe that the behavior is still happening. This tells me that JS is still enabled on that page.

Reproducible: Always
Roman,
Once the page is loaded the JavaScript is executed, so even after you disable the javascript, the toolbox is moving.
If you don't want the javascript to be executed you have to reload the page after disabling the javascript, thus the javascript will not be executed and the toolbox will not comeup indicating that the javascript is not executed
Srinivas, this wasn't a request for support. This was a report of a failure of Firefox to disable JavaScript when instructed to do so.
Seems like a page refresh is required to see the effects of disabling JavaScript
OS: Windows 7 → All
Hardware: x86 → All
Summary: Turning off JavaScript doesn't disable it → Turning off JavaScript doesn't disable it until page refresh
Yes, seem like it. But it didn't so before 4.0, and it's a very big deal. Sometimes, when I have very many tabs open, many of which keep doing regular activities in the background that I don't need, wasting my computer's resources, I used to turn off JavaScript to stop all that. Now, I'd have to reload everything. That's bad.
Odd, I tested this on another page and the JavaScript was turned off immediately: http://ie.microsoft.com/testdrive/performance/FishieTank/
Indeed.
Mozilla/5.0 (Windows NT 5.1; rv:6.0a1) Gecko/20110425 Firefox/6.0a1

I tried reproducing this issue, but I was unable - once JavaScript was disabled the page didn't need to be refreshed in order to see the changes.

Used website:
http://www.peters1.dk/webtools/javascript/sne.php?sprog=en
George, have you tried to reproduce the issue with URL given in this ticket?
Version: unspecified → 4.0 Branch
Possible duplicate of bug 409737.
looks like a dupe
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.