I was curious to see how native browsers (desktop and mobile) behave against the tests of this repo. I am taking the liberty to post the results in here in case anyone else has the same question. Therefore, ignoring the shim [1] we have the following results.
Important This issue is only a placeholder for the tests against native browsers that are running without js-iso8601 shim. Therefore, it doesn't represent bugs to this library.
Mac Chrome 56.0 | Mac Firefox 50.0 | Mac Safari 8 | Win10 Edge 14 | Win8 IE 11 | Win8 IE10 | Mac Opera 42 |
---|---|---|---|---|---|---|
iPhone 6S Safari | Samsung Galaxy S5 Chrome (android 4.4) | Google Nexus 7 Chrome (android 6.0) | Nokia Lumina Windows Phone 8.1 |
---|---|---|---|
1: in order to bypass the shim, I made the following change in "tests/index.html"
:
diff --git a/tests/index.html b/tests/index.html
index 2cb4798..e672ee5 100644
--- a/tests/index.html
+++ b/tests/index.html
@@ -5,11 +5,6 @@
<title>ES5 ISO 8601 Test Suite</title>
<link rel="stylesheet" href="qunit/qunit/qunit.css" media="screen">
<script src="qunit/qunit/qunit.js"></script>
- <script>if (!/[?&]useNativeDateParse(?:\W|$)/.test(location.search)) {
- Date.parse = function () { return NaN; };
- document.write('<script src="../iso8601.js"><\/script>');
- }
- </script>
<script src="test.js"></script>
</head>
<body>