summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-30 20:03:33 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-30 20:03:33 +0100
commit6b968b13d9cab02d8634facc87ae39e51dee4020 (patch)
treeb84b2c122ce39dedbd8286bb6c7aba3aca51b964 /editor
parent25779d371c571e4f51792af3e3c5588b3186e934 (diff)
downloaduxp-6b968b13d9cab02d8634facc87ae39e51dee4020.tar.gz
Issue #187: Remove solaris 1st party code OS checks.
Diffstat (limited to 'editor')
-rw-r--r--editor/libeditor/tests/test_htmleditor_keyevent_handling.html2
-rw-r--r--editor/reftests/xul/platform.js2
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 bfec290a58..414045ac03 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 f45e6d1f5c..a8633fb09f 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";