Gabriel Ivăncescu (@insn) commented about dlls/mshtml/tests/documentmode.js:
-}) +});
+sync_test("MutationObserver_props", function() {
- if (!window.MutationObserver) {
return;
- }
- var mutation_observer = new MutationObserver(function() {});
- function test_exposed(prop) {
ok(prop in mutation_observer, prop + " not found in MutationObserver.");
- }
- test_exposed("observe");
- test_exposed("disconnect");
- test_exposed("takeRecords");
+});
Small nitpick, but I'd honestly just merge this test with "MutationObserver" (just add it to the end of it), no need to make another separate test.