Project

General

Profile

Actions

Bug #728

open

Javascript alert can no longer be called.

Added by Brian Flanagan over 3 years ago. Updated almost 3 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.
Actions #1

Updated by Brian Flanagan over 3 years ago

NOTE: This fails only in the AOZ Viewer. In a web browser, it works.

Actions #2

Updated by Brian Flanagan about 3 years ago

Re-tested this in 1.0.0 (B8).
Still fails.

Actions #3

Updated by Brian Flanagan almost 3 years ago

Re-tested in 1.0.0 (B10) u16

Works!

Actions #4

Updated by Brian Flanagan almost 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF