Commit Graph

574257 Commits

Author SHA1 Message Date
Gijs Kruitbosch
ffc0ed12d2 Bug 1425363 - remove onWindowTitleChanged given that nobody uses it, r=bgrins
MozReview-Commit-ID: ALslAwZo4K9

--HG--
extra : rebase_source : ca1add0015eea86128c0c5f209252ebb6a228998
2017-12-14 21:55:44 -06:00
Gijs Kruitbosch
400701814b Bug 1425363 - remove the windowds XPCOM component, r=spohl
MozReview-Commit-ID: qKiQCuDiMq

--HG--
extra : rebase_source : da492d14b23f749690d7747d8445d81fccb99012
2017-12-14 21:39:16 -06:00
Gijs Kruitbosch
36b73b53b9 Bug 1425363 - use JS instead of the windowds data source for the mac window menu, r=bgrins,spohl
MozReview-Commit-ID: 2qcRkFLjOeu

--HG--
extra : rebase_source : 9adc3723df30c292490e522030f71c03f4add695
2017-12-14 21:35:53 -06:00
Alan Jeffrey
2cf50232b2 servo: Merge #19574 - Downgrade to rustc nightly-2017-11-14 (from asajeffrey:rustdown-2017-11-14); r=glennw
<!-- Please describe your changes on the following line: -->

This is causing nightly servo to crash with hardware acceleration.

---
<!-- 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 work around #19519
- [X] These changes do not require tests because testing requires AWS instances with GPUs.

<!-- 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: 57277acd27968df6323fa925d149f9a8c1c3f0cc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e627c7f86160f7d25e7a1d4808c2948c67772480
2017-12-18 13:59:23 -06:00
Thom Chiovoloni
54402dd377 Bug 1425690 - Replace getCharPref with lazy pref getters in browser-sync.js r=eoger
MozReview-Commit-ID: 51qDl9P3wXX

--HG--
extra : rebase_source : b3babb14f236b81080f08c10d931c0ef7d6d3b5f
2017-12-16 13:25:19 -06:00
Kartikaya Gupta
53d3421ba1 Bug 1401551 - Only check for acceleration after the page is shown and we know the layer managers have been initialized. r=dvander
MozReview-Commit-ID: CA2gQxMIuXn

--HG--
extra : rebase_source : ff859c7c4ba1ba6efd4fad5e7c174e3c8753c958
2017-12-18 12:48:47 -05:00
Tom Prince
56e3802d92 Bug 1421163: Allow passing configuration to mozharness directly from taskcluster configuration; r=jlund
MozReview-Commit-ID: 1ZeI89hHppD

--HG--
extra : rebase_source : 2cd8aae8e6d00a361d8d28e127443849358f63ae
extra : source : c866ae14c79d534e7371e7976470c777b22a98e3
2017-11-27 21:33:13 -07:00
Daniel Holbert
b328472fc2 Bug 1398963 part 7: Add an about:config flag to optionally emulate -moz-box with flexbox. r=mats
This feature is intended to help Firefox frontend developers experiment with
replacing XUL content with modern flexbox.  We might also eventually use
this emulation to *actually* render most or all of our legacy XUL UI.

MozReview-Commit-ID: 3g2W9o3t23H

--HG--
extra : rebase_source : a3e8b443d9b58e5af3287a23de6edc276ed5e847
2017-10-26 11:12:17 -07:00
Daniel Holbert
9070f50509 Bug 1398963 part 6: Make "visibility:collapse" cause flex items to be 0-sized, in emulated -moz-{inline-}box. r=mats
In modern flexbox and in "display:-webkit-box", children with
"visibility:collapse" currently generate "struts" which have 0 main-size but
nonzero cross-size.

But XUL/-moz-box treats these children differently -- it makes them 0-sized in
both axes. So we need to add a custom behavior to modern flexbox in order to
emulate that.

Specifically, this patch makes us:
 - Ignore these children when computing the flex container's intrinsic sizes.
 - Take a simpler codepath with 0-sized struts for collapsed elements when
   laying out a -moz-box (rather than the typical 2-pass layout, with strut
   cross-size being established in the 1st pass).

