Open Bug 1778430 Opened 2 years ago Updated 2 hours ago

HLS (http live streaming) sniffing for ORB (opaque response blocking)

Categories

(Core :: Audio/Video, task)

task

Tracking

()

People

(Reporter: hsinyi, Unassigned)

References

(Depends on 1 open bug, Blocks 3 open bugs)

Details

(Whiteboard: [fission:android])

HLS manifest is fetched across origins .

As discussed in whatwg/html#6468 we need to make adjustments to handle HTTP Live Streaming correctly.

File this bug to start discussion and investigation of what is required.

Summary: HLS (http live stream) sniffing for ORB (opaque response blocking) → HLS (http live streaming) sniffing for ORB (opaque response blocking)

Assuming I haven't missed something, HLS goes through fetch()/XHR on desktop (both FF and Chrome) since there isn't native support for it, and that means cors should be implied. But before ORB is enabled on Android, we need to do something.

See Also: → 1784678
Whiteboard: [sp3]
Blocks: 1852710

Hsin-Yi says this fix is needed for Android Fission.

Blocks: gv-fission
Whiteboard: [fission:android]

(In reply to Chris Peterson [:cpeterson] from comment #2)

Hsin-Yi says this fix is needed for Android Fission.

To be clearer, this blocks Android Fission if we plan to use the same the same remoteTypePrefix as on desktop. If so, Spectre mitigation will be disabled automatically once Android Fission is enabled, regardless of ORB ( we don't check for ORB there currently). This would lead to unintended consequences, as ORB is a hard blocker preventing the removal of spectre mitigations. However, even though we will be using another remote type, it still makes sense to fix this issue as soon as possible after Android Fission, so we can disable spectre mitigations where it makes sense, thereby reducing maintenance complexity and gaining performance.

Depends on: 1672751
Blocks: 1896931

This bug depends on whether we remove Gecko's native HLS support on Android, bug 1896931. That decision is blocked waiting on cbsnew.com HLS bug 1913403...

No longer blocks: 1896931
Depends on: 1896931
See Also: → 1913403

(In reply to Hsin-Yi Tsai (she/her) away [:hsinyi] from comment #3)

(In reply to Chris Peterson [:cpeterson] from comment #2)

Hsin-Yi says this fix is needed for Android Fission.

To be clearer, this blocks Android Fission if we plan to use the same the same remoteTypePrefix as on desktop. If so, Spectre mitigation will be disabled automatically once Android Fission is enabled, regardless of ORB ( we don't check for ORB there currently). This would lead to unintended consequences, as ORB is a hard blocker preventing the removal of spectre mitigations.

Leaving a comment here for clear reference: bug 1894265 ensures spectre mitigation remain enabled when ORB is not enabled on Android. So this bug is no longer a blocker for Android Fission.

However, even though we will be using another remote type, it still makes sense to fix this issue as soon as possible after Android Fission, so we can disable spectre mitigations where it makes sense, thereby reducing maintenance complexity and gaining performance.

This part is still true and important.

You need to log in before you can comment on or make changes to this bug.