6296ed36532a887f88dfe4c6299f34811e694220: Merge inbound to mozilla-central. a=merge
Csoregi Natalia <ncsoregi@mozilla.com> - Mon, 13 Aug 2018 18:42:53 +0300 - rev 828766
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Merge inbound to mozilla-central. a=merge
c9c1a36c4f414593ba6587b746889e9e4d3ba870: Bug 1482753 - Introduce two macros to implement HAL observers handy. r=gsvelto
Hiroyuki Ikezoe <hikezoe@mozilla.com> - Mon, 13 Aug 2018 10:57:50 +0900 - rev 828765
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1482753 - Introduce two macros to implement HAL observers handy. r=gsvelto If `ScreenConfiguration` were `ScreenInformation` we could integrate notification functions into the macros too. Differential Revision: https://phabricator.services.mozilla.com/D3182
8741c8f1eaa615a12d50db8d62a21eb2dbecd585: Bug 1482753 - Move power/Types.h into hal/ and WakeLockObserver into hal namespace. r=gsvelto
Hiroyuki Ikezoe <hikezoe@mozilla.com> - Mon, 13 Aug 2018 10:57:50 +0900 - rev 828764
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1482753 - Move power/Types.h into hal/ and WakeLockObserver into hal namespace. r=gsvelto Differential Revision: https://phabricator.services.mozilla.com/D3181
586c439c9a0d86b4fd5d734ec31146631fc8374d: Bug 1482753 - Move battery/Types.h into hal/ and BatteryObserver into hal namespace. r=gsvelto
Hiroyuki Ikezoe <hikezoe@mozilla.com> - Mon, 13 Aug 2018 10:57:50 +0900 - rev 828763
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1482753 - Move battery/Types.h into hal/ and BatteryObserver into hal namespace. r=gsvelto Differential Revision: https://phabricator.services.mozilla.com/D3180
0f7c6b1dae394d5da62b4fade193bca1bb8115af: Bug 1482753 - Move network/Types.h into hal/ and NetworkObserver into hal namespace. r=gsvelto
Hiroyuki Ikezoe <hikezoe@mozilla.com> - Mon, 13 Aug 2018 10:57:50 +0900 - rev 828762
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1482753 - Move network/Types.h into hal/ and NetworkObserver into hal namespace. r=gsvelto Differential Revision: https://phabricator.services.mozilla.com/D3179
784bc6605eebd2bb1ba447a1f58a81ad6acbf688: Bug 1481699 - Send host:kill command through TCP socket instead of spawning a new adb process with 'kill-server'. r=jdescottes
Hiroyuki Ikezoe <hikezoe@mozilla.com> - Mon, 13 Aug 2018 06:12:55 +0900 - rev 828761
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1481699 - Send host:kill command through TCP socket instead of spawning a new adb process with 'kill-server'. r=jdescottes Differential Revision: https://phabricator.services.mozilla.com/D3170
4e70c4d1dfc30b07f31e3315eb50eb3e93715b5a: Bug 1481699 - Do not process any further data after we started shutting down the ADB server. r=jdescottes
Hiroyuki Ikezoe <hikezoe@mozilla.com> - Mon, 13 Aug 2018 06:08:34 +0900 - rev 828760
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1481699 - Do not process any further data after we started shutting down the ADB server. r=jdescottes In the genuine adb binary, when it received 'host:kill' command, it exits the server process soon [1]. Whereas, in our mock adb.py which is based on SocketServer.TCPServer in python, when we call SocketServer.TCPServer.shutdown() in the case of 'kill-server' command, the server process doesn't exit soon since the shutdown() function just sets a flag [2] and serve_forever() polls it [3] every |poll_interval| seconds, |poll_interval| is 0.5 seconds by default. Thus it's possible that new incoming requests are processed during polling. This is the real cause of the race condition that the adb server still keeps alive when 'adb kill-server' finished. So we don't need to the workaround for the race condition. [1] https://android.googlesource.com/platform/system/core/+/4039051d6ddb02324204930fb86d9d0fe405b3fb/adb/adb.cpp#1049 [2] https://github.com/python/cpython/blob/65b5ef02ec1f44e3a19b689a1ecf73d01c82161b/Lib/socketserver.py#L248 [3] https://docs.python.org/2/library/socketserver.html#SocketServer.BaseServer.serve_forever Differential Revision: https://phabricator.services.mozilla.com/D3169
147066d870a2457ca7bc1bb870e99783290526db: Bug 1481699 - Send back 'OKAY' to the client when the adb server received 'kill-server' command. r=jdescottes
Hiroyuki Ikezoe <hikezoe@mozilla.com> - Mon, 13 Aug 2018 06:08:34 +0900 - rev 828759
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1481699 - Send back 'OKAY' to the client when the adb server received 'kill-server' command. r=jdescottes Because the genuine adb binary does it [1]. And doing it before shutdown thread is created to make sure it's sent to the client. [1] https://android.googlesource.com/platform/system/core/+/4039051d6ddb02324204930fb86d9d0fe405b3fb/adb/adb.cpp#1055 Differential Revision: https://phabricator.services.mozilla.com/D3168
671ad07b1645783c470c7417ab6e8cee4c7ccdb0: Bug 1481699 - Rename ADBServer to ADBRequestHandler. r=jdescottes
Hiroyuki Ikezoe <hikezoe@mozilla.com> - Mon, 13 Aug 2018 06:08:33 +0900 - rev 828758
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1481699 - Rename ADBServer to ADBRequestHandler. r=jdescottes Since it's actually a child of SocketServer.BaseRequestHandler. Differential Revision: https://phabricator.services.mozilla.com/D3167
8413a2a9c0c17f93daa202ea9c7be49d2e491175: Bug 1482054 - Allow to add and remove network locations in Connect Page;r=daisuke
Julian Descottes <jdescottes@mozilla.com> - Thu, 09 Aug 2018 18:47:57 +0200 - rev 828757
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1482054 - Allow to add and remove network locations in Connect Page;r=daisuke Tags: #secure-revision Differential Revision: https://phabricator.services.mozilla.com/D3031
2a3d6bc157c812d4a3904780f03ea9a1b9501c10: Bug 1482054 - List existing network locations in Connect Page;r=daisuke
Julian Descottes <jdescottes@mozilla.com> - Fri, 10 Aug 2018 09:49:49 +0200 - rev 828756
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1482054 - List existing network locations in Connect Page;r=daisuke Differential Revision: https://phabricator.services.mozilla.com/D3098
50bbb02dc5c9eb264ec6221c67c4c19a9f5b67df: Bug 1482054 - Add icon for network section of connect page;r=daisuke
Julian Descottes <jdescottes@mozilla.com> - Fri, 10 Aug 2018 09:40:58 +0200 - rev 828755
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1482054 - Add icon for network section of connect page;r=daisuke This icon is copied from the common globe icon, except that it supports context-fill. Differential Revision: https://phabricator.services.mozilla.com/D3097
2d6272c35ae86e92d8aa5a8fe04db77e5f16291c: Bug 1482054 - Create module to manage network locations;r=daisuke
Julian Descottes <jdescottes@mozilla.com> - Fri, 10 Aug 2018 09:38:55 +0200 - rev 828754
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1482054 - Create module to manage network locations;r=daisuke This patch introduces a new preference: devtools.aboutdebugging.network-locations - this preference is a string pref, that should be a stringified JavaScript array. - the default value is "[]". - the module supports getting, adding, removing and observing network locations. Differential Revision: https://phabricator.services.mozilla.com/D3096
ec43c1941881c67e62b45ac5773b4e2929794bef: Bug 1482054 - Move .button and .ellipsis-text to aboutdebugging.css;r=daisuke
Julian Descottes <jdescottes@mozilla.com> - Fri, 10 Aug 2018 09:29:57 +0200 - rev 828753
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1482054 - Move .button and .ellipsis-text to aboutdebugging.css;r=daisuke In order to reuse the button and ellipsis styles in the Connect page, I would like to move the corresponding styles to a common stylesheet. Differential Revision: https://phabricator.services.mozilla.com/D3095
cdf6161812fb21b313e9c146b4a74079960ae7bc: Bug 1482054 - Fix classname for ConnectPage;r=daisuke
Julian Descottes <jdescottes@mozilla.com> - Thu, 09 Aug 2018 12:07:01 +0200 - rev 828752
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1482054 - Fix classname for ConnectPage;r=daisuke Differential Revision: https://phabricator.services.mozilla.com/D3094
c5b9d0ee244d78c70f49ddeb526b0e0023a99326: Bug 1482054 - Sort rules in ConnectPage.css alphabetically;r=daisuke
Julian Descottes <jdescottes@mozilla.com> - Thu, 09 Aug 2018 11:31:44 +0200 - rev 828751
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1482054 - Sort rules in ConnectPage.css alphabetically;r=daisuke Differential Revision: https://phabricator.services.mozilla.com/D3093
b41545e3d60d879732e79af0701850ff5fae5473: Bug 1482054 - Group aboutdebugging constants together;r=daisuke
Julian Descottes <jdescottes@mozilla.com> - Fri, 10 Aug 2018 08:00:40 +0200 - rev 828750
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1482054 - Group aboutdebugging constants together;r=daisuke Differential Revision: https://phabricator.services.mozilla.com/D3092
6f714c1fb6e128977b9d4f86198c2dd1c43e422e: Merge mozilla-central to inbound. a=merge CLOSED TREE
Bogdan Tara <btara@mozilla.com> - Mon, 13 Aug 2018 13:00:51 +0300 - rev 828749
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Merge mozilla-central to inbound. a=merge CLOSED TREE
5c9a4d66f5f3f8ff76b64824b8fbb66c310a7443: Bug 1472020 - Make AccessibleCaret a bit saner. r=bz,TYLin
"Emilio Cobos Álvarez" <emilio@crisal.io> - Mon, 13 Aug 2018 11:56:48 +0200 - rev 828748
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1472020 - Make AccessibleCaret a bit saner. r=bz,TYLin Avoid processing anon content in nsCanvasFrame, then getting more anon content via AccessibleCaretEventHub::Init. Instead call Init before creating the custom content container. We could also throw a script runner at it I guess, but this prevents the reentrancy issue. Avoid cloning nodes during layout, just use the same node (already cloned in InsertAnonymousContent) instead. The RemoveChild in GetAnonymousContent to handle the reframes instead of cloning around is a bit hacky, but I don't think it's really worth extending PostDestroyData for this special case. Differential Revision: https://phabricator.services.mozilla.com/D1889
b5e9fdddf12e598962d6282a4b053aa66b7aabda: Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
Jonathan Kingston <jkt@mozilla.com> - Mon, 16 Jul 2018 10:17:51 +0100 - rev 828747
Push 118704 by bmo:rcaliman@mozilla.com at Mon, 13 Aug 2018 16:58:07 +0000
Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 tip