From 75553c637f64ba0538e0e3c213c54a664c7387b9 Mon Sep 17 00:00:00 2001 From: Tomislav Jovanovic Date: Sun, 19 Mar 2017 17:24:25 +0100 Subject: [PATCH] Bug 1347700 - Test async loading of content scripts. r=kmag --- .../test/mochitest/mochitest-common.ini | 1 + .../test_ext_contentscript_async_loading.html | 54 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 toolkit/components/extensions/test/mochitest/test_ext_contentscript_async_loading.html diff --git a/toolkit/components/extensions/test/mochitest/mochitest-common.ini b/toolkit/components/extensions/test/mochitest/mochitest-common.ini index c6bd82d903c0..908b9a80d17b 100644 --- a/toolkit/components/extensions/test/mochitest/mochitest-common.ini +++ b/toolkit/components/extensions/test/mochitest/mochitest-common.ini @@ -54,6 +54,7 @@ skip-if = os == 'android' # Android does not support multiple windows. [test_ext_background_canvas.html] [test_ext_content_security_policy.html] [test_ext_contentscript_api_injection.html] +[test_ext_contentscript_async_loading.html] [test_ext_contentscript_cache.html] [test_ext_contentscript_context.html] [test_ext_contentscript_create_iframe.html] diff --git a/toolkit/components/extensions/test/mochitest/test_ext_contentscript_async_loading.html b/toolkit/components/extensions/test/mochitest/test_ext_contentscript_async_loading.html new file mode 100644 index 000000000000..d78f7ce02c45 --- /dev/null +++ b/toolkit/components/extensions/test/mochitest/test_ext_contentscript_async_loading.html @@ -0,0 +1,54 @@ + + + + Test content script async loading + + + + + + +