Skip to content

Should navigator.productSub/vendor/vendorSub be exposed to workers? #216

@foolip

Description

@foolip

Updating Blink to the recent NavigatorID changes, it makes productSub, vendor and vendorSub exposed on Worker where it previously was not. I've tested with this script:

['appCodeName',
 'appName',
 'appVersion',
 'platform',
 'product',
 'productSub',
 'userAgent',
 'vendor',
 'vendorSub'].forEach(function(attr) {
     console.log(attr + ': ' + (attr in navigator ? 'exposed' : 'NOT exposed'));
 });

Blink (Opera) and Gecko (Firefox) both agree that productSub/vendor/vendorSub are not exposed on workers.

Should we limit these to Window in the spec as well, or just go ahead and expose them?

CC @bzbarsky

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions