Florian Quèze
a09d41b402
Bug 1343571 - When clicking an action button of a PopupNotification in an inactive window, focus the window instead of performing the action, r=past.
2017-03-16 19:14:22 +01:00
Bobby Holley
d1865bc01a
Bug 1341102 - Adjust test expectations after merging #15983 . r=me
...
The PR in question just added some pseudo-classes, and seems to have unearthed
some failures related to our lack of proper visited handling. Annotating.
MozReview-Commit-ID: GcbmWNDgwD0
2017-03-16 11:10:14 -07:00
Wes Kocher
efcef12931
Backed out changeset e73241bcb49a (bug 1340584) for Windows build failures a=backout CLOSED TREE
...
MozReview-Commit-ID: 22csfCgl7Wb
2017-03-16 10:25:15 -07:00
Geoff Brown
ecc9668072
Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach
...
sutagent is no longer built or usedr; devicemanagerSUT is completely
unused. After this change, devicemanagerADB is the only implementation of
devicemanager, and the --dmTrans and similar options have been removed
from test harnesses and mach commands.
2017-03-16 10:44:44 -06:00
Geoff Brown
7e2388e217
Bug 1347407 - Add an Android 7.0 AVD for mach android-emulator; r=me,test-only
...
Add support for 'mach android-emulator --version 7.0'. This AVD is somewhat
experimental but has worked well in my initial testing.
2017-03-16 10:44:42 -06:00
L. David Baron
86687429ea
Bug 1347759 - Fix conditions under which we reflow absolutely positioned element due to size change of its container for everything other than horizontal LTR. r=jfkthame
...
I found this problem because I was debugging the failure of
layout/reftests/w3c-css/received/css-writing-modes-3/clearance-calculations-vrl-008.xht
with my patch for bug 1308876. It was failing because the red reference
box that was intended to be covered up was being mispositioned leftwards
by the width of the scrollbar, since we were not reflowing it when we
decided that the viewport did not need scrollbars. This patch fixes
that failure.
This led me to this bug, where
nsAbsoluteContainingBlock::FrameDependsOnContainer was incorrectly
testing conditions for when the values of 'top', 'right', 'bottom', and
'left' require reflow due to changes in the size of the containing
block.
The old code is incorrect in a number of cases, such as:
1. in RTL, with 'right: 100px', it will say that the frame does not
depend on its container's width since 'right' (offset-inline-start)
is a fixed offset and 'left' is 'auto'. However, since the
positioning is relative to the right edge, a change in container size
does require that the absolutely positioned element be repositioned
relative to the container's left edge.
2. In vertical-rl, again with 'right: 100px', it will make the same
mistake, since 'right' (now offset-block-start) is a fixed offset.
This is the case from the test I was debugging.
3. In vertical-rl with rtl direction and 'bottom: 100px', we will make
the same mistake because 'bottom' (inline-start) is fixed and 'top'
is 'auto', and we use 'bottom' rather than 'top'.
However, in cases (1) and (3) we actually avoid hitting the bug in these
simple-ish cases because ReflowInput::ShouldReflowAllKids() returns true
whenever IsIResize() is true, which means that
nsAbsoluteContainingBlock::Reflow doesn't even call
FrameDependsOnContainer. However, FrameDependsOnContainer should still
do the right thing because it's needed for
nsAbsoluteContainingBlock::MarkSizeDependentFramesDirty, which is only
used (from nsBlockFrame) when we reflow again for clearance or for
interruptible reflow. I haven't attempted to write a testcase for that
because it seems likely to require spending hours in the debugger trying
to trigger the right code.
This means that the only test that fails prior to the patch is
dynamic-offset-vrl-001.html, which exercises case (2), and also happens
to be the most similar to problem in clearance-calculations-vrl-008.xht.
This patch also makes the tests stricter so that we do optimize away
resizes in some cases where we're able to do so, such as
'left: 100px; right: auto' in RTL. (Or, rather, we would if it weren't
for the IsIResize() in ShouldReflowAllKids().)
MozReview-Commit-ID: 8xm1AHC21oh
--HG--
extra : transplant_source : %06%B4%40%EB%A9%C8M%F3%99%80%A9%DE%1F%1E%90%D3%F1%04W.
2017-03-16 09:39:19 -07:00
Jim Chen
8ae81abdc5
Bug 1345967 - Use global EventDispatcher for update messaging; r=sebastian
...
Use the global EventDispatcher for signaling update results. The event
listener in about.js must be unregistered after every event to prevent
memory leaks, so expectUpdateResult() is added and called whenever we
are expecting update results.
2017-03-16 12:37:41 -04:00
Sebastian Hengst
409b7d9ed9
Backed out changeset 3a6cb84f8cf8 (bug 1341008) for frequently failing toolkit/components/extensions/test/xpcshell/test_ext_i18n.js on Windows. r=backout
2017-03-16 17:29:49 +01:00
Sebastian Hengst
e43c8a0ce7
Backed out changeset 8a1c36e9ba80 (bug 1341008)
2017-03-16 17:29:18 +01:00
Kai Engert
4d0a5cb45a
Bug 1347932, uplift NSPR_4_14_BETA2, r=franziskus
2017-03-16 17:22:25 +01:00
ffxbld
006005beff
No bug, Automated HPKP preload list update from host bld-linux64-spot-308 - a=hpkp-update
2017-03-16 07:57:12 -07:00
ffxbld
d003925309
No bug, Automated HSTS preload list update from host bld-linux64-spot-308 - a=hsts-update
2017-03-16 07:57:09 -07:00
Carsten "Tomcat" Book
468f7d8e9f
merge mozilla-inbound to mozilla-central a=merge
2017-03-16 15:35:50 +01:00
Carsten "Tomcat" Book
ac913a6db5
merge autoland to mozilla-central a=merge
2017-03-16 15:34:56 +01:00
Julian Descottes
1f15481752
Bug 1345932 - disable aboutdebugging multi e10s test if e10s disabled;r=jdescottes
...
MozReview-Commit-ID: G6U17WhhMi7
--HG--
extra : rebase_source : 8d9b72bb595190db668f696e649ddec2b674d728
2017-03-16 14:24:48 +01:00
Julian Descottes
829b30f34e
Bug 1345932 - show warning info in about:debugging#workers if multi-e10s is on;r=ochameau
...
If multi e10s is enabled, service worker debugging is unavailable.
We temporarily disabled the start/push/debug buttons in about:debugging
for all service workers if multi-e10s is on.
A warning section is also displayed on top of about:debugging, letting the
user know that they can set dom.ipc.processCount to 1 in order to force
a single content process and restore debugging capabilities.
MozReview-Commit-ID: IPAlbOq2Hij
--HG--
extra : rebase_source : 493253a65392982e7564343da7654a7ba00a3d6c
extra : source : 7fcfc6bf254734d16bff0145257fc256e7395a79
2017-03-16 16:06:05 +01:00
Dale Harvey
dfeaec0a75
Bug 1336355 - follow up to fix lint. r=sebastian a=tomcat
2017-03-16 04:19:00 +01:00
Wes Kocher
06af2f1e92
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 4p4SK3EhvJ2
2017-03-15 14:24:58 -07:00
Wes Kocher
b58de4b0cc
Merge autoland to central, a=merge
...
MozReview-Commit-ID: GRzdZQPAUxX
2017-03-15 14:05:40 -07:00
Julian Descottes
99f717bd7c
Bug 1345932 - cleanup service worker panel render method;r=ochameau
...
MozReview-Commit-ID: AZdbg38ayLo
--HG--
extra : rebase_source : 56287fac00505eb68ee07677779bfb8ee98eb2a3
2017-03-15 20:10:59 +01:00
Carsten "Tomcat" Book
023d5aecd1
Merge mozilla-central to mozilla-inbound
2017-03-16 15:39:58 +01:00
Mats Palmgren
5e17bf51d3
Bug 1335806 part 4 - [css-grid] Tweak reftests where 'align/justify-self:normal' now means 'start' for grid items with an intrinsic size / aspect ratio.
...
MozReview-Commit-ID: AztJxC2cBMR
2017-03-16 15:24:57 +01:00
Mats Palmgren
8052c29bdd
Bug 1335806 part 3 - [css-grid] Make 'align/justify-self:normal' behave as 'start' for grid items that have an intrinsic size or aspect ratio. r=dholbert
...
MozReview-Commit-ID: CZpUEcOCoip
2017-03-16 15:24:57 +01:00
Mats Palmgren
26ed1865cd
Bug 1335806 part 2 - Refactor the intrinsic size calculations a bit (idempotent patch). r=dholbert
...
MozReview-Commit-ID: JRYx7sWFcPA
2017-03-16 15:24:56 +01:00
Mats Palmgren
987c2fde4b
Bug 1335806 part 1 - Move the intrinsic size/ratio calculations up a bit (idempotent patch). r=dholbert
...
MozReview-Commit-ID: 5FWpfyiN0Qa
2017-03-16 15:24:56 +01:00
Nathan Froyd
53fd6ce968
Bug 1316990 - part 2b - add initial set of approved licenses for Rust packages; r=gerv
...
This commit adds the initial whitelist of (mostly) SPDX license
identifiers and the initial whitelist of separately-specified license
files for those packages that require it. For gamma-lut, the license
that the hash identifies is:
https://hg.mozilla.org/mozilla-central/file/47611a305c44/third_party/rust/gamma-lut/LICENSE
For deque, the license that the hash identifies is:
https://hg.mozilla.org/mozilla-central/file/47611a305c44/third_party/rust/deque/LICENSE-MIT
Integrating any new licenses into about:license is left as separate work
for the time being.
2017-03-16 10:00:02 -04:00
Nathan Froyd
6374bdf4f1
Bug 1316990 - part 2a - check licenses of vendored Cargo packages; r=rillian
...
This commit adds the core support to `mach vendor rust` to verify that
the licenses of vendored packages are OK for distribution in Firefox.
2017-03-16 10:00:02 -04:00
Nathan Froyd
8234066ae9
Bug 1316990 - part 1 - split out an _ensure_cargo function; r=rillian
...
We're going to be adding some more code to the vendor function, and
splitting this function out helps make vendor a little more manageable.
2017-03-16 10:00:02 -04:00
Mats Palmgren
64e56a0d71
Bug 1346699 part 3 - [css-grid] Additional reftests for min/max-sizes affecting flexible track sizing.
...
MozReview-Commit-ID: 6NORO1Q7xOE
2017-03-16 13:24:50 +01:00
Mats Palmgren
d1da72310f
Bug 1346699 part 2 - [css-grid] Don't require 'fr' to be non-zero to apply min/max-size. r=dholbert
...
The calculated 'fr' value might change in the second round (after
applying min/max-size) even if it's zero in the first round.
MozReview-Commit-ID: 60moiyoWwuo
2017-03-16 13:24:50 +01:00
Mats Palmgren
0f9743bbe7
Bug 1346699 part 1 - [css-grid] Don't require that some (flexible) track size changed to apply min/max-size. r=dholbert
...
The "origSizes.isSome()" condition on the outer if-block was
a logical mistake. We should check it before re-assigning
mSizes though (this was the optimization originally intended).
MozReview-Commit-ID: AooUHYKG3jB
2017-03-16 13:24:50 +01:00
Gabor Krizsanits
2fc4ec4086
Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag
2017-03-16 11:22:37 +01:00
Gabor Krizsanits
c49bd7ffcf
Bug 1341008 - Stop rebroadcasting BlobURLUnregistration. r=baku
2017-03-16 11:22:29 +01:00
Timothy Nikkel
23f3425afe
Bug 1343341. Only set the animation state as discarded if we discarded the animated frames (and not a static frame from a first-frame-only decode). r=aosmond
...
The SurfaceCache can hold the first frame of a "static" decode as well as the animated frames in two seperate entries. We only care about what happens to the animated frames, so ignore OnSurfaceDiscarded for anything else.
To accomplish this we must pass the SurfaceKey to OnSurfaceDiscarded.
2017-03-16 03:06:06 -05:00
Timothy Nikkel
d69ec52e66
Bug 1343341. Create state on the AnimationState object to track whether the image is decoded or not. r=aosmond
...
We end up needing to track a few different things.
The large comment in the patch explains.
2017-03-16 03:06:04 -05:00
Andrea Marchesini
a628be7b36
Bug 1344415 - Introduce a security check about which files can be opened by a content process, r=ehsan
...
Entries API gives access to the filesystem. With this patch we allow that only
to patches, previously shared by a FilePicker or a DataTransfer event.
2017-03-16 08:53:49 +01:00
Sebastian Hengst
6b1edec6ea
Backed out changeset d1a5149f5e9b (bug 1345490) for OSX, Windows and Linux stylo reftests and marionette failing with "No module named six.moves.urllib.parse". r=backout
...
--HG--
rename : testing/web-platform/tests/html/browsers/windows/resources/window-close-button.html => testing/web-platform/tests/html/browsers/windows/support-close.html
rename : testing/web-platform/tests/html/browsers/windows/resources/noreferrer-window-name.html => testing/web-platform/tests/html/browsers/windows/support-named-null-opener.html
rename : testing/web-platform/tests/html/browsers/windows/resources/nested-post-to-opener.html => testing/web-platform/tests/html/browsers/windows/support-nested-browsing-contexts.html
rename : testing/web-platform/tests/html/browsers/windows/resources/window-opener.html => testing/web-platform/tests/html/browsers/windows/support-opener-null.html
rename : testing/web-platform/tests/html/browsers/windows/resources/post-to-opener.html => testing/web-platform/tests/html/browsers/windows/support-post-to-opener.html
rename : testing/web-platform/tests/html/browsers/windows/resources/echo-window-name.html => testing/web-platform/tests/html/browsers/windows/support-window-name-echo.html
rename : testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-end-manual.https.html => testing/web-platform/tests/mediacapture-streams/MediaStreamTrack-end.https.html
rename : testing/web-platform/tests/notifications/shownotification-resolve-manual.https.html => testing/web-platform/tests/notifications/shownotification-resolve-manual.html
rename : testing/web-platform/tests/service-workers/service-worker/fetch-event-within-sw-manual.https.html => testing/web-platform/tests/service-workers/service-worker/fetch-event-within-sw-manual.html
rename : testing/web-platform/tests/service-workers/service-worker/fetch-event-within-sw.https.html => testing/web-platform/tests/service-workers/service-worker/fetch-event-within-sw.html
rename : testing/web-platform/tests/webvtt/parsing/cue-text-parsing/buildtests.py => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/buildtests.py
rename : testing/web-platform/tests/webvtt/parsing/cue-text-parsing/common.js => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/common.js
rename : testing/web-platform/tests/webvtt/parsing/cue-text-parsing/dat/entities.dat => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/dat/entities.dat
rename : testing/web-platform/tests/webvtt/parsing/cue-text-parsing/dat/tags.dat => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/dat/tags.dat
rename : testing/web-platform/tests/webvtt/parsing/cue-text-parsing/dat/timestamps.dat => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/dat/timestamps.dat
rename : testing/web-platform/tests/webvtt/parsing/cue-text-parsing/dat/tree-building.dat => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/dat/tree-building.dat
rename : testing/web-platform/tests/webvtt/parsing/cue-text-parsing/tests/entities.html => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/tests/entities.html
rename : testing/web-platform/tests/webvtt/parsing/cue-text-parsing/tests/tags.html => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/tests/tags.html
rename : testing/web-platform/tests/webvtt/parsing/cue-text-parsing/tests/timestamps.html => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/tests/timestamps.html
rename : testing/web-platform/tests/webvtt/parsing/cue-text-parsing/tests/tree-building.html => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/tests/tree-building.html
rename : testing/web-platform/tests/webvtt/parsing/file-parsing/tests/support/signature-bom.vtt => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/signature-bom.vtt
rename : testing/web-platform/tests/webvtt/parsing/file-parsing/support/signature-formfeed.vtt => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/signature-formfeed.vtt
rename : testing/web-platform/tests/webvtt/parsing/file-parsing/support/signature-lowercase.vtt => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/signature-lowercase.vtt
rename : testing/web-platform/tests/webvtt/parsing/file-parsing/tests/support/signature-no-newline.vtt => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/signature-no-newline.vtt
rename : testing/web-platform/tests/webvtt/parsing/file-parsing/support/signature-null.vtt => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/signature-null.vtt
rename : testing/web-platform/tests/webvtt/parsing/file-parsing/tests/support/signature-space-no-newline.vtt => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/signature-space-no-newline.vtt
rename : testing/web-platform/tests/webvtt/parsing/file-parsing/tests/support/signature-space.vtt => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/signature-space.vtt
rename : testing/web-platform/tests/webvtt/parsing/file-parsing/tests/support/signature-tab-no-newline.vtt => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/signature-tab-no-newline.vtt
rename : testing/web-platform/tests/webvtt/parsing/file-parsing/tests/support/signature-tab.vtt => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/signature-tab.vtt
rename : testing/web-platform/tests/webvtt/parsing/file-parsing/support/signature-partial.vtt => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/signature-too-short.vtt
rename : testing/web-platform/tests/webvtt/parsing/file-parsing/support/signature-two-boms.vtt => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/signature-two-boms.vtt
rename : testing/web-platform/tests/webvtt/parsing/file-parsing/support/signature-websrt.vtt => testing/web-platform/tests/webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/signature-websrt.vtt
2017-03-15 19:24:26 +01:00
Sebastian Hengst
789828c3b2
Backed out changeset 0d7b32a14e21 (bug 1336107)
2017-03-15 19:23:25 +01:00
Sebastian Hengst
370145020d
Backed out changeset f257c058033a (bug 1337133)
2017-03-15 19:23:21 +01:00
Sebastian Hengst
30f4518b75
Backed out changeset 4637d39888cb (bug 1344627)
...
--HG--
rename : testing/web-platform/meta/webvtt/parsing/webvtt-cue-text-parsing-rules/tests/entities.html.ini => testing/web-platform/meta/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/tests/entities.html.ini
rename : testing/web-platform/meta/webvtt/parsing/webvtt-cue-text-parsing-rules/tests/tags.html.ini => testing/web-platform/meta/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/tests/tags.html.ini
rename : testing/web-platform/meta/webvtt/parsing/webvtt-cue-text-parsing-rules/tests/timestamps.html.ini => testing/web-platform/meta/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/tests/timestamps.html.ini
rename : testing/web-platform/meta/webvtt/parsing/webvtt-cue-text-parsing-rules/tests/tree-building.html.ini => testing/web-platform/meta/webvtt/webvtt-file-format-parsing/webvtt-cue-text-parsing-rules/tests/tree-building.html.ini
2017-03-15 19:23:16 +01:00
Sebastian Hengst
f19322a8ec
Backed out changeset 5f0452991bcd (bug 1345490)
2017-03-15 19:23:11 +01:00
Sebastian Hengst
75a34e8f10
Backed out changeset a2d3dacaac0b (bug 1346772)
2017-03-15 19:23:06 +01:00
Sebastian Hengst
a64a8559f4
Backed out changeset 6c9761aa3f02 (bug 1346775)
2017-03-15 19:23:01 +01:00
Sebastian Hengst
ac836c93ca
Backed out changeset 495008da1940 (bug 1345490)
2017-03-15 19:22:57 +01:00
Sebastian Hengst
9af7868110
Backed out changeset bd8ea9cb9c0b (bug 1345490)
2017-03-15 19:22:52 +01:00
Sebastian Hengst
073c5adc10
Backed out changeset 99abc41849da (bug 1345490)
2017-03-15 19:22:47 +01:00
Sebastian Hengst
80429d3da5
Backed out changeset bb409914119e (bug 1345490)
2017-03-15 19:22:43 +01:00
Sebastian Hengst
0707e17b40
Backed out changeset 7e39f6a6af4f (bug 1346778)
2017-03-15 19:22:37 +01:00
Sebastian Hengst
aa17b19b50
Backed out changeset c96c8279f39b (bug 1346782)
2017-03-15 19:22:32 +01:00
Sebastian Hengst
1a05668322
Backed out changeset 8647490d6806 (bug 1345490)
2017-03-15 19:22:27 +01:00