From 7239932ccdb91afb1c232ae0bcde42c012eb2f1b Mon Sep 17 00:00:00 2001 From: Georgios Kalpakas Date: Tue, 9 Jun 2015 16:35:20 +0300 Subject: [PATCH] test($compile): fix test The fixed test is supposed to test a fix for an IE11 bug/peculiarity that arises when using a specifically configured MutationObserver on the page (see #11781 for more info). The configuration contained a typo (`sublist` instead of `subtree`), which effectively failed to set up the MutationObserver in a way that would make the IE11 bug appear. Closes #12061 --- test/ng/compileSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js index 57deaca64529..a48130a0ae10 100755 --- a/test/ng/compileSpec.js +++ b/test/ng/compileSpec.js @@ -2998,7 +2998,7 @@ describe('$compile', function() { // Create and register the MutationObserver var observer = new window.MutationObserver(noop); - observer.observe(document.body, {childList: true, sublist: true}); + observer.observe(document.body, {childList: true, subtree: true}); // Run the actual test var base = jqLite('
— {{ "This doesn\'t." }}
');