Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326

This commit is contained in:
Josh Matthews 2017-10-12 09:25:50 -04:00
parent 462c272380
commit 1f531f66ea
5377 changed files with 174916 additions and 84369 deletions

View file

@ -23,14 +23,15 @@
async_test(function (t) {
var observer = new PerformanceObserver(
t.step_func(function(entryList, obs) {
checkEntries(entryList.getEntries(),
[{ entryType: "mark", name: "mark1"}]);
t.done();
t.step_func(function (entryList, obs) {
assert_unreached("This callback must not be invoked");
})
);
observer.observe({entryTypes: ["mark"]});
self.performance.mark("mark1");
observer.disconnect();
self.performance.mark("mark2");
}, "An observer disconnected after a mark must receive the mark");
t.step_timeout(function () {
t.done();
}, 2000);
}, "An observer disconnected after a mark must not have its callback invoked");