Commit Graph

589099 Commits

Author SHA1 Message Date
Matthew Gregan
5ad7da2a98 Bug 1447097 - Vendor in cubeb-rs 0.5.2. r=kamidphish
MozReview-Commit-ID: DK7KB9fzAF5

--HG--
extra : rebase_source : 894ce8dd498ee5f519041104589efb35eecb33f1
2018-04-04 16:58:41 +12:00
Emilio Cobos Álvarez
f14ee0f38e Bug 1450657: Remove ResolveTag usage in nsMenuPopupFrame. r=bz
We never extend xul:tooltip, xul:menupopup or xul:popup, so this can go away.

MozReview-Commit-ID: LZsGYRdI5tW

--HG--
extra : rebase_source : 7d520fa9729f27b1a6a0b2ad3f4eed55f9729aeb
2018-04-02 13:42:50 +02:00
Servo VCS Sync
b4cbfdb4d0 No bug - Revendor rust dependencies 2018-04-04 00:54:10 +00:00
Xidorn Quan
67fd806b66 Bug 1449087 part 2 - Use Servo data to back @font-face rule. r=emilio
This patch does the following things:
* Create a new class ServoFontFaceRule for CSSOM of @font-face rule
  which mostly follows how nsCSSFontFaceRule was implemented.
* Remove the old nsCSSFontFaceRule and binding code to create it.
* Have FontFace backed by Servo data via making mRule and mDescriptors
  of the class hold RawServoFontFaceRule like ServoFontFaceRule.

To keep this patch small, it effectively just delays the conversion
from Servo data to nsCSSValue from parsing to using. This may cause
worse performance if the font set is flushed repeatedly. Supposing we
don't flush font set very frequently, it may not be a big deal.

We may still want to remove the intermediate nsCSSValue conversion at
some point, and have everything converted to their final form directly
when used, but that can happen in followups.

There are some unfortunate bits from this change:
* We lose style sheet for logging in FontFaceSet. This is probably not
  all that worse, because we wouldn't have that before either if the
  page doesn't use CSSOM to visit it. But we should figure out some
  approach to fix it anyway.
* InspectorFontFace no longer shares the same rule object as CSSOM.
  This isn't really a problem if the @font-face rule isn't very mutable.
  Unless we want to make the rule returned from InspectorFontFace to be
  mutable (i.e. via inspector), not using the same object probably isn't
  too bad.

This patch switches the code we use to serialize stuff in FontFace and
CSSFontFaceRule, which leads to some failures in tests. Specifically,
the expected changes including:
* Value of font-family now can be serialized to identifier sequence like
  font-family property. The old code always serializes it to string,
  but it doesn't seem to have different requirement than the property.
  Blink can serialize to identifier as well.
* Family name inside local() is also changed to use the same way as
  family names elsewhere (i.e. can be identifier sequence). Blink has
  the same behavior as the old code, but I don't think it's a big deal.
* The order of descriptors serialized gets changed. I don't think it
  matters at all.
* Empty string as font-family via using string syntax is no longer
  considered invalid for FontFace. I don't find it is mentioned anywhere
  that it should be specifically treated invalid.


MozReview-Commit-ID: 32Fk3Fi9uTs

--HG--
extra : rebase_source : 6221ec8fc56de357b06dd27e770fb175348a2f77
2018-04-04 08:42:10 +10:00
Xidorn Quan
07cf23d1df Bug 1449087 part 1 - Upgrade cssparser to 0.23.4 for serialization fix. r=emilio
MozReview-Commit-ID: IJ2OqSjn1NM

