Commit Graph

553037 Commits

Author SHA1 Message Date
Mike Hommey
73609ccb6b Bug 1385621 - Fix mach artifact toolchain handling of download exceptions after bug 1364650. r=gps
--HG--
extra : rebase_source : f96c73fd5d8dfb8cd059248dd1e831453546b613
2017-08-18 09:31:35 +09:00
Phil Ringnalda
cbc5805a36 Backed out changeset 4e9cd1d537cc (bug 1384062) for flake8 failures
MozReview-Commit-ID: C2AVg8g3xpV
2017-08-17 20:39:43 -07:00
Mike Hommey
452fa31f52 Bug 1384062 - Make SystemResourceMonitor.stop more resilient to errors. r=ahal,gps
The poll() call in SystemResourceMonitor.stop might fail even though
there is something to read from the pipe, in some corner cases, and
python won't let us know about it. In that case, an exception is thrown,
leaving the SystemResourceMonitor (and its callers) in a weird state. In
practice, this leads BuildMonitor.__exit__ to recall stop, which then
fails.

So when poll() throws an exception, we pretend there's still something
to read, and we try to read anyways. If there is something to read,
recv() will return it, otherwise, it will throw an exception of its own,
which we catch, pretending we're done.

Furthermore, when there is nothing to read from the pipe, poll() simply
returns False, and our loop never sets `done` to True, and we then hit
an assert, which doesn't have its place here, so we remove it.

Finally, the other end of the pipe might have died at any time, making
sending over the pipe fail, so we also protect against that.

With all these changes, it feels like the reason to backout bug 1239939
in bug 1272782 should have been dealt with, and we can drop the timeout
again.

--HG--
extra : rebase_source : fededf989fe9021654b67d5a070f7e49aa717f3c
2017-08-16 13:16:16 +09:00
Connor Brewster
8495ab2627 servo: Merge #18092 - Only run DOMTokenList update steps if token was found (from cbrewster:ce_domtokenlist); r=jdm
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [X] 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: 90a75d41b787e47fa12e90966cd7398291e5f53a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9eaad4b5909523f7359c9721f2c62829bd8e834a
2017-08-17 21:00:10 -05:00
Ray Lin
88631c7751 Bug 1388152 - Save abbreviated state name of address-level1 select element rather than its value in form autofill submission. r=lchang,MattN
MozReview-Commit-ID: IjZKzEdLlq5

--HG--
extra : rebase_source : 4e77ba7eb98b99fb9fb96df502b71fe06e961292
2017-08-14 18:08:44 +08:00
Kartikaya Gupta
7017055b92 Bug 1390804 - When pushing a mask clip, don't record it in DisplayListBuilder's clip stack. r=ethlin
Recording mask clips in the clip stack changes the value of TopmostClipId()
which confuses the code in ScrollingLayersHelper. The mask clip can be
thought of as an "out-of-band" clip that ScrollingLayersHelper doesn't
need to know about. This patch adds a mechanism for pushing such
"out-of-band" clips without touching the clip stack.

MozReview-Commit-ID: 8Zeqtigk0cj

--HG--
extra : rebase_source : 35176f3c9d98d186f78d7a0ff44845c7c3c9f67e
2017-08-17 13:54:25 -04:00
Christian Holler
5efd41fcce Bug 1390945 - Make GCOV signal handlers work in --disable-debug mode. r=froydnj
MozReview-Commit-ID: Lm8IhokH3ns

--HG--
extra : rebase_source : 370f499b45da8884cf654f72dd25f344b44dbd7c
2017-08-16 20:39:26 +02:00
Bobby Holley
a0a0196602 Bug 1375911 - Avoid creating a stylo thread pool in e10s parent processes. r=xidorn
MozReview-Commit-ID: LW92yNDKZf4
2017-08-17 19:15:20 -07:00
Henry Chang
563c83150c Bug 1388233 - Use &brandShortName; instead of hard-coded 'Firefox'. r=flod,francois
MozReview-Commit-ID: 271t5IDUzIR

