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

672851 Коммитов

Автор SHA1 Сообщение Дата
Xiaocheng Hu 75d6d8570a Bug 1581717 [wpt PR 19109] - Add expression representation to InterpolableLength, a=testonly
Automatic update from web-platform-tests
Add expression representation to InterpolableLength

This is a second attempt of crrev.com/c/1777025, as the previous
attempt led to a performance regression.

As CSSLengthArray cannot represent all lengths, and in particular,
cannot represent lengths where min/max() are present, this patch
augments InterpolableLength with a CSSMathExpressionNode representation,
so that all lengths can be interpolated and animated.

Bug: 991672, 1002177
Change-Id: Ic8af313872b900eac2587531c56a8eca65d55a5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1805718
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Alan Cutter <alancutter@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#698895}

--

wpt-commits: 086bc41857e0c2b0644b6ac2f8aa31f432743118
wpt-pr: 19109
2019-09-26 20:26:02 +00:00
Daniel Vogelheim f5e8dfeace Bug 1581869 [wpt PR 19121] - [Trusted Types] De-flake trusted-types-eval-reporting test., a=testonly
Automatic update from web-platform-tests
[Trusted Types] De-flake trusted-types-eval-reporting test.

The WPT test trusted-types-eval-reporting was flaky, usually failing on the
first run, but succeeding on the second. This was a real (and potentially
serious) bug, where the CSP logic would rely on the V8 eval callback being
called, but other parts would blanket-allow eval (and hence suppress the
callback) because they didn't check for 'trusted types' condition.

Also, minor cleanups for the test.

Bug: 739170
Change-Id: I00699b115f0be474c2b6d231dcc8b884868248b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1807218
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#698883}

--

