mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 839103 - Part 8: Use Document.styleSheetChangeEventsEnabled in test. r=bz
This commit is contained in:
parent
0fb0159ada
commit
5b1f786086
@ -36,6 +36,7 @@ function continueTest() {
|
||||
info("continuing test");
|
||||
|
||||
let doc = gBrowser.contentDocument;
|
||||
doc.styleSheetChangeEventsEnabled = true;
|
||||
doc.addEventListener("StyleSheetAdded", unexpectedContentEvent, false);
|
||||
doc.addEventListener("StyleSheetRemoved", unexpectedContentEvent, false);
|
||||
doc.defaultView.addEventListener("StyleSheetAdded", unexpectedContentEvent, false);
|
||||
@ -82,4 +83,4 @@ function concludeTest() {
|
||||
gLinkElement = null;
|
||||
gTab = null;
|
||||
finish();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user