--HG--
rename : third_party/rust/itoa/performance.png => third_party/rust/itoa-0.3.1/performance.png
extra : rebase_source : 8d8107fed692d8e8be1933cc2e993a389ce4d595
extra : source : 8be60db7102b905572b80aab931631153023d532
2018-04-04 08:42:10 +10:00
Xidorn Quan
3698b17162 servo: Merge #20519 - Use Servo data to back @font-face rule in Gecko (from upsuper:font-face-rule); r=emilio
This is the Servo side change of [bug 1449087](https://bugzilla.mozilla.org/show_bug.cgi?id=1449087).

Source-Repo: https://github.com/servo/servo
Source-Revision: 34b13dac66b48790003ccd069f4636f1def77e7d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a02d3471f240efcb43cfcbf55442da919e967983
2018-04-03 19:33:59 -04:00
Andreea Pavel
398805cbb6 Backed out changeset 5eaa657f6e06 (bug 1448454) for build bustages at /builds/worker/workspace/build/src/xpcom/typelib/xpt/xpt_struct.h:16 on a CLOSED TREE 2018-04-04 03:01:50 +03:00
Andrew McCreight
7c9d910f6d Bug 1448454 - Make some fields in xpt_struct.h private. r=njn
Many of these fields have accessors, and can only be read indirectly
by going through the XPTHeader data structure anyways, so they should
be marked private. This makes the generated XPT data file noisier due
to the need for constexpr constructors.

I had to fix the ctors for the classes in xptinfo.h to be less weird
because there was a compiler error.

Members in two of the classes need to be marked protected because they
have subclasses in xptinfo.h. Ideally those classes would be merged
in.

MozReview-Commit-ID: 70IdFAhp5je

--HG--
extra : rebase_source : a2670a65ace291defc47845c4058477f0ae5360a
2018-03-26 14:06:01 -07:00
Matt Woodrow
3cd23bdc29 Bug 1450360 - Reland chunk that got accidentally removed during a branch merge. r=mattwoodrow
MozReview-Commit-ID: 7gVvlsNcJnn

--HG--
extra : rebase_source : 3431ceb7ac784b378c7723b4d4f38a5770ee3f9c
2018-04-04 11:30:35 +12:00
Andreea Pavel
9048f2f6cb Backed out changeset 08c9beb155d5 (bug 1450360) for build bustages at builds/worker/workspace/build/src/layout/painting/RetainedDisplayListBuilder.cpp:1118 on a CLOSED TREE 2018-04-04 02:22:21 +03:00
Fausto Núñez Alberro
a38b2dfb04 servo: Merge #20482 - Implement a URL-generic type for ListStyleImage (from brainlessdeveloper:list-style-image-computed); r=emilio
<!-- Please describe your changes on the following line: -->

This should fix the following two "expected to fail" tests described in https://github.com/servo/servo/issues/18015:

- getComputedStyle(elem) for url() listStyleImage uses the resolved URL
  and elem.style uses the original URL

- getComputedStyle(elem) for url() listStyle uses the resolved URL
  and elem.style uses the original URL

I updated the test failure expectations by removing the corresponding `.ini` file.

---
<!-- 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 #18015 (github issue number if applicable).

<!-- Either: -->
- [x] 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: d744e35d38ce84f7209eb1fc41d2d9f38545d0de

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9153e9f1cad5cc33b50ca27738a194e9af010349
2018-04-03 18:12:13 -04:00
Matt Woodrow
9a7f6d89b0 Bug 1443027 - Fix the merging algorithm to pass the new tests correctly. r=mstange
MozReview-Commit-ID: JnglCbdhZzE
* * *
[mq]: update-test

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

--HG--
extra : rebase_source : 2775e9a67e8262144f572d369873eb133dfbc6e5
2018-03-23 12:20:40 +13:00
Matt Woodrow
2d4435d3af Bug 1450360 - Reland chunk that got accidentally removed during a branch merge. r=mattwoodrow
MozReview-Commit-ID: MvE411GaHO

--HG--
extra : rebase_source : a696e0d77c41cd01f8991a76c9762b3f75284499
2018-04-04 10:56:55 +12:00
Mike Shal
e44a8cb1da Bug 1450877 - Update tup backend to support new XPIDL model; r=chmanchester
We no longer build .xpts in dist/bin/components and list them in an
interfaces file. Instead, they are build as intermediate files, and a
new XPTInfo.cpp is generated from *.xpt.

MozReview-Commit-ID: J05oYFK3adc

--HG--
extra : rebase_source : ad2bebfcb7877430b78441af1f41aac30c1607a9
2018-04-03 11:30:11 -04:00
Jeff Muizelaar
136be180bf Bug 1450249. blob-invalidation: Round the bounds. r=mstange
This fixes a number of reftest failures.

--HG--
extra : rebase_source : 70b934e9abadded46d1ef8a08d76e69a3e420852
2018-03-29 18:26:48 -04:00
Daniel Holbert
1875600259 Bug 1450390 part 2: Add reftest to verify that "flex-basis" doesn't affect layout of abspos flex children. r=mats
MozReview-Commit-ID: KnGmIgk2DFa

--HG--
extra : rebase_source : bd979ed9453170abbfc9771976c976c7fda75ffa
2018-04-03 15:10:13 -07:00
Daniel Holbert
6ef9cafcf6 Bug 1450390 part 1: Extend mochitest to cover transitions to/from flex-basis "content" keyword. r=emilio
MozReview-Commit-ID: ABZn5GgH9Kr

--HG--
extra : rebase_source : 17e83cd4434773d2ed97ad2e4c2cb03830f2a24c
2018-04-03 15:09:43 -07:00
Edouard Oger
32177401d2 Bug 1450516 - Do not show last sync date if is not present. r=markh
MozReview-Commit-ID: GiZYeFzXujB

--HG--
extra : rebase_source : 01b563546fc76890a100010871b2f7c7d0704e8e
2018-04-03 14:08:57 -04:00
Brad Werth
04fabeafd1 Bug 1451115 Part 2: Update ZoomManager.getZoomForBrowser() to survive being passed a browser without a zoom level set. r=mossop
MozReview-Commit-ID: LbpiKUm3um

--HG--
extra : rebase_source : 9532a137ae9ae086c8a39befd105f4b7ec453bda
2018-04-03 13:47:51 -07:00
Brad Werth
1de7e2d845 Bug 1451115 Part 1: Make UpdateZoomUI not throw an exception if gBrowser is not set on window. r=mossop
MozReview-Commit-ID: 6N51Dqxt3jk

--HG--
extra : rebase_source : 55813db8d6dbab8cc53912015256714b0577db2e
2018-04-03 13:36:24 -07:00
Fausto Núñez Alberro
2c4a1a4fb4 servo: Merge #20488 - Add build-geckolib checkbox to pull request template (from brainlessdeveloper:add-geckolib-build-checkmark-template); r=emilio
<!-- Please describe your changes on the following line: -->

Add a reminder to run `./mach build-geckolib` locally before submitting a PR.

---
<!-- 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 #20487 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they only affect the PR template

<!-- 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: d0a9fdb92b1476bc42603b495a01bd10da18d978

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 58def56472957d9933d82040d173fec71a446bac
2018-04-03 17:14:43 -04:00
Daniel Stenberg
a4cd165b9f bug 1451011 - expire TRR blacklist entries after 20 minutes by default r=mcmanus
MozReview-Commit-ID: 1FYM86WNeW1

--HG--
extra : rebase_source : 663f30298de6b9f7925c903fc714c5f38f1ed51f
2018-04-03 17:39:30 +02:00
Ciure Andrei
b861d14e56 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-04 00:56:56 +03:00
Ciure Andrei
7208a2fee8 Merge inbound to mozilla-central. a=merge 2018-04-04 00:54:16 +03:00
Ciure Andrei
3e349fa00d Merge autoland to mozilla-central. a=merge 2018-04-04 00:51:56 +03:00
Jim Chen
b0cfc1d30c Bug 1451128 - Fix bugs in fixed toolbar support in BasicSelectionActionDelegate; r=jchen
Small fixes related to fixed toolbar support in BasicSelectionActionDelegate,

1) Change the order of menu items to match Android.