--HG--
extra : rebase_source : 87175f53577d6cadef4f279b20daf59cb473370b
2017-08-17 10:18:37 +08:00
Ting-Yu Chou
33c6c355d6 Bug 1385743 - Use copy_tree() to copy directory recursively instead. r=Ehsan
shutil.copy2() will fail if the destination directory doesn't exist.
Switch to copy_tree() instead so we don't need to worry about the
error cases of copy2() and copytree().

MozReview-Commit-ID: 3kHfgL57KfX

--HG--
extra : rebase_source : c7335b0c2854d53699dda0f0d2bd9d17b57c4e5d
2017-08-17 10:36:15 +08:00
Bobby Holley
1b117f0519 Bug 1373343 - Skip the parallel traversal when the presshell isn't active. r=heycam
I've verified with the profiler that we use the parallel traversal for
loading a foreground tab, but not for a tab opened with ctrl-click.

MozReview-Commit-ID: 2SiVDlLLyah
2017-08-17 19:08:29 -07:00
Martin Robinson
1a27a5a33d servo: Merge #18123 - Improve containing block creation for position:absolute flows (from mrobinson:absolute-containing-blocks); r=pcwalton
Instead of only promoting flows with positioned fragments to containing
blocks, also do this for flows which have the transform, perspective or
filter properties set. This is what the spec requires and also fixes
some failing tests. It will allow us to stop creating stacking contexts
for overflow:hidden and overflow:scroll flows.

Fixes #18091.

<!-- 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 #18091  (github issue number if applicable).

<!-- Either: -->
- [x] 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: 12607531d812ee87e0b4a70f961c1aa3ec4c414d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d7e86671954303af12faf807759c6a27d5570267
2017-08-17 19:42:20 -05:00
Edouard Oger
2a915752c1 Bug 1391337 - Do not initialize gSync in nonBrowserWindowDelayedStartup. r=markh
MozReview-Commit-ID: H5ahbcFZnFX

--HG--
extra : rebase_source : 253bd5cf030b2a37d2bfe65b056440120a23b674
2017-08-17 14:13:49 -04:00
John Lin
db8ef47bd7 Bug 1391134 - flush remote decoder only when necessary. r=esawin
MozReview-Commit-ID: 4Xo4rouglqr

--HG--
extra : rebase_source : df412c24764db9a91849398dcd8746935ffe1a7e
2017-08-16 17:24:08 +08:00
flyingrub
4c37dd0d2c Bug 1385350 - Add a Search on the home of about:telemetry r=chutten
This allow to search in any section for data.

MozReview-Commit-ID: D0aWj427Mhf

--HG--
extra : rebase_source : c95a571a277f06e56d8b35d7cb644502039bd007
2017-08-09 17:53:23 +02:00
Alexis Beingessner
9c4535798f Bug 1357545 - handle text-shadows/decorations with webrender (layers-free) r=jrmuizel
This replaces our DrawTargetCapture hack with a similar but more powerful TextDrawTarget
hack. The old design had several limitations:

* It couldn't handle shadows
* It couldn't handle selections
* It couldn't handle font/color changes in a single text-run
* It couldn't handle decorations (underline, overline, line-through)

Mostly this was a consequence of the fact that it only modified the start and end
of the rendering algorithm, and therefore couldn't distinguish draw calls for different
parts of the text.

This new design is based on a similar principle as DrawTargetCapture, but also passes
down the TextDrawTarget in the drawing arguments, so that the drawing algorithm can
notify us of changes in phase (e.g. "now we're doing underlines"). This also lets us
directly pass data to TextDrawTarget when possible (as is done for shadows and selections).

In doing this, I also improved the logic copied from ContainsOnlyColoredGlyphs to handle
changes in font/color mid-text-run (which can happen because of font fallback).

The end result is:

