Open Bug 1741202 Opened 4 years ago Updated 4 years ago

Save Video As in the context menu should be disabled if there is no 'src' attribute

Categories

(Toolkit :: Video/Audio Controls, defect, P3)

defect

Tracking

()

People

(Reporter: padenot, Assigned: padenot)

Details

STR:

Expected:

  • The video is downloaded

Actual:

Exception { name: "NS_ERROR_FAILURE", message: "Failure arg 2 [nsIIOService.newChannelFromURI]", result: 2147500037, filename: "resource://gre/modules/NetUtil.jsm", lineNumber: 311, columnNumber: 0, data: null, stack: "NetUtil_newChannel@resource://gre/modules/NetUtil.jsm:311:31\nsaveHelper@chrome://browser/content/nsContextMenu.js:1716:27\nsaveMedia@chrome://browser/content/nsContextMenu.js:1845:12\noncommand@chrome://browser/content/browser.xhtml:1:14\n", location: XPCWrappedNative_NoHelper }

is logged in the browser console.

The <video> on that Bugzilla page is missing a src attribute or any child elements that declare the src. We should probably disable the context menuitem in this case.

It seems there is a bug with Bugzilla though too?

Severity: -- → S4
Priority: -- → P3
Summary: Save Video As in the context menu sometimes doesn't work → Save Video As in the context menu should be disabled if there is no 'src' attribute
You need to log in before you can comment on or make changes to this bug.