Commit Graph

588318 Commits

Author SHA1 Message Date
Brad Werth
0710642fbb Bug 1298008 Part 4: Add a web-platform test of getBoxQuads on block and flex boxes with auto margins. r=dholbert
MozReview-Commit-ID: Hrw3rt1Lohq

--HG--
extra : rebase_source : a8cde13adad6bfcbc3d605024c08df9fbdfb723a
2018-03-28 14:46:11 -07:00
Brad Werth
6910a2c333 Bug 1298008 Part 3: Update ReflowInput::CalculateBlockSideMargins to store computed values in the UsedMargin property. r=dholbert
MozReview-Commit-ID: 74u7rFkiVln

--HG--
extra : rebase_source : 896f1ee98c78d94ea47c4a11ba87d4f516d0319e
2018-03-23 12:09:48 -07:00
Brad Werth
0c04a5bbab Bug 1298008 Part 2: Make nsFlexContainer update UsedMargin property after final reflow. r=dholbert
MozReview-Commit-ID: HV4uhJqWjfj

--HG--
extra : rebase_source : 61861ec388f184bb715de5bbe2c2d39a4cef9c36
2018-03-08 17:35:47 -08:00
Brad Werth
512a439d30 Bug 1298008 Part 1: Update GeometryUtils::GetBoxRectForFrame to use GetMarginRectRelativeToSelf for margin boxes. r=dholbert
MozReview-Commit-ID: HpOi0TnqEgw

--HG--
extra : rebase_source : a9bc4d4ab09961b0babdf862311a1d504d40bfc6
2018-01-22 15:12:37 -08:00
Brad Werth
19d279bd7d Bug 1450208: Change nsRange::ExtractRectFromOffset to use simpler, hopefully safer logic to determine whether text is vertical. r=bz
Instead of checking nsIFrame::IsTextFrame() and then casting to nsTextFrame,
the new code just checks the writing mode of the frame. Less casts; less
chance of pointer errors.

MozReview-Commit-ID: LrtthZjwYq6

--HG--
extra : rebase_source : 487ed4de272f514fe1f495ed1c2ddb9c8574d0a2
2018-03-30 08:52:53 -07:00
Mike Shal
3a0c426d41 Bug 1319230 - Add a Taskcluster job to build with the tup backend; r=nalexander
MozReview-Commit-ID: H3ZmKxXk2NP

--HG--
extra : rebase_source : 33924dff24ff5f38832c2e600a85a8b0a9a23bf6
2018-02-22 13:31:10 -05:00
Michael Kaply
db4e935aae Bug 1449630 - Move promise init before policy to fix intermittent. r=Felipe
MozReview-Commit-ID: 7GDUzGfb7DS

--HG--
extra : rebase_source : 5b4cb764be0835bc3ed4fc339525280b8d75a57f
2018-03-30 12:10:19 -05:00
Justin Wood
4540d3a335 Bug 1441359 - Make langpack version include buildid. r=mshal
For Automated submission to AMO we need unique language pack versions for every submitted build.

This will produce versions that are not valid for AMO on nightly (61.0a1buildid2018...) but that's ok, we're not ready to
submit these automatically on the nightly channel yet, they do still install fine into Firefox manually.

On beta/release/esr the version will however be ok for AMO "60.0buildid2018..." and will be reasonably unique per push.

This patch has the intent that, outside of automation, users who don't set a buildid get a langpack version without that
specified (rather than a buildid being automatically generated for them).

The releng scriptworker (addonscript) that will do the publishing to AMO will additionally sanity check that the string
'buildid' is present in the version part, so we don't accidentally break this functionality in production.

This patch is also intended to be uplifted to Gecko 60 to support ESR60 needs.

MozReview-Commit-ID: KuvwMyD6bwd

--HG--
extra : rebase_source : 04ecd87a15d5640f510b1f6123ba9467ccc4592a
2018-03-29 14:10:47 -04:00
Daniel Holbert
d4a3a0cb26 Bug 1449838 part 2: Morph 'usingFlexBasisForISize' variable in nsFrame::ComputeSize* methods, to better reflect reality. r=mats
This patch doesn't affect behavior; it just adjusts a variable for clarity.