* We handle all shadows natively
* We handle all selections natively
* We handle all decorations natively
* We handle font/color changes in a single text-run
    * Although we still hackily intercept draw calls
    * But we don't need to buffer commands, reducing total memcopies

In addition, this change integrates webrender's PushTextShadow and PushLine APIs,
which were designed for this use case. This is only done in the layerless path;
WebrenderTextLayer continues to be semantically limited, as we aren't actively
maintaining non-layers-free webrender anymore.

This also doesn't modify TextLayers, to minimize churn. In theory they can be
augmented to support the richer semantics that TextDrawTarget has, but there's
little motivation since the API is largely unused with this change.

MozReview-Commit-ID: 4IjTsSW335h

--HG--
extra : rebase_source : d69f69648ade5c7a8e6bb756f4b8ab9e2543e576
2017-06-19 10:58:28 -04:00
Brian Stack
508767f9d0 Bug 1391051 - Allow requesting multiple runs of talos tasks r=dustin
MozReview-Commit-ID: 6dB4zDaDuAF

--HG--
extra : rebase_source : e5fd3e54e51314b51fb311c3004b12a6bf737929
2017-08-16 13:34:14 -07:00
Glenn Watson
785052ce65 servo: Merge #18096 - Update WR (new texture cache allocator, shader deinit path) (from glennw:update-wr-deinit); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: f6a42ed9c17d0586860ead8a2e0663deb8d9621c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6bc43e6c1ab1e9e5118b50cdc240ac6f962388b1
2017-08-17 17:28:18 -05:00
Chris Pearce
bb04014877 Bug 1391469 - Remove unused SimpleImageBuffer. r=rbarker
MozReview-Commit-ID: 8lil5UYlPNN

--HG--
extra : rebase_source : 72f7b959bad2779ff5511e2ca830787ce7487bf8
2017-08-18 11:43:50 +12:00
Kevin Hsieh
572c3c94d2 Bug 1369672 - Update OTS to support Graphite table sanitization. r=jfkthame
MozReview-Commit-ID: 4WU4nQcsQgt

--HG--
extra : rebase_source : 8a27c738aaccb5bd47bf057de181c4abe210ba93
2017-08-11 16:36:12 -07:00
Wes Kocher
c1383cebf3 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KLrOCT1a7El
2017-08-17 16:23:45 -07:00
Wes Kocher
1d9f00cb8d Merge inbound to m-c a=merge
MozReview-Commit-ID: CQeEqtGlaXh
2017-08-17 16:16:51 -07:00
Wes Kocher
e0cdd7533e Merge autoland to central, a=merge
MozReview-Commit-ID: 9AeZxw2WZEI
2017-08-17 15:33:07 -07:00
Stephen Horlander
7c3342fa98 Bug 1391415: Improve Nightly Branding iteration 05. r=mossop. a=kwierso
MozReview-Commit-ID: LRC0IYPtEym

--HG--
extra : rebase_source : 6846fff20837c1b50da94066cb3dae5ba0809518
extra : amend_source : d92ceedaea00804d2ff201ddf9cdce688d99cbe8
2017-08-17 15:07:05 -07:00
Sebastian Hengst
2b4455ab3b Backed out changeset e9e36f27b698 (bug 1374164) for failing e.g. mda's test_getUserMedia_mediaElementCapture_tracks.html and browser-chrome's browser_devices_get_user_media_unprompted_access.js. r=backout
MozReview-Commit-ID: LEOMm0nytXd

--HG--
extra : source : 806d980dba310e653175973bd7f7e1c31b73c2d1
2017-08-17 23:24:56 +02:00
Joel Maher
a4e30a204e Bug 1391371 - turn on non-e10s tests for windows7-debug. r=ahal
MozReview-Commit-ID: 9CzUf6Omk38
2017-08-17 15:46:03 -04:00
Sebastian Hengst
88e9d5fb24 Backed out changeset 772250315e76 (bug 1390524) for build bustage in test_compile_checks.py: compiler_class() takes exactly 2 arguments (1 given). r=backout on a CLOSED TREE 2017-08-17 21:31:00 +02:00
Sebastian Hengst
e8c36327cd Backed out changeset 1e7bcce37cfc (bug 1374315) for frequently failing browser-chrome's browser_ext_browserAction_popup_resize.js. r=backout a=backout on a CLOSED TREE
MozReview-Commit-ID: 4jM1IqGW8u5
2017-08-17 19:31:10 +02:00
Sebastian Hengst
a4d9621f69 Backed out changeset 0a543fedee9c (bug 1390874) for unexpected pass and unexpected fail in mochitest browser_startup_images.js, at least on Windows. r=backout a=backout on a CLOSED TREE
MozReview-Commit-ID: 5ZtuMtnrPlH
2017-08-17 19:29:58 +02:00
ffxbld
04391741c9 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-08-17 10:13:33 -07:00
ffxbld
a012130123 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-08-17 10:13:29 -07:00
Gian-Carlo Pascutto
f4a0bc4497 Bug 1386826 - Whitelist the objdir, so _tests gets covered. r=jmaher
MozReview-Commit-ID: 8SHk1Pfy37I

--HG--
extra : rebase_source : 3944e20e310dda395e67ba9b1e33747413dea84e
2017-08-16 19:03:09 +02:00
Sebastian Hengst
38936d8d58 merge mozilla-central to autoland. r=merge a=backout on a CLOSED TREE 2017-08-17 19:32:20 +02:00
Paul Bone
db6ae66368 Bug 1386660 - Part 6: Clarify relationships between prefs. r=sfink
Make it clearer how prefs, JSGC params, and their defaults relate to one
another.
2017-08-16 15:40:39 +10:00
Paul Bone
631ef67c6c Bug 1386660 - Part 5: Add constants to avoid multiple hard-coded values. r=sfink 2017-08-17 11:55:39 +10:00
Michael Kaply
0dbb8dd2bf Bug 1374695 - Add extensionID to addEngine API. r=florian
MozReview-Commit-ID: 5hxzvCXhMxi

--HG--
extra : rebase_source : 93964b926057a79c3e90efc4a291019a740995ac
2017-08-14 15:51:12 -05:00
Michael Kaply
4a10c8330f Bug 1390153 - Add support for suggest_url to WebExtension added engines. r=mixedpuppy
MozReview-Commit-ID: IPsDbwZ8KSy

--HG--
extra : rebase_source : 7d6f0c1e9e1b4c1ea8ae914f021f0dac357a8c1a
2017-08-14 10:56:47 -05:00
Henrik Skupin
f7fd4a1cd9 Bug 1387403 - Force quitting the browser if no session can be established. r=jgraham
In case the NewSession command fails due to errors returned
by Marionette, the browser has to be killed. This is necessary
because DeleteSession always requires an existent session, and
would fail in closing the browser. So the process would continue
to be alive.

MozReview-Commit-ID: 1llX4lPNYjN

--HG--
extra : rebase_source : 0da6529e2c09358c83760fc66c997db09665e304
2017-08-17 14:05:11 +02:00
Andreas Tolfsen
59a7d270fb Bug 1390520 - Improve readability of Set Window Rect test. r=automatedtester
In addition to readability improvements, it fixes a few small errors
where the "x" and "y" field are being mixed up.

MozReview-Commit-ID: LP8uAaELadY

--HG--
extra : rebase_source : 855c8a7b84396a57df63e315a78b5f1e389eda16
2017-08-15 16:35:03 +01:00
Andreas Tolfsen
1724ec2c8b Bug 1390520 - Enable Set Window Rect from minimized window state test. r=automatedtester
Now that geckodriver has support for window state in the window rect
object, we can enable the test_set_window_rect_window_minimized test
from testing/web-platform/tests/webdriver/tests/set_window_rect.py.

