Project

General

Profile

Bug #728

Javascript alert can no longer be called.

Added by Brian Flanagan almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Target version:
-
Start date:
04/21/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

It now gets an "Illegal invocation" error.
Example:

{ alert('test'); }

Result (console messages):

Illegal invocation
TypeError: Illegal invocation
    at AOZView.window.alert (/Library/Application Support/AOZ_Studio/.aozstudio/packages/aoz-studio/lib/aoz-studio-view.js:213)
    at self.iframe.contentWindow.alert (/Library/Application Support/AOZ_Studio/.aozstudio/packages/aoz-studio/lib/ui/aoz-viewer.js:890)
    at Application.blocks.<computed> (VM3985 application.js:48)
    at AOZ.runBlocks (VM3984 raoz.js:778)
    at doUpdate (VM3984 raoz.js:452)
Internal error
at line: 1, column: 1 in file Alert_Problem.aoz.

Also available in: Atom PDF