2.2.50 [HTML5] Section 6.1.5.1 Event handlers

C0068: An unparsable body results in an error reported to the user

The specification states:

 ... Event handlers
     ...
     When the user agent is to get the current value of the event handler H, it must run 
     these steps:
  
         1.  If H's value is an internal raw uncompiled handler, run these substeps: 
             ...
             ...  If body is not parsable as FunctionBody or if parsing detects an early 
             error, then follow these substeps:
                 ...     
                 2.  Report the error for the appropriate script and with the appropriate 
                     position (line number and column number) given by location, using the 
                     global object specified by script settings as the target. If the 
                     error is still not handled after this, then the error may be reported 
                     ... .

All document modes (All versions)

An unparsable body results in an error reported to the user.

Show: