Commit Graph

574257 Commits

Author SHA1 Message Date
00626c42d9 Bug 1413104 - Drop telemetry probes for layer size; r=botond
MozReview-Commit-ID: FtpTJDC50A8

--HG--
extra : rebase_source : 2e1ba62ae1cb462546ce552efccdde2fe1380a00
2017-12-14 21:36:09 +00:00
Mike Park
35bbe45a57 Bug 1419083 - Add an "Open in sidebar" context menu entry on ObjectInspector. r=nchevobbe
MozReview-Commit-ID: 9a2fBjpZ6zE

--HG--
extra : rebase_source : f533989d8f01a4f96133efbc98ef57e31806da46
2017-12-05 16:05:13 -05:00
Hiroyuki Ikezoe
33d26976c8 Bug 1424948 - Check iteration progress value instead of animating computed style value. r=birtles
It is possible that animating computed style becomes the same value as the
value in the previous tick if Animation.mPendingReadyTime is pretty close
to the timeline current time.

MozReview-Commit-ID: COuur4Wlufx

--HG--
extra : rebase_source : 5dea9ef0bce7cb606dc290277e04b779fe608bbd
2017-12-15 01:10:11 +09:00
Hiroyuki Ikezoe
2a72c4f2f9 Bug 1424948 - Use waitForNextFrame instead of waitForFrame. r=birtles
MozReview-Commit-ID: AZJ7LyeIKq2

--HG--
extra : rebase_source : f42d2b0d4220d3d458093fdc5aed7ff11dcff63e
2017-12-15 00:06:26 +09:00
Morris Tseng
f4496d23fc Bug 1419546 - Consider mLayer in nsDisplayTableBackgroundImage::GetPerFrameKey(). r=mattwoodrow
MozReview-Commit-ID: Bqk0U4REESW

--HG--
extra : rebase_source : 6519c6df50d282cbeff42b414ac13578347e8586
2017-12-13 10:44:17 -06:00
Emilio Cobos Álvarez
a0e7854c60 servo: Merge #19556 - Move list quotes out of mako (from emilio:quotes-mako); r=emilio
Rebase of https://github.com/servo/servo/pull/19154.

Source-Repo: https://github.com/servo/servo
Source-Revision: 26feea3be5bc70fed7a642ca768187d29469fee0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7e29dfb2e654d65b512942e77f2bb48c449df9b9
2017-12-14 01:39:38 -06:00
David Keeler
95159e1851 bug 1424392 - remove unnecessary nsINSSComponent usage in nsNSSCallbacks r=mgoodwin
PK11PasswordPromptRunnable::RunOnTargetThread instantiates nsINSSComponent and
calls GetPIPNSSBundleString/PIPBundleFormatStringFromName to get some localized
strings. Since that runs on the main thread, we can call the helpers in
nsNSSCertHelper instead.

MozReview-Commit-ID: GsHoGDKBKdB

--HG--
extra : rebase_source : 7c18498ad0d01ab01f6e7d8c3d2ccdb1d6e20734
2017-12-08 14:07:04 -08:00
Jean-Yves Avenard
d9f13cf692 Bug 1404997 - P12. Remove unused TrackAddedCallback class. r=pehrsons
MozReview-Commit-ID: HGe6RjwwC5z

--HG--
extra : rebase_source : f283f958fd8197a31630991f60217117c48daabc
2017-12-05 11:38:11 +01:00
Jean-Yves Avenard
bc93df2fbe Bug 1404997 - P11. More constness fixes. r=pehrsons
MozReview-Commit-ID: 5qgO43V9R9P

--HG--
extra : rebase_source : 6f387e73486079737c066420a3e95f15c1c0ac16
2017-12-05 00:07:52 +01:00
Jean-Yves Avenard
f702757959 Bug 1404997 - P9. Remove unused member and accessor. r=pehrsons
MozReview-Commit-ID: HAO4NTXHJp1

