Граф коммитов

20124 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen b7baba2225 Bug 1431462 - Remove Marionette:getVisibleCookies message listener. r=maja_zf
The Marionette:getVisibleCookies IPC message listener is not used.

MozReview-Commit-ID: G1N0F8jdLHH

--HG--
extra : rebase_source : 08e40fceae3d2a88c2ae88760d37c00bd8aecbca
2018-01-18 17:28:28 +00:00
Emilio Cobos Álvarez faddf94080 Bug 1431031: Tests for calc() on font-size on various situations. r=Manishearth
It makes no sense to pass a custom base size of zero in presence of rem, ex, or
ch units.

MozReview-Commit-ID: 7ZZwRzQKREX
2018-01-18 23:35:42 +01:00
Ciure Andrei 52a06095eb Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-19 00:10:04 +02:00
Ciure Andrei dc1715ad21 Merge inbound to mozilla-central. a=merge 2018-01-18 23:53:03 +02:00
iceman 5d31e3d10a Bug 1407763 - Enable py2 and py3 compat linters for testing/marionette. r=ahal
MozReview-Commit-ID: 4IYhPPGlJlo

--HG--
extra : rebase_source : a27b89c734082fc8acbc329ded75d7ef87d70dbe
2018-01-17 16:14:43 +01:00
Andreas Tolfsen 3191505dda Bug 1429511 - Update mozrunner crate repo URL. r=jgraham
MozReview-Commit-ID: 8NCsKp4q2JQ

--HG--
extra : rebase_source : 1a5974df3f7305c475da6e098ffb3e8d845f8949
2018-01-12 16:12:30 +00:00
Andreas Tolfsen 5b3c485463 Bug 1429511 - Move geckodriver to in-tree mozrunner. r=jgraham
This deletes the third-party mozrunner crate off crates.io in favour
of using the in-tree version from testing/mozbase/rust/mozrunner.

MozReview-Commit-ID: 6xQZ99FYrdP

--HG--
extra : rebase_source : 90ef2df2924d4194652255728d73ee03ed729ac3
2018-01-12 15:36:55 +00:00
Andreas Tolfsen 20a835e1f9 Bug 1429511 - Move Rust port of mozrunner to central. r=ahal
This moves the Rust crate mozrunner into central from GitHub.
The old repository will be graveyarded:

	https://github.com/jgraham/rust_mozrunner

The git history is not considered important, hence this does not
overlay that onto central like we did for testing/geckodriver and
testing/webdriver.

MozReview-Commit-ID: J4ZYdow2Lkw

--HG--
extra : rebase_source : 1b499b708105a89a5fa3ae6ecac71c4946e20755
2018-01-12 15:31:20 +00:00
Andreas Tolfsen 24ac581c5a Bug 1431155 - Move WindowState to Marionette browser module. r=automatedtester
This moves the WindowState enum from testing/marionette/wm.js to
testing/marionette/browser.js in order to make it easier to apply
the forthcoming Marionette window tracking refactoring patches.
In other words, this patch functionally does not change anything.

MozReview-Commit-ID: 53MKIRHl11p

--HG--
extra : rebase_source : d048086ab48449ba02853076451e6dd1909bafa6
2018-01-17 17:56:25 +00:00
Julian Descottes 8aa7939bd1 Bug 1431194 - avoid timeouts when clearing prefs set via pushPrefEnv;r=jmaher
MozReview-Commit-ID: 1EYsxYnj2GE

--HG--
extra : rebase_source : dfa5d822e46387d9d473b5b744289f15f4410dbe
2018-01-17 21:51:54 +01:00
Dorel Luca a0f25f9c56 Backed out changeset 4581da0d9525 (bug 1431155) for failing Browser-chrome on browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE 2018-01-18 17:09:45 +02:00
Henrik Skupin 686f1a576c Bug 1430123 - Add vendor capability for old Pointer Origin behavior. r=ato
With the WebDriver spec the calculation of the pointer origin
position will no longer be done based on the top and left
position of the referenced element, but based on the center
point of the viewport.

This capability allows to turn on and off the new behavior in
Firefox 59 and following.

MozReview-Commit-ID: Ir3HpgvVg6Y

--HG--
extra : rebase_source : 1538674e333b85100934b498cfc72ded3b58c489
2018-01-18 11:22:15 +01:00
Andreas Tolfsen c45dec6136 Bug 1431155 - Move WindowState to Marionette browser module. r=automatedtester
This moves the WindowState enum from testing/marionette/wm.js to
testing/marionette/browser.js in order to make it easier to apply
the forthcoming Marionette window tracking refactoring patches.
In other words, this patch functionally does not change anything.

