Issue metadata
Sign in to add a comment
|
`navigator.platform` should return the emulated value in DevTools's emulated devices mode
Reported by
ctengc...@gmail.com,
Jan 16 2017
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 Steps to reproduce the problem: 1. Enable DevTools, and emulate as Nexus 6P, then navigate to http://pan.baidu.com/s/1jILT8t4 2. 3. What is the expected behavior? Page should be loaded as if client detected as a mobile device What went wrong? Baidu's JS scripts use `navigator.platform` (which returns "win32" value) to detect it is in Windows 10 desktop, and make a client rediect. At lease developers should be able to foolish the real-world server by change `navigator.platform`'s return value in DevTools mode Did this work before? N/A Does this work in other browsers? N/A Chrome version: 55.0.2883.87 Channel: stable OS Version: 10.0 Flash Version: Shockwave Flash 24.0 r0
,
Jan 16 2017
,
Jan 17 2017
,
Jan 18 2017
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by ranjitkan@chromium.org
, Jan 16 2017