Bug 9117

Summary: add support/match firefox's behavior for window, window.navigator and document js objects functions
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ian, karlcow
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on: 15062    
Bug Blocks:    
Attachments:
Description Flags
test case showing our results vs. what firefox gives none

Sam Weinig
Reported 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.
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
Sam Weinig
Comment 1 2006-05-25 14:55:54 PDT
Created attachment 8544 [details] test case showing our results vs. what firefox gives
David Kilzer (:ddkilzer)
Comment 2 2008-02-22 18:35:12 PST
About half of these work now. Nice test case, Sam. :)
David Kilzer (:ddkilzer)
Comment 3 2008-02-22 18:55:06 PST
See also Bug 10911.
Karl Dubost
Comment 4 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
Note You need to log in before you can comment on or make changes to this bug.