You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see just reading the code policy will be undefined.
Reproduction Steps
I can't list the site where this is occurring on as it is commercially sensitive. But if you paste the following code in the browser console it will demonstrate the general idea.
const x = 0;
if (true) {
const x = alert(x);
}
Relevant Logs
No response
Browser(s) Affected
Chrome, Safari
OS(s) Affected
No response
Device(s) Affected
No response
AMP Version Affected
2308042153000
The text was updated successfully, but these errors were encountered:
Description
We have just noticed an error while parsing
amp-worker.js
introduced in this commit 54c0400 specifically around line 101.As you can see just reading the code policy will be undefined.
Reproduction Steps
I can't list the site where this is occurring on as it is commercially sensitive. But if you paste the following code in the browser console it will demonstrate the general idea.
Relevant Logs
No response
Browser(s) Affected
Chrome, Safari
OS(s) Affected
No response
Device(s) Affected
No response
AMP Version Affected
2308042153000
The text was updated successfully, but these errors were encountered: