Closed Bug 1081220 Opened 10 years ago Closed 9 years ago

Enable UDPSocket API on the desktop webapp runtime

Categories

(Firefox Graveyard :: Webapp Runtime, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: marco, Unassigned, Mentored)

References

Details

(Whiteboard: [good first bug][lang=js])

We just need to test whether it works and set the pref to true in http://mxr.mozilla.org/mozilla-central/source/webapprt/prefs.js
Mentor: mar.castelluccio
Whiteboard: [good first bug][lang=js]
> We just need to test whether it works How can we check for that?
Flags: needinfo?(mar.castelluccio)
You'd need to create a sample webapp that uses the UDPSocket API.
Flags: needinfo?(mar.castelluccio)
If nobody is working on this, I'd like to take on this bug
Please have a go. I am not working on this, just to make it clear.
Mr. AVGP - would you like to take a run at this?
Flags: needinfo?(mr.avgp)
Hey Mike, I'm Martin (Bugzilla for some reason doesn't let me change my name) and, yes, I'd like to go for it. I started with it and will give writing a web app that works on Desktop with UDP to verify it works
Flags: needinfo?(mr.avgp)
I don't know if a webapp is the right thing, though tests are always valuable. Marco, what do you think?
Uhm, quoting Marco from his previous comment: "You'd need to create a sample webapp that uses the UDPSocket API." - what else do you have in mind?
My apologies, I want to make sure that's the right approach for testing.
Yeah and that's right - I just wondered what else could be done to test it? An addon maybe?
(In reply to mr.avgp from comment #10) > Yeah and that's right - I just wondered what else could be done to test it? > An addon maybe? Marco is right, the definitive way to test this is by installing and launching a desktop open web app that uses the UDPSocket API. There are a number of environmental factors that mean testing this from an add-on or other mechanism won't be as good of a test.
Alright, that's what I tought, so we agree that an open web app for desktop is what we need. By the way, is there better docs for writing and testing an OWA on desktop than https://developer.mozilla.org/en-US/Marketplace/Options/Open_web_apps_for_desktop? Because it's a bit unclear to me, how I *locally* test an OWA for desktop without going through a marketplace or does https://developer.mozilla.org/en-US/Apps/Quickstart#Testing_on_Firefox_desktop also work for privileged apps (I think I need privileged to get UDPSockets, right?)?
On B2G we recently add a demo UPnP app (see Bug 1060250), it would be a good start trying it on desktop.
Priority: -- → P3
Blocks: 1111077
Per bug 1238079, we're going to disable the desktop web runtime and remove it from the codebase, so we won't fix these bugs in it.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.