2.1.77 [W3C-HTML51] Section 4.12.1.1 Processing model

V0211: If the type attribute is an empty string value, it is not defaulted to text/javascript and JavaScript execution fails

The specification states:

 ... ...
     ...
     To prepare a script, the user agent must act as follows:
         ...
         6.  If either:
  
               o the script element has a type attribute and its value is the empty 
               string, or
  
               o the script element has no type attribute but it has a language attribute 
               and that attribute's value is the empty string, or
  
               o the script element has neither a type attribute nor a language attribute, 
               then
  
             ... let the script block's type for this script element be "text/javascript".

EdgeHTML Mode

If the type attribute is an empty string value, it is not defaulted to text/javascript and JavaScript execution fails.

V0212: If the for attribute is not "window", or the event attribute is not "onload", the script is still executed

The specification states:

 ... ...
     ...
     To prepare a script, the user agent must act as follows:
         ...
         12. If the script element has an event attribute and a for attribute, ... then 
             run these substeps:
             ...            
             4. If for is not an ASCII case-insensitive match for the string "window", 
                then the user agent must abort these steps at this point. The script is 
                not executed.
  
             5. If event is not an ASCII case-insensitive match for either the string 
                "onload" or the string "onload()", then the user agent must abort these 
                steps at this point. The script is not executed.

EdgeHTML Mode

If the for attribute is not "window", or the event attribute is not "onload", the script is still executed.