mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
Bug 1317322 - Fix a windows devtools test failure on inbound, a=bustage
MozReview-Commit-ID: 9weebSW2yOi
This commit is contained in:
parent
7f3476781b
commit
def473eb44
@ -36,15 +36,11 @@ add_task(function* () {
|
||||
is(cmdDelete.getAttribute("disabled"), "true", "cmdDelete is disabled");
|
||||
is(cmdSelectAll.getAttribute("disabled"), "true", "cmdSelectAll is disabled");
|
||||
|
||||
// Cut/Copy items are enabled in context menu even if there
|
||||
// is no selection. See also Bug 1303033
|
||||
// Cut/Copy/Paste items are enabled in context menu even if there
|
||||
// is no selection. See also Bug 1303033, and 1317322
|
||||
is(cmdCut.getAttribute("disabled"), "", "cmdCut is enabled");
|
||||
is(cmdCopy.getAttribute("disabled"), "", "cmdCopy is enabled");
|
||||
|
||||
if (isWindows()) {
|
||||
// emptyClipboard only works on Windows (666254), assert paste only for this OS.
|
||||
is(cmdPaste.getAttribute("disabled"), "true", "cmdPaste is disabled");
|
||||
}
|
||||
is(cmdPaste.getAttribute("disabled"), "", "cmdPaste is enabled");
|
||||
|
||||
yield cleanup(toolbox);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user