W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > May 2016

Re: [mediacapture-main] MUST clear requirement for deviceId

From: stefan hakansson via GitHub <sysbot+gh@w3.org>
Date: Fri, 20 May 2016 05:43:38 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-220522156-1463723017-sysbot+gh@w3.org>
Could a test for this be something along the lines of?:

Two origins are used, X and Y.

Preamble
========
Clear all cookies for X and Y

Phase 1
========
Open one tab at X and one at Y, enumerateDevices for both, log results
 as X1 and Y1, and compare (make sure they have different Id's)

Phase 2
========
Close X-tab,  open a new tab at X, enumerateDevices, log result as X2,
 and compare (make sure the Id's differ for X1 and Y1)

Phase 3
========
Do gUM at X-tab for one of the devices, have the user reject access

Phase 4
=======
Close X-tab,  open a new tab at X, enumerateDevices, log result as X3,
 and compare (make sure the Id's differ for X1, X2 and Y1)

Phase 5
=======
Do gUM at X-tab for one of the devices, have the user accepct access 
(but not give persisted permission if that option is available)

Phase 6
=======
Close X-tab,  open a new tab at X, enumerateDevices, log result as X4,
 and compare (make sure X4 == X3)

Phase 7
=======
Close X-tab,  clear all cookies for X, open a new tab at X, 
enumerateDevices, log result as X5, and compare (make sure the Id's 
differ between X1, X2, X3 (==X4) and Y1)


-- 
GitHub Notification of comment by stefhak
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/359#issuecomment-220522156
 using your GitHub account
Received on Friday, 20 May 2016 05:43:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:29 UTC