--HG--
extra : rebase_source : b295c0409fa480755f1a925471d8bbda70ca8b5e
2017-12-17 10:15:59 +01:00
Jean-Yves Avenard
4139ca0019 Bug 1404997 - P8. Follow coding style for members and methods. r=drno,padenot
It allows to more easily distinguish between methods from upstream webrtc.org and our code.

MozReview-Commit-ID: ILQhEAYbSmc

--HG--
extra : rebase_source : 934505afddcca9253b00c4094776c95a087058fb
2017-12-08 21:32:38 +01:00
Jean-Yves Avenard
b8ec246a1f Bug 1404997 - P7. Simplify played time calculations. r=pehrsons
Now that the graph rate match the one out of NetEQ, we can remove an unecessary conversion.

Additionally, move a member from the base case to the only one where it's used.

MozReview-Commit-ID: II5mdcl0vhK

--HG--
extra : rebase_source : 1d9edfc2803c3fadde7505b4d84293640e4311e0
2017-12-08 20:58:09 +01:00
Doug Thayer
4c74095a8d Bug 1421701 - Chunk visits when notifying main thread r=mak
Since processing several hundred visits synchronously on the
main thread can be somewhat expensive, and since the main thread
might be idle while the storage worker is running, it makes sense
to chunk the messages into groups of 100.

We did have a concern that this changes the move of the underlying
array to a copy, which might bring some cost with it. For small
arrays, we simply move the underlying array to avoid the copy to
mitigate it. However, for large arrays I was unable to observe any
significant performance cost anyway, so I think we're in the clear.

MozReview-Commit-ID: 1hWSEyKw6pi

--HG--
extra : rebase_source : edb189f43afcfcf6057acf861c093892c7996afa
2017-12-04 13:46:10 -08:00
Drew Willcoxon
7e756780ec Bug 1423247 - Couple Awesome Bar Composition (matchBuckets pref) to user's Address bar state (unified vs. 2 bar). r=mak
MozReview-Commit-ID: LZIWVcDvMrK

--HG--
extra : rebase_source : fc6f1c71641601ff40e289b13a70bc67039b10b4
2017-12-14 14:14:10 -08:00
E. Dunham
7fee5cc08f servo: Merge #17580 - Add rudimentary .taskcluster.yml (from edunham:taskcluster); r=aneeshusa
Template mostly from https://tools.taskcluster.net/quickstart/. Steps from the
linux-dev builder in etc/ci/buildbot_steps.yml, but with the real parts
commented out for speed during the testing process.

r? @aneeshusa

I got the first-draft image built and pushed to docker hub at https://hub.docker.com/r/servobrowser/servo-linux-dev which is what this is set to pull from.

cc @gregarndt @imbstack

Source-Repo: https://github.com/servo/servo
Source-Revision: 7897bd15d7df2f27b70d5ef7597458ecf296fdba

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bcf187dd5d64cd9273ce48f612d88fd5dc28f98a
2017-12-14 14:23:58 -06:00
Gerald Squelart
0c3cf12488 Bug 1416991 - Fix perspective indexing in partial DL builds - r=mattwoodrow
Perspective item indices (used to produce unique per-frame keys) were generated
by incrementing a counter in the builder when building a perspective display
item. This caused problems with retained display lists, because an unmodified
perspective could be skipped during a partial build, causing other perspectives
to be incorrectly numbered and then incorrectly merged with the previous
retained display list.

To fix this, we need to always increment the counter if there is likely to be
a perspective, before that item may be skipped.

MozReview-Commit-ID: Edn7lUOLuPw

