puppeteer/third_party/phantomjs/test/regression/webkit-60448.js

13 lines
410 B
JavaScript
Raw Normal View History

2017-05-11 07:06:41 +00:00
var url = TEST_HTTP_BASE + "regression/webkit-60448.html";
async_test(function () {
var p = require("webpage").create();
p.open(url, this.step_func_done(function (status) {
assert_equals(status, "success");
assert_is_true(p.evaluate(function () {
return document.getElementById("test") === null;
}));
}));
},
"remove an inline HTML element from the document");