2) Clear selection when dismissing the toolbar.

3) Work around an Android bug where the menu is initially empty.

MozReview-Commit-ID: BQ6pgbBbc9e

--HG--
extra : rebase_source : f1f4337059eaef2608c9ac91c58cde817374d42f
2018-04-03 17:42:33 -04:00
ffxbld
ea8050e2b0 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2018-04-03 13:48:33 -07:00
ffxbld
08d5281463 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2018-04-03 13:48:29 -07:00
Sebastian Hengst
a0665934fa Backed out 2 changesets (bug 1443027) for frequent crashes on OS X. a=backout
Backed out changeset 1e3dc6112e76 (bug 1443027)
Backed out changeset d2734042605a (bug 1443027)
2018-04-03 19:51:49 +03:00
arthur.iakab
188ae77a0e Backed out changeset 3ff8ce674396 (bug 1447460) on request of tomprince a=backout 2018-04-03 18:30:58 +03:00
arthur.iakab
b310d9523e Merge inbound to mozilla-central. a=merge 2018-04-03 12:31:23 +03:00
Nicholas Nethercote
94289ab246 Bug 1448225 - Convert StylePrefs to StaticPrefs. r=emilio
The new StaticPrefs machinery means that StylePrefs can be removed.

Note that this approach mirrors all static prefs into Rust, but I have only
updated structs.rs for the prefs that Stylo uses.