--HG--
extra : rebase_source : 5d10d4595576d17a2ac3fa6d6289fb98408c3654
2017-12-13 05:41:13 -06:00
Narcis Beleuzu
a8f33facb2 Backed out changeset db713228c8e3 (bug 1425150) for wpt failures on core/platform.cpp r=abackout on a CLOSED TREE 2017-12-14 23:23:20 +02:00
Narcis Beleuzu
cb3d418959 Backed out changeset 6cb9414b5d77 (bug 1425115) for web platform reftests failures on CSS2/borders. r=backout on a CLOSED TREE 2017-12-14 23:21:40 +02:00
Hiroyuki Ikezoe
958d16759c Bug 1424949 - Wait for one more frame before checking animation start time to avoid the situation that the animation just begins at the time when it's ready. r=birtles
MozReview-Commit-ID: 6bNfl10TiT6

--HG--
extra : rebase_source : 095fd007710f8a7af13e2e7331f7326554f32cb7
2017-12-15 01:36:04 +09:00
Hiroyuki Ikezoe
c9071bce5c Bug 1424949 - Use assert_greater_than or assert_less_than in file_animations-dynamic-changes.html. r=birtles
MozReview-Commit-ID: I24yopOv51d

--HG--
extra : rebase_source : cd57a9649a3ff1335112f1240e1fcfe694a053d5
2017-12-15 01:24:57 +09:00
Johann Hofmann
97644c30a1 Bug 1414741 - Disable control center shadow in mozscreenshots. r=MattN
MozReview-Commit-ID: FLyfMIaMloT

--HG--
extra : rebase_source : 1a2755b66f95ec8f1a6a000d22ed52a2103c3419
2017-12-14 10:40:38 -06:00
Jared Wein
eaae914ec1 Bug 1425294 - Use a hardcoded background color for mozscreenshots so the APNG will not have transparency. r=MattN
MozReview-Commit-ID: CUwTQdXPBg6

--HG--
extra : rebase_source : 72434545e8136e93072a9a24fad6c7101289c6c2
2017-12-14 13:42:56 -06:00
Pyfisch
b2df8f0384 servo: Merge #19554 - layout: support tiled gradients (from pyfisch:tiled-gradients1); r=mbrubeck
Use background-size, background-position properties to render
CSS gradients.

Some cleanup in display_list_builder.rs related to gradient
calculations.

Adds two wpt tests for tiled gradients.

Note: For now even gradients with background-repeat: no-repeat
are repeated. Sometimes the gradient is not repeated everywhere.

Resolves partially #19482. (See the mentioned website for example gradients with these features)
See also: #16657 and #10412

