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

589455 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou 121725038a Merge autoland to mozilla-central. a=merge 2018-04-02 13:15:52 +03:00
James Graham 8e287141ef Bug 1450635 - Disable CSP navigate-to tests for frequent instability on Windows, a=testonly
MozReview-Commit-ID: CntgTmxre0t
2018-04-02 09:22:33 +01:00
Hiroyuki Ikezoe 2b9a5049f3 Bug 1443358 - Consider that the target frame is scrolled out if scrollable parent frame size is empty. r=birtles
This patch adds three test cases;

1) Animation on position:absolute element in a zero-height iframe
  This animation should be throttled.
2) Animation on a non-zero width and hight position:absolute element but whose
   parent has a zero height
  This animation should NOT be throttled since the animation is visible
3) Animation on a zero-height position:absolute element whose parent also has
   zero height.
  This animation should be throttled since the animation is invisible

The first test fails without this fix and passes with the fix.
The second one passes regardless of the fix
The third one is marked as 'todo' since it doesn't pass with this fix.

MozReview-Commit-ID: 8pNUFQ71ivj

--HG--
extra : rebase_source : d1d37e5324247efc20a39d86a0f8849450cc7533
2018-04-02 13:34:14 +09:00
Hiroyuki Ikezoe 4de76df942 Bug 1443358 - Introduce a new function that is able to count restyle in a given window. r=birtles
This function will be used for checking restyle counts in an iframe
in the next patch.

MozReview-Commit-ID: 2PPjJTzXMXH

--HG--
extra : rebase_source : 4f3b1c37580b0d382ff9c07d81950542d8515bb1
2018-04-02 13:27:59 +09:00
Servo VCS Sync 15611b73ac No bug - Revendor rust dependencies 2018-04-02 06:53:31 +00:00
modal-d17 e41a335935 servo: Merge #20391 - Measure cache memory usage (from modal17:iss19251); r=jdm
<!-- Please describe your changes on the following line: -->
- [X] make the memory cache data structure derive MallocSizeOf
- [X] add a new IpcReceiver argument to ResourceChannelManager::start that is used for listening to messages from the memory profiler (it must correspond with this sender)
- [X] use run_with_memory_reporting in the network code to register a memory reporter for that thread
- [X] when a message from the memory profiler arrives, create a report that includes that size of the public and private http caches

---
<!-- 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 #19251 (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: 8f226f841bd5e1ab412ff2cd8417919b222f7555

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 024331f1072f2e02ebfd25a3ce8e95ec39cbf85f
2018-04-02 02:01:50 -04:00
Emilio Cobos Álvarez de485cb424 Bug 1105111: Regenerate the devtools db on a CLOSED TREE. r=me
MozReview-Commit-ID: HEWjPaydHOT
2018-04-02 07:44:05 +02:00
Daniel Holbert 88257ab3d9 Bug 1105111 part 5: Add reftests for 'flex-basis:content' in column-oriented flex container. r=mats
MozReview-Commit-ID: 6TMrmisHOUr
2018-04-02 04:30:39 +02:00
Daniel Holbert a3d3fde5cc Bug 1105111 part 4: Add reftests for 'flex-basis:content' in row-oriented flex container. r=mats
MozReview-Commit-ID: 93pZdfzai93
2018-04-02 04:30:39 +02:00
Daniel Holbert 3074065ec2 Bug 1105111 part 3: Add support for 'flex-basis:content' in layout. r=mats
BACKGROUND:
Early in flex layout, we have to resolve the 'flex-basis' value to produce the
"flex base size" (basically, the flex-basis resolved to an absolute length).

This resolution happens in two "phases" (which both happen within
nsFlexContainer::GenerateFlexItemForChild()):

First phase: we try to resolve the flex-basis by creating a ReflowInput for the
flex item (which gets us some other things as well).  Under the hood, we use
the flex-basis when resolving this ReflowInput's main-axis size.  The code for
this lives in nsFrame::ComputeSize (and in
nsFrame::ComputeSizeWithIntrinsicDimensions, via some frame classes' overrides of
ComputeSize).

Second phase: If the first phase didn't get us a definite size, then that means
we have to do reflow to measure the content size & produce a resolved flex base
size, which we do via ResolveAutoFlexBasisAndMinSize().

NOTES ON THIS PATCH:
To add 'flex-basis:content' support to layout, this patch only needs to modify
the first phase discussed above. If it turns out we also have some second-phase
work to do (i.e. if we need to do reflow to resolve 'flex-basis:content'), this
patch causes that reflow to happen by simply making us use eStyleUnit_Auto in
the main axis's nsStyleCoord in the first phase.  (And then, if that 'auto'
nsStyleCoord really does require reflow, then that first phase will end up
producing an unconstrained main-size in the flex item's ReflowInput, which will
automatically trigger the second phase.)

