Commit Graph

75 Commits

Author SHA1 Message Date
Luke Wagner
6368df1d84 Bug 1239601 - improve the UniquePtr situation (r=jandem) 2016-01-15 18:26:20 -06:00
Christoph Kerschbaumer
bae3325563 Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking) 2016-01-14 12:38:15 -08:00
Nigel Babu
944804400b Backed out changeset f51b921e1ccf (bug 1233098) for browser-chrome bustage 2016-01-14 08:04:37 +05:30
Christoph Kerschbaumer
719db9a7f7 Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking) 2016-01-13 15:51:43 -08:00
Xidorn Quan
fd62659376 Bug 1238404 - Use 'using' directive instead of having separate Dispatch impl in subclasses of nsIEventTarget. r=froydnj 2016-01-12 15:18:47 +11:00
Andrea Marchesini
bb44958f9a Bug 1235629 - Remove dead code in WorkerFeature.h, r=smaug 2015-12-29 20:35:21 +00:00
Andrea Marchesini
db1d758dcf 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
63fa1800e8 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
f33b314349 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
d9adfa1d30 Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
Andrea Marchesini
69adf98a71 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal 2015-10-28 19:11:25 +00:00
Andrea Marchesini
2687f516ac Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal 2015-10-28 19:11:05 +00:00
Carsten "Tomcat" Book
97304bfc33 Backed out changeset f527785e39c6 (bug 1215092) 2015-10-28 14:28:35 +01:00
Carsten "Tomcat" Book
f7a75f7672 Backed out changeset 2730cc97c6ec (bug 1215092) 2015-10-28 14:28:34 +01:00
Andrea Marchesini
c2e1339868 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal 2015-10-28 11:42:53 +00:00
Andrea Marchesini
dacf95320d Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal 2015-10-28 11:42:21 +00:00
Makoto Kato
369a8a18e3 Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on dom. r=nfroyd 2015-10-28 14:29:57 +09:00
Kyle Huey
fffe5cc829 Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Andrea Marchesini
a2f1eba556 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
c997842c3d 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
e4e2da55c9 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
2015-10-18 01:24:48 -04:00
Ehsan Akhgari
b70218fc21 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
229aa726aa Bug 1200484 (part 3) - Use JS column numbers in WebSocket.cpp. r=baku. 2015-08-31 21:29:23 -07:00
Aryeh Gregor
2aab280bb3 Bug 874842 - Return Event instead of nsIDOMEvent 2015-08-12 14:39:31 +03:00
Birunthan Mohanathas
47ed3a3675 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
98af2b440e Bug 1139297 - Implement CSP upgrade-insecure-requests directive - websocket changes (r=baku) 2015-07-10 09:15:30 -07:00
Randell Jesup
cb8f0924d3 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
e1b03075a7 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Jan de Mooij
708e28e6b7 Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie 2015-06-30 21:09:46 -07:00
Jan de Mooij
c3dfaeab46 Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie 2015-06-30 11:20:56 -07:00
Ryan VanderMeulen
9b6df02fe8 Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
CLOSED TREE
2015-06-30 15:48:11 -04:00
Jan de Mooij
ae8d5d837c Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie 2015-06-30 11:20:56 -07:00
Birunthan Mohanathas
084be39cfd Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Andrea Marchesini
daf35c2a30 Bug 1167423 - patch 2 - Handle return values of FallibleTArray functions in WebSocket, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
c4223f6e7b Bug 1166231 - Make nsIDOMBlob an empty interface, r=ehsan 2015-05-19 15:36:37 +01:00
Andrea Marchesini
c9d070a1e2 Bug 1164567 - Get rid of mPrincipal from WebSocket. r=smaug 2015-05-15 11:51:47 -07:00
Andrea Marchesini
bcd095019c Bug 1159792 - get rid of dom.workers.websocket.enabled pref, r=smaug 2015-05-14 12:24:06 +01:00
Andrea Marchesini
08c931dc57 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Wes Kocher
477215237f 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
7e0e157266 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
64bb0dd547 Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
CLOSED TREE
2015-05-11 11:43:59 -04:00
Andrea Marchesini
246389cea0 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 15:20:06 +01:00
Andrew McCreight
c979f253c0 Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrea Marchesini
51ae0d37fe Bug 1151609 - WebSocket::CloseConnection must be thread-safe, r=smaug CLOSED TREE 2015-04-08 19:09:26 +01:00
Andrea Marchesini
e0ac202147 Bug 1150805 - WorkerPrivate should use nsTObserverArray for the WorkerFeatures, r=bent CLOSED TREE 2015-04-07 18:31:51 +01:00
Andrea Marchesini
3c0ad584e4 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
0b1157048b 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
871a9e2a83 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
a432b3a4ec 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
a1c088fb72 Backed out changeset d83e597679f5 (bug 1147990) 2015-03-31 12:06:32 +02:00