MozReview-Commit-ID: 53MKIRHl11p

--HG--
extra : rebase_source : 1d0dcbac2c5089a0b9249794548dee7506b6b568
2018-01-17 17:56:25 +00:00
Geoff Brown e2ffb68892 Bug 1431433 - Tidy and reorganize mozharness configuration for Android emulator tests; r=jmaher 2018-01-18 11:25:45 -07:00
Tarek Ziadé 4a3781e4c9 Bug 1418368 - Add a metrics for hero elementtiming - r=rwood
MozReview-Commit-ID: 1oGZ6YSjdRa

--HG--
extra : rebase_source : cc9e00b4da5dc268d01503e51110adf23969596c
2017-12-08 09:35:49 +01:00
Dorel Luca a066bff27d Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-18 11:43:47 +02:00
Dorel Luca 175c5ca41f Merge autoland to mozilla-central r=merge a=merge 2018-01-18 11:41:26 +02:00
Coroiu Cristina 410cc33022 Backed out 1 changesets (bug 1429759) on request from whimboo a=backout
Backed out changeset e2dd58774f0c (bug 1429759)
2018-01-18 10:37:15 +02:00
Tiberius Oros 92e228aa49 Merge inbound to mozilla-central. a=merge 2018-01-17 23:48:10 +02:00
Tiberius Oros 25b2d642db Merge autoland to mozilla-central. a=merge 2018-01-17 23:46:17 +02:00
Ryan VanderMeulen 8ac2db0699 Backed out 7 changesets (bug 1419581) for incorrect android:debuggable. r=nalexander
Backed out changeset bd1e3857b5ba (bug 1419581)
Backed out changeset be888fa125dc (bug 1419581)
Backed out changeset 44bcb609e721 (bug 1419581)
Backed out changeset a7d75667c58b (bug 1419581)
Backed out changeset 2ea82ff4a757 (bug 1419581)
Backed out changeset 8f1655752d43 (bug 1419581)
Backed out changeset 65195aae48d8 (bug 1419581)
2018-01-17 15:54:22 -05:00
Cosmin Sabou 1f9b4f0f06 Merge inbound to mozilla-central. a=merge 2018-01-17 11:46:53 +02:00
Kartikaya Gupta d1c5b77efc Bug 1429957 - Move searchfox indexing job from win32 to win64. r=rillian,dustin,chmanchester
MozReview-Commit-ID: J4TkzTHBWkJ

--HG--
rename : browser/config/mozconfigs/win32/debug-searchfox => browser/config/mozconfigs/win64/debug-searchfox
2018-01-16 16:45:51 -05:00
Alex Chronopoulos b763254d0e Bug 1406350 - part1: Update runtest.py to new loopback setup. r=pehrsons
MozReview-Commit-ID: GLB78LWVTHP

--HG--
extra : rebase_source : 308754062bcc333db49b0fae0bc79f51eb484098
2018-01-15 12:51:14 +02:00
J.C. Jones e900b5ebc6 Bug 1430947 - Add [SecureContext] to navigator.credentials r=bz
It was neglected to mark navigator.credentials as [SecureContext], yet it
must be for spec compliance and powerful-features compliance.

MozReview-Commit-ID: BYKGqqhoS2L

--HG--
extra : rebase_source : 441be2ae91d51cfff1ed5a8d1e96db4f9a3c917c
2018-01-16 19:11:44 -07:00
Andreas Tolfsen 43af21554f Bug 1431089 - Truncate logged URLs. r=maja_zf
Because we use a lot of data URIs when testing Marionette, the URLs
we log during navigation can be quite long.  As with logged packets,
we should truncate the URLs.

MozReview-Commit-ID: AKpr5vvdU8P

--HG--
extra : rebase_source : 12d367901f96fe972a1b38ca76b7b46c1a8e47d3
2018-01-17 14:29:36 +00:00
Emilio Cobos Álvarez 796c18b6e0 Bug 1429846: Skip the test in non-stylo on a CLOSED TREE. r=me
MozReview-Commit-ID: HF9lt3uz2Eh
2018-01-18 00:40:38 +01:00
Tiberius Oros 0f3b1d6ace Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-18 00:28:57 +02:00
Bob Clary 4df6d24c64 Bug 1429375 - [mozbase] Do not use deprecated sys.exc_value in mozhttpd, r=gbrown 2018-01-16 10:44:14 -08:00
Jim Chen 65ba910313 Bug 1426244 - Follow-up to use new variant; r=me
Use the new variant 'officialWithGeckoBinariesNoMinApiRelease', which is
used by other m-c build jobs, for building javadoc.
2018-01-16 13:37:25 -05:00
Andreas Tolfsen c28541fa14 Bug 1430152 - Move geckodriver to in-tree mozversion. r=jgraham
MozReview-Commit-ID: A8yb1joLYfv

