Closed Bug 1269932 Opened 8 years ago Closed 8 years ago

Netflix Widevine video playback fails when spoofing Chrome UA: TypeError: window.cancelIdleCallback is not a function

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
platform-rel --- +
firefox46 --- wontfix
firefox47 --- affected
firefox48 --- affected
firefox49 --- affected
firefox50 --- ?
firefox51 --- ?
firefox52 --- ?
firefox53 --- verified

People

(Reporter: cpeterson, Unassigned)

References

Details

(Whiteboard: [platform-rel-Netflix])

Netflix sometimes fails to play Widevine video when spoofing a Chrome UA because it calls window.cancelIdleCallback, a Chrome-only DOM API:

TypeError: window.cancelIdleCallback is not a function

This happens in my default profile, but not a clean-ish test profile. The problem temporarily went away when I signed out of Netflix and force-reloaded the player page.

Netflix should probably feature detection window.cancelIdleCallback instead of using UA detection. But for now, this is not really a Firefox or Netflix "bug" because we are lying about our UA.

requestIdleCallback and cancelIdleCallback are being implemented in bug 1198381.
TypeError: window.cancelIdleCallback is not a function

X<.onScrollEnd() bk:620
bound () self-hosted
h._onScroll/this.scrollTimeout<() bk:140
Mass change P2 -> P3
Priority: P2 → P3
platform-rel: --- → ?
Whiteboard: [platform-rel-Netflix]
platform-rel: ? → +
with bug 1198381 fixed is this bug still required to be tracked?
Chris, can you re-try given comment 4? Thanks!
Flags: needinfo?(cpeterson)
WORKSFORME with Nightly 53 build 2016-11-21 when spoofing a Chrome UA.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(cpeterson)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.