Open Bug 1411331 Opened 7 years ago Updated 2 years ago

webRequestBlocking loses to video.play()

Categories

(WebExtensions :: Android, defect, P3)

All
Android
defect

Tracking

(firefox57 wontfix, firefox58 affected, firefox59 affected, firefox60 affected)

Tracking Status
firefox57 --- wontfix
firefox58 --- affected
firefox59 --- affected
firefox60 --- affected

People

(Reporter: jocodes, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170826053331

Steps to reproduce:

Attempted to block a video using chrome.webRequest.onBeforeRequest(...)


Actual results:

The video was not blocked when video.play() was used.


Expected results:

The video should have been blocked.
I can't reproduce this on OS X in Firefox release (56) up to Nightly (58). Your user agent in the bug mentions 55. Can you reproduce in any of these versions?
Flags: needinfo?(jon.jwilkes)
Yes, this reproduces with nightly (58) on Android.  It does not reproduce on the desktop version.
Flags: needinfo?(jon.jwilkes)
Priority: -- → P3
Attached image Bug1411331.gif
I can reproduce this issue on Fennec 58.0.2, Fennec 59.0b13 and Fennec 60.0a1 (2018-03-01) under Android 8.0.0.

On android, the video is not blocked after I installed the extension from comment1.

Please see the attached video.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → Android
Hardware: Unspecified → All
Version: 58 Branch → Trunk
Product: Toolkit → WebExtensions
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: