From fad6a3a65ce03c1ed3bf39ccae82b0f59ed078c0 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Wed, 18 Jan 2017 14:03:40 +0100 Subject: [PATCH] Fix and reindent /old-tests/submission/Opera/script_scheduling/119.html --- .../Opera/script_scheduling/119.html | 51 +++++++++---------- 1 file changed, 25 insertions(+), 26 deletions(-) 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'); + + +