Project

General

Profile

Actions

Bug #9008

closed

streamJavaScriptPreamble followed by doJavaScript may cause JS issues

Added by Roel Standaert over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Roel Standaert
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.

Actions #1

Updated by Roel Standaert over 3 years ago

  • Status changed from InProgress to Resolved
Actions #2

Updated by Roel Standaert over 3 years ago

  • % Done changed from 0 to 100
Actions #3

Updated by Roel Standaert about 3 years ago

  • Target version changed from 4.6.0 to 4.5.1
Actions #4

Updated by Roel Standaert about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF