6e3472323a0cdb10f0371bfd8181420712633ccf: Bug 1328553 - Part 2: Add a netmonitor.requestsFinished timing to DAMP tests r=jryans
Jarda Snajdr <jsnajdr@gmail.com> - Wed, 04 Jan 2017 11:15:12 +0100 - rev 356354
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1328553 - Part 2: Add a netmonitor.requestsFinished timing to DAMP tests r=jryans MozReview-Commit-ID: 1v7yIUfEwan
d68deea3f449808972de989c84dcda590231b253: Bug 1328553 - Part 1: Add a method to NetmonitorController that waits for requests to finish r=jryans
Jarda Snajdr <jsnajdr@gmail.com> - Wed, 04 Jan 2017 11:14:22 +0100 - rev 356353
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1328553 - Part 1: Add a method to NetmonitorController that waits for requests to finish r=jryans MozReview-Commit-ID: IP18VjUaYCk
73f5e38d40a2e1c89481a40996ead654881e20c1: Bug 1326534 - Rename sessionCapabilities variable for brevity; r=whimboo
Andreas Tolfsen <ato@mozilla.com> - Sat, 31 Dec 2016 12:32:14 +0000 - rev 356352
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Rename sessionCapabilities variable for brevity; r=whimboo MozReview-Commit-ID: KGYk2CgwERy
d960a2d9e2084797cd57697b13e9c059610d6b38: Bug 1326534 - Use session.Capabilities representation in listener; r=automatedtester
Andreas Tolfsen <ato@mozilla.com> - Sat, 31 Dec 2016 12:30:49 +0000 - rev 356351
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Use session.Capabilities representation in listener; r=automatedtester Capabilities are sent to the content frame script as a JSON blob. We can re-parse that in the listener to make use of the same complex object representation there. Because the listener is comprised of a set of top-level functions and not an object prototype, we cannot reuse the same pointer/getter trick as in testing/marionette/driver.js. However, we can change this later when we do introduce more robust code organisation to this file. MozReview-Commit-ID: 7PpholLqtF
e28fc7e5b9844cba2d0ae81d3ac2afb290de3b18: Bug 1326534 - Reset session capabilities state on teardown; r=whimboo
Andreas Tolfsen <ato@mozilla.com> - Sat, 31 Dec 2016 12:28:19 +0000 - rev 356350
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Reset session capabilities state on teardown; r=whimboo This change resets the session ID after all other state has been cleared, and also reinitialises `GeckoDriver#sessionCapabilities`, which was not done before. MozReview-Commit-ID: Jb40CXuX8h1
638234f7abd95a1fa1b127776fd78a6d6953eec5: Bug 1326534 - Deploy WebDriver conforming capabilities in Marionette; r=automatedtester,maja_zf,whimboo
Andreas Tolfsen <ato@mozilla.com> - Sat, 31 Dec 2016 12:27:13 +0000 - rev 356349
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Deploy WebDriver conforming capabilities in Marionette; r=automatedtester,maja_zf,whimboo This change removes session capability processing from testing/marionette/driver.js and replaces it with testing/marionette/session.js and `session.Capabilities`. Session timeout durations used to be stored in properties exposed directly on the `GeckoDriver` prototype, but these are now represented by `GeckoDriver#timeouts`, which is a pointer (getter) of `GeckoDriver#sessionCapabilities#timeouts`. The same is true for other session-scoped state. Since capabilities parsing is not unique to starting a new session, the errors thrown by `session.Capabilities.fromJSON` are re-thrown in `GeckoDriver#newSession` since it is required that we return a `SessionNotCreatedError` on parsing them during session creation. MozReview-Commit-ID: I3Xu2v71n4S
252175a9c2a61399718b7ae091d74489507c5ba4: Bug 1326534 - Rewrite capabilities parsing in Marionette; r=automatedtester
Andreas Tolfsen <ato@mozilla.com> - Sat, 31 Dec 2016 12:21:34 +0000 - rev 356348
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Rewrite capabilities parsing in Marionette; r=automatedtester This patch provides a (nearly) WebDriver conforming implementation of capabilities in Marionette. The work remaining is pending further clarification in the specification. Capabilities are represented internally as a complex object provided by `session.Capabilities`. Timeouts and proxy configuration are also represented by the similar complex objects `session.Timeouts` and `session.Proxy`, respectively. The capabilities stored in `GeckoDriver#sessionCapabilities` are the result of parsing user-provided desired- and required capabilities. WebDriver now uses `firstMatch` and `alwaysMatch` primitives for capabilities, but as this is considered a wider breaking change, the move to these primitives will be done at a later stage. It’s prudent to point out that the base techniques used with the new primitives are similar to those implemented for `desiredCapabilities` and `requiredCapabilities` in this patch, and that the work needed to adapt them is considered trivial. When capabilities are presented back to the user (the so called processed capabilities), we call the `toJSON` implementation on the complex objects. `session.Capabilities#toJSON` calls the internal function `marshal` which ensures empty fields are dropped. `marshal` can be considered to be a specialisation of the standard library `JSON.stringify`, which also calls `toJSON` on entry values if they provide this function. The changeset overall also provides a much deeper level of testing of WebDriver capabilities. MozReview-Commit-ID: 97xGt3cnMys
602a6650ba466bac7517415ab7ac475bd2a12631: Bug 1326534 - Correct capability wrapping in tests; r=automatedtester
Andreas Tolfsen <ato@mozilla.com> - Fri, 30 Dec 2016 14:12:53 +0000 - rev 356347
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Correct capability wrapping in tests; r=automatedtester Capabilities should be sent in either a `desiredCapabilities` or a `requiredCapabilities` block inside `capabilities`: {capabilities: {requiredCapabilities: {acceptInsecureCerts: true}}} Marionette currently accepts capabilities in the top-level dictionary, but this is not conforming to the WebDriver. MozReview-Commit-ID: 9JWjvPKBp6S
cc4431a2998ab010e0cc15570a3e49cdfab1b5fd: Bug 1326534 - Propagate stacktraces for WebDriver errors; r=automatedtester
Andreas Tolfsen <ato@mozilla.com> - Fri, 30 Dec 2016 13:07:54 +0000 - rev 356346
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Propagate stacktraces for WebDriver errors; r=automatedtester When we currently create new WebDriver errors we throw away the stacktrace generated by `WebDriverError`'s prototype, `Error`. This change stores the stacktrace, which will cause it to be serialised and returned to the client. This change is not as valuable as storing the stacktraces of internal errors, but brings symmetry to our error handling and may be useful if only to navigate to the source of an error. MozReview-Commit-ID: LCFMwKxxcTp
29d37d4274e76872ef6c378cd62cc1e25d20f4d4: Bug 1326534 - Lint a few statements in driver.js; r=automatedtester
Andreas Tolfsen <ato@mozilla.com> - Fri, 30 Dec 2016 12:43:36 +0000 - rev 356345
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Lint a few statements in driver.js; r=automatedtester No functional changes. MozReview-Commit-ID: FP9p9tPr8Ce
3c65e5b16928497942e641402dbf8e54095870dd: Bug 1326534 - Add assert.in for own properties; r=automatedtester
Andreas Tolfsen <ato@mozilla.com> - Fri, 30 Dec 2016 11:39:22 +0000 - rev 356344
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Add assert.in for own properties; r=automatedtester The implementation of the new library function `assert.in` is analogous to Python's `unittest.TestCase.assertIn`. MozReview-Commit-ID: 1pjS9ttPXgo
0ea5e8c0beefddbe259351cd2e68cbf39b988f96: Bug 1326534 - Add test for assert.array; r=automatedtester
Andreas Tolfsen <ato@mozilla.com> - Fri, 30 Dec 2016 11:30:05 +0000 - rev 356343
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Add test for assert.array; r=automatedtester MozReview-Commit-ID: IWUnhCgPp1R
8a63bca6b7ff1fabc09b02b0c9f1d14ea4cb4b4c: Bug 1326534 - Preserve stacks when passing error protos to WebDriverError; r=automatedtester
Andreas Tolfsen <ato@mozilla.com> - Fri, 30 Dec 2016 11:26:30 +0000 - rev 356342
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Preserve stacks when passing error protos to WebDriverError; r=automatedtester The `stack` argument to `WebDriverError` has never been in use. Following the API of the `Error` prototype, this changes its constructor to take one argument which can either be a string of an `Error`. When internal errors are thrown in Marionette, they are usually wrapped in `WebDriverError` but we currently lose track of its stack. This preserves the wrapped error's stacktrace by setting the `stack` property. Practice have found that they are very useful to return to the client, as they are currently only printed to stdout. MozReview-Commit-ID: 9sTdP4TntIc
ee05e899b92333958ec1b3b809b10a732e4b9729: Bug 1326534 - Exclude array and null from being counted as objects; r=automatedtester
Andreas Tolfsen <ato@mozilla.com> - Fri, 30 Dec 2016 11:21:27 +0000 - rev 356341
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Exclude array and null from being counted as objects; r=automatedtester Calling `typeof` on arrays or null in JavaScript returns `"object"`, and a safer check is to rely on `Object.prototype.toString`. MozReview-Commit-ID: 5VxXf2ByoEx
8287c2bfbfb8bd748c379eec53d08caed6604227: Bug 1326534 - Correct tests for mandated and supported capabilities; r=automatedtester
Andreas Tolfsen <ato@mozilla.com> - Tue, 20 Dec 2016 15:01:18 +0000 - rev 356340
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1326534 - Correct tests for mandated and supported capabilities; r=automatedtester MozReview-Commit-ID: 932AoNlBtwt
5ee72effcfb4beabfb88c1a75b22a9e874f1c3a3: Bug 1329201 - Remove check-moz-style from m-c r=Ms2ger
Sylvestre Ledru <sledru@mozilla.com> - Fri, 06 Jan 2017 16:17:45 +0100 - rev 356339
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1329201 - Remove check-moz-style from m-c r=Ms2ger MozReview-Commit-ID: 4uG6uEyMN7w
a889d9cb7e9c7a8e07cfb50a1eaed9787d63f6f8: Bug 1329014 - Enable the no-extra-bind rule and use eslint --fix to autofix the errors. r=standard8
Jared Wein <jwein@mozilla.com> - Thu, 05 Jan 2017 16:43:29 -0500 - rev 356338
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1329014 - Enable the no-extra-bind rule and use eslint --fix to autofix the errors. r=standard8 MozReview-Commit-ID: BwK94W2mHXS
c5007935cdddad95804a80063d69c84d04adacc6: Bug 1328823 - Bump mozprocess version number to 0.24 for release, r=ahal
James Graham <james@hoppipolla.co.uk> - Fri, 06 Jan 2017 15:39:55 +0000 - rev 356337
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1328823 - Bump mozprocess version number to 0.24 for release, r=ahal MozReview-Commit-ID: 251xwdA7rxc
75c24febe68042e8a2db79bc4328195189fe41d7: Bug 1273807 - mask-position and mask-size animation test cases. r=heycam
cku <cku@mozilla.com> - Wed, 04 Jan 2017 16:43:25 +0800 - rev 356336
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Bug 1273807 - mask-position and mask-size animation test cases. r=heycam mask-*-1a.html: test cases for indirect mask painting.(nsDisplayMask::PaintAsLayer) mask-*-1b.html: test cases for painting mask on mask layer.(nsDisplayMask::PaintMask) MozReview-Commit-ID: K9BK4MlnpBE
891a02f9f66021d341c3ff5435b3539298a6c8dd: Merge mozilla-central to autoland
Iris Hsiao <ihsiao@mozilla.com> - Fri, 06 Jan 2017 11:13:22 -0500 - rev 356335
Push 10621 by jlund@mozilla.com at Mon, 23 Jan 2017 16:02:43 +0000
Merge mozilla-central to autoland
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 tip