On a CLOSED TREE, since a sheriff closed the tree while I was about to land this
via autoland.

MozReview-Commit-ID: G1SY0987WJ7
2018-04-03 09:06:20 +02:00
Nicholas Nethercote
04568ff65e servo: Merge #20508 - Convert StylePrefs to StaticPrefs (from nnethercote:bug-1448225); r=emilio
<!-- Please describe your changes on the following line: -->

This is the Servo part of https://bugzilla.mozilla.org/show_bug.cgi?id=1448225.
---
<!-- 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 https://bugzilla.mozilla.org/show_bug.cgi?id=1448225

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because tested on the Gecko side.

<!-- 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. -->

r? emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: 0a3ffc0c6045eb6983273010d91a35267d8ec3fa

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 53bd7e885a4c85bf4ab3db2c16b4fb36536dc108
2018-04-03 01:54:24 -04:00
Cameron McCormack
c14a8ffa84 Bug 1450859 - Remove layout.css.expensive-style-struct-assertions.enabled pref. r=emilio
With the old style system removed, this pref has no effect.

--HG--
extra : rebase_source : ddc8462a0044225a46522f53f4bbb131627fb7f1
2018-04-03 15:58:32 +10:00
Mantaroh Yoshinaga
54337513b3 Bug 1444300 - Make tab button to be able to handle the key event. r=honza
A command button like ruler has keydown event handler, this patch will
add same event handler to tab button.

--HG--
extra : rebase_source : eef8467b15bb99b8e8a22798e83c8a968ac24f7f
2018-04-03 09:42:44 +09:00
Boris Zbarsky
9bb77bdfc7 Bug 1450418. Get rid of nsIDOMScreen. r=qdot
MozReview-Commit-ID: A5Rq0BSQt4V
2018-04-03 00:42:41 -04:00
Boris Zbarsky
1ce7e994ba Bug 1450149. Mark Prefable arrays const in bindings codegen. r=qdot 2018-04-03 00:42:40 -04:00
Dorel Luca
ae1dc5307b Merge mozilla-central to mozilla-inbound 2018-04-03 07:24:53 +03:00
Dorel Luca
d8a4cfd361 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-03 07:04:18 +03:00
Daisuke Akatsuka
361d95ecbf Bug 1447259: Change the tested animation in browser_animation_summary-graph_computed-timing-path_different-timescale.js test since the animation can intermittently already be finished during selectNodeAndWaitForAnimations. r=gl 2018-04-03 10:29:12 +09:00
Lee Salzman
0626b8ac56 Bug 1442669 - guard against excessively large glyphs in SkFontHost_cairo. r=jfkthame
MozReview-Commit-ID: 1X2524Q5K8E
2018-04-02 20:21:21 -04:00
Matt Woodrow
82c740d1b1 Bug 1450360 - Respect the z-index property set on scrollbars. r=mstange
--HG--
extra : rebase_source : 0288513aaa2216c14de501417ff3b9f405ee97a5
2018-04-03 12:13:48 +12:00
Daisuke Akatsuka
fb33aab183 Bug 1449497: Use Component instead of PureComponent. r=gl 2018-04-03 09:12:53 +09:00
Daisuke Akatsuka
b4fc01f3cb Bug 1449625 - Part 2: Turn on new animation inspector for beta tests. r=gl 2018-04-03 08:36:00 +09:00
Daisuke Akatsuka
d7f7c75314 Bug 1449625 - Part 1: Select the computed view instead of animation inspector in browser_markup_events_click_to_close.js test. r=gl 2018-04-03 08:35:46 +09:00
Jeff Gilbert
afd77f7fd5 Bug 1444274 - Require GCC 6.1+. - r=glandium
MozReview-Commit-ID: 7alNSIhhbLI
2018-04-02 17:05:43 -07:00
Dorel Luca
db90a7366c Merge mozilla-central to mozilla-inbound 2018-04-03 01:16:01 +03:00
Dorel Luca
a7d5a65268 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-03 01:00:11 +03:00
Ryan VanderMeulen
d9d59209a6 Backed out changeset d85b5825a721 (bug 1440753) for frequent OSX iframe-scrolling-attr-2.html failures on a CLOSED TREE. 2018-04-02 17:59:30 -04:00