diff --git a/tests/wpt/web-platform-tests/old-tests/submission/Opera/script_scheduling/119.html b/tests/wpt/web-platform-tests/old-tests/submission/Opera/script_scheduling/119.html index af74c3d4004..d1ed8230934 100644 --- a/tests/wpt/web-platform-tests/old-tests/submission/Opera/script_scheduling/119.html +++ b/tests/wpt/web-platform-tests/old-tests/submission/Opera/script_scheduling/119.html @@ -1,32 +1,31 @@ - scheduler: external defer script created with createContextualFragment - - - + scheduler: external defer script created with createContextualFragment + + + -
- + addEventListener("DOMContentLoaded", t.step_func(function () { + assert_array_equals(eventOrder, ['inline script #1', 'end inline script #1']); + })); + addEventListener("load", t.step_func_done(function () { + assert_array_equals(eventOrder, ['inline script #1', 'end inline script #1', 'external script #1']); + })); + + log('end inline script #1'); + + +