MozReview-Commit-ID: IpkADpFFBMx

--HG--
extra : rebase_source : d42a291c414c61906a82c2be2b5f1834aa24e4e3
2017-12-18 12:17:11 -06:00
Daniel Holbert
65058982ca Bug 1398963 part 5: Treat XUL Popups like other OOF boxes when generating anon flex items, since they spawn placeholders. r=mats
XUL popups (i.e. FrameConstructionItem instances with mIsPopup==true) behave
like out-of-flow content -- in particular, they generate nsPlaceholderFrame
instances.  So, they need the same placeholder-wrapping behavior that we have
for other out-of-flow frames inside of an emulated legacy box, in order to
satisfy our existing invariants.

MozReview-Commit-ID: KnspN4kTPnx

--HG--
extra : rebase_source : 8487f4ee50b21dc0389514fe34a17a73375a58ab
2017-12-18 12:17:10 -06:00
Daniel Holbert
779ba64d4a Bug 1398963 part 4: Refactor logic in nsCSSFrameConstructor's IsXULDisplayType() function (idempotent patch). r=mats
This patch does not change behavior. This patch just refactors the logic in
IsXULDisplayType so that -moz-box and -moz-inline-box are handled via a
dedicated early-return.  This lets a later patch in this series make a more
understandable targeted tweak to add pref-controlled behavior for these display
values.

MozReview-Commit-ID: 6keGrxJcA5l

--HG--
extra : rebase_source : a4c7a6dd205da7d7c39c172ebb6d0c3bb7cd5458
2017-12-18 12:17:10 -06:00
Daniel Holbert
91270c255f Bug 1398963 part 3: Generalize "webkit-box" variable names and code-comments in nsCSSFrameConstructor.cpp (idempotent patch). r=mats
Now that (per previous patch) NS_STATE_FLEX_IS_EMULATING_LEGACY_BOX isn't just
a webkit-box-specific tag: this patch here generalizes the variable-names and
comments associated with that flag in nsCSSFrameConstructor.cpp.

This patch does not make any changes to behavior; it's simply renaming &
comment tweaks.

MozReview-Commit-ID: DcF5GirAQwD

--HG--
extra : rebase_source : d847c5579399a4cc31dc14a52a93b03ed917034e
2017-12-18 12:17:10 -06:00
Daniel Holbert
0d839c700e Bug 1398963 part 2: Make nsFlexContainerFrame label itself as legacy if it has -moz-box/-moz-inline-box display val. r=mats
To be clear, this is a "paving the way" patch.  At this point in the patch
series, it's not yet possible for us to generate a nsFlexContainerFrame that
has display:-moz-box.  (A later patch in this series will make that possible.)

This patch adds the mechanics to nsFlexContainerFrame instances so that they'll
label themselves appropriately (with NS_STATE_FLEX_IS_EMULATING_LEGACY_BOX)
once it *does* become possible for -moz-box to spawn a nsFlexContainerFrame.
Moreover, this patch updates the state bit's documentation to reflect its new
potential-usage.

MozReview-Commit-ID: ElApieVoTLf

--HG--
extra : rebase_source : 0c59e2a0adc8e060a687e5ffdf6246eb8068eef6
2017-12-18 12:17:10 -06:00
Daniel Holbert
458c3ac132 Bug 1398963 part 1: Rename frame-state bit from NS_STATE_FLEX_IS_LEGACY_WEBKIT_BOX to NS_STATE_FLEX_IS_EMULATING_LEGACY_BOX (idempotent patch). r=mats
This patch isn't changing semantics of this bit at all - it just renames it to
a more general name. In other words, this patch does not change behavior.

MozReview-Commit-ID: 4wb13X4YinJ

--HG--
extra : rebase_source : 9a89ce8782f735d7f4a8ad471606a2af5201ac83
2017-12-18 12:17:10 -06:00
Kartikaya Gupta
4f18e92ffb Bug 1334189 - Enable mochitest-plain for linux64-qr. r=jrmuizel
MozReview-Commit-ID: nbcWhDq5de

