Commit Graph
56 Commits
Author SHA1 Message Date
Kannan Vijayan 4b85db7a00 Bug 1346507 - Fix. r=mccr8 2017-05-13 00:53:14 -04:00
John Dai 786ba84ced Bug 1347446 - Move custom element reactions stack to DocGroup. r=wchen 2017-03-21 00:42:00 -04:00
Andrea Marchesini 30bbbae2fc Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag 2017-03-14 12:29:43 +01:00
Andrea Marchesini a8870babfb Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 1 - renaming PSendStream to PChildToParentStream, r=smaug 2017-03-14 12:28:58 +01:00
Michael Layzell 90e58be2c4 Bug 1331434 - Part 6: Mark a throw in FlyWeb as requiring custom cleanup, r=djvj
MozReview-Commit-ID: LwAyet5qCw4
2017-03-07 19:06:48 -05:00
Wei-Cheng Pan 7a678cdad2 Bug 1310127 - Part 17: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug
MozReview-Commit-ID: 5gvVZtsa3yS
2016-12-20 11:49:32 +08:00
Tom Tromey a4b717ab39 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs
2016-12-15 20:16:31 -07:00
Joel Maher 6036245efd Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Sebastian Hengst b4324e266e Backed out changeset 9a332af74af5 (bug 1335099) for build bustage (moz.build rule matches no files). r=backout on a CLOSED TREE 2017-02-06 16:21:20 +01:00
Joel Maher 4262f00567 Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Kartikaya Gupta a2a492cb06 Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
MozReview-Commit-ID: 5yt3O4Hoois
2017-01-25 14:51:34 -05:00
Bevis Tseng 6299c0f6b6 Bug 1333371 - Fallback to AbstractThread::MainThread() if the inner window is not provided. r=billm 2017-01-25 13:43:30 +08:00
Bevis Tseng 6e8fe40eda Bug 1314833 - Part 3: Factor out AbstractThread::MainThread() used in FlyWeb. r=billm
MozReview-Commit-ID: 4wVykPwuDS9
2016-11-22 14:15:04 +08:00
Wei-Cheng Pan 2af5e12dfa Bug 1323949 - Use MOZ_MUST_USE in netwerk/protocol/websocket r=valentin
MozReview-Commit-ID: 6lNrHbDIUez
2016-11-23 18:00:42 +08:00
Kan-Ru Chen 1b9dd22e2d Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Tom Tung 8224b73089 Bug 1264178 - Part 1: Expose URL fragment to request but not response. r=bkelly 2016-11-07 10:16:34 +08:00
Andrea Marchesini f3a7d8f99a Bug 1315209 - Remove a warning in FlyWeb code, r=me 2016-11-04 11:49:14 +01:00
Saurabh Singhal b2f399d7ae Bug 1278275 - Update Headers::GetAll and Headers::Get to match the specification. r=jdm, r=bkelly 2016-10-10 22:50:14 +05:30
Paul Bignier f19d91df74 Bug 1305953 - Initialize some HttpServer & HttpServer::Connection members. r=kvijayan 2016-09-28 11:52:18 +02:00
Kannan Vijayan d064aaeb2b Bug 1303865 - Fix shutdown leak of FlyWebService. r=mconley 2016-09-21 11:32:36 -04:00
Kannan Vijayan 4e9d567e17 Bug 1303454 - Change FlyWeb addon check to use paths from both desktop and android resources. r=ehsan 2016-09-21 11:31:15 -04:00
Andrea Marchesini 2eeaed3a38 Bug 1288997 - memory blob should not be shared across processes - part 1 -PSendStream should use nsIContentChild, r=jld, f=bkelly 2016-09-21 12:27:26 +02:00
Kannan Vijayan 0e6ea92c79 Bug 1301091 - Make FlyWeb not use gNeckoParent. Fix WebSocketChannel handling of incoming requests to server-websocket. r=billm r=michal 2016-09-09 13:41:32 -04:00
Kannan Vijayan 421d25a44e Bug 1292639 - Ask user permission before allowing navigator.publishServer. r=mconley r=ehsan r=sebastian 2016-09-08 14:36:53 -04:00
Kannan Vijayan b6dcfbdc68 Backout cbe18f181112 for crashes - bug 1292639 2016-09-07 13:43:40 -04:00
Nicholas Nethercote b5810a1eb4 Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.

In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.

> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));

In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.

> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");

This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
  be true" sense used in assertions.

A common variation on the side-effect-free case is the following.

> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");
2016-09-02 17:12:24 +10:00
Kannan Vijayan 7a1efe80d5 Bug 1292639 - Ask user permission before allowing navigator.publishServer. r=mconley r=ehsan r=sebastian 2016-08-31 18:14:24 -04:00
Kan-Ru Chen a9b19d0584 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Nicholas Nethercote 8f3c6e7c32 Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj.
Slightly less than half (93 / 210) of the NS_METHOD instances in the codebase
are because of the use of NS_CALLBACK in
nsI{Input,Output,UnicharInput},Stream.idl. The use of __stdcall on Win32 isn't
important for these callbacks because they are only used as arguments to
[noscript] methods.

This patch converts them to vanilla |nsresult| functions. It increases the size
of xul.dll by about ~600 bytes, which is about 0.001%.
2016-08-12 17:36:22 +10:00
Jarda Snajdr 1e776ef875 Bug 1286281 - Part 1: Make the nsITransportProvider interface scriptable r=sicking
MozReview-Commit-ID: LCNmwWKTiJt
2016-07-27 08:46:00 -07:00
David Keeler 5d8fc3b198 backout changeset 1a1d7ef3cb0e (bug 1279479) for causing WebRTC compatibility issues
The WebRTC implementation inherits cipher suite preferences from PSM and then
enables a few mandatory ones and disables a number of undesirable ones. If PSM
makes a change to a cipher suite preference that isn't in WebRTC's whitelist or
blacklist, compatibility issues can arise. See bug 1288246 for an example.
2016-07-22 10:31:34 -07:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Nicholas Nethercote c4c5972df2 Bug 1278439 (part 3) - Adding a missing prefs service null check in dom/flyweb/. r=djvj. 2016-07-15 13:12:57 +10:00
Masatoshi Kimura 55ead26189 Bug 1279479 - Hide DHE cipher suites from the first handshake. r=keeler
MozReview-Commit-ID: BXZm6EMaLy2
2016-06-23 03:48:02 +09:00
Jonas Sicking 6a2c6d9c74 Bug 1263991 part 7: Add assertions checking that the actor is still alive on incoming messages. r=baku 2016-06-07 02:46:03 -07:00
Jonas Sicking 68ffc7579e Bug 1263991 part 6: Add e10s support for incoming websocket connections to FlyWebPublishedServer. r=baku,michal 2016-06-07 02:46:03 -07:00
Jonas Sicking 11cce627dc Bug 1263991 part 5: Create API on FlyWebPublishedServer for getting back a nsITransport when accepting a websocket request, rather than getting back a WebSocket DOM object. r=djvj 2016-06-07 02:46:03 -07:00
Jonas Sicking 016e1cc875 Bug 1263991 part 4: Support response body. r=bkelly 2016-06-07 02:46:03 -07:00
Jonas Sicking 874148ed80 Bug 1263991 part 3: Support incoming and outgoing requests/responses. r=baku f=bkelly 2016-06-07 02:46:03 -07:00
Jonas Sicking 893d1cf3ac Bug 1263991 parts 2 and 2.5: Enable launching a server in the parent process. r=baku,ehsan 2016-06-07 02:46:03 -07:00
Jonas Sicking 6340e5cab9 Bug 1263991 part 1: Remove some properties that are not needed right now. r=djvj 2016-06-07 02:46:03 -07:00
Carsten "Tomcat" Book 81d00319e1 Backed out changeset 555091dfb391 (bug 1263991) for bustage on a CLOSED TREE 2016-06-07 12:10:43 +02:00
Carsten "Tomcat" Book db216362ee Backed out changeset 65e49149fbcc (bug 1263991) 2016-06-07 12:10:29 +02:00
Carsten "Tomcat" Book cef62cc9ae Backed out changeset 5853ea69f6c4 (bug 1263991) 2016-06-07 12:10:27 +02:00
Carsten "Tomcat" Book 0c641a8723 Backed out changeset 9be76aad30b1 (bug 1263991) 2016-06-07 12:10:26 +02:00
Carsten "Tomcat" Book 347506a6c1 Backed out changeset 754246ebf23b (bug 1263991) 2016-06-07 12:10:25 +02:00
Carsten "Tomcat" Book 8a4fcbeea8 Backed out changeset 64fb728c174a (bug 1263991) 2016-06-07 12:10:23 +02:00
Carsten "Tomcat" Book 6e4d916d76 Backed out changeset 87b9aa4a22e9 (bug 1263991) 2016-06-07 12:10:22 +02:00
Jonas Sicking 632a530fb3 Bug 1263991 part 7: Add assertions checking that the actor is still alive on incoming messages. r=baku 2016-06-07 02:46:03 -07:00
Jonas Sicking 67b7663b81 Bug 1263991 part 6: Add e10s support for incoming websocket connections to FlyWebPublishedServer. r=baku,michal 2016-06-07 02:46:03 -07:00