--HG--
extra : rebase_source : 86914b495fae687250b18413011e4b19741eb486
2018-01-12 16:09:28 +00:00
Andreas Tolfsen a9817d923d Bug 1430152 - Move Rust port of mozversion to central. r=ahal
This moves the Rust crate mozversion into central from GitHub.
The old repository will be graveyarded:

	https://github.com/jgraham/mozversion

The git history is not considered important, hence this does not
overlay that onto central like we did for testing/geckodriver and
testing/webdriver.

MozReview-Commit-ID: HeBggGmGsg6

--HG--
extra : rebase_source : 14f6943394bd7b6e8daa7a35b29bc209b7ac9ad4
2018-01-12 16:08:07 +00:00
Andreas Tolfsen 6521893473 Bug 1430575 - Add validity state check for WebDriver:ElementClear. r=automatedtester
This patch checks that the element satisfies its form control
constraints, as well as being empty, before deciding not to clear
the element.  This will make it possible to clear elements that
have invalid input.

The "clear a resettable element" algorithm is missing a check of
the <input> element's ValidityState.  WebDriver:ElementClear has
a subtle bug that only manifests in Gecko because Blink rejects
invalid key input to validation fields such as <input type=number>,
but Gecko does not.

The value property of <input type=number> will not be updated unless
the input is actually valid, which means the first step of the algorithm
will pass irregardless of whether the user has actually modified it.

MozReview-Commit-ID: C2M3Fl1iKx6

--HG--
extra : rebase_source : 8e5698cf8adab4361d16ada403858d0703861d9a
2018-01-15 17:17:11 +00:00
Andreas Tolfsen 2e533b57f4 Bug 1430575 - Document interaction.clearElement. r=automatedtester
MozReview-Commit-ID: 6bwVFiJP6ej

--HG--
extra : rebase_source : 53aab2f44bde289e1b1c59613dfe43ce0ee7fd5e
2018-01-15 17:15:10 +00:00
Andreas Tolfsen 44b2be2861 Bug 1430575 - Adjust editable definition to match WebDriver. r=automatedtester
Introduces a new function, isMutableFormControl, to the element
module in Marionette that tests if an element is a form control
that can be edited by the user.  This replaces the proprietary
UNEDITABLE_INPUTS set used previously.

An editable element is, according to the WebDriver standard, an
element which belongs to the two subcategories of editable elements.
This patch implements the first category of the mutable form controls.

MozReview-Commit-ID: Aix19mq3lcb

--HG--
extra : rebase_source : 1e3d671cd2d3ff618bf2fff3a2d8dadbd82d0540
2018-01-15 17:14:37 +00:00
Edgar Chen 4281f3eea3 Bug 1430034 - Fix attributeChangedCallback isn't fired with correct newValue when the attribute value is an empty string; r=smaug
MozReview-Commit-ID: L3RvNPNDfUC

--HG--
extra : rebase_source : dbe1d825beaec044ebb91d00a45b6feececfc46b
2018-01-15 15:24:41 +08:00
Chung-Sheng Fu bc05f945c6 Bug 1418243 - Enable web-platform tests which expected FAIL because of violatedDirective. r=ckerschb
MozReview-Commit-ID: LkCwVWs2rSr

--HG--
extra : rebase_source : 424721ff263563fd545615f2ba3addc8bcf2e492
2018-01-16 22:59:00 +02:00
Xidorn Quan 2bf366e30a Bug 1303025 - Accept null for body param in constructor of Response. r=bkelly
MozReview-Commit-ID: LeEFcQzPJlv

--HG--
extra : rebase_source : 37980f7601143692989d17a2e715f0c5284730a4
2018-01-13 14:20:50 +11:00
Noemi Erli 1c9bbfbebc Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE
Backed out changeset f53f8adcd578 (bug 1403519)
Backed out changeset 5b293bcd3fc7 (bug 1403519)
2018-01-17 07:23:40 +02:00
Edgar Chen 6ed22c88c6 Bug 1425079 - Add WPT test for the attributeChangedCallback which is triggered from parser; r=smaug
MozReview-Commit-ID: G0Cnxmv3sP8

--HG--
extra : rebase_source : 13e63c709566463c723d56917da69fdc975ff2a0
2018-01-15 17:23:27 +08:00
Dorel Luca c5c7ddbb92 Merge inbound to mozilla-central r=merge a=merge 2018-01-16 06:05:59 +02:00
Geoff Brown d1e788a7b6 Bug 1321605 - Follow-up to dump Android bogomips in main test log; r=me, a=test-only
We use bogomips as a convenient indicator or emulator performance/health and
make that available in the android-performance.log artifact. When the task
times out, that artifact is not uploaded, leaving me curious about what the
bogomips were; let's dump it to the test log.
2018-01-15 15:51:13 -07:00
Andreas Tolfsen 681ae6c180 Bug 1430077 - Separate clearing session state from deregistering listeners. r=whimboo
With the forthcoming window tracking changes the message listeners of
the content frame script are left listening for the duration of the
Marionette lifetime, and not for the duration of the Marionette session.

To prepare for the window tracking refactoring, we will want to
remove message listeners separately from clearing the session state.
Functionally, this patch changes nothing in Marionette for the moment,
except we send two IPC messages to the frame script instead of one.

MozReview-Commit-ID: DwVBCpvk9V9

--HG--
extra : rebase_source : d473a51209eeaf20967303af5aec7376e38fd283
2018-01-12 13:30:23 +00:00
Andreas Tolfsen b70e3acf47 Bug 1430077 - Correct safety checks on Marionette:Register reply. r=whimboo
sendSyncMessage returns an array of replies from the frame message
manager, each item being the return value from each message listener
that handles the message.

In testing/marionette/driver.js there are two handlers for
Marionette:Register, but it is not predictable at the moment when
both or either one of them is triggered.  We would, however, always
expect a response, which means the reply array should never be empty.

MozReview-Commit-ID: 5F8YfKO8jBU

--HG--
extra : rebase_source : c23900fed32a52d228c91cb6428be569fb967f41
2018-01-12 13:28:28 +00:00
Andreas Tolfsen 4103c22b8c Bug 1430077 - Remove global outerWindowID in frame script. r=whimboo
outerWindowID is no longer used for adding message listeners,
which means we do not need to store it globally.

MozReview-Commit-ID: HZ0oY7ozwnu

--HG--
extra : rebase_source : 4a03927b5bdbe3d34a45faf8fa9646e0a58bd96a
2018-01-12 13:25:42 +00:00
Andreas Tolfsen 20a23b6e23 Bug 1430077 - Broadcast Marionette:Deregister once. r=whimboo
The global message manager reaches all browsers and all frames.

If Marionette was _not_ using the global message manager, this
would have been the correct approach.

MozReview-Commit-ID: HKrlfd9pzK2

--HG--
extra : rebase_source : 8a63a0928af574f27d5612d0cef88e4f3a80481b
2018-01-12 13:24:54 +00:00
Andreas Tolfsen 2861122a4c Bug 1430109 - Combine assert.window and assert.contentBrowser. r=maja_zf
The forthcoming window tracking refactoring introduces the new
abstractions ContentContext and ChromeContext that to a large extent
share the same interface.  They make it possible to interact with
both types of browsing context in a uniform manner.

Marionette currently has a lot of convoluted if-conditions to
paper over the differences between ChromeWindow, <xul:browser>,
and browser.Context.  Examples of this includes the assert.window
and assert.contentBrowser assertions: they essentially perform the
same job, but does not share the same API because the underlying
APIs they call are different.

In an effort to prepare Marionette for the window tracking refactoring,
this patch adds a bit of glue to combine them both into one assertion
called assert.open.  This checks that the browsing context has not
been discarded.

MozReview-Commit-ID: K5e7Sr1mq0
2018-01-15 14:02:39 +00:00
Andreas Tolfsen f92c007d89 NO BUG - Regenerate Marionette API docs. r=me
DONTBUILD

MozReview-Commit-ID: KfKG7XfphNb
2018-01-15 14:01:32 +00:00
Andreas Tolfsen ca71f397cc NO BUG - Correct README inclusion in Marionette API docs. r=me
DONTBUILD

MozReview-Commit-ID: KAElMSRZgnp
2018-01-15 14:01:00 +00:00
Gurzau Raul e0cb05876d Merge inbound to mozilla-central. a=merge 2018-01-15 11:57:47 +02:00