Project

General

Profile

Bug #9008

streamJavaScriptPreamble followed by doJavaScript may cause JS issues

Added by Roel Standaert 2 months ago. Updated 7 days ago.

Status:
Closed
Priority:
High
Target version:
Start date:
08/24/2021
Due date:
% Done:

100%

Estimated time:

Description

We encountered some issues when some of Wt's minified JavaScript was loaded (with WApplication::streamJavaScriptPreamble) and an IIFE (immediately invoked function expression) was executed with doJavaScript.

We should make WApplication::streamJavaScriptPreamble append a semicolon at the end so that the generated JavaScript can not be misinterpreted.

#1

Updated by Roel Standaert 2 months ago

  • Status changed from InProgress to Resolved
#2

Updated by Roel Standaert 2 months ago

  • % Done changed from 0 to 100
#3

Updated by Roel Standaert 28 days ago

  • Target version changed from 4.6.0 to 4.5.1
#4

Updated by Roel Standaert 7 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF