diff --git a/modules/simpletest/tests/common.test b/modules/simpletest/tests/common.test index bf85576..645b306 100644 --- a/modules/simpletest/tests/common.test +++ b/modules/simpletest/tests/common.test @@ -1683,6 +1683,45 @@ class JavaScriptTestCase extends DrupalWebTestCase { } /** + * Tests adding JavaScript files with additional attributes. + */ + function testAttributes() { + // Add internal and external JavaScript files that add the 'async' and + // 'defer' attributes, and check that these attributes appear on the + //