[presentation-api] new commits pushed by mfoltzgoogle

The following commits were just pushed by mfoltzgoogle to 
https://github.com/w3c/presentation-api:

* Reject when sandbox blocks the feature instead of not exposing.

The reasons are:
- navigator.presentation returning null only in this edge case will 
lead
  to bugs because developers will not expect this;
- we already have failure mode for all the methods;
- a malicious iframe could hold a Presentation instance if the 
embedder
  where to have the sandbox flags not set properly for a short period 
of
  time (eg. load race condition).

This change also does:
- add mixed security check for getAvailability() so we don't waste
  resources listen for availability when not needed;
- fix editorial issues whith mixed security check where the steps were
  not stopped.
  by Mounir Lamouri
https://github.com/w3c/presentation-api/commit/f64f32ef23fb44201ef31e2d0f5d3970d082b3d2

* Merge pull request #292 from w3c/start-sandbox-error

Reject when sandbox blocks the feature instead of not exposing.
  by Mark Foltz
https://github.com/w3c/presentation-api/commit/3dc6c3a9857482628a14c257121d21fa6aa225f0

Received on Friday, 6 May 2016 17:50:42 UTC