wpt-commits: 034c163b81d6ae572869a98a80bed5bc8c52336d
wpt-pr: 19121
2019-09-26 20:26:01 +00:00
jgraham ad80d32beb Bug 1583156 [wpt PR 19218] - Allow the Ahem stylesheet to be loaded from support/ahem.css, a=testonly
Automatic update from web-platform-tests
Allow the Ahem stylesheet to be loaded from support/ahem.css (#19218)

This means that the use of Ahem in the CSS vendor-imports/mozilla
directory can be linted, which prevents those tests accidentially
including Ahem without the import. It also provides the theoretical
ability for other directories to override the Ahem stylesheet without
removing all linting, which may be useful.
--

wpt-commits: 44002ecbc8839887a462d5844cde97a156cf02a0
wpt-pr: 19218
2019-09-26 20:26:01 +00:00
David Major d8bdeae177 Bug 1584217 - Increase the timeout for the clang-aarch64 toolchain r=nalexander
With clang-8 sources, this task was already pretty close to the limit with typical times of 54-58 minutes.

In clang-9, enough new code was added that we're seeing frequent intermittent timeouts. Even the few successful builds come in just under the wire at 60 minutes.

Note for sheriffs, if the clang-9 update gets backed out, this patch can stay, we'll need it anyway.

Differential Revision: https://phabricator.services.mozilla.com/D47288

--HG--
extra : moz-landing-system : lando
2019-09-26 16:00:44 +00:00
Bogdan Tara 3d6971412d Backed out changeset f2530502f6c4 (bug 1266808) for test_imagebitmap_close.html&/test_imagebitmap_cropping.html failures 2019-09-27 12:14:29 +03:00
Jan de Mooij 7d96923774 Bug 1583176 - Stop saving frame pointer for Baseline VM calls. r=tcampbell
The frame pointer register is non-volatile on all of our platforms.

Also note that we never saved the frame pointer for tail calls and this has
never been an issue.

Differential Revision: https://phabricator.services.mozilla.com/D46789

--HG--
extra : moz-landing-system : lando
2019-09-27 00:21:22 +00:00
aardgoose 9d3085776e Bug 1266808 - throw exception when canvas.drawImage passed closed ImageBitmap r=baku
Differential Revision: https://phabricator.services.mozilla.com/D31048

--HG--
extra : moz-landing-system : lando
2019-09-26 21:54:06 +00:00
Coroiu Cristina c094fff9aa Backed out changeset ea2c69779571 (bug 1577381) for a11y failures at accessible/tests/mochitest/attributes/test_obj_group.xul on a CLOSED TREE 2019-09-27 08:00:39 +03:00
Brindusan Cristian 1a6d122f44 Bug 1579285 - Fix prettier Eslint. r=me CLOSED TREE 2019-09-27 07:30:19 +03:00
Jan Varga 6a67dcfb67 Bug 1583019 - Cleanup PreparedDatastore only if it was added to gPreparedDatastores; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D46727

--HG--
extra : moz-landing-system : lando
2019-09-27 04:18:23 +00:00
Martin Thomson 336d7bb418 Bug 1579285 - Offer to enable TLS 1.0 on neterror page r=johannh
As we roll out the TLS 1.0 and 1.1 deprecation, sites that don't support TLS 1.2
will show the neterror page.  This adds a box to that page that shows in this
specific case.  That box explains what is going on and gives an option to
re-enable TLS 1.0.

As mentioned, this will show alongside an option to reset TLS-related
preferences if any overrides are active.

Hitting the button will set the new pref to 'true' and reload the page.

Once the override is engaged, the option won't show, but that option to reset
preferences will show (as this is a TLS-related preference).

The intent is to remove this affordance in March 2020 as we formally move to
having TLS 1.2 the minimum version.  All going to plan, this will only affect
prerelease channels, though anyone who has tweaked security.tls.version.* could
also see this.

Differential Revision: https://phabricator.services.mozilla.com/D45799

--HG--
extra : moz-landing-system : lando
2019-09-27 01:26:06 +00:00
Martin Thomson a7ed72cb2e Bug 1579285 - Add pref to override minimum TLS version r=keeler
The intent of adding this pref is to allow us to change defaults for
security.tls.version.min for a progressive rollout of a TLS 1.0 and 1.1
deprecation.  During that process, we'd like to offer the option to enable these
old TLS versions, without adding a pref override that would cause those versions
to remain enabled once we finish the rollout.

Those people who have triggered the override will be able to access TLS 1.0 and
1.1 sites until we eventually remove the code that respects this pref.  What is
likely to happen is that this pref will remain in code past the end of our
rollout for part of a release cycle, plus maybe the next cycle depending on
how timing works out.

This pref is a simple boolean that we'll remove in March 2020.

Differential Revision: https://phabricator.services.mozilla.com/D45798

--HG--
extra : moz-landing-system : lando
2019-09-27 01:26:08 +00:00
Martin Thomson 506fbc6493 Bug 1579270 - Disable TLS 1.0 and TLS 1.1 in Nightly, r=jcj
This flips the default for security.tls.version.min to 3 (TLS 1.2) for the
Nightly channel.

Having had this pref at this level for the last year, I can confirm that this
does break the occasional site, but it is quite rare.  The intent of this change
is to start making it more obvious when sites don't support TLS 1.2.

I'm asking for wider review because this is a disruptive change.

Differential Revision: https://phabricator.services.mozilla.com/D45627

--HG--
extra : moz-landing-system : lando
2019-09-27 04:01:17 +00:00
Jeff Muizelaar bdcf335677 Bug 1582645. Only set mLastVisibleRect after we've sent it to WebRender. r=nical
This avoids us setting when we don't send it. e.g. When it's empty.

Differential Revision: https://phabricator.services.mozilla.com/D47028

--HG--
extra : moz-landing-system : lando
2019-09-26 21:08:29 +00:00
thomasmo 5bc5a92887 Bug 1570130 - Add Search to FxR Url Bar r=Gijs
This change updates the URL bar in Firefox Reality for Desktop to support
searching with the default provider when a not-well-formed URL is input by the
user.

Differential Revision: https://phabricator.services.mozilla.com/D47292

--HG--
extra : moz-landing-system : lando
2019-09-26 21:16:53 +00:00
James Teh 1adf6ac726 Bug 1577381: Correct accessibility exposure for optgroups in content select dropdowns. r=eeejay,NeilDeakin
For remote content documents, select dropdowns (for <select size="1">) are rendered in the parent process using a XUL menupopup.
This means that the accessibility code for HTML selects doesn't apply.

In the menupopup, the optgroup is a sibling of its contained options.
For accessibility, we want to preserve the hierarchy such that the options are inside the optgroup.
We do this using aria-owns on the optgroup item.

This required some tweaks to XULMenuitemAccessible, as it couldn't previously handle grouping Accessibles between the menupopup and its items.

Differential Revision: https://phabricator.services.mozilla.com/D43901

--HG--
extra : moz-landing-system : lando
2019-09-27 02:50:59 +00:00
Noemi Erli 68edbc8842 Backed out changeset c3579f540cd7 (bug 1583932) for causing xpcshell failures in test_csp_reports.js CLOSED TREE
--HG--
extra : rebase_source : 5c71e17d6c48d398a11aa919208963aa47209064
extra : amend_source : 8802cdb433e0f770c0648a91bb876dae7dd51100
2019-09-26 17:00:16 +03:00
Marco Bonardo 7d77f1ccc3 Bug 1579002 - Retained results: megabar should shown again pending search results on refocus. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D46606

--HG--
extra : moz-landing-system : lando
2019-09-26 13:31:15 +00:00
Rob Wu 43a807dc30 Bug 1474041 - Wait for browser.windows.create instead of onCreated r=rpl
The browser.windows.onCreated event is triggered before
browser.windows.create returns. Waiting until browser.windows.create has
resolved may resolve the memory leak from bug 1474041.

Differential Revision: https://phabricator.services.mozilla.com/D47106

--HG--
extra : moz-landing-system : lando
2019-09-26 11:54:07 +00:00
Olli Pettay 322a0d1fa7 Bug 1579591, clear pending timeouts in BrowserUsageTelemetry.jsm to avoid leaks during testing, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D47250

--HG--
extra : moz-landing-system : lando
2019-09-26 13:37:15 +00:00
Drew Willcoxon e505b9b12c Bug 1578584 - Quantumbar WebExt API: Add onResultPicked event. r=harry,mixedpuppy
Adds a new event listener to `browser.urlbar` called `onResultPicked`. This event is fired for tip results when they don't specify a URL. Hypothetically it could be fired for any type of result that didn't specify a URL, but that's only tips for now.

The listener is passed two arguments: the payload of the result that was picked, and a "details" object whose properties depend on the type of result. For tips, details is `{ helpPicked }`, where `helpPicked` is true if the help button was picked and false if the main button was picked.

Differential Revision: https://phabricator.services.mozilla.com/D46254

--HG--
extra : moz-landing-system : lando
2019-09-26 13:53:14 +00:00
Dorel Luca f1e99da78f Backed out changeset c2c9dbf826fe (bug 1581757) by dev's request 2019-09-26 12:37:59 +03:00
alwu 8d8222b8a9 Bug 1578615 - part11 : remove usages of 'AudibleState::eMaybeAudible' in media element. r=chunmin
In bug1583978, we are going to remove `AudibleState::eMaybeAudible`. But before that, as `AudibleState::eMaybeAudible` is only used for delaying media playback, so we can remove its usage from media element and move it to the dedicated class to reduce confusion about how and when we should use `AudibleState::eMaybeAudible` or `AudibleState::eNotAudible`.

Differential Revision: https://phabricator.services.mozilla.com/D47153

--HG--
extra : moz-landing-system : lando
2019-09-25 23:55:42 +00:00
alwu 4f6d0ab620 Bug 1578615 - part10 : do not enable delaying autoplay during test by default. r=chunmin
Tests which use this feature on testing should enable the pref explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D45756

--HG--
extra : moz-landing-system : lando
2019-09-25 21:43:38 +00:00
alwu 775a71fa2d Bug 1578615 - part9 : refactor browser_delay_autoplay_media.js r=chunmin
Modify test and some description naming from "block autoplay" to "delay autoplay" and split the blocking autoplay test to new independent task.

Differential Revision: https://phabricator.services.mozilla.com/D45106

--HG--
extra : moz-landing-system : lando
2019-09-25 02:12:15 +00:00
alwu 277e7b4e5c Bug 1578615 - part8 : add test case for delaying media with autoplay keyword. r=chunmin
Current test cases are all about calling `video.play()`, we don't have test case for media with autoplay keyword.

Differential Revision: https://phabricator.services.mozilla.com/D44922

--HG--
extra : moz-landing-system : lando
2019-09-25 20:02:18 +00:00
alwu 8d0e5dc6b1 Bug 1578615 - part7 : rename tests 'browser_block_*' to 'browser_delay_autoplay_*'. r=chunmin
As the things we do in those tests are not really "block" autoplay, which is not to allow autoplay starts, what we do is actually delaying them until tab goes to foreground or user clicking `play tab` icon on the tab.

In order to distinguish them from the real blocking-autoplay, and reflect what we really do in those tests, rename all of them with prefix "browser_delay_autoplay_*".

Differential Revision: https://phabricator.services.mozilla.com/D44921

--HG--
rename : toolkit/content/tests/browser/browser_block_autoplay_media.js => toolkit/content/tests/browser/browser_delay_autoplay_media.js
rename : toolkit/content/tests/browser/browser_block_autoplay_media_pausedAfterPlay.js => toolkit/content/tests/browser/browser_delay_autoplay_media_pausedAfterPlay.js
rename : toolkit/content/tests/browser/browser_block_multipleMedia.js => toolkit/content/tests/browser/browser_delay_autoplay_multipleMedia.js
rename : toolkit/content/tests/browser/browser_block_notInTreeAudio.js => toolkit/content/tests/browser/browser_delay_autoplay_notInTreeAudio.js
rename : toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js => toolkit/content/tests/browser/browser_delay_autoplay_playAfterTabVisible.js
rename : toolkit/content/tests/browser/browser_block_playMediaInMuteTab.js => toolkit/content/tests/browser/browser_delay_autoplay_playMediaInMuteTab.js
rename : toolkit/content/tests/browser/browser_block_plugIn.js => toolkit/content/tests/browser/browser_delay_autoplay_plugIn.js
rename : toolkit/content/tests/browser/browser_block_silentAudioTrack_media.js => toolkit/content/tests/browser/browser_delay_autoplay_silentAudioTrack_media.js
rename : toolkit/content/tests/browser/browser_block_webAudio.js => toolkit/content/tests/browser/browser_delay_autoplay_webAudio.js
extra : moz-landing-system : lando
2019-09-25 18:14:42 +00:00
alwu 9668f169c4 Bug 1578615 - part6 : modify tests. r=chunmin
We could simply check `TabBlockEvent` to know whether we starts delaying media playback or not. We don't need to check media element's `computedSuspended`. Because `computedSuspended` is something, which was designed to get the internal suspended state of `AudioChannelWrapper`, in our case, as the delaying autoplay is not related to `AudioChannelWrapper` anymore, so the state we got actually couldn't reflect anything.

Differential Revision: https://phabricator.services.mozilla.com/D44920

--HG--
extra : moz-landing-system : lando
2019-09-26 02:53:52 +00:00
alwu 6a96b6d384 Bug 1578615 - part5 : notify media block when we append agent. r=chunmin
As we would show delay media playback icon for `eNotAudible` and `eMaybeAudible`, we should call `AudioChannelWindow::AudioAudibleChanged()` when we register the agent in order to notify a delaying start.

In the past, as we use `AudioChannelWrapper` to handle delaying, which would call `HTMLMediaElement::AudioChannelWrapper::WindowSuspendChanged()` immediately when we delay autoplay, and finally triggers `AudioChannelWindow::AudioAudibleChanged()` to notify sending block-start event. It's very unclear, so we should set it in the beginning if we have already know the audible state of delayed media.

Differential Revision: https://phabricator.services.mozilla.com/D44748

--HG--
extra : moz-landing-system : lando
2019-09-25 18:12:33 +00:00
alwu 991ba4c203 Bug 1578615 - part4 : remove SUSPENDED_BLOCK related logic in AudioChannelWrapper. r=chunmin
Now `AudioChannelWrapper` would only start `AudioChannelAgent` when media starts and stop the agent when media stops. It won't handle any case with `SUSPENDED_BLOCK`.

It's clearer to know when we would start or stop the agent in AudioChannelWrapper.

In addition, in bug1577890, we will remove more unnecessary logic which is used for Fennec only in order to make `AudioChannelWrapper` cleaner.

Differential Revision: https://phabricator.services.mozilla.com/D44747

--HG--
extra : moz-landing-system : lando
2019-09-25 02:08:39 +00:00
alwu 93ee16c385 Bug 1578615 - part3 : implement delay media playback policy. r=chunmin
Separate the logic of delaying media playback from `HTMLMediaElement`'s `mAudioChannelWrapper` to a new class, because delaying media playback is a special usage of using `AudioChannelAgent`.

It would make the code cleaner and separate the normal usage and the special usage, to reduce confusion.

We usually start `AudioChannelAgent` when media playback starts and stop it when media playback stops, however, in this case, we would start the agent even if media hasn't be started yet, because we would like to use the agent as a connection with `AudioChannelService` in order to receive the resume command when we're able to play delayed playback.

Differential Revision: https://phabricator.services.mozilla.com/D44746

--HG--
extra : moz-landing-system : lando
2019-09-25 23:41:23 +00:00
alwu 6fd6ac32c9 Bug 1578615 - part2 : make the pref 'media.block-autoplay-until-in-foreground' to a static pref. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D44745

--HG--
extra : moz-landing-system : lando
2019-09-25 02:06:57 +00:00
alwu 549eca85d5 Bug 1578615 - part1 : provide function GetAudibleState() on media element. r=chunmin
As we have another usage to know whether media is audible or not, we remove this function from AudioChannelWrapper and make it as media element's function.

In addition, it also makes sense to have this function for media element, because the result is decided by media element's own attributes.

Differential Revision: https://phabricator.services.mozilla.com/D44744

--HG--
extra : moz-landing-system : lando
2019-09-25 20:07:06 +00:00
alwu 1cd30cecd2 Bug 1578615 - part0.5 : simply the logic of "IsOwnerAudible()". r=chunmin
There are some checking conditions can be reordered or simplified in order to remove some unnecessary check.

Differential Revision: https://phabricator.services.mozilla.com/D47027

--HG--
extra : moz-landing-system : lando
2019-09-25 20:32:46 +00:00
Glenn Watson 2637b20d2f Bug 1581757 - Support slicing the scene into an arbitrary number of picture cache slices r=nical,kvark
Previously, the setup_picture_caching function was hard coded
to support only a very specific shape of display list. With this
change, flags are added to PrimitiveCluster that can specify
if a picture cache slice should be created before / after this
cluster when picture caching is set up.

The usage of these flags in this patch matches the old behaviour,
so should not have any functional effect.

However, in future we will make use of this functionality to
create picture slices for a number of different use cases, such as:

 * Creating cache tiles for the UI.
 * Slicing the scene where there are video elements, in order to
   allow these to be composited directly by the OS. This may also
   apply to WebGL and/or canvas elements.
 * Slicing the scene when there is a very large fixed position
   background image or other element, to avoid invalidating the
   entire tile cache each frame.

Differential Revision: https://phabricator.services.mozilla.com/D46125

--HG--
extra : moz-landing-system : lando
2019-09-25 20:38:42 +00:00
Andreea Pavel 51cabe74d0 Bug 1582775 - disabled browser_deck_has_out_of_process_iframe.js on win qr r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D47188

--HG--
extra : moz-landing-system : lando
2019-09-26 03:47:47 +00:00
Ciure Andrei 234fc94cb3 Backed out 2 changesets (bug 1578584) for browser_ext_urlbar.js failures CLOSED TREE
Backed out changeset 4730635520c6 (bug 1578584)
Backed out changeset f0e4e5312bf5 (bug 1578584)
2019-09-26 06:44:18 +03:00
Ciure Andrei f4b3bef121 Backed out changeset 70f93c9956fc (bug 1581855) for Windows MinGW build bustages CLOSED TREE 2019-09-26 06:42:46 +03:00
Tim Nguyen 2a5148d030 Bug 1567785 - Convert XUL textbox to HTML input in toolkit/components/prompts/content/. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D38823

--HG--
extra : moz-landing-system : lando
2019-09-26 03:19:36 +00:00
thomasmo f054c8db61 Bug 1581855:Part 2 - Present VR output to VR Host r=kip,jrmuizel,sotaro,bryce
This change is a continuation of Part 1 (Bug 1570128), where the 2D content rendered by Firefox for Firefox Reality on Desktop is marshalled through VRHost so that it can be presented in a VR environment.
A new class, FxrOutputHandler, is created to manage creating a sharable texture, sharing it through VRShMem, and updating it when content updates. This class updates content with both WebRender and conventional rendering output.
This initial iteration of FxrOutputHandler does not have synchronization between reading and writing this shared texture across processes. A subsequent fix (Bug 1581881) is pending, which will reuse WebVR code to manage writing to and reading from a pool of textures.
This also presents issues with rendering protected media, so an additional class, FxrWindowManager, is created to manage all windows created for Firefox Reality on Desktop so that it can inform whether or not protected media can be presented.
The automated manual tests in vrhosttest.cpp now show the real shared texture handle rather than a fake value, which shows that marshaling succeeded.

Differential Revision: https://phabricator.services.mozilla.com/D46179

--HG--
extra : moz-landing-system : lando
2019-09-26 01:18:58 +00:00
Oana Pop Rus 02dad81d8b Backed out changeset 5d590009ce57 (bug 1567785) for mochitest failures in test_bug619644.html on a CLOSED TREE 2019-09-26 05:58:57 +03:00
Drew Willcoxon ec9c941983 Bug 1578584 - Follow-up test fix: Quantumbar WebExt API: Add onResultPicked event.
Increase the extension notification timeout to prevent intermittent test failures. Like this existing test does: https://searchfox.org/mozilla-central/rev/f43ae7e1c43a4a940b658381157a6ea6c5a185c1/browser/components/extensions/test/xpcshell/test_ext_urlbar.js#43

Differential Revision: https://phabricator.services.mozilla.com/D47199

--HG--
extra : moz-landing-system : lando
2019-09-26 02:47:29 +00:00
Lee Salzman 35231e20c2 Bug 1581334 - adjust fuzz for 456219-1ab.html. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D47033

--HG--
extra : moz-landing-system : lando
2019-09-26 02:33:07 +00:00
Lee Salzman d035c3d0c0 Bug 1578075 - Increase stack size of paint threads on macOS Catalina to 2MB. r=jrmuizel
Still getting some crash reports on nightly with a 1MB stack. Let's try one more time
with 2MB just to see if we can eliminate those. If this fails, then we may need to consider
more drastic approaches like disabling OMTP in this case.

Differential Revision: https://phabricator.services.mozilla.com/D47080

--HG--
extra : moz-landing-system : lando
2019-09-26 02:31:15 +00:00
Ting-Yu Lin 626ea340bc Bug 1583639 Part 4 - Stop creating more columns in column-fill:auto mode if there's still block-size left in multicol container. r=dbaron
This patch makes fragmentation in "column-fill:auto" mode possible.

Note that we only bail out of creating more column contents when
"column-fill:auto" mode is set from the styles, i.e. when mForceAuto is
false. That is because when mForceAuto is true, we usually in the case
where we have gave up balancing, and we really want to create overflow
columns.

Note: without `!aConfig.mForceAuto` check, 673770.html can generated
assertions, and the frame tree contains dangling Overflow-lines and
ExcessOverflowContainersList.

Differential Revision: https://phabricator.services.mozilla.com/D47005

--HG--
extra : moz-landing-system : lando
2019-09-25 23:36:41 +00:00
Ting-Yu Lin 771bb28447 Bug 1583639 Part 3 - Keep the optimal used numColumns in column-fill:auto mode without resetting it to INT32_MAX. r=dbaron
mUsedColCount is used in balancing mode to check whether we have created
the maximum number of columns when the content cannot fit. Similarly,
mUsedColCount can also be useful in "column-fill:auto" mode to improve
the fragmentation story in the next patch.

This patch doesn't change the behavior (yet).

Differential Revision: https://phabricator.services.mozilla.com/D47004

--HG--
extra : moz-landing-system : lando
2019-09-25 06:41:10 +00:00
Ting-Yu Lin fd1d19e6aa Bug 1583639 Part 2 - Rename mBalanceColCount to mUsedColCount in nsColumnSetFrame::ReflowConfig. r=dbaron
In next patch, this variable won't be set to INT32_MAX in
"column-fill:auto" mode, and it will be used in Part 4. Hence the
rename.

Differential Revision: https://phabricator.services.mozilla.com/D47003

--HG--
extra : moz-landing-system : lando
2019-09-25 06:43:19 +00:00
Ting-Yu Lin eded32bd45 Bug 1583639 Part 1 - De-indent an else-block inside the while-loop in nsColumnSetFrame::ReflowChild. r=dbaron
The associated if-block has a "break" statement at the end of the scope
to break the while-loop, making the else-block redundant.

Differential Revision: https://phabricator.services.mozilla.com/D47002

--HG--
extra : moz-landing-system : lando
2019-09-24 21:09:20 +00:00
Lee Salzman 3802e22be1 Bug 1582758 - adjust fuzz for svg-as-border-image-4b.html. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D47029

--HG--
extra : moz-landing-system : lando
2019-09-26 02:30:53 +00:00
Drew Willcoxon 35081f529d Bug 1578584 - Quantumbar WebExt API: Add onResultPicked event. r=harry,mixedpuppy
Adds a new event listener to `browser.urlbar` called `onResultPicked`. This event is fired for tip results when they don't specify a URL. Hypothetically it could be fired for any type of result that didn't specify a URL, but that's only tips for now.

The listener is passed two arguments: the payload of the result that was picked, and a "details" object whose properties depend on the type of result. For tips, details is `{ helpPicked }`, where `helpPicked` is true if the help button was picked and false if the main button was picked.

Differential Revision: https://phabricator.services.mozilla.com/D46254

--HG--
extra : source : febf4480bc0bce19a0c8883e0c9296c40013e01e
2019-09-26 01:20:07 +00:00