Andrea Marchesini
2c716cd273
Bug 1347817 - Principal must always have a valid origin - part 6 - fixing tests, r=ehsan
2017-03-29 15:28:46 +02:00
Sebastian Hengst
eadf7b5c6e
Backed out changeset 4af10700c64c (bug 1347817)
2017-03-29 11:17:04 +02:00
Andrea Marchesini
4b77f4a4b9
Bug 1347817 - Principal must always have a valid origin - part 6 - fixing tests, r=ehsan
2017-03-29 08:27:17 +02:00
Ben Kelly
055c3491d8
Bug 1334165 Don't allow event dispatch after WebSocket allows worker thread to exit cleanly. r=baku
2017-01-27 06:06:33 -08:00
Boris Zbarsky
334f1106d6
Bug 1333540. Common up the skippability implementations that are basically copy/pastes of the DOMEventTargetHelper one. r=smaug
2017-01-24 20:40:11 -05:00
Boris Zbarsky
cce1668e68
Bug 1332322 part 2. Rename nsWrapperCache::IsBlack to nsWrapperCache::HasKnownLiveWrapper. r=mccr8
2017-01-24 20:38:58 -05:00
Boris Zbarsky
b39cdf67a8
Bug 1332322 part 1. Add an nsWrapperCache function to mark the wrapper as 'live' for GC purposes. r=mccr8
2017-01-24 20:33:54 -05:00
Wei-Cheng Pan
9787ace059
Bug 1323949 - Use MOZ_MUST_USE in netwerk/protocol/websocket r=valentin
...
MozReview-Commit-ID: 6lNrHbDIUez
--HG--
extra : rebase_source : a7f06ba4a31a328c4e62d6c78d72024c08cc1328
2016-11-23 18:00:42 +08:00
Stone Shih
6d0d65472f
Bug 1267903 - Part 1: Implement EventSource for Worker. r=baku
...
--HG--
extra : rebase_source : 757ad8de9161a49b67f381ba2062d98582062423
extra : histedit_source : 2c9344e7e2568d2a74f14c5b0dbe2de66d5f2472
2016-10-24 10:11:04 +08:00
Andrea Marchesini
250fc8ec0c
Bug 1323425 - WebSocket::CreateAndDispatchCloseEvent must check if mImpl has been nullified, r=smaug
2017-01-05 16:16:30 +01:00
Andrea Marchesini
94547f20bb
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly
2017-01-05 10:05:32 +01:00
Tomislav Jurin
348bfffc19
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Andrea Marchesini
fd0870b751
Bug 1320297 - Thread-safe use of ErrorResult in WebSocket, r=qdot
2016-11-28 19:12:57 +01:00
Andrea Marchesini
f98629e97c
Bug 1313385 - WebSocketImpl::mSecure should be initialized in the CTOR, r=qdot
2016-10-27 20:16:15 +02:00
Andrea Marchesini
fa19ea68e4
Bug 1312412 - Introducing BlobImplString, r=smaug
2016-10-25 07:53:54 +02:00
Andrea Marchesini
c11a158627
Bug 1310967 - Update MessageEvent to the latest spec, r=smaug
2016-10-25 07:48:05 +02:00
Sebastian Hengst
1d68ef32e7
Backed out changeset 1fc115bbc7be (bug 1310967) for failing test_messageEvent_init.html. r=backout
2016-10-24 19:14:38 +02:00
Andrea Marchesini
1a3cb83d92
Bug 1310967 - Update MessageEvent to the latest spec, r=smaug
2016-10-24 17:10:46 +02:00
Andrea Marchesini
4f20f137bf
Bug 1309139 - Get rid of NS_NewDOMMessageEvent, r=smaug
2016-10-12 15:17:10 +02:00
Christoph Kerschbaumer
863342e741
Bug 1299766 - Bring back contentpolicy check for websockets in child to avoid missing context for addon implemented content policies within parent. r=jduell
...
--HG--
extra : rebase_source : 82e5bb03c221e6f10f8598f096ca57a61875aa75
2016-09-05 13:54:41 +02:00
Michael Layzell
c47fca1cd7
Bug 1018486 - Part 1: Changes in dom/, r=baku
...
MozReview-Commit-ID: 4tCUM4KRe81
2016-09-07 10:50:35 -04:00
Ben Kelly
9d7b33a00b
Bug 1293690 P2 Set explicit status levels to fail at when calling WorkerHolder::HoldWorker. r=baku
2016-08-18 07:11:04 -07:00
Phil Ringnalda
4083fafafc
Backed out 10 changesets (bug 1290116, bug 1293690) for build bustage
...
CLOSED TREE
Backed out changeset bbc14d107fca (bug 1290116)
Backed out changeset a81b6ce5c25f (bug 1290116)
Backed out changeset e0b9c25b6125 (bug 1290116)
Backed out changeset 8e9a9ba04ce5 (bug 1290116)
Backed out changeset 2d5ad5e9ed20 (bug 1290116)
Backed out changeset eb7da0dbfc72 (bug 1290116)
Backed out changeset 6a4e8c92faae (bug 1290116)
Backed out changeset 0342d98afa10 (bug 1293690)
Backed out changeset d84b0768f0ce (bug 1293690)
Backed out changeset f9f62ade9508 (bug 1293690)
2016-08-17 21:16:43 -07:00
Ben Kelly
fa520e1fdd
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
ca40b738e4
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.
--HG--
extra : rebase_source : f82426e7584d0d5cddf7c2524356f0f318fbea7d
2016-08-12 15:19:29 +10:00
Nicholas Nethercote
e7f10a07fd
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.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Jarda Snajdr
e8b9017f0d
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
24a9c077f4
Bug 1280167 - "WebSocket WorkerRunnableDispatcher uses ModifyBusyCountFromWorker wrongly" [r=khuey]
...
--HG--
extra : rebase_source : 3aacf779be26233be6c6347016f881f5511dbd4a
2016-07-21 00:42:00 +08:00
Iris Hsiao
c1ad689350
Backed out changeset 79b1ba1f1f4b (bug 1280167)
2016-07-21 17:45:05 +08:00
Andrea Marchesini
49008b016c
Bug 1280167 - WebSocket WorkerRunnableDispatcher uses ModifyBusyCountFromWorker wrongly, r=khuey
2016-07-21 10:15:24 +02:00
Chris Peterson
b175c9fdd5
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Christoph Kerschbaumer
ce1e85f2a3
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
aac2306f2c
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
47aeb86e2c
Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
...
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Andrea Marchesini
45087a7970
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-22 17:24:35 +02:00
Christoph Kerschbaumer
1b81dcec35
Bug 1271198 - Convert Websockets to use AsyncOpen2(). r=jduell
2016-05-17 12:04:11 +02:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Andrea Marchesini
43a1cd6c16
Bug 1277226 - Implement MainThreadWorkerRunnable, r=sicking
2016-06-08 07:12:05 +02:00
Jonas Sicking
2e9e463e19
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
5c01d7c3ee
Bug 1276549 - Remove rvalue reference mark for already_AddRefed params of nsIEventTarget::Dispatch and related methods. r=froydnj
...
MozReview-Commit-ID: J5RAfGW3X7T
--HG--
extra : source : e1ff4b0d5d9d2599ac00bac376597357ffd58ce0
2016-06-01 10:04:54 +10:00
Sebastian Hengst
468fcc6924
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
bbc661631e
Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell)
2016-05-19 15:42:01 +02:00
Sebastian Hengst
d6e3286232
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
0e2d46a840
Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell)
2016-05-19 11:54:02 +02:00
Kyle Huey
c85171ace9
Bug 1269056: Part 1 - Implement a rough PostDelayedTask equivalent on nsThread. r=froydnj
2016-05-12 15:15:43 -07:00
Andrea Marchesini
513590a1ac
Bug 1267904 - Add telemetry for WorkerMainThreadRunnable, r=khuey
2016-05-03 09:09:47 +02:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Boris Zbarsky
897473a184
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
67dd0b1d96
Bug 1265056 - don't needlessly construct nsAutoCString temporaries in dom/; r=baku
2016-04-15 19:46:45 -04:00
Kyle Huey
2709afd167
Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj
2016-04-11 11:40:06 -07:00