Project

General

Profile

Actions

Bug #9008

closed
RS RS

streamJavaScriptPreamble followed by doJavaScript may cause JS issues

Bug #9008: streamJavaScriptPreamble followed by doJavaScript may cause JS issues

Added by Roel Standaert about 5 years ago. Updated almost 5 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.

RS Updated by Roel Standaert about 5 years ago Actions #1

  • Status changed from InProgress to Resolved

RS Updated by Roel Standaert about 5 years ago Actions #2

  • % Done changed from 0 to 100

RS Updated by Roel Standaert almost 5 years ago Actions #3

  • Target version changed from 4.6.0 to 4.5.1

RS Updated by Roel Standaert almost 5 years ago Actions #4

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom