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

577203 Коммитов

Автор SHA1 Сообщение Дата
Gerald Squelart cb368a9c98 Bug 1430494 - Skip new-list loop and its related operations if list is empty - r=mattwoodrow
MozReview-Commit-ID: LkY2lldl7Al

--HG--
extra : rebase_source : 4fe5c71008b470f4c8b15f05e903d50d5c6e9303
2018-01-15 10:15:50 +11:00
Ralph Giles a9735964e0 Bug 1430886 - Disable incremental rust in automation. r=froydnj
Work around excessive command-line length issues by
disabling incremental rust compilation, which is enabled
by default outside `cargo --release` starting with Rust 1.24.

Incremental rust builds shouldn't help much in automation,
where sccache provides the only continuity between build
environments. In the meantime, they add a lot of object
files to the link line.

See https://github.com/rust-lang/rust/pull/47507 about addressing
the underlying issue upstream.

MozReview-Commit-ID: LRwUj3fhiaO

--HG--
extra : rebase_source : 1739a7570b2e7fe40ead3b301ea20c2fe79f0431
2018-01-17 08:32:51 -08:00
Emilio Cobos Álvarez e191632bd8 Bug 1409672: Hook in the invalidator stuff. r=xidorn
MozReview-Commit-ID: EoSMrYPS7dl
2018-01-17 21:51:53 +01:00
Emilio Cobos Álvarez 141792488a Bug 1430608: Make nsMediaFeatures work with a document, not a pres context. r=heycam
Returning a zero-sized viewport in the case there's no shell / pres context.

For now, no other change yet. After this we can start tweaking the ShadowRoot
Stylist setup, and even try to return computed styles without a document \o/.

MozReview-Commit-ID: 3cT2PKQISri
2018-01-17 21:51:47 +01:00
Emilio Cobos Álvarez 56cc5a0fb8 Bug 1429846: Fix slotted invalidation. r=heycam
This is a partial revert of
ce1d8cd232

If you're in a shadow tree, you may not be slotted but you still need to look at
the slotted rules, since a <slot> could be a descendant of yours.

Just use the same invalidation map everywhere, and remove complexity.

This means that we can do some extra work while trying to gather invalidation
if there are slotted rules, but I don't think it's a problem.

The test is ported from https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/fast/css/invalidation/slotted.html?l=1&rcl=58d68fdf783d7edde1c82a642e037464861f2787

Curiously, Blink fails the test as written, presumably because they don't flush
styles from getComputedStyle correctly (in their test they do via
updateStyleAndReturnAffectedElementCount), due to <slot>s not being in the flat
tree in their implementation.

MozReview-Commit-ID: 6b7BQ6bGMgd
2018-01-17 21:51:42 +01:00
Emilio Cobos Álvarez 3b5da0d9e2 servo: Merge #19790 - style: Work from multiple bugs (from emilio:fix-all-the-bugs); r=heycam,xidorn
Bug: 1429846,1429248,1430608,1409672
Reviewed-by: xidorn,heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 7d685d4baa0b107e3dd95eeba8076bfb9e07ba0e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3a5287b8cba06111d931ce0d4c9ac8b346bed8c0
2018-01-17 13:55:03 -06:00
Ted Mielczarek 817545f74a bug 1419756 - deactivate pytest cache plugin to stop it writing files in the srcdir. r=davehunt
The pytest cache plugin writes its cache in the srcdir, which means that it
shows up in `hg status`, which is annoying. Writing files to the srcdir is
generally bad practice anyway, so we disable this plugin to stop this
from happening.

MozReview-Commit-ID: HytLLMUtKlc

--HG--
extra : rebase_source : f6acbf3650881312cef051126387220a0f78597f
2018-01-17 11:50:56 -05:00
Brian Grinstead d116b2c9bc Bug 1429857 - Override -moz-appearance on bookmarks popup subviewbuttons, and styles on menuitem-iconic-left;r=dao
This is needed because menu.css is now loaded as a document style and rules there are overriding some in
panelUI.inc.css. There are plans to deprioritize menu.css in Bug 1420229, at which point this code can be removed.

MozReview-Commit-ID: CF9Ixgqob8

--HG--
extra : rebase_source : 10190b2d356fde01e62237b383002468efe8ffca
2018-01-17 10:19:15 -08:00
Rob Wood 2cf1172b19 Bug 1431177 - Update hgignore for talos webkit tests; r=jmaher
MozReview-Commit-ID: GTc1cCYAdqa

--HG--
extra : rebase_source : c0cb5d0e9e45a7f77b226c580b3f350005e73ab5
2018-01-17 13:59:55 -05:00
Tom Tromey 1bb2ea3983 Bug 1255402 - fix getCSSValuesForProperty for object-position and perspective-origin; r=heycam
getCSSValuesForProperty was not including "calc" for object-position
and perspective-origin.  Fixed by updating the variants in
nsCSSPropList.h.

MozReview-Commit-ID: 8STipRhqFwT

--HG--
extra : rebase_source : 70cbb9fc1a9b3a1084bd8846f065f0876daccd75
2018-01-16 10:52:28 -07:00
Josh Matthews bef1359c9a servo: Merge #19397 - Implement the create an element for token algorithm (from cbrewster:create_element_for_token); r=jdm,nox
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #19392 and fix #19393 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: fa82a6bbcef23c1ff4dc9d34f5f4ad75b622b3be

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cae51bf1f4bd98042047f579a9e3cd5bbf5006db
2018-01-17 10:57:06 -06:00
Emilio Cobos Álvarez 480dcc7f05 Bug 1428491: Remove redundant mBindingManager member in ServoStyleSet. r=heycam
MozReview-Commit-ID: KMiivgik0fr
2018-01-17 19:12:45 +01:00
Emilio Cobos Álvarez ae38d1cb24 Bug 1428491: Make the style set know about a document, not a pres context. r=heycam
MozReview-Commit-ID: I7T41NiHuJv
2018-01-17 19:12:40 +01:00
Emilio Cobos Álvarez 271544691d Bug 1430844: Add assertions that would've caught this. r=bz
MozReview-Commit-ID: 1UfhIRn2We2
2018-01-17 19:12:34 +01:00
Emilio Cobos Álvarez cd4b889709 Bug 1430844: Make resize reflow sound re. viewport units. r=bz
In particular, we set the pres context visible area _before_ processing
restyles.

This causes inconsistencies when resolving viewport units. In particular, the
resulting style tree will have some units resolved in terms of the old size, and
some in terms of the new size, depending on whatever is dirty, because we don't
flush the pending media query changes.

Also, some sizes are resolved against the unconstrained size because of the
shrink-to-fit stuff. Fix this by flushing _before_ in this case, instead of
after, since we're going to set the size to an actual value later when reflowing
the root frame.

MozReview-Commit-ID: ExI5yTJCjGp
2018-01-17 19:12:25 +01:00
Nicolas Chevobbe 5c75c1eb91 Bug 1404378 - Enable browser_webconsole_iframe_wrong_hud.js in new console frontend; r=jdescottes.
MozReview-Commit-ID: HBfA7lXjVdI

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-593003-iframe-wrong-hud-iframe.html => devtools/client/webconsole/new-console-output/test/mochitest/test-iframe-wrong-hud-iframe.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-593003-iframe-wrong-hud.html => devtools/client/webconsole/new-console-output/test/mochitest/test-iframe-wrong-hud.html
extra : rebase_source : fca51cb43951784007d9997d0c95da5269053dd5
2018-01-17 09:23:12 +01:00
Drew Willcoxon b05a36cb83 Bug 1429974 - TypeError: this.syncFromShowSearchSuggestionsFirstPref is not a function. r=mak
MozReview-Commit-ID: GgNiyRWKpEL

--HG--
extra : rebase_source : e7385a8a1ebc85f0bcb001690265e942f3a7f29e
2018-01-16 16:20:14 -08:00
Andrew Halberstadt 3087b17a69 Bug 1413928 - [tryselect] Implement paths for |mach try fuzzy| r=maja_zf
This enables the syntax like:
./mach try fuzzy dom/indexedDB

This will open up the fzf interface like normal, except only tasks
that have tests under dom/indexedDB will be selectable (and there
will only be one chunk per configuration).

This can be combined with -q/--query like normal:
./mach try fuzzy dom/indexedDB -q "!pgo !cov !asan"

When the tasks get scheduled, only the tests under the specified
path(s) will run within the harness.

MozReview-Commit-ID: IHRXXi5mB4G

--HG--
extra : rebase_source : 8a89f255591e6dfa31b1420196c4698f2015d10c
2017-11-15 16:36:07 -05:00
Andrew Halberstadt 564efd2a35 Bug 1413928 - [tryselect] Create a new argument group for 'task' arguments r=maja_zf
This simply groups arguments related to generating the list of
tasks from taskgraph into their own argument group.

MozReview-Commit-ID: IHRXXi5mB4G

--HG--
extra : rebase_source : 6c746f0cb8d93f957f50ba12f77d63edb04b6d1e
2017-11-02 16:03:38 -04:00
Andrew Halberstadt 9b0698e9b6 Bug 1413928 - [tryselect] Add a new 'path' template r=maja_zf
This sets the MOZHARNESS_TEST_PATHS environment variables for all tasks.
When specifying paths, this will cause many test tasks to only run the
tests under that directory as opposed to the normal default.

MozReview-Commit-ID: IHRXXi5mB4G

--HG--
extra : rebase_source : e7132311641f4d36a5bff56424988fbb3ae87238
2018-01-15 16:05:37 -05:00
Andrew Halberstadt 28b0ebdf63 Bug 1413928 - [tryselect] Change templates to return an entire context dict instead of a single value r=maja_zf
This changes templates so they return an entire context dict instead of
only returning context based on their name. For example, now the 'path'
template can set context for 'env'.

A side effect of this is that there is no longer a 1-to-1 mapping of templates
in tryselect and taskgraph.

MozReview-Commit-ID: IHRXXi5mB4G

--HG--
extra : rebase_source : 4d7e398e60598a5de7961fb126f1d05a0b983681
2018-01-15 16:05:17 -05:00
Andrew Halberstadt 24922a65ba Bug 1413928 - [tryselect] Add python unittest for templates r=davehunt
This makes use of pytest's generation feature. To add a new
template test, just add a new entry containing the input and
expected output to the dict in test_templates.py

MozReview-Commit-ID: 4qMefYHMjAp

--HG--
extra : rebase_source : ba3049885d1a2485048e1ff9913be43317559376
2017-11-21 10:11:00 -05:00
Andrew Halberstadt f72de18701 Bug 1413928 - [ci] Refactor worker and platform out of python source test tasks r=jmaher
This is a minor cleanup of the python.yml source test tasks.

MozReview-Commit-ID: 6UanmbZHF8P

--HG--
extra : rebase_source : e06d310af9ca05bfdab1bc1e3bd2bc6aa3035cb9
2018-01-15 16:02:05 -05:00
Andrew Halberstadt 811da0a366 Bug 1413928 - [mozharness] Accept extra test harness args via environment variable r=maja_zf
When MOZHARNESS_TEST_PATHS is set, the test suite mozharness scripts
will run the paths specified there instead of the normal chunking
and/or default manifest. Paths should be separated by a ':' character.

In the case of web_platform_tests.py, we have to make the test paths
relative to 'testing/web-platform'.

MozReview-Commit-ID: IHRXXi5mB4G

--HG--
extra : rebase_source : 17b31ec19a64ab16918d0bd80d19d9bb496cbe37
2017-11-02 15:53:39 -04:00
Rob Wood 193e30d84e Bug 1428790 - Disable talos heavy user profile tests on windows and linux; r=jmaher
MozReview-Commit-ID: DppwZi5tGNx

--HG--
extra : rebase_source : 28e2b59b2d8eb11c32c7964200b7dc8e8066ef18
2018-01-17 11:40:07 -05:00
abhinav 9d163b749f Bug 1421213 - Fix tests broken due to simulateClickLink changes. r=nchevobbe
MozReview-Commit-ID: 6JYBSzgMzR

--HG--
extra : rebase_source : 1c0ccaec5f6907f412a6320dc6dc1a9a780e48a3
2018-01-17 20:53:30 +05:30
abhinav 87efa833ab Bug 1421213 - Clicking on the request status code should open the corresponding MDN page. r=nchevobbe
MozReview-Commit-ID: JlU7pJiZ689

--HG--
extra : rebase_source : 8fb58e31a85046380fac21692e84ea5730db1348
2018-01-16 07:14:43 +05:30
Alex Chronopoulos 0f7663d5ba Bug 1406350 - part3: Use fake constraints to avoid enumeration error in one mochitest. r=pehrsons
MozReview-Commit-ID: 4nqamvBsNbo

--HG--
extra : rebase_source : b25d9208c4b094e3929f4201e9f23dd955f47569
2018-01-17 17:01:53 +02:00
Alex Chronopoulos 54498ae40b Bug 1406350 - part2: Create new gUM basic audio test using loopback setup. r=pehrsons
MozReview-Commit-ID: 7IQPdLSQy8a

--HG--
extra : rebase_source : 67223efe512397c2fd69c58b72f9d8ea07099de2
2018-01-17 14:59:42 +02: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
Emilio Cobos Álvarez 4716d7927d servo: Merge #19791 - style: Cleanup a bit the calc code (from emilio:calc-clean); r=jdm
I happened to be looking at it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8a740aa4d1e75aad9308e3eb805ed3e15078fb59

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ed8628cfef0d096dc79f96ebafced4853a805ee4
2018-01-17 09:09:49 -06:00
Kartikaya Gupta c017160218 Bug 1430660 - Move the APZ update of scroll layer positions into a transaction. r=nical
MozReview-Commit-ID: 45ijEtB1C0Z

--HG--
extra : rebase_source : b700ad68fdc44096dc0348bf1badf94dc993d36f
2018-01-17 11:19:39 -05:00
Julian Descottes a71eb3115e Bug 1429047 - Add telemetry probe to measure source load time;r=yulia,datareview=liuche
MozReview-Commit-ID: 8VfiFlEQRPm

--HG--
extra : rebase_source : 260918222acb0db8e885c6db63c7f73f37989378
2018-01-12 15:53:50 +01:00
Nicolas Chevobbe b5993af966 Bug 1430799 - Add a createObjectClient method to the DebuggerClient;r=jlast.
This is needed by the debugger in order to use the latest devtools-reps
package (0.19.0).
This function was already added in the devtools-connection package.

MozReview-Commit-ID: 3SVxq4Jbs16

--HG--
extra : rebase_source : a279790045eb91d96d20fca522e1b38c01d72a49
2018-01-16 17:25:58 +01:00
Kit Cambridge 94496e3390 Bug 1430573 - Bump the Sync change counter for items with renamed untitled tags. r=mak
MozReview-Commit-ID: IVzLpZEZ0tQ

--HG--
extra : rebase_source : 59338f38dc48dcccfb03697160891abf537c37e2
2018-01-16 15:27:20 -08:00
Brindusan Cristian cbd3af07b2 Backed out changeset acb786485419 (bug 1429047) for Bustages on TelemetryHistogramEnums.h on a CLOSED TREE 2018-01-17 17:45:26 +02:00
Julian Descottes 2d1e91425d Bug 1429047 - Add telemetry probe to measure source load time;r=yulia,datareview=liuche
MozReview-Commit-ID: 8VfiFlEQRPm

--HG--
extra : rebase_source : a882d6523b4bfbdd06d33884d4acd0ac1c26c673
2018-01-12 15:53:50 +01:00
Mark Banner e532b05d01 Bug 1431020 - Remove unused globals TLS_ERROR_REPORT_TELEMETRY_MANUAL_SEND and TLS_ERROR_REPORT_TELEMETRY_AUTO_SEND. r=florian
MozReview-Commit-ID: HFStJKJKsSA

--HG--
extra : rebase_source : e99827cf8a9929bd6479cc9f65a3dad06c06e15e
2018-01-17 09:08:06 +00:00
Sylvestre Ledru 8b1d123ee1 Bug 1431109 - Ignore a second incorrect warning with gcc (-Wuninitialized) r=froydnj
MozReview-Commit-ID: 1QiA78wR9xB

--HG--
extra : rebase_source : 3add57a9cc4a119145847fa2faa09671adfb8008
2018-01-17 15:58:00 +01:00
Micah Tigley 9b58cdf110 Bug 1396666 - Flip the grid line box's number position if there is not enough space along the container edge. r=pbro
MozReview-Commit-ID: 22UyufRUIhH

--HG--
extra : transplant_source : %BA%D0%AB%926%AE7%22%CDa%E0%129%94A%E9%D5%CA%83%1E
2018-01-04 20:53:28 -07:00
Julian Descottes 72028ea30e Bug 1405637 - Remove duplicated test browser_webconsole_notifications;r=nchevobbe
Test was already migrated in Bug 1304003 to browser_webconsole_observer_notifications.js.

MozReview-Commit-ID: DyfVJ49ksSd

--HG--
extra : rebase_source : e2ec3f78e04f87e8951fde4de0e0d3ceabfa57c3
2018-01-17 11:06:32 +01:00
Georg Streich 2bd75d4fdf servo: Merge #19755 - Decouple metrics and gfx (from streichgeorg:decoupling_metrics_gfx); r=jdm
Added gfx_traits::DisplayList so metrics doesn't depend on the gfx crate for gfx::display_list::DisplayList.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #19422 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because succesful compilation should be enough

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 8281ee004336049df11cc0478cb3c8b5610c6bde

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 07b42adf960519242136f890a37a20eb6599339a
2018-01-17 07:28:01 -06: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
Oriol Brufau ac5db38313 Bug 1427107 - Reject setBadgeBackgroundColor promise for invalid string colors r=mixedpuppy
MozReview-Commit-ID: 1XXiQCDe7Tu

--HG--
extra : rebase_source : df1ab14e9473d1fab42016ea31823274838bffdd
2018-01-11 18:56:18 +01: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
Tim Huang a32790ea40 Bug 1222285 - Part 3: Add test cases to check whether keyEvents been correctly spoofed and modifier keys been correctly suppressed. r=arthuredelstein,masayuki
This patch adds two test cases which generates Keyboard events for English content
and test whether the keyboard events been spoofed as US English QWERTY keyboard
events.

In addition, it also tests that whether the modifier keys been suppressed.

MozReview-Commit-ID: d6uZxJJayk

--HG--
extra : rebase_source : 5e8934c5f0b679137cc76db6c85884e0f702b6a8
2017-09-05 16:01:02 +08:00