mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 1423228 - Prevent using non-fake devices when testing screen-sharing. r=jib
MozReview-Commit-ID: LX2fbVk0VHG --HG-- extra : rebase_source : a940b255ffdcc23c5c46c798b3706c9359c7c2aa extra : source : a75a3b7f9c6ee53b9e80684daca7425d20d01929 extra : histedit_source : c8bdb3e45db60e44fdf8f3e5eba8f2805affc49a
This commit is contained in:
parent
2f0ae5124f
commit
b5c3324cd1
@ -32,7 +32,8 @@ function requestDevice(aAudio, aVideo, aShare, aBadDevice = false) {
|
||||
mozMediaSource: aShare,
|
||||
mediaSource: aShare
|
||||
};
|
||||
} else if (useFakeStreams) {
|
||||
}
|
||||
if (useFakeStreams) {
|
||||
opts.fake = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user