11cb0ef41Sopenharmony_ci<!doctype html> 21cb0ef41Sopenharmony_ci<meta charset=utf-8> 31cb0ef41Sopenharmony_ci<title></title> 41cb0ef41Sopenharmony_ci<script src=/resources/testharness.js></script> 51cb0ef41Sopenharmony_ci<script src=/resources/testharnessreport.js></script> 61cb0ef41Sopenharmony_ci<script> 71cb0ef41Sopenharmony_cisetup({explicit_done:true}); 81cb0ef41Sopenharmony_cifunction runTests() { 91cb0ef41Sopenharmony_ci for (var i = 0; i < window.frames.length; i++) { 101cb0ef41Sopenharmony_ci test(function() { 111cb0ef41Sopenharmony_ci assert_equals(window.frames[i].window.document.body.textContent, "\uFEFF"); 121cb0ef41Sopenharmony_ci }, "Should have removed only one BOM from frame " + i); 131cb0ef41Sopenharmony_ci } 141cb0ef41Sopenharmony_ci done(); 151cb0ef41Sopenharmony_ci} 161cb0ef41Sopenharmony_ci</script> 171cb0ef41Sopenharmony_ci<body onload="runTests()"> 181cb0ef41Sopenharmony_ci<iframe src="resources/two-boms-utf-8.html"></iframe> 191cb0ef41Sopenharmony_ci<iframe src="resources/two-boms-utf-16le.html"></iframe> 201cb0ef41Sopenharmony_ci<iframe src="resources/two-boms-utf-16be.html"></iframe> 21