From 19b45fb494358838be8b3175fde9e3ab55ef5bfa Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 4 May 2019 12:18:21 +0100 Subject: Support script insertion after conversion has begun Signed-off-by: Daniel Silverstone --- test/js/inserted-script-async.js | 1 + test/js/inserted-script-defer.js | 1 + test/js/inserted-script.html | 39 +++++++++++++++++++++++++++++++++++++++ test/js/inserted-script.js | 1 + 4 files changed, 42 insertions(+) create mode 100644 test/js/inserted-script-async.js create mode 100644 test/js/inserted-script-defer.js create mode 100644 test/js/inserted-script.html create mode 100644 test/js/inserted-script.js (limited to 'test') diff --git a/test/js/inserted-script-async.js b/test/js/inserted-script-async.js new file mode 100644 index 000000000..5552e2773 --- /dev/null +++ b/test/js/inserted-script-async.js @@ -0,0 +1 @@ +console.log("External asynchronous dynamism!"); diff --git a/test/js/inserted-script-defer.js b/test/js/inserted-script-defer.js new file mode 100644 index 000000000..2d89edd34 --- /dev/null +++ b/test/js/inserted-script-defer.js @@ -0,0 +1 @@ +console.log("External deferred dynamism!"); diff --git a/test/js/inserted-script.html b/test/js/inserted-script.html new file mode 100644 index 000000000..b1c381aaa --- /dev/null +++ b/test/js/inserted-script.html @@ -0,0 +1,39 @@ + + + Inserted script test + + + + Check the log + + diff --git a/test/js/inserted-script.js b/test/js/inserted-script.js new file mode 100644 index 000000000..f3a954827 --- /dev/null +++ b/test/js/inserted-script.js @@ -0,0 +1 @@ +console.log("External dynamism!"); -- cgit v1.2.3