--HG--
extra : rebase_source : 25e2c2b8b996ae11cd25dee07d9092ba574a9e40
2017-12-13 18:38:39 -05:00
Tom Prince
ba952c797a Bug 1418671: Use a separate cache for builds that checkout comm-central; r=gps
MozReview-Commit-ID: DxmPkgvQYnp

--HG--
extra : rebase_source : 9e890eead7033a31584a676b720ba014678123f1
2017-11-18 17:43:45 -07:00
Tom Prince
7bd60c0c57 Bug 1425148: Allow configuring the allowed index products in taskcluster; r=dustin
MozReview-Commit-ID: BRTsz9vDTyj

--HG--
extra : rebase_source : 422e2822ba7aba82715f31080b411d3649d3bc63
2017-12-13 16:00:57 -07:00
Tom Prince
f111b1ea86 Bug 1425148: Move gecko.v2 job-name whitelist to graph config; r=dustin
MozReview-Commit-ID: AVB00eeEoIL

--HG--
extra : rebase_source : 553ed00b12f474ac3ea2dc40f31bcec063a13ee1
2017-12-13 16:00:14 -07:00
Tom Prince
7ac0e88eab Bug 1425148: Fix error message about names for treeherder symbols; r=dustin
MozReview-Commit-ID: X6GwLAoJ4K

--HG--
extra : rebase_source : 0c6eeb10f31036b2e1b42ee01510b947c90d6860
2017-12-13 15:58:56 -07:00
Kartikaya Gupta
ea60a161ee Bug 1154206 - Don't end the test until all the advanceTimeAndRefresh calls are done. r=jrmuizel
MozReview-Commit-ID: 69losfPM6bk

--HG--
extra : rebase_source : 9f460d5b03d5326d2181a884ee0fc843105f1054
2017-12-13 18:38:37 -05:00
Doug Thayer
2a1b141474 Bug 1423612 - Pass VisitData by reference r=standard8
Fairly trivial. Prompted by a coverity report.

MozReview-Commit-ID: 8Yg5KsRc2E1

--HG--
extra : rebase_source : f65108ff46781798df04fa6e1de60d120f336e44
2017-12-06 14:03:10 -08:00
Nazım Can Altınova
af3cd13ada servo: Merge #19576 - style: Move text-align outside of the mako file (from canaltinova:text-align); r=Manishearth,emilio
I will need this refactoring before my next job. I didn't actually fix the FIXME's along the way. My other PR probably will cover these.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: a9c17970c19a993920ce1ba2ff9faebd033c52b4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8ee32ab5b3c274a73fb1f27fe2a85c78a47ae30d
2017-12-18 12:12:52 -06:00
Marcin Mielniczuk
b0146307d8 servo: Merge #19545 - Fix and document build on CentOS 7.4 (from marmistrz:bump-gecko-media); r=jdm
Fix and document build on CentOS 7.4

---
<!-- 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). **N/A**

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because no code is changed

<!-- 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: 92a2c37e65691a43ad57ee712e271d85c1856163

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 753fc20eb0a8764d0c0c7abf55150835fff9742f
2017-12-18 11:19:40 -06:00
Zibi Braniecki
49e8abe817 Bug 1363864 - Add MozBeforeInitialXULLayout event. r=smaug
MozReview-Commit-ID: FPWIyAR1ocq

--HG--
extra : rebase_source : 37199ee376e7b7db8984455d965fc78996cc0f3f
2017-12-15 16:50:51 -06:00
Csoregi Natalia
45cdfa2e9e Backed out 3 changesets (bug 1417803) for failing browser/browser_device_width.js on Linux Stylo Disabled Debug platform. r=backout on a CLOSED TREE
Backed out changeset af5b96ec9db0 (bug 1417803)
Backed out changeset cd5e96cab7c5 (bug 1417803)
Backed out changeset fe9d556bdef4 (bug 1417803)
2017-12-18 21:23:05 +02:00
Vedant Chakravadhanula
9a43553d12 Bug 1388018 - [mozfile] Add support for python 3. r=wlach
MozReview-Commit-ID: 3VANqZqAVx1