MozReview-Commit-ID: FY6EZTxMUbE

--HG--
extra : rebase_source : 0614f35e35ef4274e13ccc35d12093e7bdc18afa
2017-08-15 15:57:34 +01:00
Dale Harvey
56c1c3f6d3 Bug 1389640 - Restore focus states for url bar in light/dark themes. r=dao
MozReview-Commit-ID: K3Jy8CXOkDS

--HG--
extra : rebase_source : 59b84e1f63006a9edd3c1fb3ec66b939963071ce
2017-08-17 11:04:58 +01:00
Sylvestre Ledru
0985b8bf6d Bug 1389898 - Declare NS_ANDROIDHISTORY_CID only once r=sebastian
MozReview-Commit-ID: Eq93bCl7aWj

--HG--
extra : rebase_source : a9ece3d843e4657bcfad80b6aa93e11b0c3f225b
2017-08-13 11:08:00 +02:00
Dão Gottwald
ef16e98f13 Bug 1390926 - Get rid of the --identity-popup-expander-width CSS variable. r=johannh
MozReview-Commit-ID: JN32gfmq7Y1

--HG--
extra : rebase_source : 6c05a5c40bb1ee2f36f31e17485183bdcc9a1c3a
2017-08-16 17:58:19 +02:00
Xavier ALT
d4e2abdf0a Bug 1390812 - Remove obsolete #back-button rule from compacttheme.inc.css r=dao
MozReview-Commit-ID: 5yWygUFF9gp

--HG--
extra : rebase_source : 6b507245137634959ab796b58caa389a39b708ee
2017-08-17 00:29:17 +02:00
steveck-chung
4006388b95 Bug 1386959 - [Form Autofill] Add probe for form autofill availability. r=francois,lchang
MozReview-Commit-ID: KPOBxmHOiuK

--HG--
extra : rebase_source : d56176249f8b5417151a4953b080ae2a8d2acd81
2017-08-14 11:56:19 +08:00
steveck-chung
928155d075 Bug 1390816 - Part 2: Add browser test for sync enabled case. r=lchang
MozReview-Commit-ID: FpsaoaMc6U4

--HG--
extra : rebase_source : 464cb1b8587ebd459ff08f19686c683a7e60e1b6
2017-08-17 12:18:24 +08:00
steveck-chung
e13ae1504d Bug 1390816 - Part 1: Add addresses sync checkbox in first time saving doorhanger. r=lchang
MozReview-Commit-ID: KkpseMw4kRk

--HG--
extra : rebase_source : 1dfbacafcedf28bdc2a8a93db35fb5509ff9a889
2017-08-16 19:08:32 +08:00
Henry Chang
d09db9fb2b Bug 1390777 - Use srcdoc to replace src=data:xxx whenever possible. r=ckerschb
MozReview-Commit-ID: 1FeRTmZv46N

--HG--
extra : rebase_source : 1b53de3be3fdb37f2b85550bf2b922d4285721aa
2017-08-17 16:00:29 +08:00
Johann Hofmann
94e3bb2575 Bug 1390874 - Add a hidpi test directory to emulate high screen resolution for browser_startup_images.js. r=florian
Also adds a warning that the test should only be used in debug mode.

MozReview-Commit-ID: 6X8jSz5O2ue

--HG--
extra : rebase_source : 67bc022906470695041e37ac1852af1df5b87c90
2017-08-16 15:33:14 +02:00
Alastor Wu
fee7fb93ca Bug 1388660 - part2 : add test. r=Ehsan
Add a new file "almostSilentAudioTrack.webm" and the test to prevent showing
the sound indicator when playing that kinds of video.

MozReview-Commit-ID: CeUhAePBuqs

--HG--
extra : rebase_source : c1deb2ec749fcebeccb554b64ffe77b46a18aa3d
2017-08-17 11:10:31 +08:00