diff options
Diffstat (limited to 'editor')
-rw-r--r-- | editor/libeditor/tests/test_htmleditor_keyevent_handling.html | 2 | ||||
-rw-r--r-- | editor/reftests/xul/platform.js | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/editor/libeditor/tests/test_htmleditor_keyevent_handling.html b/editor/libeditor/tests/test_htmleditor_keyevent_handling.html index bfec290a5..414045ac0 100644 --- a/editor/libeditor/tests/test_htmleditor_keyevent_handling.html +++ b/editor/libeditor/tests/test_htmleditor_keyevent_handling.html @@ -27,7 +27,7 @@ var htmlEditor = document.getElementById("htmlEditor"); const kIsMac = navigator.platform.indexOf("Mac") == 0; const kIsWin = navigator.platform.indexOf("Win") == 0; -const kIsLinux = navigator.platform.indexOf("Linux") == 0 || navigator.platform.indexOf("SunOS") == 0 ; +const kIsLinux = navigator.platform.indexOf("Linux") == 0; function runTests() { diff --git a/editor/reftests/xul/platform.js b/editor/reftests/xul/platform.js index f45e6d1f5..a8633fb09 100644 --- a/editor/reftests/xul/platform.js +++ b/editor/reftests/xul/platform.js @@ -13,8 +13,6 @@ if (/Windows/.test(ua)) { } else if (/Linux/.test(ua)) id = "linux"; -else if (/SunOS/.test(ua)) - id = "linux"; else if (/Mac OS X/.test(ua)) id = "mac"; |