mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fix and re-enable page style menu tests
This commit is contained in:
parent
10ba4b83d3
commit
0277ed5944
@ -1,7 +1,5 @@
|
||||
function test() {
|
||||
waitForExplicitFinish();
|
||||
finish();
|
||||
return;
|
||||
|
||||
var tab = gBrowser.addTab();
|
||||
gBrowser.selectedTab = tab;
|
||||
@ -31,7 +29,7 @@ function checkPageStyleMenu() {
|
||||
" with rel=\"" + rel + "\"" +
|
||||
(media ? " and media=\"" + media + "\"" : "");
|
||||
|
||||
var item = items.filter(function (item) item.label == title);
|
||||
var item = items.filter(function (item) item.getAttribute("label") == title);
|
||||
var found = item.length == 1;
|
||||
var checked = found && (item[0].getAttribute("checked") == "true");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user