Ben Kelly
72fb8c6934
Bug 1293690 P2 Set explicit status levels to fail at when calling WorkerHolder::HoldWorker. r=baku
2016-08-17 20:01:35 -07:00
Nicholas Nethercote
1cef4f427a
Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm.
...
This makes a lot of code more compact, and also avoids some redundant nsresult
checks.
The patch also removes a handful of redundant checks on infallible setters.
2016-08-12 15:19:29 +10:00
Nicholas Nethercote
1f65390cc9
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
2016-08-08 12:18:10 +10:00
Jarda Snajdr
88dd7086f2
Bug 1286281 - Part 2: Add static chrome-only method to create server-side WebSocket to WebIDL r=baku
...
MozReview-Commit-ID: CNEkI9UP2mw
2016-07-29 07:01:00 -07:00
Andrea Marchesini
1588269bb3
Bug 1280167 - "WebSocket WorkerRunnableDispatcher uses ModifyBusyCountFromWorker wrongly" [r=khuey]
2016-07-21 00:42:00 +08:00
Iris Hsiao
51bd22990e
Backed out changeset 79b1ba1f1f4b (bug 1280167)
2016-07-21 17:45:05 +08:00
Andrea Marchesini
f6d9e5c341
Bug 1280167 - WebSocket WorkerRunnableDispatcher uses ModifyBusyCountFromWorker wrongly, r=khuey
2016-07-21 10:15:24 +02:00
Chris Peterson
6c0f810682
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Christoph Kerschbaumer
fb2355c1a2
Bug 1119989 - Assert that mPrincipal and doc's Principal are same origin in WebSocket.cpp. r=tanvi
2016-06-21 13:31:56 +02:00
Andrea Marchesini
796bda032a
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
ef49710e52
Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
2016-06-23 10:13:54 +02:00
Andrea Marchesini
274f4e927f
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
2016-06-22 17:24:35 +02:00
Christoph Kerschbaumer
4dd7563d92
Bug 1271198 - Convert Websockets to use AsyncOpen2(). r=jduell
2016-05-17 12:04:11 +02:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Andrea Marchesini
4fd580b703
Bug 1277226 - Implement MainThreadWorkerRunnable, r=sicking
2016-06-08 07:12:05 +02:00
Jonas Sicking
a6a228b2c1
Bug 1272100: Websocket changes in preparation of FlyWeb landing. Make websocket code support acting as the server side of a websocket connection. r=michal
2016-06-01 02:35:33 -07:00
Xidorn Quan
4843f879c0
Bug 1276549 - Remove rvalue reference mark for already_AddRefed params of nsIEventTarget::Dispatch and related methods. r=froydnj
...
MozReview-Commit-ID: J5RAfGW3X7T
2016-06-01 10:04:54 +10:00
Sebastian Hengst
8bc16a6aea
Backed out changeset 2292661153e3 (bug 1271198) for web-platform failures. r=backout on a CLOSED TREE
2016-05-19 17:06:04 +02:00
Christoph Kerschbaumer
1545ce5c04
Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell)
2016-05-19 15:42:01 +02:00
Sebastian Hengst
7e88cd47a7
Backed out changeset 854a8df494d3 (bug 1271198) for many assertions at nsHttpChannel.cpp:5204. r=backout on a CLOSED TREE
2016-05-19 14:23:51 +02:00
Christoph Kerschbaumer
dcac96fb7a
Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell)
2016-05-19 11:54:02 +02:00
Kyle Huey
fd4a780de1
Bug 1269056: Part 1 - Implement a rough PostDelayedTask equivalent on nsThread. r=froydnj
2016-05-12 15:15:43 -07:00
Andrea Marchesini
fddf33c51f
Bug 1267904 - Add telemetry for WorkerMainThreadRunnable, r=khuey
2016-05-03 09:09:47 +02:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Boris Zbarsky
4699524211
Bug 1265072 part 4. Get rid of uses of GetDocumentFromScriptContext in WebSocket code. r=smaug
2016-04-20 18:04:36 -04:00
Nathan Froyd
eaa8e05f0f
Bug 1265056 - don't needlessly construct nsAutoCString temporaries in dom/; r=baku
2016-04-15 19:46:45 -04:00
Kyle Huey
1f6993705a
Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj
2016-04-11 11:40:06 -07:00
Wes Kocher
dd9b334d33
Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE
...
Backed out changeset 0434a548e1fe (bug 1263311)
Backed out changeset 60b1be29446c (bug 1263311)
Backed out changeset 18132498bc40 (bug 1263311)
MozReview-Commit-ID: LPEa05QobdQ
2016-04-11 12:50:56 -07:00
Kyle Huey
7a575c886c
Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj
2016-04-11 11:40:06 -07:00
Andrea Marchesini
6d2ba6f687
Bug 712329 - WebSocket should not complain in the console when the document is navigated away, r=smaug
2016-03-29 18:57:36 +01:00
Kyle Huey
d791fedcc4
Bug 1259290: Part 5 - Remove the cx from WorkerFeature::Notify. r=bz
2016-03-28 10:28:14 -07:00
Boris Zbarsky
a50c6aa31a
Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley
2016-03-23 11:44:54 -04:00
Benjamin Bouvier
e9e5750ced
Bug 1251308; r=luke
...
MozReview-Commit-ID: AqsMX4m7Qh9
2016-03-09 11:20:11 +01:00
Andrea Marchesini
412459983b
Bug 1252751 - Improve the security model between webSocket and sandboxed iframe, r=smaug
2016-03-11 12:56:05 +01:00
Michal Novotny
b2c8e755d2
Bug 1227136 - crash in mozilla::net::WebSocketChannel::StartWebsocketData, r=bagder, r=baku
2016-03-09 17:02:28 +01:00
Boris Zbarsky
48677a12b6
Bug 1252091. Add/RemoveFeature don't need a JSContext argument. r=khuey
2016-02-29 14:52:42 -05:00
Boris Zbarsky
e3eff10fb4
Bug 1251045 part 4. Remove the JSContext argument of WorkerRunnable::Dispatch. r=khuey
2016-02-26 15:23:12 -05:00
Boris Zbarsky
2b562ca809
Bug 1251045 part 3. Remove the JSContext argument of WorkerRunnable::PostDispatch and its overrides. r=khuey
2016-02-26 15:23:12 -05:00
Boris Zbarsky
2499717c67
Bug 1251045 part 2. Remove the JSContext argument of ModifyBusyCountFromWorker. r=khuey
2016-02-26 15:23:12 -05:00
Boris Zbarsky
c88bd7aba0
Bug 1250975. Stop passing a JSContext argument to WorkerRunnable::PreDispatch and its overrides. r=khuey
2016-02-25 16:05:39 -05:00
Wes Kocher
0a08f00f7c
Backed out changeset bb404647f14c (bug 1250975) for build bustage CLOSED TREE
2016-02-25 13:41:09 -08:00
Boris Zbarsky
c9a6e0f1c3
Bug 1250975. Stop passing a JSContext argument to WorkerRunnable::PreDispatch and its overrides. r=khuey
2016-02-25 16:05:39 -05:00
Boris Zbarsky
92d3667b86
Bug 1250234. Make WebSocket::CreateAndDispatchMessageEvent properly report JS exceptions it might be producing. r=khuey
2016-02-23 15:02:28 -05:00
Boris Zbarsky
915420c1e5
Bug 1249102. Make overrides of WorkerRunnable::PostRun a bit more consistent. r=khuey
...
Specifically we make the following changes:
1) Remove WorkerSameThreadRunnable::PostRun, because it does exactly the same
things as WorkerRunnable::PostRun.
2) Always treat ModifyBusyCountFromWorker as infallible in terms of throwing
JS exceptions.
3) Change ExtendableFunctionalEventWorkerRunnable::PostRun to properly call
its superclass PostRun so we will correctly decrement the busy count our
PreDispatch incremented.
4) Document why some overrides of PreDispatch/PostDispatch are needed and
don't call into the superclass
2016-02-18 18:02:51 -05:00
Aidin Gharibnavaz
bb0750ec60
Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
2016-02-10 08:23:00 +01:00
Carsten "Tomcat" Book
498dd069da
Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
2016-02-08 11:17:38 +01:00
Aidin Gharibnavaz
d9bbb0c446
Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
2016-02-07 10:56:00 +01:00
Andrea Marchesini
9f242cb2f3
Bug 1245951 - "Unused method in WebSocket". r=smaug
2016-02-04 11:40:00 +01:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Luke Wagner
786af33c6f
Bug 1239601 - improve the UniquePtr situation (r=jandem)
2016-01-15 18:26:20 -06:00