зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1291971 - Part 4, enable controller startNewPresentation_error test. r=smaug.
MozReview-Commit-ID: 51dfCphD0XJ --HG-- extra : rebase_source : 41fdcef117c34fe45588ee8f4f71f99ed2987748
This commit is contained in:
Родитель
19b68183c7
Коммит
f0a72d6d59
|
@ -642,7 +642,7 @@ PresentationService::StartSession(
|
|||
nsCOMPtr<nsIPresentationDevicePrompt> prompt =
|
||||
do_GetService(PRESENTATION_DEVICE_PROMPT_CONTRACTID);
|
||||
if (NS_WARN_IF(!prompt)) {
|
||||
return aCallback->NotifyError(NS_ERROR_DOM_OPERATION_ERR);
|
||||
return aCallback->NotifyError(NS_ERROR_DOM_INVALID_ACCESS_ERR);
|
||||
}
|
||||
|
||||
nsresult rv = prompt->PromptDeviceSelection(request);
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
[startNewPresentation_error.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
prefs: [dom.presentation.enabled: true,
|
||||
dom.presentation.controller.enabled: true,
|
||||
dom.presentation.discovery.enabled: true,
|
||||
dom.presentation.device.name: "Firefox"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче