Skip to content

Download Builder emits jQuery-UI 1.13.3 custom causing Syntax error in MS WebBrowser control (IE11 mode) #629

Closed
@mlisowsk

Description

@mlisowsk

For custom jQuery-UI 13.3.3 packages generated by the Download Builder:

The minified jquery-ui.min.js throws a Syntax error in line 6 when used in the Microsoft WebBrowser control which is based on IE https://learn.microsoft.com/en-us/dotnet/desktop/winforms/controls/webbrowser-control-overview?view=netframeworkdesktop-4.8 .
The error is not present/triggered by:

  • the non-minified file jquery-ui.js
  • the prior version (1.13.2) minified jquery-ui.min.js.
  • the full (uncustomized) download of jQuery-UI 1.3.3.

My analysis shows the syntax error is caused by the arrow function that was generated by the minifier, and which is unsupported on the WebBrowser control (and all versions of IE https://caniuse.com/arrow-functions ).
This build error did not exist on or before June 30, 2023.

Since jQuery-UI 1.13 is supporting IE the customized builds should not throw syntax errors.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions