DescriptionIsolate a presenting VR device from pages other than the one presenting.
Prevents a page from reading or resetting the pose of a
device which is currently being presented to by a
different page, as that potentially creates an
information leak between pages.
Also prevented pages from beginning presentation if another page is already presenting to a device. This is a
little overly aggressive right now, as disallows
presentation to more than one device at a time from any
page, but that's a reasonable limitation at this point
given the rarity of VR hardware.
BUG=389343
Committed: https://crrev.com/73ed46b81d0a4da803a9ad25bb217f2aac28709a
Cr-Commit-Position: refs/heads/master@{#418771}
Patch Set 1 #Patch Set 2 : Rebase and added further page isolation logic #
Total comments: 9
Patch Set 3 : Addressed Michael's feedback #
Total comments: 2
Patch Set 4 : Added suggested return #Patch Set 5 : Fixed style guide violation #Patch Set 6 : Fixed Android compile bug #Patch Set 7 : Unit tests #
Messages
Total messages: 39 (19 generated)
|