viewport-size-subresource.https.html (418B)
1 <!DOCTYPE html> 2 <html> 3 <body> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script> 7 promise_test(t => { 8 return new Promise(resolve => { 9 window.addEventListener("message", t.step_func(e => { 10 assert_equals(e.data, "503,614"); 11 resolve(); 12 })); 13 }); 14 }); 15 </script> 16 <iframe src="../resources/viewport-measurement.html" width=503 height=614>