joshuef / beaker

A browser for the SAFE Network
Other
20 stars 7 forks source link

Mark safe as a secure protocol to enable latest HTML5 features #10

Closed gnunicorn closed 7 years ago

gnunicorn commented 7 years ago

Chrom(e|ium) exposes many newer DOM APIs and HTML5 features (like User Media or Geolocation) only over secure connections – primarily https – in order to prevent the user from accidentally exposing themselves to third parties. For any webpage deliver over an unsecure protocol those APIs will be flat out denied.

This patch registers our own safe-protocol as a secure one, in order to enable said DOM APIs and HTML5 features.

Fixes #9 .