--HG--
extra : rebase_source : 07ebb7eac199558941f5c332d870b22411b995d3
2017-12-18 22:21:27 +05:30
Josh Matthews
ac9391b620 servo: Merge #19599 - Revert canvas IPC changes (from jdm:revertcanvas); r=asajeffrey
https://github.com/servo/servo/pull/19547 is responsible for the surge of new intermittent timeouts in canvas-related tests. There's nothing wrong with the change, so I suspect an underlying problem in ipc-channel instead.

Fixes #19592. #19593. Fixes #19594. Fixes #19597.

Source-Repo: https://github.com/servo/servo
Source-Revision: 37fe9f29573e669ea9dd86ed6d9de0e43b3f746d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 84f6a3819cb33421e270a2a8bbd6b62dcf0e9afb
2017-12-18 10:19:30 -06:00
Jean-Yves Avenard
0a4ce68473 Bug 1425623 - Don't allocate array on the heap. r=padenot
Instead allocate it on the stack and provide it as out parameter.

MozReview-Commit-ID: 9fSJ68EfAga

--HG--
extra : rebase_source : 81430b45e4341d0f4208097f021c2a917e8e2645
2017-12-17 15:47:44 +01:00
Tim Nguyen
dc98cb00b0 Bug 1423626 - Sanitize accent color to ignore alpha channel. r=jaws
MozReview-Commit-ID: KAV0lpuFDzL

--HG--
extra : rebase_source : cdfdb5caa713d05840fb0d132dc5e6ac65b94374
2017-12-18 10:50:50 -06:00
Mark Banner
e3391599af Bug 1425003 - Fix GeckoViewNavigation.jsm referencing undefined URIFIxup - switch to Services.uriFixup. r=snorp
MozReview-Commit-ID: IKs6HBQwLAU

--HG--
extra : rebase_source : 10c1d4b44f19ba69d5e4ab65501b23a021480705
2017-12-13 09:02:36 -06:00
Emilio Cobos Álvarez
a4ae45ac68 servo: Merge #19595 - style: Add a FIXME comment that I need to write a test-case for (from emilio:broken-code-all-around); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: fab8042fa73ff326a0fa5c65863434eac0070ac1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 23fdd1f370979cb387cc6deb1eadfe0be98eeff2
2017-12-18 07:24:13 -06:00
Sean Lee
41a96702ef Bug 1417803 - Part 3: Use activeField to record the current focused input. r=lchang,ralin
MozReview-Commit-ID: 4j72RXk2Wpb

--HG--
extra : rebase_source : bb8fb6861c403105dd59b9415a897789502202cf
2017-12-11 19:28:47 +08:00
Sean Lee
e9699c8bff Bug 1417803 - Part 2: Add a underscore to the private functions. r=lchang,ralin
MozReview-Commit-ID: K8FLWgojZrw

--HG--
extra : rebase_source : 60421b657deb5d80698080f66bd20481c564f927
2017-12-11 15:39:00 +08:00
Sean Lee
85288e7197 Bug 1417803 - Part 1: Use activeSection to record the current focused field or section. r=lchang,ralin
MozReview-Commit-ID: 4mhmTcJOOz2

--HG--
extra : rebase_source : 60d6629cf0d67aff514e873ed1359dfa9c4f8d84
2017-12-05 14:11:36 +08:00
Mark Striemer
02fae21b7d Bug 1414018 - Go to new New Tab page after disabling add-on in New Tab doorhanger r=aswan
MozReview-Commit-ID: 7ZXehNEC6ml

--HG--
extra : rebase_source : b1b78fe53e1049df326649a76be5a39259ebc919
2017-11-29 17:14:54 -06:00
Aki Sasaki
4d23576876 bug 1425215 , bug 1417697 - version bump idempotency that supports relbranches. r=rail
MozReview-Commit-ID: DosTZiDDh8l