Really, this variable tracks which axis (inline vs. block) is the main axis (if
we're a flex item). So, this patch morphs the variable to more directly track
that.

The variable's old name 'usingFlexBasisForISize' was confusing, because even
when it was set to 'true', we might not *really* be using the flex-basis in
place of the ISize property. In particular: when we have 'flex-basis:auto', we
don't use 'flex-basis' in place of the ISize/BSize property -- rather, that
indicates that 'flex-basis' is *deferring* to the main-axis size property.

Hopefully the new name/type makes it clearer what we're actually tracking.

MozReview-Commit-ID: ITkb4zuEwgQ

--HG--
extra : rebase_source : 99ebae4e7f6bb87c8001ca589db5e4f375344da3
2018-03-29 14:49:40 -07:00
Daniel Holbert
99b46a1c49 Bug 1449838 part 1: Add utility function nsFlexContainerFrame::IsItemInlineAxisMainAxis(). r=mats
This patch doesn't affect behavior - it's just refactoring / de-duplicating.

(The refactored function does include some new "legacy box" code, just for
completeness & to ensure that the included assertion passes.  But beyond the
assertion, that new code isn't exercised right now -- this function's only
callsites are skipped if the NS_STATE_FLEX_IS_EMULATING_LEGACY_BOX state-bit is
set on the container. Hence, this patch still doesn't affect behavior, even
though it's adding some new logic in the refactored-out function.)

MozReview-Commit-ID: G5aCzwTwkTa

--HG--
extra : rebase_source : 695a2341074b1c344a1c5831989b95a693e16970
2018-03-29 14:49:28 -07:00
Drew Willcoxon
2ee5fb33af Bug 1449947 - The "Add Search Engine" page action button doesn't respond to clicks when it's in the urlbar. r=Gijs
MozReview-Commit-ID: 5H9XfRXq8eO

--HG--
extra : rebase_source : 8d89c4605161792330e0b50d8dabe5378506a427
2018-03-30 09:34:47 -07:00
Nicolas Chevobbe
11860028e9 Bug 1450193 - Remove old-event-emitter usage from devtools/shared/client; r=jryans.
MozReview-Commit-ID: 42hBgG1IU2B

--HG--
extra : rebase_source : 809665d1f829e81d0e666b96f67aaac0ef720fdd
2018-03-30 08:49:22 +02:00
Botond Ballo
257491c121 Bug 1449746 - Make helper_hittest_backface_hidden.html more robust. r=kats
MozReview-Commit-ID: J0GH58j3X6U

--HG--
extra : rebase_source : f1764396de82d583a087fe6cd27a5c11944d5121
2018-03-29 23:16:31 -04:00
Michael Kaply
defa726925 Bug 1445660 - Add policy for enabling the search bar. r=Felipe
MozReview-Commit-ID: 8rYmgL4ZZMp

--HG--
extra : rebase_source : 2dc0904d4fff551347b7ac815f58b1fffc89f18b
2018-03-29 15:20:36 -05:00
Matt Howell
2a034bc30a Bug 986081 - Allow backing out of closing the stub installer. r=agashlin
Currently, clicking the close button or otherwise trying to exit the Windows
stub installer always ends up canceling the installation. This patch prompts
the user to either continue or cancel the installation.

MozReview-Commit-ID: 4KMgCcyjTnv

--HG--
extra : rebase_source : 0c0636c9c02fabd32df37471033d8e847caea5d3
2018-03-21 10:39:38 -07:00
Matt Howell
a6e30881e3 Bug 986081 Part 0 - Fix a hang when canceling an InetBgDl request. r=agashlin
This fixes a bug which the main bug 986081 patch exposes because it tries to
cancel a download in InetBgDl and then show a dialog box immediately afterward.
Without this patch, doing that very early on in the request (meaning before any
redirect is fully handled) would result in a 10 second UI hang.

MozReview-Commit-ID: 1zBxZrllFC

--HG--
extra : rebase_source : 523b2b37035a7fc6f435acd1f7437fbbbcf2adc6
2018-03-20 15:32:43 -07:00
Michael Kaply
06035d669e Bug 1450097 - Don't allow legacy add-ons to be installed via policy. r=Felipe
MozReview-Commit-ID: LwR3PXY3RuX

--HG--
extra : rebase_source : 0bfad8f5c6c10f8f455a2111f88a2ac022ad9ae7
2018-03-29 18:05:26 -05:00
Mike Conley
fc0c43807a Bug 1450170 - Add Nightly-only observer notification that fires anytime a tab switch spinner is displayed. r=dthayer
MozReview-Commit-ID: 3S34IVb9BEf

--HG--
extra : rebase_source : 084a98ece1ffa0d32109811d700f80e3e2b1eaf0
2018-03-29 22:37:07 -04:00
Jeff Muizelaar
7bd5060424 Bug 1450134. Replace ToRelativeLayoutRect() with ToRoundedLayoutRect(). r=kats
This function doesn't use any StackingContextHelper state anymore.
We should make what it does clearer and move it to a better place.

--HG--
extra : rebase_source : 1727be9657169547d842ec9b6887837abedbefdf
2018-03-29 17:57:43 -04:00
Jeff Muizelaar
04e6e86d0f Bug 1450134. Remove ToRelativeLayoutPoint(). r=kats
It's completely unused.

--HG--
extra : rebase_source : 235f41e637502a7d44292faea4b003e60c460dcb
2018-03-29 17:57:00 -04:00
Masayuki Nakano
5b5492e588 Bug 1435123 - HTMLEditor::GetBlock() has to specify given ancestor limit node to HTMLEditor::GetBlockNodeParent() r=m_kato
This is a simple bug of internal API of HTMLEditor.  HTMLEditor::GetBlock()
tries to retrieve nearest ancestor block node (including itself) of a node.
HTMLEditor::GetBlock() may have ancestor limiter typically it's active
editing host to prevent to modify editing host or its ancestor accidentally.

However, it forgets to call HTMLEditor::GetBlockNodeParent() with the given
ancestor limit node.  Therefore, if editing host is an inline element and
its parent is a block element, the editing host is split accidentally.

MozReview-Commit-ID: Ermmxdnk4KB

--HG--
extra : rebase_source : c9b57c5bb28cd63b6f16702317f7ddb7fb5a26f6
2018-03-29 18:57:57 +09:00
Ionut Goldan
3c0c5251d7 Bug 1446215 - Increase threshold to 0.25 seconds r=jmaher
MozReview-Commit-ID: IBa35bCCKv8

--HG--
extra : rebase_source : d503a7aca70ce4b70979b97560d49fc9f0939c9c
2018-03-30 13:45:32 +03:00
Ionut Goldan
e6c418cc18 Bug 1446215 - Add 100ms delay between Talos cycles r=jmaher
MozReview-Commit-ID: 4XxZJ4XqDQY

--HG--
extra : rebase_source : 5d677432016c834946d128746d42a2b4053ae42d
2018-03-30 10:54:27 +03:00
Marco Bonardo
d666e0fda1 Bug 1421664 - 3 - Fix the UI and tests. r=standard8
test_419731.js can be removed since it is already covered by browser_bookmarkProperties_editTagContainer.js

MozReview-Commit-ID: K0LFuTptWyW

--HG--
extra : rebase_source : 10066aa0bdb6a598fc6af638fed455d58422b7fb
2018-03-22 14:13:07 +01:00
milindl
66117a6abe Bug 1421664 - 2 - Change SelectAsTag to use place: tag queries. r=mak
MozReview-Commit-ID: JauduB7A5TZ

--HG--
extra : rebase_source : e943690591ad87b256323bfe1b40f7bfca6c6beb
2018-03-20 17:27:44 +01:00
milindl
38c26245f5 Bug 1421664 - 1 - Force any tag queries to have query result type bookmarks. r=mak
MozReview-Commit-ID: KG1mGZD5PNy

--HG--
extra : rebase_source : c8e1174f77e5b4c15b09eacecae06a54b7fb5f4e
2018-03-20 16:42:04 +01:00
shindli
8cbba26d75 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-30 13:00:23 +03:00
shindli
3bfd0c07fd Merge inbound to mozilla-central. a=merge 2018-03-30 12:56:21 +03:00
sotaro
cb19fd85f8 Bug 1449934 - Remove unnecessary assert in WinCompositorWidget::UpdateCompositorWndSizeIfNecessary() r=jrmuizel 2018-03-29 18:42:09 -07:00
Jeff Gilbert
2cfd3869cf Bug 1446412 - Forbid implicit construction of WebGLFBAttachPoint. - r=kvark
MozReview-Commit-ID: AM7xfXwJxkV
2018-03-29 18:11:08 -07:00
Jeff Gilbert
b21ff75bef Bug 1446412 - Don't query GL for RED_BITS and friends queries. - r=kvark
There's no reason to ask GL since we should know the answers.
Also GL is tricky on how it handles these semi-deprecated queries.
Official GL stance is "don't ask questions you know the answer to".

MozReview-Commit-ID: F7p73eSTrYw
2018-03-29 18:11:05 -07:00
Patrick Brosset
1439d8acd8 Bug 1447736 - Refresh rule/computed-view even when parents and siblings change; r=jdescottes
MozReview-Commit-ID: 9RZyWwnpgUj

--HG--
extra : rebase_source : 9477160337327fa4059ea88871fc76519379c803
2018-03-28 17:20:22 +02:00
Tim Nguyen
441318a537 Bug 1450101 - Fix Android intermittent on XUL twisty test. r=dholbert
MozReview-Commit-ID: BoqkDueTPHH

--HG--
extra : rebase_source : cf25215acdfc8d8b80ace19a0fdb5269dea0e0ba
2018-03-29 22:29:47 +00:00
Nicolas Chevobbe
41edb0dc48 Bug 1449931 - Remove old-event-emitter usage from devtools/shared/webconsole; r=bgrins.
MozReview-Commit-ID: HkbUm0XkeJs

--HG--
extra : rebase_source : 6b75408de3370cc2f0047996532dceaab4403a34
2018-03-29 16:06:24 +02:00
Jeff Walden
ca78e29895 Bug 1449051 - Move JS::Value::layout's members into JS::Value, make JS::Value a union, and apply correct code style to the union fields. r=sfink
--HG--
extra : rebase_source : 6a13e636b90c06419b89942b2848be92b21c4020
2018-03-27 20:20:43 -07:00
Jeff Walden
e5512cfdf4 Bug 1449051 - Further minifications to JS::Value's internal structure. r=jandem
--HG--
extra : rebase_source : c6bdffdf5ac4dabd19d44092fdc40887495aa0ba
2018-03-27 17:13:08 -07:00
Nicolas Chevobbe
ffe252e467 Bug 1449170 - Remove old-event-emitter usage from responsive.html; r=jryans.
MozReview-Commit-ID: KREEQYpIVh6

--HG--
extra : rebase_source : 88e5a77db7e8aba6a9f237657c989e9747c4ae41
2018-03-27 15:46:41 +02:00
Botond Ballo
f733b4a04e Bug 1449759 - Add an APZ mochitest for bug 1443518. r=kats
MozReview-Commit-ID: 1t6wpYo9n3P

--HG--
rename : gfx/layers/apz/test/mochitest/helper_hittest_subframe_float.html => gfx/layers/apz/test/mochitest/helper_hittest_float_bug1434846.html
extra : rebase_source : 11d9a120f1b1fdd841a7e7cb59b92975e08205df
2018-03-28 18:04:32 -04:00
Alex Gaynor
4259227b9c Bug 1450047 - part 2 - updated in-tree copy of libFuzzer; r=decoder
MozReview-Commit-ID: I1LZ8N82kr7

--HG--
extra : rebase_source : fefb34f48a7eed9428bc055224bb5868dcc37430
2018-03-29 14:18:36 -04:00
Alex Gaynor
94ed3ca79d Bug 1450047 - Part 1 - switch libFuzzer update script to new git repo; r=decoder
MozReview-Commit-ID: Fg6b2UyvoyS

--HG--
extra : rebase_source : 05845c5c50bb2ae8dd444f021aeb3fef2717cc58
2018-03-29 14:17:44 -04:00
Tom Ritter
9e3a59a98a Bug 1337157 Disable WEBGL_debug_renderer_info when Resist Fingerprinting is active r=jgilbert
MozReview-Commit-ID: F7LCweFIPtM

--HG--
extra : rebase_source : 35d2e1560ae131f66867a816196c4e96f4b7fe41
2018-03-26 23:48:35 -05:00
Andreea Pavel
f08ea922ba Backed out 4 changesets (bug 1429169) for failing browser chrome at browser/components/enterprisepolicies/tests/browser/browser_policy_cookie_settings.js on a CLOSED TREE
Backed out changeset a49df97d2ad9 (bug 1429169)
Backed out changeset 437f677d3808 (bug 1429169)
Backed out changeset 2f744fd3d77c (bug 1429169)
Backed out changeset dd305f45f746 (bug 1429169)
2018-03-30 03:35:01 +03:00
Matt Woodrow
0ab5810be5 Bug 1443027 - Fix the merging algorithm to pass the new tests correctly. r=mstange
MozReview-Commit-ID: JnglCbdhZzE
* * *
[mq]: update-test

MozReview-Commit-ID: JMIzrnVeSTo

--HG--
extra : rebase_source : 0ea5ff0e79d1eb1a8f13ea4a17e37fe2601d44e7
2018-03-23 16:47:37 +13:00
Matt Woodrow
97e5feb9b8 Bug 1443027 - Add two new tests for merging behaviour. r=mstange
MozReview-Commit-ID: G5vgtSCdRZP

--HG--
extra : rebase_source : df104a7df2c199d9e95025c533f62428dc1a1efc
2018-03-23 12:20:40 +13:00
Jeff Walden
31d839ee30 Bug 1437533 - Properly declare JSTracer respecting JS_PUBLIC_API to avoid compile errors about visibility mismatch in non-unified builds. r=jorendorff
--HG--
extra : rebase_source : 3279dcead6c1c254661939c4fee9f1c8532333ad
2018-03-12 12:56:39 -07:00
Olli Pettay
1325716efc Bug 1443958 - Synthesizing a click() on input type=date should not show the date picker UI , r=mconley 2018-03-30 02:51:17 +03:00
Jason Laster
ac9f72a31a Bug 1450112 - Update Debugger Frontend v31. r=jdescottes 2018-03-29 18:44:22 -04:00
Ciure Andrei
c38c8d3b28 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-03-30 01:11:06 +03:00
Ciure Andrei
5d841a3421 Merge inbound to mozilla-central. a=merge 2018-03-30 01:06:18 +03:00
Ciure Andrei
28ab6a52d6 Merge autoland to mozilla-central. a=merge 2018-03-30 01:04:20 +03:00