Project

General

Profile

Bug #10196

doJavaScript() unexpected behavior

Added by Emeric Poupon 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04/19/2022
Due date:
% Done:

0%

Estimated time:

Description

Hello,

I have a simple JS code like that:

const foo = XXX;
foo.bar();

Running this twice (or more) using doJavaScript() raises an error saying that "foo" is already defined.
Wrapping the JS code in () solves the issue. Maybe it could be done Wt's side?

No data to display

Also available in: Atom PDF