Bug 9117 - add support/match firefox's behavior for window, window.navigator and document js objects functions
Summary: add support/match firefox's behavior for window, window.navigator and documen...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 15062
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-25 14:54 PDT by Sam Weinig
Modified: 2023-05-25 18:17 PDT (History)
2 users (show)

See Also:


Attachments
test case showing our results vs. what firefox gives (3.02 KB, text/html)
2006-05-25 14:55 PDT, Sam Weinig
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2006-05-25 14:54:53 PDT
The values for: 
window.navigator.oscpu
window.navigator.productSub
window.navigator.appVersion
window.screenY
window.screen.left
document.compatMode
document.dir
document.contentType

are either in a different format than firefox returns or non-existent.
Comment 1 Sam Weinig 2006-05-25 14:55:54 PDT
Created attachment 8544 [details]
test case showing our results vs. what firefox gives
Comment 2 David Kilzer (:ddkilzer) 2008-02-22 18:35:12 PST
About half of these work now.  Nice test case, Sam.  :)

Comment 3 David Kilzer (:ddkilzer) 2008-02-22 18:55:06 PST
See also Bug 10911.

Comment 4 Karl Dubost 2023-05-25 18:17:45 PDT
STP 170

window.navigator.oscpu:      undefined
window.navigator.productSub: 20030107
window.navigator.appVersion: 5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15
window.screenY:              25
window.screen.left:          undefined
document.compatMode:         BackCompat
document.dir:                ""
document.contentType:        text/html



Firefox Nightly 115.0a1 (2023-05-21) (64-bit)

window.navigator.oscpu:      Intel Mac OS X 10.15
window.navigator.productSub: 20100101
window.navigator.appVersion: 5.0 (Macintosh)
window.screenY:              -1415
window.screen.left:          -1630
document.compatMode:         BackCompat
document.dir:                <empty string>
document.contentType:        text/html



Chrome Canary Version 115.0.5788.0 (Official Build) canary (arm64)

window.navigator.oscpu:      undefined
window.navigator.productSub: 20030107
window.navigator.appVersion: 5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
window.screenY:              -1329
window.screen.left:          undefined
document.compatMode:         CSS1Compat
document.dir:                ""
document.contentType:        text/html