Project

General

Profile

Bug #9008

streamJavaScriptPreamble followed by doJavaScript may cause JS issues

Added by Roel Standaert almost 2 years ago. Updated over 1 year 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 almost 2 years ago

  • Status changed from InProgress to Resolved
#2

Updated by Roel Standaert almost 2 years ago

  • % Done changed from 0 to 100
#3

Updated by Roel Standaert over 1 year ago

  • Target version changed from 4.6.0 to 4.5.1
#4

Updated by Roel Standaert over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF