* True for HTTPS URLs * @param {LocationDef=} parsedUrl Defaults to the current page's URL * @return {boolean}
(parsedUrl)
| 5435 | * @return {boolean} |
| 5436 | */ |
| 5437 | function isSecure(parsedUrl) { |
| 5438 | parsedUrl = parsedUrl || PARSED_URL; |
| 5439 | return parsedUrl.protocol === 'https' || parsedUrl.protocol === 'https:'; |
| 5440 | } |
| 5441 | |
| 5442 | /** |
| 5443 | * Copyright 2018 The Subscribe with Google Authors. All Rights Reserved. |
no outgoing calls
no test coverage detected