View Issue Details

IDProjectCategoryView StatusLast Update
0036567pas2jsrtlpublic2020-01-16 22:19
ReporterSven BarthAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Product VersionProduct Build 
Target VersionFixed in Versiontrunk 
Summary0036567: Fix declaration of TJSEventTarget.removeEventListener overloads
DescriptionTwo of the overloads of TJSEventTarget.removeEventListener are declared with a leading uppercase 'R' instead of a lowercase 'r' leading to an error when calling them.
TagsNo tags attached.
Fixed in Revision667
Attached Files
  • web.pas.patch (780 bytes)
    Index: web.pas
    ===================================================================
    --- web.pas	(revision 666)
    +++ web.pas	(working copy)
    @@ -65,8 +65,8 @@
         procedure addEventListener(aname : string; aListener : TJSRawEventHandler);
         procedure addEventListener(aname : string; aListener : JSValue);
         function dispatchEvent(event : JSValue) : Boolean;
    -    procedure RemoveEventListener(aname : string; aListener : TJSEventHandler);
    -    procedure RemoveEventListener(aname : string; aListener : TJSRawEventHandler);
    +    procedure removeEventListener(aname : string; aListener : TJSEventHandler);
    +    procedure removeEventListener(aname : string; aListener : TJSRawEventHandler);
         procedure removeEventListener(aname : string; aListener : JSValue);
       end;
     
    
    web.pas.patch (780 bytes)

Activities

Sven Barth

2020-01-13 21:35

developer  

web.pas.patch (780 bytes)
Index: web.pas
===================================================================
--- web.pas	(revision 666)
+++ web.pas	(working copy)
@@ -65,8 +65,8 @@
     procedure addEventListener(aname : string; aListener : TJSRawEventHandler);
     procedure addEventListener(aname : string; aListener : JSValue);
     function dispatchEvent(event : JSValue) : Boolean;
-    procedure RemoveEventListener(aname : string; aListener : TJSEventHandler);
-    procedure RemoveEventListener(aname : string; aListener : TJSRawEventHandler);
+    procedure removeEventListener(aname : string; aListener : TJSEventHandler);
+    procedure removeEventListener(aname : string; aListener : TJSRawEventHandler);
     procedure removeEventListener(aname : string; aListener : JSValue);
   end;
 
web.pas.patch (780 bytes)

Michael Van Canneyt

2020-01-14 22:55

administrator   ~0120449

Checked & Applied, thanks !

Sven Barth

2020-01-16 22:19

developer   ~0120486

Thanks for applying. :)

Issue History

Date Modified Username Field Change
2020-01-13 21:35 Sven Barth New Issue
2020-01-13 21:35 Sven Barth File Added: web.pas.patch
2020-01-14 22:53 Michael Van Canneyt Assigned To => Michael Van Canneyt
2020-01-14 22:53 Michael Van Canneyt Status new => assigned
2020-01-14 22:55 Michael Van Canneyt Status assigned => resolved
2020-01-14 22:55 Michael Van Canneyt Resolution open => fixed
2020-01-14 22:55 Michael Van Canneyt Fixed in Version => trunk
2020-01-14 22:55 Michael Van Canneyt Fixed in Revision => 667
2020-01-14 22:55 Michael Van Canneyt Note Added: 0120449
2020-01-16 22:19 Sven Barth Status resolved => closed
2020-01-16 22:19 Sven Barth Note Added: 0120486