Changes between Version 7 and Version 8 of Ticket #7141


Ignore:
Timestamp:
01/08/2019 07:54:17 PM (3 months ago)
Author:
hfiguiere
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7141 – Description

    v7 v8  
    1111Test 1: 
    1212 
    13 Create the following document: 
    14  
    15 {{{ 
    16 <!DOCTYPE html> 
    17 <body> 
    18  <script> 
    19  console.log("Hello from inline script!"); 
    20  </script> 
    21  <script> 
    22  console.log("There can only be one!"); 
    23  </script> 
    24 </body> 
    25 }}} 
    26  
     13Serve the attached HTML document `Test 1` over HTTP(S) 
    2714 
    2815And add the following filter 
     
    3320 
    3421The console should only have "There can only be one!" printed. 
    35  
    36  
    37 Test 2: 
    38  
    39 {{{ 
    40 <!DOCTYPE html> 
    41 <body> 
    42  <script> 
    43  console.log("Hello from inline script!"); 
    44  </script> 
    45  <script> 
    46  console.log("Hello from inline JavaScript!"); 
    47  </script> 
    48  <script> 
    49  console.log("There can only be one!"); 
    50  </script> 
    51 </body> 
    52 }}} 
    53  
    54 And the filter: 
    55  
    56 `example.com#$#abort-current-inline-script console.log '/inline [A-Za-z]*[Ss]cript/'` 
    57  
    58 (change the domain appropriately) 
    59  
    60 The console should only have "There can only be one!" printed.