meta-blocked.html (369B)
1 <!DOCTYPE html> 2 <head> 3 <meta http-equiv="set-cookie" content="meta-set-cookie=1"> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 </head> 7 <body> 8 <script> 9 test(t => { 10 assert_equals(document.cookie.indexOf('meta-set-cookie'), -1); 11 }, "Cookie is not set from `<meta>`."); 12 </script> 13 </body>