Full-Page monitor for https page is not working as expected

book

Article ID: 222402

calendar_today

Updated On:

Products

CA App Synthetic Monitor

Issue/Introduction

We have create a full-page monitor for URL https://securitycloud.symantec.com/

The monitor fails to open the page correctly, and the following errors are showing up:

SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode.
https://securitycloud.symantec.com/resources/ccportal/polyfills.a4021de53358bb0fec14.js

SyntaxError: Unexpected use of reserved word 'let' in strict mode
https://securitycloud.symantec.com/resources/ccportal/main.6bd35938a9322a109bab.js

 

We are unable to find these errors in the chrome and/or FF when we review the details via Developer Tools. When we review the two javascripts that are encountering SyntaxError, we do see that both 'const' and 'let' are being used in the scripts.

Environment

Release : SAAS

Component : APP SYNTHETIC MONITOR ENVIRONMENTAL

Resolution

This error is only present when using the old webkit-based Full-Page monitor. We are replacing it with a new implementation based on Chromium, but this is disabled by default on public stations.

To use the new Full-Page monitor, turn on the option 'Use the new FPM agent' in the monitor's advanced settings. With the new monitor the javascript errors are not present.

Attachments