Screensharing dabbles into Firefox, but doesn't offer any instructions for it, even though it's properly supported by the browser
var mediaConstraints = { video: { mozMediaSource: "screen", mediaSource: "screen" } };
Alternatively, replace "screen" with "window" to share an individual window. (Unfortunately there is no single constraint that will allow the user to choose either window or screen, as there is on Chrome).