https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 4d07d43a20637109042a6384009306dcd3301bd5 authored by Kris Maglione on 11 April 2018, 08:57:58 UTC
Don't reparse stylesheets when assigning empty string to empty element.
Tip revision: 4d07d43
EventListener-incumbent-global-subframe-1.sub.html
<!DOCTYPE html>
<iframe src="{{location[scheme]}}://{{domains[www2]}}:{{ports[http][0]}}{{location[path]}}/../EventListener-incumbent-global-subsubframe.sub.html"></iframe>
<script>
  document.domain = "{{host}}";
  onmessage = function(e) {
    if (e.data == "start") {
      frames[0].document.body.addEventListener("click", frames[0].postMessage.bind(frames[0], "respond", "*", undefined));
      frames[0].postMessage("sendclick", "*");
    } else {
      parent.postMessage(e.data, "*");
    }
  }
</script>
back to top