mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
Bug 1210717 fix: make the test actually test reasonable things. r=jgraham
This commit is contained in:
parent
2acc650849
commit
c8663502fd
@ -1,10 +0,0 @@
|
||||
[event_setattribute.html]
|
||||
type: testharness
|
||||
disabled:
|
||||
if e10s and (os == "linux"): https://bugzilla.mozilla.org/show_bug.cgi?id=1210717
|
||||
[localStorage mutations fire StorageEvents that are caught by the event listener attached via setattribute.]
|
||||
expected: FAIL
|
||||
|
||||
[sessionStorage mutations fire StorageEvents that are caught by the event listener attached via setattribute.]
|
||||
expected: FAIL
|
||||
|
@ -10,6 +10,9 @@ testStorages(function(storageString) {
|
||||
function step0(msg)
|
||||
{
|
||||
iframe.onload = t.step_func(step1);
|
||||
// Null out the existing handler eventTestHarness.js set up;
|
||||
// otherwise this test won't be testing much of anything useful.
|
||||
iframe.contentWindow.onstorage = null;
|
||||
iframe.src = "resources/event_setattribute_handler.html";
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,7 @@ function handleStorageEvent(e) {
|
||||
window.parent.storageEventList.push(e);
|
||||
}
|
||||
|
||||
document.body.setAttribute("onstorage", "handleStorageEvent(window.event);");
|
||||
document.body.setAttribute("onstorage", "handleStorageEvent(event);");
|
||||
|
||||
</script>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user