--HG--
extra : rebase_source : 9c59a0b8a4633752777ea1f433acfe579b7a6549
extra : source : 565a6a19faa15e210e1c38881f160e0897cc5600
2017-12-15 13:01:39 -06:00
Alex Chronopoulos
ada70b6339 Bug 1418694 - Use channel layout to avoid failures when default layout is not set. r=padenot
MozReview-Commit-ID: FzdJQYi35yQ

--HG--
extra : rebase_source : b8460d156ea933d2f87982e38d23502bba7226e1
2017-12-15 18:02:39 -06:00
Martin Stransky
ed49bfcfee Bug 1425820 - build fix of SetImageDataFromBackBuffer definition/call, r=jhorak
MozReview-Commit-ID: 7NJMCdhd400

--HG--
extra : rebase_source : bd72e00090af03c285cdd16b0a05106c3fd7e6c6
2017-12-18 11:53:30 +01:00
Sean Lee
2e627003a7 Bug 1404769 - The documentation of FormAutofill feature and FormAutofillHeuristics module. r=MattN
MozReview-Commit-ID: Dab8KunXHK2

--HG--
extra : rebase_source : 3d14ab701145897b02001ebbc942e914968c0d30
2017-11-07 16:32:38 +08:00
Sean Lee
a0dbd4d8fc Bug 1406585 - Close the autocomplete popup when the crash of a content page or Message Manager disconnection happens. r=MattN
MozReview-Commit-ID: DjSc4R0WBQP

--HG--
extra : rebase_source : 81a6b0ad63673b284f34763a2e4992a47ba8f8d5
2017-11-10 17:00:33 +08:00
Alexandre Poirot
adeffba1c4 Bug 1415472 - Document writing new DAMP test. r=sole
MozReview-Commit-ID: vlhuov077c

--HG--
extra : rebase_source : 15ac47b53494d2daac74082c336d6de4e9c0e9bb
2017-12-11 06:07:10 -08:00
Cosmin Sabou
4dfa28f2f0 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-18 11:55:42 +02:00
Cosmin Sabou
f0ab0b072a Backed out 2 changesets (bug 1424834) for leaks at netwerk/dns/nsHostResolver.cpp:352 r=backout a=backout
Backed out changeset 2503df83bbd9 (bug 1424834)
Backed out changeset 49cc08386f17 (bug 1424834)
2017-12-18 11:52:06 +02:00
Cosmin Sabou
cf90bf7a74 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-18 11:46:13 +02:00
Cosmin Sabou
4d17a4cc2e Backed out 4 changesets (bug 1425771) for ESlint failure r=backout on a CLOSED TREE
Backed out changeset 984d714aa987 (bug 1425771)
Backed out changeset 848047469b27 (bug 1425771)
Backed out changeset a28293b06afe (bug 1425771)
Backed out changeset 14c5ca99af0c (bug 1425771)
2017-12-18 08:37:10 +02:00
Noemi Erli
0605fd9d76 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-17 23:48:22 +02:00
Noemi Erli
197aaefc45 Merge autoland to mozilla-central r=merge a=merge 2017-12-17 23:42:42 +02:00
ffxbld
869f194506 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-12-17 10:58:36 -08:00
ffxbld
c9d95edd9f No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-12-17 10:58:33 -08:00
tigercosmos
4ec4c9eede servo: Merge #19589 - remove unused Auto in test of serialization (from tigercosmos:e1); r=emilio
<!-- Please describe your changes on the following line: -->
```
warning: unused import: `Auto`
 --> /Users/tigercosmos/servo/tests/unit/style/properties/serialization.rs:9:40
  |
9 | use style::values::{CustomIdent, RGBA, Auto};
  |                                        ^^^^
  |
  = note: #[warn(unused_imports)] on by default
```

---
<!-- 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: -->
- [ ] 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: f17564926300e759d38f4ebdf0eefd064357af3f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9eaaf02d839c57eb3aaf95a98dcb12394b3602d0
2017-12-17 11:51:10 -06:00