implement navigator.platform

This commit is contained in:
Paul Rouget 2015-09-09 16:19:10 +02:00
parent e68bd8d4ff
commit 132724be2b
3 changed files with 36 additions and 3 deletions

View file

@ -0,0 +1,12 @@
[navigator.html]
type: testharness
[navigator.platform linux]
expected:
if os != "linux": FAIL
PASS
[navigator.platform mac]
expected:
if os != "mac": FAIL
PASS