зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1490700 - Add crashtest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D5783 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
403853306a
Коммит
54c2771d20
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>Bug 1490700 - Divide-by-zero for screen-capture with max-dimension 0</title>
|
||||
</head>
|
||||
</body>
|
||||
<script type="application/javascript">
|
||||
async function test() {
|
||||
await window.navigator.mediaDevices.getUserMedia({
|
||||
video: {
|
||||
mediaSource: 'screen',
|
||||
height: {max: 0},
|
||||
},
|
||||
});
|
||||
await window.navigator.mediaDevices.getUserMedia({
|
||||
video: {
|
||||
mediaSource: 'screen',
|
||||
advanced: [{height: 0}],
|
||||
},
|
||||
});
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
test();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -23,3 +23,4 @@ load 1367930_2.html
|
|||
pref(browser.link.open_newwindow,2) load 1429507_1.html # window.open() in tab doesn't work for crashtest in e10s, this opens a new window instead
|
||||
pref(browser.link.open_newwindow,2) load 1429507_2.html # window.open() in tab doesn't work for crashtest in e10s, this opens a new window instead
|
||||
load 1453030.html
|
||||
skip-if(Android) load 1490700.html # No screenshare on Android
|
||||
|
|
Загрузка…
Ссылка в новой задаче