nc_done(e => {
          assert_equals(e.blockedURI, "inline");
          assert_equals(e.sample, "");
        }));

      document.body.append(a);
      a.click();
    }, "Inline event handlers should not have a sample.");

    async_test(t => {
      var i = document.createElement("iframe");
      i.src = "javascript:'inline url'";

      waitForViolation(i)
        .then(t.step_func_done(e => {
          assert_equals(e.blockedURI, "inline");
          assert_equals(e.sample, "");
        }));

      doc