Andrea Marchesini
ec574f7448
Bug 1235629 - Remove dead code in WorkerFeature.h, r=smaug
2015-12-29 20:35:21 +00:00
Andrea Marchesini
7179f328b4
Bug 1234170 - WebSocket should check if the channel has been opened before send the 'close' notification to the WebSocketEventService, r=jduell
2015-12-22 20:05:07 +00:00
Boris Zbarsky
b204c573ff
Bug 1224596 part 4. Switch WebSocket to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey
2015-11-24 00:04:20 -05:00
Boris Zbarsky
d3ea5a3ffc
Bug 1224596 part 3. Make some WebSocket(Impl) methods whose return value is totally ignored void. r=khuey
2015-11-24 00:04:20 -05:00
Kyle Huey
bdbb2ec50a
Bug 1224061: Make Event::InitEvent infallible. r=smaug
2015-11-13 08:09:42 +08:00
Andrea Marchesini
cee356be8e
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal
2015-10-28 19:11:25 +00:00
Andrea Marchesini
419e060633
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal
2015-10-28 19:11:05 +00:00
Carsten "Tomcat" Book
b8bc8b9405
Backed out changeset f527785e39c6 (bug 1215092)
2015-10-28 14:28:35 +01:00
Carsten "Tomcat" Book
b9f731bd8e
Backed out changeset 2730cc97c6ec (bug 1215092)
2015-10-28 14:28:34 +01:00
Andrea Marchesini
17e360f5e5
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal
2015-10-28 11:42:53 +00:00
Andrea Marchesini
7a36913896
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal
2015-10-28 11:42:21 +00:00
Makoto Kato
1929f6c7c4
Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on dom. r=nfroyd
2015-10-28 14:29:57 +09:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Andrea Marchesini
08f3fd3539
Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 2 - WebSocketFrameService, r=michal
2015-10-26 15:30:11 +00:00
Andrea Marchesini
8ec6671244
Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 1 - WindowID added into WebSocketChannel, r=michal
2015-10-26 15:29:28 +00:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Ehsan Akhgari
93ed1d9a46
Bug 1204269 - Use the worker private in order to determine the origin of the entry settings object for workers; r=smaug
2015-10-06 10:08:46 -04:00
Nicholas Nethercote
b0155101b8
Bug 1200484 (part 3) - Use JS column numbers in WebSocket.cpp. r=baku.
...
--HG--
extra : rebase_source : 311fef36148a64806b1a6201c6838dc9da5c6f70
2015-08-31 21:29:23 -07:00
Aryeh Gregor
5aeef0231d
Bug 874842 - Return Event instead of nsIDOMEvent
2015-08-12 14:39:31 +03:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Christoph Kerschbaumer
e1029cace5
Bug 1139297 - Implement CSP upgrade-insecure-requests directive - websocket changes (r=baku)
...
--HG--
extra : rebase_source : 055c003f334e17422797ba9e36cc3748190d5f1f
2015-07-10 09:15:30 -07:00
Randell Jesup
c87c478f4f
Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
...
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Jan de Mooij
303b210317
Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie
2015-06-30 21:09:46 -07:00
Jan de Mooij
155b1afd35
Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
2015-06-30 11:20:56 -07:00
Ryan VanderMeulen
7483c0563e
Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
...
CLOSED TREE
2015-06-30 15:48:11 -04:00
Jan de Mooij
731f441d6e
Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
...
--HG--
extra : rebase_source : f7ae63c351c82516e7db48a12c4cfb2048a81805
2015-06-30 11:20:56 -07:00
Birunthan Mohanathas
180b572edb
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Andrea Marchesini
4f0dec9374
Bug 1167423 - patch 2 - Handle return values of FallibleTArray functions in WebSocket, r=smaug
2015-05-25 12:50:15 +01:00
Andrea Marchesini
61b9bd0496
Bug 1166231 - Make nsIDOMBlob an empty interface, r=ehsan
2015-05-19 15:36:37 +01:00
Andrea Marchesini
2689e0ffa6
Bug 1164567 - Get rid of mPrincipal from WebSocket. r=smaug
2015-05-15 11:51:47 -07:00
Andrea Marchesini
138f6d0913
Bug 1159792 - get rid of dom.workers.websocket.enabled pref, r=smaug
2015-05-14 12:24:06 +01:00
Andrea Marchesini
368a198972
Bug 1159401 - Split Blob and File classes, r=bz
2015-05-12 13:09:51 +01:00
Wes Kocher
983fcabeef
Backed out 2 changesets (bug 1159401) for b2g build bustage
...
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Andrea Marchesini
91a8a35606
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
2390c704f8
Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
...
CLOSED TREE
--HG--
extra : histedit_source : a6c24f88b9c5a0cbcf2d44189fd359ddb20757b4%2C46613cfc309a9f0531e8c2475ac17877f606f231
2015-05-11 11:43:59 -04:00
Andrea Marchesini
48ecacaa74
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 15:20:06 +01:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrea Marchesini
4e17cd5e14
Bug 1151609 - WebSocket::CloseConnection must be thread-safe, r=smaug CLOSED TREE
2015-04-08 19:09:26 +01:00
Andrea Marchesini
670fb6a86b
Bug 1150805 - WorkerPrivate should use nsTObserverArray for the WorkerFeatures, r=bent CLOSED TREE
2015-04-07 18:31:51 +01:00
Andrea Marchesini
7b01edda80
Bug 1147990
- websocket test suite - patch 3 - Not all the ports are accepted, r=smaug
2015-03-31 11:39:43 +01:00
Andrea Marchesini
e8292674ed
Bug 1147990
- websocket test suite - patch 2 - webSocket.url should be the spec of nsIURI, r=smaug
2015-03-31 11:39:35 +01:00
Andrea Marchesini
125d0ffa1a
Bug 1147990
- websocket test suite - patch 1 - URL with #ref should not be accepted, r=smaug
2015-03-31 11:39:03 +01:00
Carsten "Tomcat" Book
4ca033afe0
Backed out changeset 03bc64517aac (bug 1147990
) for web-platform-tests-2/3/4 test failures
2015-03-31 12:07:03 +02:00
Carsten "Tomcat" Book
c59011f4dc
Backed out changeset d83e597679f5 (bug 1147990
)
2015-03-31 12:06:32 +02:00
Carsten "Tomcat" Book
db397cc487
Backed out changeset 5ddc5807af3e (bug 1147990
)
2015-03-31 12:06:27 +02:00
Andrea Marchesini
ee897f76b1
Bug 1147990
- websocket test suite - patch 3 - Not all the ports are accepted, r=smaug
2015-03-30 20:56:39 +01:00
Andrea Marchesini
0080970220
Bug 1147990
- websocket test suite - patch 2 - webSocket.url should be the spec of nsIURI, r=smaug
2015-03-30 20:56:09 +01:00
Andrea Marchesini
f56203ae7b
Bug 1147990
- websocket test suite - patch 1 - URL with #ref should not be accepted, r=smaug
2015-03-30 20:55:27 +01:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00