Jacek Caban (@jacek) commented about dlls/mshtml/tests/documentmode.js:
ok(e === undefined, "event not undefined in legacy mode: " + e);
return;
}
var s = Object.prototype.toString.call(e);
todo_wine.
ok(s === "[object StorageEvent]", "Object.toString = " + s);
ok(e.key === key, "key = " + e.key + ", expected " + key);
ok(e.oldValue === oldValue, "oldValue = " + e.oldValue + ", expected " + oldValue);
ok(e.newValue === newValue, "newValue = " + e.newValue + ", expected " + newValue);
- }
- function expect(idx, key, oldValue, newValue) {
var window2 = iframe.contentWindow, document2 = window2.document;
window.onstorage = function() { ok(false, "window.onstorage called"); };
document.onstorage = function() { ok(false, "doc.onstorage called"); };
document.onstoragecommit = function() { ok(false, "doc.onstoragecommit called"); };
I get following error when running those tests in my Windows VM: ``` script.c:754: L"/index.html?10:doc_mode: Testing compatibility mode 10" script.c:738: Test failed: L"/index.html?10:storage events: doc.onstoragecommit called" ```