4ef84ad178b563d452e5561b91e119705d987163: Bug 1107706: Part 8: Adapt emulator callbacks
Andreas Tolfsen <ato@mozilla.com> - Tue, 17 Mar 2015 16:10:58 +0000 - rev 264851
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1107706: Part 8: Adapt emulator callbacks Emulator callbacks are now created dynamically upon request, and uses a nicer data structure in chrome context. Each emulator callback is encapsulated in EmulatorCallback, and stored on Emulator. Emulator is stored on Dispatcher (as opposed to in marionette-server.js) which bypasses some of the problems with circumventing the Marionette protocol in GeckoDriver because of CommandProcessor. Emulator callbacks to the client should be considered transparent, hence they do not use the ListenerProxy. They are explicitly meant _not_ to be blocking.
853e7da581097725fa815a95bb92172ef6f5dcce: Bug 1107706: Part 7: Add timeout test for async scripts
Andreas Tolfsen <ato@mozilla.com> - Thu, 26 Feb 2015 17:41:54 +0000 - rev 264850
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1107706: Part 7: Add timeout test for async scripts
8b695334df946117685f9f942884c965c022c979: Bug 1107706: Part 6: Make SpecialPowersError a prototypal Error
Andreas Tolfsen <ato@mozilla.com> - Thu, 26 Feb 2015 17:40:21 +0000 - rev 264849
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1107706: Part 6: Make SpecialPowersError a prototypal Error If special powers is imported using Components.utils.import on B2G which has some special concepts around global scoping, a TypeError will be raised unless the custom error is a prototypal Error. An explanation can be found for a similar issue in bug 843892, which states that toString is attached to the instances rather than the prototype, and that this causes problems once the object goes through Object.freeze. It was patched in bug 1014484. This patch also renames SpecialPowersException to SpecialPowersError.
6613699885faa8358c049d902041ae9dbe792a9e: Bug 1107706: Part 5: Refactor Marionette chrome/content communication
Andreas Tolfsen <ato@mozilla.com> - Thu, 19 Mar 2015 21:12:58 +0000 - rev 264848
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1107706: Part 5: Refactor Marionette chrome/content communication The Marionette server handles requests separately with a global sense of state which makes it hard to introduce generalised behaviour to many commands. This effectively slows down protocol implementation because each command request individually needs to do heavy lifting. This patch introduces a series of abstractions that separates out the WebDriver implementation to a new class, GeckoDriver. It also features a new interface to mediate messages between the chrome- and content processes. This allows the code living in the chrome context to make direct calls on the listener through a promise-based API: let listener = new ListenerProxy(mm, sendCallback); let res = yield listener.functionOnListener("arg1", "arg2"); The MarionetteServer class that used to live in marionette-server.js has now been moved to server.js, while the WebDriver implementation has moved to driver.js. By introducing more stringent separation, MarionetteServer now properly encapsulates the server process allowing us to unit tests for it in the future. The patch is a refactor in the truest sense, in the meaning that no input or output should have changed.
dbd619c23f57282f53c393780a794de71f848475: Bug 1107706: Part 4: Add dispatching mechanism to encapsulate connection
Andreas Tolfsen <ato@mozilla.com> - Wed, 18 Mar 2015 12:27:29 +0000 - rev 264847
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1107706: Part 4: Add dispatching mechanism to encapsulate connection The dispatcher is analogous to the client socket connection, and handles receiving packets and closing connections. It also encompasses some of the functionality needed to establish the devtools and Marionette connection, that previously used to live in MarionetteServerConnection in marionette-server.js. For each connection, recognised commands will be forwarded to the command processor (command.js) unless a handler is defined in Dispatcher.requests.
a76f6b26484d35189d533b8b3a6f0323304d5078: Bug 1107706: Part 3: Add a command processor to Marionette
Andreas Tolfsen <ato@mozilla.com> - Tue, 17 Mar 2015 14:49:27 +0000 - rev 264846
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1107706: Part 3: Add a command processor to Marionette The command processor receives messages, processes them, and wraps the execution of the command implementations. This allows commands to throw errors without worrying about the side effects. This patch also introduces a Response object which correspondingly wraps the replies to the client. This shifts the responsibility of managing the correctness of the packets from the commands to this.
42f14f453f1ffa7cb4590f7f0b7c16fb43c97740: Bug 1107706: Part 2: Add error module and WebDriver error objects
Andreas Tolfsen <ato@mozilla.com> - Tue, 17 Mar 2015 14:27:20 +0000 - rev 264845
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1107706: Part 2: Add error module and WebDriver error objects Adds the ability to throw error objects for WebDriver statuses, and an error module with convenience functions for manipulation of these and for handling other error related operations.
31df2186195a474ae202f33a6bfef3167a0190dc: Bug 1107706: Part 1: Change context from strings to enum
Andreas Tolfsen <ato@mozilla.com> - Wed, 25 Feb 2015 21:11:51 +0000 - rev 264844
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1107706: Part 1: Change context from strings to enum
0db3b8dc05e2e8b2ad372a4b7bbe23fa85827b99: Bug 1144055 - Upgrade Firefox 39 to use NSS 3.18.1, land NSS_3_18_1_BETA1, r=nss-confcall
Kai Engert <kaie@kuix.de> - Thu, 26 Mar 2015 20:39:25 +0100 - rev 264843
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1144055 - Upgrade Firefox 39 to use NSS 3.18.1, land NSS_3_18_1_BETA1, r=nss-confcall
50bbee4a42606646d11394f1ea8f13e1a472d73e: Bug 1145782: Add crash reporter annotations for async plugin init to parent and child processes; r=jimm
Aaron Klotz <aklotz@mozilla.com> - Mon, 23 Mar 2015 22:01:07 -0600 - rev 264842
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1145782: Add crash reporter annotations for async plugin init to parent and child processes; r=jimm
0bbc164eb43ab1097bf0c2fc27475791b5f9608d: Bug 1119565: Ensure that a plugin listener's stream type is always set, even when it is STREAM_TYPE_UNKNOWN; r=jimm
Aaron Klotz <aklotz@mozilla.com> - Mon, 23 Mar 2015 21:46:38 -0600 - rev 264841
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1119565: Ensure that a plugin listener's stream type is always set, even when it is STREAM_TYPE_UNKNOWN; r=jimm
4e05681220d3f5c9fe9d9dee5eb8f3108805a23c: Bug 1147144 - OdinMonkey: fix toString() on asm.js module when source discarding is enabled (r=bbouvier)
Luke Wagner <luke@mozilla.com> - Thu, 26 Mar 2015 14:37:19 -0500 - rev 264840
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1147144 - OdinMonkey: fix toString() on asm.js module when source discarding is enabled (r=bbouvier)
14be412b39b5408ef95a824cd116c490d7dd0716: Bug 1147029 - Land luciddream in-tree, r=ted
Jonathan Griffin <jgriffin@mozilla.com> - Tue, 24 Mar 2015 15:17:53 -0700 - rev 264839
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1147029 - Land luciddream in-tree, r=ted
d03894462a39c9ca7e201be5c9ec4ea12a6be415: Bug 1147830 - crash in HMDInfoOculus::HMDInfoOculus() on Mac; r=nullcheck
Vladimir Vukicevic <vladimir@pobox.com> - Thu, 26 Mar 2015 15:31:08 -0400 - rev 264838
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1147830 - crash in HMDInfoOculus::HMDInfoOculus() on Mac; r=nullcheck
8be35539cc88d9b77a3d7018fb1b5ffd980f057d: Bug 1124880 - Call PR_Close of UDP sockets on new threads. r=mcmanus
Honza Bambas <honzab.moz@firemni.cz> - Wed, 25 Mar 2015 11:36:00 -0400 - rev 264837
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1124880 - Call PR_Close of UDP sockets on new threads. r=mcmanus
9369346e7e4acc32e36f0b1457e15ac6d79c8f04: Bug 1132172 - Don't access CacheEntry::mFrecency on non-cache threads. r=michal
Honza Bambas <honzab.moz@firemni.cz> - Wed, 25 Mar 2015 14:55:00 -0400 - rev 264836
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1132172 - Don't access CacheEntry::mFrecency on non-cache threads. r=michal
d7bfe22ed06657672c9f1baac0d6ee6a60426184: Bug 1147392 - Workaround herness orange, recreate cache entry in test test_cache2-23-read-over-chunk.js every time. r=michal
Honza Bambas <honzab.moz@firemni.cz> - Wed, 25 Mar 2015 11:23:00 -0400 - rev 264835
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1147392 - Workaround herness orange, recreate cache entry in test test_cache2-23-read-over-chunk.js every time. r=michal
03f1dc776f271455b4b9cf2fdd54f4038bd9cac3: Bug 1145015 - Part 2: Add more checking rules for GrallocBuffer allocation. r=sotaro, r=nical
JerryShih <hshih@mozilla.com> - Tue, 24 Mar 2015 18:40:00 -0400 - rev 264834
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1145015 - Part 2: Add more checking rules for GrallocBuffer allocation. r=sotaro, r=nical fix the assert checking.
6c08aa7c7142a7f3643aa77c962ed4c6e464dbc0: Bug 1145015 - Part 1: Remove IsValidKey() check in MagicGrallocBufferHandle serializer. r=sotaro, r=nical
JerryShih <hshih@mozilla.com> - Tue, 24 Mar 2015 03:19:00 -0400 - rev 264833
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1145015 - Part 1: Remove IsValidKey() check in MagicGrallocBufferHandle serializer. r=sotaro, r=nical There is a data racing problem in IsValidKey() and we don't need to check the index in serializer. The index is always invalid when we alloc new buffer.
7e3c6bc1ade6b23a5f48e23ea196a9a1383f55ef: Bug 1142999 - Remove gcc warning about unused typedef. r=ehoogeveen
Nicolas B. Pierron <nicolas.b.pierron@mozilla.com> - Wed, 25 Mar 2015 09:47:00 -0400 - rev 264832
Push 4718 by raliiev@mozilla.com at Mon, 11 May 2015 18:39:53 +0000
Bug 1142999 - Remove gcc warning about unused typedef. r=ehoogeveen
(0) -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip