Closed Bug 1647972 Opened 4 years ago Closed 4 years ago

Add a new PlatformOverride field onto BrowsingContext

Categories

(Core :: DOM: Navigation, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: gl, Assigned: gl)

References

Details

(Whiteboard: [fission-])

Attachments

(1 file)

As part of https://bugzilla.mozilla.org/show_bug.cgi?id=1647551#c3, we want to add a synced field to the BrowsingContext for handling PlatformOverride.

Doesn't block Fission because this is a new feature.

Whiteboard: [fission-]
Severity: -- → N/A
Priority: -- → P3
Depends on: 1595710
No longer depends on: 1595710
Blocks: 1595710

:whimboo, do we expect the platform to be also emulate when it goes over the network?

Is there a specific field in the HTTP request for the platform? Or is it just part of the user agent if not overriden? I think we should check what CDP/Chrome actually does, when the platform gets emulated.

(In reply to Henrik Skupin (:whimboo) [⌚️UTC+2] from comment #5)

Is there a specific field in the HTTP request for the platform? Or is it just part of the user agent if not overriden? I think we should check what CDP/Chrome actually does, when the platform gets emulated.

You are right there's no specific field in the HTTP request for platform. It should just be the User-Agent headers that includes the platform. Let's follow up on this after investigating how CDP/Chrome emulates it.

Pushed by gluong@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b96146ff2d78 Add a new PlatformOverride field onto BrowsingContext r=smaug
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: