Gabriel Ivăncescu (@insn) commented about dlls/mshtml/tests/documentmode.js:
ok(x.setterVal === 9, "x.setterVal after setting bar = " + x.setterVal);
});
+sync_test("MutationObserver_exceptions", function() {
- if (document.documentMode < 11) {
return;
- }
This test should just be called "MutationObserver", since it will contain more tests not just exceptions later.
Also I'd recommend testing for its availability rather than document mode, you're already testing the doc mode exposed in window_props. i.e. `if(!window.MutationObserver) return;`