Some glitches can be seen in the attached file. I am unsure what the exact intended semantics of [`push_gradient`](https://doc.servo.org/webrender_api/struct.DisplayListBuilder.html#method.push_gradient) are and want to ask the webrender team before building in "workarounds" for the missing gradients.
![half-rhombes](https://user-images.githubusercontent.com/2781017/33958051-b16f964a-e043-11e7-8218-b28388e2cf8d.png)

Source-Repo: https://github.com/servo/servo
Source-Revision: 6ee8e6a1684d6dbc65933da11ce1a2c8ba660442

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 96cc2524eaba5602eba84d6aa314e5ddaa9a9dc1
2017-12-14 13:20:34 -06:00
Miko Mynttinen
b427c98213 Bug 1425115 - Only add nsDisplayPerspective to mTransformFrame when retaining display list r=mattwoodrow
MozReview-Commit-ID: HKey0DG2r4c

--HG--
extra : rebase_source : 4e3087f2c12751ec129d558127556259b1b12f23
extra : source : 27e11cbb58f2549e3df59aea3f95306613ec6194
2017-12-13 14:38:24 -06:00
James Cheng
a6959f140c Bug 1423069 - Move file into TypedObject. r=jorendorff
MozReview-Commit-ID: 4pNv0ouS9B4
2017-12-04 20:03:00 +02:00
Tom Tung
89da9c7d42 Bug 1422815 - P1: Fix for failing to get quotaObject unexpectedly. r=bkelly
This patch is for avoiding use quotaObject while it does not exist in Release.
Note that we sill catch this in Beta and Nightly by the assertion.

--HG--
extra : rebase_source : cae8b7816adfa91fdc1e5abae6dc92c506b1719c
2017-12-06 10:12:24 +08:00
Boris Zbarsky
68d5557904 Bug 1425107. Fix setting scrollTop to 0 on an element with a pending scroll position restore to actually work correctly. r=mats
MozReview-Commit-ID: 949eBXmKHlA
2017-12-14 12:45:37 -05:00
Boris Zbarsky
5ca7c0dda1 Bug 1081385. Give functions created via exportFunction the same .length as the function being exported. r=gabor
MozReview-Commit-ID: 7NVkm2rqfs4
2017-12-14 12:45:35 -05:00
Dorel Luca
96d67a7297 Backed out 2 changesets (bug 1303957) for for frequently failing own mochitest plain dom/events/test/pointerevents/test_getCoalescedEvents.html r=backout on a CLOSED TREE
Backed out changeset a0a5bec2bb3f (bug 1303957)
Backed out changeset a91a06d7c3f3 (bug 1303957)
2017-12-14 19:10:47 +02:00
Matthew Noorenberghe
c191af1b68 Bug 1425250 - Run mozscreenshots on opt builds only. r=jaws 2017-12-14 10:19:09 -06:00
Matthew Noorenberghe
f0463559e6 Bug 1425250 - Run mozscreenshots on integration branches. r=jaws
--HG--
extra : rebase_source : 6c06c19119bf972bbd23697429135c5a6f9bb7ab
2017-12-14 10:16:36 -06:00
Geoff Brown
6aa123de17 Bug 1425163 - Use cat /proc/meminfo rather than trying to pull it from device; r=bc 2017-12-14 09:46:04 -06:00
Mats Palmgren
0de4d4e471 Bug 1424528 part 4 - Remove the nsDidReflowStatus enum type. r=dholbert
MozReview-Commit-ID: 3QFWSlQ84fF
2017-12-14 16:21:49 +01:00
Mats Palmgren
41423a85e6 Bug 1424528 part 3 - A few manual fixes related to removing the nsDidReflowStatus param in DidReflow. r=dholbert
MozReview-Commit-ID: 8elJQTfOaaL
2017-12-14 16:21:49 +01:00
Mats Palmgren
fb3dd87715 Bug 1424528 part 2 - Remove nsDidReflowStatus param in DidReflow declarations (automated change). r=dholbert
MozReview-Commit-ID: 44pchGXzYL7
2017-12-14 16:21:49 +01:00
Mats Palmgren
60e745ae58 Bug 1424528 part 1 - Remove nsDidReflowStatus::FINISHED 3rd arg in DidReflow calls (automated change). r=dholbert
MozReview-Commit-ID: CiK7pV0OsGr
2017-12-14 16:21:49 +01:00
Mats Palmgren
22e39fd75a Bug 1424524 part 2 - Use IsFlexOrGridContainer() in a few more places. r=dholbert
MozReview-Commit-ID: 3BwSheNfbrx
2017-12-14 16:21:49 +01:00
Mats Palmgren
979ed84b2e Bug 1424524 part 1 - Use IsFlexContainerForLegacyBox() to avoid code duplication. r=dholbert
MozReview-Commit-ID: 6LY3iW4YnbY
2017-12-14 16:21:49 +01:00
Emilio Cobos Álvarez
b864765f92 Bug 1424816: Remove the document state cache. r=smaug
See bug 1422633, there are assertions missing, and servo doesn't assert at all
anymore.

I don't think it's worth optimizing / lazily resolving it, each time the
document state changes.

We usually just restyle the world anyway (which requires recomputing it), and
the changes that it's optimizing (nsWindow::SetActive() and XUL root element
localedir attribute changes) aren't common enough to warrant the complexity I'd
say.

This doesn't handle invalidating the cache in the case the root element goes
away, I haven't bothered because it was already broken, and GetRootElement() is
already gone in RemoveSubtreeFromDocument.

MozReview-Commit-ID: 9RuQhmmy7Kr
2017-12-14 16:07:36 +01:00
Kristiyan
afb5870ded Bug 1411210 - Replace @media not all and (-moz-...) with @media (-moz-...: 0). r=dao
MozReview-Commit-ID: CwTjRfX0xnK
2017-12-14 11:50:56 +01:00
Dorel Luca
94eadeb6c0 Merge mozilla-central to inbound r=merge 2017-12-14 12:00:32 +02:00
Dragana Damjanovic
220fd9a72a Bug 1424915 - Close a httpTransaction from a http2session with the right error code if the error code is NS_BINDING_RETARGETED. Otherwise the transaction will be restarted twice. r=mcmanus 2017-12-14 10:35:54 +01:00
Doug Thayer
42065fc66b Bug 1421704 - Optimize NotifyVisited IPC to take batch r=mak
During history import, sending NotifyVisited messages from the
chrome process to the content processes in order to change link
colors can take a significant portion of the parent process's
main thread time. Batching it seems to have very significant
results on jank time during history imports.

MozReview-Commit-ID: BHAXpIMa7ly

--HG--
extra : rebase_source : f43c653e6945d7775cc9dd7bca4c1e84099c2673
2017-12-04 09:45:29 -08:00
Simon Fraser
4b804b50dd Bug 1425226 Fix secrets collection in partials generating task r=rail
MozReview-Commit-ID: HpX85H9DZzc

--HG--
extra : rebase_source : 173ba7305d82fbbba00dd239a18c3e62ae528489
2017-12-14 07:31:37 -06:00
Andi-Bogdan Postelnicu
6e6af51637 Bug 1425209 - remove dead code in CompileSimpleQuery. r=bz
MozReview-Commit-ID: 3cJAjSC47zT

--HG--
extra : rebase_source : f6df2b43e025a761900f90217891c351c29722cc
2017-12-14 13:17:34 +02:00
yulia
5cb4b0c571 Bug 1423158 - Update Debugger Frontend (12-5) r=jdescottes
MozReview-Commit-ID: FVjPco3A29I

--HG--
extra : rebase_source : 7ad0910d7a33ec45ef46577659ed8874b5891c3d
2017-12-13 18:18:50 -06:00
DimiL
8db0f119dc Bug 1407878 - P2. Add PLoginReputation.ipdl for LoginReputationService. r=billm,francois
Right now the only parameter will be sent via the IPC message is form URI.
IPC is triggered when a password field is focusd (See P2.)

MozReview-Commit-ID: J8lVwRhTFIr

--HG--
extra : rebase_source : b948cf1a719c9a06100c54f3eda526ea6f7cf848
2017-12-07 16:32:52 +08:00
DimiL
d40b2f8147 Bug 1407878 - P1. Check URLs against the login reputation service when a password field is focused. r=francois
--HG--
extra : rebase_source : ac7befbe584f008dcf87999edb6f14e24cb30f4e
2017-12-14 10:11:45 +08:00
Dorel Luca
61983e9ada Backed out 5 changesets (bug 1421799) for failing browser-chrome on Linux and OSX and for failing autophone-mochitest on Android r=backout on a CLOSED TREE
Backed out changeset 7fb20bced076 (bug 1421799)
Backed out changeset 629e467a07be (bug 1421799)
Backed out changeset 2de335c0287a (bug 1421799)
Backed out changeset afe14ec646ab (bug 1421799)
Backed out changeset bbe4d2292f86 (bug 1421799)
2017-12-14 15:41:22 +02:00
Edgar Chen
9411ae5f07 Bug 1419318 - Flip "dom.webcomponents.enabled" to true when running ShadowRoot.html and disconnected-callbacks.html tests; r=smaug
MozReview-Commit-ID: CSl5JZrnmXG

--HG--
extra : rebase_source : 007b50756115b79180f8f69e3032486594c65014
2017-12-13 16:29:33 -06:00