Closed Bug 298401 Opened 19 years ago Closed 19 years ago

resolution doesn't recognized correctly in javascript

Categories

(Firefox :: Shell Integration, defect)

All
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 62395

People

(Reporter: valeriogiuffrida, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.6) Gecko/20050318 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.6) Gecko/20050318 Firefox/1.0.2

When I enter in a website with resolution 1024x768, javascript recognized it
correctly, but when i change resolution and the website is open yet, javascript
recognize always 1024x768 until i close and re-open the same website...

Reproducible: Always

Steps to Reproduce:
1.Create a webpage and include this js: if (screen.height < 768) alert("Best
resolution: 1024x768!");
2. Change resolution at 800x600
3. open the website
4. change resolution at 1024x768
5. reload page
Actual Results:  
When we perform 5 step, alert dialog will appear

*** This bug has been marked as a duplicate of 62395 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.