Commit Graph
75 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book b1d34acbf1 Backed out changeset 5ddc5807af3e (bug 1147990) 2015-03-31 12:06:27 +02:00
Andrea Marchesini bea425ce3b 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 3a2dab0eeb 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 7100065cbd 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 ad97ae68b8 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari 521cf82d31 Bug 1140804 follow-up: Use final and override instead of the macros which don't exist any more
Landed on a CLOSED TREE to fix bustage.
2015-03-24 14:12:17 -04:00
Olli Pettay d7b2b54195 Bug 1140804, make sure to close WebSocket channel even in workers, r=khuey CLOSED TREE 2015-03-19 00:38:02 +02:00
Ehsan Akhgari ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky 3a822d99b4 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Christoph Kerschbaumer 32a6d0de6b Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - websocket changes (r=jduell) 2015-02-17 10:09:58 -08:00
Andrea Marchesini 5faccc5c68 Bug 1132537 - Make WebSocketImpl::Dispatch less racy, r=smaug 2015-02-17 18:40:09 +01:00
Nicholas Nethercote 0247de46d8 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote 40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Andrea Marchesini 81c032a7f2 Bug 1111971 - A better life-time management of aListener and aContext in WebSocketChannel. r=smaug
CLOSED TREE
2015-01-13 14:03:56 -05:00
Ehsan Akhgari 2acefe2331 Bug 1117264 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/base code; r=baku 2015-01-06 11:52:45 -05:00
Ehsan Akhgari 6ef7b88a88 Bug 1109746 - Fix more bad implicit constructors in some random code across the tree 2014-12-13 14:17:04 -05:00
Andrea Marchesini 2e5516cd54 Bug 1105194 - Bail early if Websocket connection is being disconnected. r=smaug 2014-12-12 14:37:07 -05:00
Christoph Kerschbaumer 56029ac07d Bug 1083422 - Add triggering Principal to nsILoadInfo - update callsites (r=bz,sicking) 2014-11-14 08:56:55 -08:00
Andrea Marchesini 2d3b01d03f Bug 1089328 - Race condition in WebSocket when Workers are terminated. r=smaug 2014-11-11 17:47:13 -05:00
Andrea Marchesini 0876910823 Bug 1090142 - WebSocketChannelChild should respect the order of the runnable to be dispatched. r=jduell 2014-11-07 09:35:54 -05:00
Andrea Marchesini d5980ce9fd Bug 1091016 - Remove network.websocket.enabled and introduce a pref just for websocket in workers, r=smaug 2014-10-30 15:22:31 +00:00
Andrea Marchesini 15247c2eb3 Bug 1090183 - WebSockets should work in SharedWorkers, r=smaug 2014-10-29 16:54:35 +00:00
Ehsan Akhgari adaedd07aa Bug 1090242 - Fix some more bad implicit constructors in DOM; r=baku 2014-10-10 17:28:35 -04:00
Birunthan Mohanathas e9068bbc4f Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00