OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 5 <meta http-equiv="Content-Security-Policy" content="script-src 'sha1-zv7
3epHrGLk/k/onuSBPoZAxzaA=' 'sha1-gbGNUiHncUNJ+diPbIoc+x6KrLo='"> |
| 6 <script> |
| 7 if (window.testRunner) |
| 8 testRunner.dumpAsText(); |
| 9 </script> |
| 10 <!-- The following two scripts contain two separate code points (U+00C5 |
| 11 and U+212B, respectively) which, depending on your text editor, might be |
| 12 rendered the same. However, their difference is important as they should |
| 13 be NFC normalized to the same code point, thus they should hash to the |
| 14 same value.--> |
| 15 <script> |
| 16 'Å'; |
| 17 alert('PASS'); |
| 18 </script> |
| 19 <script> |
| 20 'Å'; |
| 21 alert('PASS'); |
| 22 </script> |
| 23 </head> |
| 24 <body> |
| 25 <p> |
| 26 This tests Unicode normalization. While appearing the same, the |
| 27 strings in the scripts are different Unicode points, but through |
| 28 normalization, should be the same when the hash is taken. |
| 29 </p> |
| 30 </body> |
| 31 </html> |
OLD | NEW |