MozReview-Commit-ID: 2nH4Fh78C81
2018-04-02 04:30:38 +02:00
Daniel Holbert 81c1d19a77 Bug 1105111 part 2: Add support for 'flex-basis:content' in the style system (gecko / getComputedStyle side). r=mats
MozReview-Commit-ID: E0crFCy7Jfk
2018-04-02 04:30:37 +02:00
ffxbld dafc1094f6 No bug, Automated HPKP preload list update from host bld-linux64-spot-303 - a=hpkp-update 2018-04-01 19:11:09 -07:00
ffxbld bc62258c3c No bug, Automated HSTS preload list update from host bld-linux64-spot-303 - a=hsts-update 2018-04-01 19:11:05 -07:00
Emilio Cobos Álvarez 4dc1d6e2f3 servo: Merge #20500 - style: Add support for 'flex-basis:content' in the style system (from emilio:1105111); r=xidorn
Bug: 1105111
Reviewed-by: xidorn
MozReview-Commit-ID: 5WhgHJJ0mDB
Source-Repo: https://github.com/servo/servo
Source-Revision: ca7463df9ee6f7d3886c2bbcb2d0842f24c4abf7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3a1dd4da64d1768619ceb7d7d1e445f888eb9fb1
2018-04-01 21:18:27 -04:00
Mats Palmgren dd84022c88 Bug 1398537 part 4 - [css-multicol] Implement percentages for 'column-gap' (automated update of devtools). 2018-04-02 01:57:01 +02:00
Mats Palmgren da461f376b Bug 1398537 part 3 - [css-multicol] Implement percentages for 'column-gap' (automated update of WPT results). 2018-04-02 01:56:42 +02:00
Mats Palmgren 4fd8ffd48e Bug 1398537 part 2 - [css-multicol] Implement percentages for 'column-gap' (Gecko part). r=dholbert 2018-04-02 01:56:19 +02:00
Mats Palmgren 2525140c5a servo: Merge #20499 - style: Implement percentages for 'column-gap' (from emilio:1398537); r=emilio,dholbert
Bug: 1398537
Reviewed-by: emilio,dholbert
Source-Repo: https://github.com/servo/servo
Source-Revision: 1e2411d2c50f87e2fbcfc91167029bd345649653

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4e97c1d2a6096cf221c0c89377eb8bcff6ab663d
2018-04-01 18:59:15 -04:00
Felipe Gomes c55a3eaeb5 Bug 1428944 - Policy: Set or disable first-run (welcome) page. r=mkaply
MozReview-Commit-ID: LXjJAkzkkpY

--HG--
extra : rebase_source : f7e292277b853d9555164684f3eb25d8f3bcbbb8
2018-04-01 19:46:24 -03:00
ui.manish 9db392f67d Bug 1450573 - Remove unused menu-check.png and menu-check@2x.png r=jaws,ntim 2018-04-01 23:12:21 +02:00
Cosmin Sabou 64a2e81ecc Backed out 2 changesets (bug 1450520, bug 1450360) for mochitest e-10s failures on layout/forms/test/test_bug1301290.html. CLOSED TREE
Backed out changeset 0cb041700c38 (bug 1450520)
Backed out changeset 924e90305946 (bug 1450360)
2018-04-02 08:56:36 +03:00
Matt Woodrow 485c94a000 Bug 1450520 - Disable retained display lists when we have overlay scrollbars, as the z-index of the scrollbar changes between paints. r=mstange 2018-04-02 16:14:09 +12:00
Matt Woodrow a9d13266e1 Bug 1450360 - Respect the z-index property set on scrollbars. r=mstange 2018-04-02 16:13:25 +12:00
Manish Kumar 8ba98fbd8c Bug 1450590 - Remove unused browser/themes/linux/preferences/mail.png. r=ntim,dao 2018-04-02 05:11:27 +02:00
Manish Kumar eb0af41afb Bug 1450594 - Remove unused toolkit/themes/windows/global/icons/find-arrows.png. r=dao 2018-04-02 05:07:23 +02:00
Manish Kumar 69e13a2837 Bug 1450586 - Remove unused sync images. r=ntim,dao 2018-04-02 05:06:12 +02:00
Manish Kumar 98a96f1c48 Bug 1450566 - Replace aboutSessionRestore-window-icon.png usage with window.svg. r=ntim,dao 2018-04-02 05:01:48 +02:00
Manish Kumar 09c4ec88f6 Bug 1450446 - Remove obsolete XULBrowserWindow.inContentWhitelist and XULBrowserWindow.hideChromeForLocation. r=dao 2018-04-02 04:57:59 +02:00
Li Hao Tan b4b759b4ab servo: Merge #20495 - Move `text-emphasis-position` outside of mako (from LiHaoTan:move-text-emphasis-position); r=emilio
<!-- 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` and `./mach build-geckolib` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fixes #19961

- [X] These changes do not require tests because this is refactoring.

~Just as a sanity check I ran `./mach test-wpt tests/wpt/web-platform-tests/css/css-text-decor/text-emphasis-position-above-left-001.xht` though I'm not sure if I'm correct since we are also building for `geckolib`. I guess the buildbot will make sure to run all the relevant tests anyway.~ I guess Travis and AppVeyor will run the web platform tests before the buildbot run all the tests later on.

<!-- 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: 9677d5c1ba6a5174ff251280a9cb1e88b53bebbe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 41aa7db8499da3f6c178af094fac45a31d1d885f
2018-04-01 12:00:08 -04:00
Manish Kumar ca80552b9f Bug 1446719 - Rename getTabValue / setTabValue / deleteTabValue to getCustomTabValue / setCustomTabValue / deleteCustomTabValue. r=dao
--HG--
extra : rebase_source : 4d1ee61af6b01c58c07aa8e09d125959b62dcc75
2018-04-01 16:05:34 +02:00
nbeleuzu@mozilla.com 9a52b692d2 Backed out changeset 3a278fcf0571 (bug 1447173) for xpcshell failures on /test_errorhandler_filelog.js 2018-04-02 03:31:44 +03:00
arthur.iakab b80994a43e Merge mozilla-central to autoland 2018-04-01 00:40:23 +03:00
arthur.iakab 33787c1ab7 Merge autoland to mozilla-central. a=merge 2018-04-01 00:32:27 +03:00
ffxbld f7fdb9dae5 No bug, Automated HPKP preload list update from host bld-linux64-spot-325 - a=hpkp-update 2018-03-31 14:00:13 -07:00
ffxbld 0cc199f815 No bug, Automated HSTS preload list update from host bld-linux64-spot-325 - a=hsts-update 2018-03-31 14:00:10 -07:00
Robert Longson f725679a94 Bug 1446617 - support the SVG 2 path attribute for textPath elements r=dholbert 2018-03-31 18:50:10 +01:00
Dorel Luca 5213277538 Backed out changeset dcd8ba6a9028 (bug 1429394) for build bustages. CLOSED TREE
--HG--
extra : amend_source : 082a7d69d1f6f39982dcc3c938dc5c9b3adf7a0e
2018-03-31 18:05:52 +03:00
ui.manish da830190b9 Bug 1429394 - Remove toolkit/locales/generic/chrome/global/brand.dtd. r=mconley 2018-03-31 13:10:50 +02:00
Csoregi Natalia 0e8eb01368 Merge inbound to mozilla-central. a=merge 2018-03-31 13:06:05 +03:00
Andrea Marchesini 3797da27ff Bug 1450416 - setTimeout/setInterval should silently fail if the worker is shutting down, r=asuth 2018-03-31 09:47:51 +02:00
ffxbld dd8e8d3d86 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-30 21:57:51 -07:00
ffxbld 796d46d5c5 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-30 21:57:48 -07:00
Narcis Beleuzu 6968664045 Merge autoland to mozilla-central. a=merge 2018-03-31 01:18:06 +03:00
Narcis Beleuzu 2d0803379f Merge inbound to mozilla-central. a=merge 2018-03-31 00:49:19 +03:00
Brindusan Cristian 05ef8b8399 Backed out changeset 60bd2e867d35 (bug 1444965) for browser chrome failures on browser_startup.js CLOSED TREE 2018-03-30 23:58:36 +03:00
Jim Chen f355ba25fc Bug 1446528 - Only set resource URI redirect in parent process; r=snorp
Calling setResourceSubstitutions in the child process was causing an
error that prevented the prompt code from initializing in the child
process.

MozReview-Commit-ID: 9bE7jvglPPw

--HG--
extra : rebase_source : 87e622d52b97407aab7ec98d576b97b40c83bc5c
2018-03-30 16:05:09 -04:00
Cosmin Sabou 93f710b20d Merge central to autoland. a=merge CLOSED TREE
--HG--
extra : rebase_source : 2b02ec216396e230c27c74ca90fe88584ff29cd3
2018-03-30 21:46:52 +03:00
Thom Chiovoloni 1aca199f54 Bug 1450316 - Run sync's test_utils_makeGUID.js sequentially r=kitcambridge
MozReview-Commit-ID: 8TneGQLTaD4

--HG--
extra : rebase_source : 139358767d21271da7bef77931e49568c99d5b35
2018-03-30 11:13:54 -07:00
Chris Manchester d27e8e527c Bug 1450077 - Download rust 1.25 in mach bootstrap. r=mshal
MozReview-Commit-ID: IrU4Pzn9Iz

--HG--
extra : rebase_source : ddd68550303569a70d983e3c4922213733148fd4
2018-03-30 10:16:09 -07:00
Francesco Lodolo (:flod) fd5218c9fa Bug 1450693 - Fix migration for containers-window-update in containers.ftl r=gandalf
MozReview-Commit-ID: L40niDNlG7D

--HG--
extra : rebase_source : 4e6d8c54eef5f341bf01c24ce3717a36f6708147
2018-04-02 18:31:51 +02:00