Use HTTPS instead of HTTP for caniuse.com
authorFomafix <fomafix@googlemail.com>
Sun, 21 Jan 2018 00:41:04 +0000 (01:41 +0100)
committerFomafix <fomafix@googlemail.com>
Sun, 21 Jan 2018 00:41:04 +0000 (01:41 +0100)
http://caniuse.com/ redirects to https://caniuse.com/

Change-Id: Iea8de252320a5a3aeda83dc21df5e51de2faf66c

resources/src/mediawiki.ui/components/icons.less
resources/src/startup.js

index a7ce2e7..d185b24 100644 (file)
@@ -14,7 +14,7 @@
 //
 // To use icons you must be using a browser that supports pseudo elements.
 // This includes support for IE 8.
-// http://caniuse.com/#feat=css-gencontent
+// https://caniuse.com/#feat=css-gencontent
 //
 // For elements that are intended to have both an icon and text, browsers that
 // do not support pseudo-selectors will degrade to text-only.
index 8e8463d..596c118 100644 (file)
@@ -63,23 +63,23 @@ window.mwNow = ( function () {
 window.isCompatible = function ( str ) {
        var ua = str || navigator.userAgent;
        return !!(
-               // http://caniuse.com/#feat=es5
-               // http://caniuse.com/#feat=use-strict
-               // http://caniuse.com/#feat=json / https://phabricator.wikimedia.org/T141344#2784065
+               // https://caniuse.com/#feat=es5
+               // https://caniuse.com/#feat=use-strict
+               // https://caniuse.com/#feat=json / https://phabricator.wikimedia.org/T141344#2784065
                ( function () {
                        'use strict';
                        return !this && !!Function.prototype.bind && !!window.JSON;
                }() ) &&
 
-               // http://caniuse.com/#feat=queryselector
+               // https://caniuse.com/#feat=queryselector
                'querySelector' in document &&
 
-               // http://caniuse.com/#feat=namevalue-storage
+               // https://caniuse.com/#feat=namevalue-storage
                // https://developer.blackberry.com/html5/apis/v1_0/localstorage.html
                // https://blog.whatwg.org/this-week-in-html-5-episode-30
                'localStorage' in window &&
 
-               // http://caniuse.com/#feat=addeventlistener
+               // https://caniuse.com/#feat=addeventlistener
                'addEventListener' in window &&
 
                // Hardcoded exceptions for browsers that pass the requirement but we don't want to