Bug 699667 - Allow context menus on html media elements. r=mfinkle

This commit is contained in:
Wes Johnston 2011-11-07 09:00:52 -08:00
parent f9d12fc065
commit 742be55e21

View File

@ -753,7 +753,7 @@ var NativeWindow = {
} else if (popupNode instanceof Ci.nsIImageLoadingContent && popupNode.currentURI) {
title = popupNode.currentURI.spec;
} else if (popupNode instanceof Ci.nsIDOMHTMLMediaElement) {
title = state.mediaURL = (popupNode.currentSrc || popupNode.src);
title = (popupNode.currentSrc || popupNode.src);
}
// convert this.menuitems object to an array for sending to native code