View Issue Details

IDProjectCategoryView StatusLast Update
0037425pas2jsrtlpublic2020-09-09 22:20
ReporterSimon Ameis Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Versiontrunk 
Summary0037425: Add TJSCloseEvent
DescriptionAs documented at https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent there is a CloseEvent object which is used by WebSocket.onClose event. As far as I could see Chromium has additional fields; however I couldn't find any documentation on them.

Please add the following to unit Web:

  TJSCloseEvent = class external name 'CloseEvent' (TJSEvent)
  private
    fcode: Word; external name 'code';
    freason: TJSDOMString; external name 'reason';
    fwasClean: Boolean; external name 'wasClean';
  public
    property code: Word read fcode;
    property reason: TJSDOMString read freason;
    property wasClean: Boolean read fwasClean;
  end;
TagsNo tags attached.
Fixed in Revision812
Attached Files

Activities

Michael Van Canneyt

2020-08-07 00:34

administrator   ~0124637

Added, thanks for the contribution!

Issue History

Date Modified Username Field Change
2020-07-27 19:55 Simon Ameis New Issue
2020-07-27 23:45 Michael Van Canneyt Assigned To => Michael Van Canneyt
2020-07-27 23:45 Michael Van Canneyt Status new => assigned
2020-08-07 00:34 Michael Van Canneyt Status assigned => resolved
2020-08-07 00:34 Michael Van Canneyt Resolution open => fixed
2020-08-07 00:34 Michael Van Canneyt Fixed in Version => trunk
2020-08-07 00:34 Michael Van Canneyt Fixed in Revision => 812
2020-08-07 00:34 Michael Van Canneyt Note Added: 0124637
2020-09-09 22:20 Simon Ameis Status resolved => closed