Merge "(bug 33471) compare detectProtocol to 'https'"