mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1715032 - Run text/html clipboard tests on Android. r=masayuki
Actually, since GeckoView supports text/html on global clipboard, let's enable it. Differential Revision: https://phabricator.services.mozilla.com/D117025
This commit is contained in:
parent
9d69a80d84
commit
f7b0f34fe4
@ -62,11 +62,8 @@ function hasExpectedFlavors() {
|
||||
ok(cb.hasDataMatchingFlavors(["text/unicode"], cb.kGlobalClipboard),
|
||||
"The clipboard has text/unicode");
|
||||
|
||||
// Android only supports plain text
|
||||
if (!navigator.appVersion.includes("Android")) {
|
||||
ok(cb.hasDataMatchingFlavors(["text/html"], cb.kGlobalClipboard),
|
||||
"The clipboard has text/html");
|
||||
}
|
||||
ok(cb.hasDataMatchingFlavors(["text/html"], cb.kGlobalClipboard),
|
||||
"The clipboard has text/html");
|
||||
|
||||
if (navigator.appVersion.includes("Win")) {
|
||||
ok(cb.hasDataMatchingFlavors(["application/x-moz-nativehtml"], cb.kGlobalClipboard),
|
||||
|
Loading…
Reference in New Issue
Block a user