diff --git a/index.bs b/index.bs index f3aaf956..cc2ba194 100644 --- a/index.bs +++ b/index.bs @@ -2536,6 +2536,22 @@ offers guidance that should be considered in the development of new features, no * [[#feature-detect]] * Polyfill development should be encouraged +

Where possible APIs should be made available in DedicatedWorker

+ +When exposing a feature, please consider whether it makes sense to expose the feature +to DedicatedWorker as well. + +Many features could work out of the box on a DedicatedWorker and not enabling the feature +there could limit the ability for users to run their code in a non blocking manner. + +Certain challenges can exist when trying to enable a feature on DedicatedWorker, +especially if the feature requires user input by asking for permission, +or showing a picker or selector. +Even though this might discourage spec authors to support workers, +we still recommend designing the feature with DedicatedWorker support in mind, +in order to not add assumptions that will later make it unnecessarily hard to expose +these APIs to DedicatedWorker. +

New Data Formats

Always define a corresponding MIME type and extend existing APIs to support this type