8000 test($compile): fix test by gkalpak · Pull Request #12061 · angular/angular.js · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

test($compile): fix test #12061

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
  • Loading branch information
gkalpak committed Jun 9, 2015
commit 7239932ccdb91afb1c232ae0bcde42c012eb2f1b
2 changes: 1 addition & 1 deletion test/ng/compileSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('<div>&mdash; {{ "This doesn\'t." }}</div>');
Expand Down
0