Commit Graph

570067 Commits

Author SHA1 Message Date
Gian-Carlo Pascutto
34be833347 Bug 1416016 - Add ../config to the sandbox whitelist for older Mesa. r=jld
MozReview-Commit-ID: KahivmVJR1l

--HG--
extra : rebase_source : 7d77f0ee77813a1214cfa5bc618b57c3208443c3
2017-11-17 15:23:28 +01:00
Kit Cambridge
626b4ed6c8 Bug 1412143 - Add mozIAsyncLivemarks.invalidateCachedLivemarks. r=mak
This patch uses a promise queue to serialize reads and writes to the
livemarks cache.

MozReview-Commit-ID: 8R7N6ORxrtV

--HG--
extra : rebase_source : 864fce259ed85fc6779dec6e7707cf30899288b3
2017-09-08 15:27:32 -07:00
Makoto Kato
9761443d2a Bug 1417400 - Get rid of nsIContentFilter. r=masayuki
m-c, c-c and bluegriffon don't use this interface. So we should remove this.

MozReview-Commit-ID: 92VwGKlrOw5

--HG--
extra : rebase_source : 003763c6abc1406bcffabbffc3fe0696985ee97a
2017-11-16 13:36:10 +09:00
Gian-Carlo Pascutto
c979b7a21f Bug 1416808 - Add "$XDG_DATA_(HOME|DIRS)"/fonts to the sandbox whitelist. r=jld
MozReview-Commit-ID: DwwltKQg8x4

--HG--
extra : rebase_source : e92b60e320bb26e66bfb38039f141ec83a34fff7
2017-11-17 15:45:11 +01:00
olmanz
3fb183c035 servo: Merge #19254 - Move custom elements stuff to their own dom::bindings submodule (from olmanz:issue19179); r=jdm
<!-- Please describe your changes on the following line: -->
r? jdm
Moved the following functions from components/script/dom/bindings/interface.rs to a new file components/script/dom/bindings/htmlconstructor.rs:

- html_constructor()
- get_constructor_object_from_local_name()
- pop_current_element_queue()
- push_new_element_queue()

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

<!-- Either: -->
- [X] These changes do not require tests

<!-- 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: 07fd6155aae8579f1a30ea99af3549c413240f24

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 28bc09e28368565f2f4050676e233ff133fb9407
2017-11-17 16:06:38 -06:00
Noemi Erli
696ac83de9 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-18 02:55:06 +02:00
Noemi Erli
40495fde1b Backed out changeset e0eab399db59 (bug 1417101) for Static errors in toolkit/components/places/target r=backout on a CLOSED TREE 2017-11-18 02:48:42 +02:00
Noemi Erli
548d6fb5ab Backed out 2 changesets (bug 1416284) for Wd Linux debug failures e.g. in get_window_rect.py r=backout on a CLOSED TREE
Backed out changeset 8fc12fbc1422 (bug 1416284)
Backed out changeset ff138177269b (bug 1416284)
2017-11-18 02:43:31 +02:00
Noemi Erli
d96f41a437 Merge inbound to mozilla-central r=merge a=merge 2017-11-18 00:01:46 +02:00
Noemi Erli
1d5be20b0d Merge autoland to mozilla-central r=merge a=merge 2017-11-18 00:00:22 +02:00
ffxbld
4f3980082f No bug, Automated HPKP preload list update from host bld-linux64-spot-035 - a=hpkp-update 2017-11-17 11:41:51 -08:00
ffxbld
794ea08b42 No bug, Automated HSTS preload list update from host bld-linux64-spot-035 - a=hsts-update 2017-11-17 11:41:47 -08:00
Andrew Osmond
19e321eb9e Bug 1366097 - Part 8. Improve image memory reports to include SVG context information. r=tnikkel 2017-11-17 14:08:52 -05:00
Andrew Osmond
2278b250dc Bug 1366097 - Part 7. VectorImage::Show should delegate to ImageResource::NotifyDrawingObservers. r=tnikkel 2017-11-17 14:08:52 -05:00
Andrew Osmond
b257c6e489 Bug 1366097 - Part 6. Restrict use of SVGImageContext in VectorImage::GetImageContainerAtSize to permitted URIs. r=tnikkel 2017-11-17 14:08:52 -05:00
Andrew Osmond
114b8069b3 Bug 1366097 - Part 5. Add an SVGImageContext parameter to imgIContainer::GetImageContainerAtSize. r=tnikkel 2017-11-17 14:08:52 -05:00
Andrew Osmond
c6bd7fcdf9 Bug 1366097 - Part 4. Mark VectorImage as surface as shared when used outside an image layer. r=tnikkel
This is important because it ensures we release the shared memory handle
(although not the data itself) for the underlying surface buffer when it
turns out we will probably never need to share it. If we do need to
share the surface data with the GPU process, it will reallocate a handle
if necessary, and close it when it is finished. On some platforms we
only have a finite number of handles, so if we don't need them, we
should close them.
2017-11-17 14:08:52 -05:00
Andrew Osmond
c94d4d3f78 Bug 1366097 - Part 3. Implement VectorImage::GetImageContainerAtSize and VectorImage::IsImageContainerAvailableAtSize. r=tnikkel
This is largely trivial because the meat of the implementation is
located in ImageResource and we already added GetFrameInternal.
Interestingly VectorImage::IsUnlocked does not actually check if the
image is locked, but instead only checks for animation consumers. This
is consistent with its historical behavior on when to issue an unlocked
draw event.

Note that we do not implement the original GetImageContainer and
IsImageContainerAvailable APIs. This is because the former does not
accept an SVG context and it would be best to discourage its use in old
code lest we get incorrect/unexpected results.
2017-11-17 14:08:52 -05:00
Andrew Osmond
e4a6ddc142 Bug 1366097 - Part 2. Implement VectorImage::GetFrameInternal as required by ImageResource for image containers. r=tnikkel
No functional change aside from the implementation from
VectorImage::GetFrameAtSize being repurposed for GetFrameInternal and
returning an additional error code with the surface.
2017-11-17 14:08:52 -05:00
Andrew Osmond
3f61fdab9e Bug 1366097 - Part 1. VectorImage::GetFrameAtSize should not create a DrawTarget if using cached surface. r=tnikkel
Creating a DrawTarget can be an expensive operation. This is especially
true in this case because checking for a cached already decoded version
of the VectorImage is expected to be fast. Currently VectorImage::Draw
is the typical path to render these images, but in the future, getting
the frames directly or indirectly (through an ImageContainer) will
become more common.
2017-11-17 14:08:51 -05:00
ffxbld
4da78d1a66 No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-11-17 11:02:48 -08:00
ffxbld
8591b856f3 No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-11-17 11:02:45 -08:00
Andreea Pavel
2fcbdb44fe Backed out 5 changesets (bug 1366083, bug 1410528, bug 1417267) for failing Spidermonkey jstests and jit-tests r=backout on a CLOSED TREE
Backed out changeset a83b373d2d2e (bug 1417267)
Backed out changeset 3059e975eef8 (bug 1366083)
Backed out changeset 94d20ed3c062 (bug 1410528)
Backed out changeset 5e1dc7fec0ff (bug 1410528)
Backed out changeset ec0702d55b01 (bug 1410528)

--HG--
extra : source : 39b52bba2abfddf3a4bee78b0cce9a505d93f204
2017-11-17 10:13:38 +02:00
Ciure Andrei
92d28bd8f2 Merge inbound to mozilla-central r=merge a=merge 2017-11-17 11:59:03 +02:00
Kit Cambridge
870acfd373 Bug 1417101 - Remove the annotation observer from the bookmarks service. r=mak
Since `SetItemAnnotation` already queries `moz_bookmarks`, we can fetch
and pass the changed bookmark's info directly to
`nsNavBookmarks::NotifyItemChanged`, without going through the anno
observer.

This patch refactors the internal `Set*` methods to pass an optional
`BookmarkData` from `SetItemAnnotation`, and fire `OnItemChanged`
notifications after notifying anno observers. `NotifyItemChanged` also
updates the bookmark's last modified time if requested.

MozReview-Commit-ID: Hz5qiOmAjsD

--HG--
extra : rebase_source : 37170f4661341e3a401f8210ceec84cbf439b4b2
2017-11-16 16:49:03 -08:00
Makoto Kato
8fbfdec507 Bug 1417356 - xpcshell doesn't have Java thread. r=jchen
This is a regression by bug 1403690.  After landing this, some xpcshell tests
cause crash with stylo.

mozilla::java::GeckoAppShell::GetShowPasswordSetting doesn't work on xpcshell
test.  If JNI isn't available such as xpcshell, we shouldn't use this method.

MozReview-Commit-ID: AUrT93SkQ2H

--HG--
extra : rebase_source : 2147a42633ea98e3a4d891af832f28c105d5dcf8
2017-11-16 12:25:26 +09:00
Tom Prince
3852b33ae4 Bug 1415619: Add some sphinx documentation pointing at taskgraph configuration. r=dustin
MozReview-Commit-ID: 3EAu9bkln8h

--HG--
extra : rebase_source : 0acb6c32a3a1a4bec24513006a586e9a422e1728
2017-11-15 14:17:07 -07:00
John Dai
a710f595fa Bug 1406325 - Part 5: Implement try to upgrade. f=echen, r=smaug 2017-11-14 19:25:00 +08:00
John Dai
d1400ac8b1 Bug 1406325 - Part 4: Use mType for LookupCustomElementDefinition and also removing parts of v0. f=echen, r=smaug 2017-11-14 19:23:00 +08:00
John Dai
2319f825df Bug 1406325 - Part 3: Refactor custom elements clone a node. f=echen, r=smaug 2017-11-14 20:01:00 +08:00
Gregory Szorc
214be74c6c Bug 1417264 - Write .mozconfig.json from Python; r=nalexander
In order to determine if we need to re-run configure, we write
a JSON file representing the evaluated mozconfig. If this JSON
file changes, configure (and config.status for that matter) is
out of data and it is re-executed.

This commit moves the generation of that JSON file to Python.

MozReview-Commit-ID: 636rpSY7gOm

--HG--
extra : rebase_source : ee1defd74decfd64ffb66a45b053dada58de04fb
2017-11-13 17:45:03 -08:00
Gregory Szorc
f269a93370 Bug 1417264 - Write objdir .mozconfig from Python; r=nalexander
This is a pretty straightforward port of the logic. But we
even go a step further: we delete the file in the objdir if there is
no source mozconfig!

MozReview-Commit-ID: AHFFzy6mXRY

--HG--
extra : rebase_source : 1b9387bd72f5a8e9bf8274f5764b0db0176fdba2
extra : source : 0cab9a382d817e6fbab9daa37db0f23e7f73e71f
2017-11-13 17:31:14 -08:00
Gregory Szorc
c4869e52d7 Bug 1417264 - Remove target for autoconf.mk; r=nalexander
This target isn't referenced elsewhere in client.mk. It appears to be
dead.

When this target became orphaned, I don't know. I suspect at some point
some included .mk file attempted to "include autoconf.mk." But I'm not
sure what file that would have been or when it would have changed.

FWIW, autoconf.mk is generated by config.status, courtesy of it being
listed in CONFIGURE_SUBST_FILES.

MozReview-Commit-ID: AcPrihAou11

--HG--
extra : rebase_source : 68b1b19428d0754884515c42250353bd75407784
2017-11-13 17:22:38 -08:00
Gregory Szorc
e842a1e0ab Bug 1417264 - Write .mozconfig.mk file from Python; r=nalexander
The file is a filtered version of the make file that we previously
started generating for client.mk. Why there is special casing for
UPLOAD_EXTRA_FILES, I'm not sure. This smells fishy and is something
I'd like to take a look at once all code is ported out of client.mk.

The removal of the logic from client.mk meant that we could remove
a bunch of code from client.mk related to loading mozconfig files.
We can now simply include the auto-generated make file directly and
be done with it.

MozReview-Commit-ID: 4M5NElQA7iR

--HG--
extra : rebase_source : 87ed98fa62513007c6fdd2df00eb871a5a29a146
extra : source : 247617a64b7c438528f97d10c86e2f7b8cb72237
2017-11-13 16:22:42 -08:00
Gregory Szorc
8b6802b16f Bug 1417264 - Move printing of mozconfig lines to Python; r=nalexander
We write the file that client.mk is printing from Python. We can
also log it from there pretty easily. So do that.

MozReview-Commit-ID: 7eeugdOJR5b

--HG--
extra : rebase_source : 308826e948fa20684bbc40c806322f802689627e
2017-11-13 15:35:16 -08:00
Gregory Szorc
db1d4ad2e7 Bug 1417264 - Refactor code for writing mozconfig make file; r=nalexander
Upcoming commits need to move more logic from client.mk. It will
be easier if we have a list of lines in the mozconfig as a local
variable.

MozReview-Commit-ID: 1wFZTfWLGP9

--HG--
extra : rebase_source : 5e3c408fdf7f953e9cbac1c4a57fd5fa87f8fbbc
2017-11-13 16:14:47 -08:00
Tim Nguyen
3adfb3eca6 Bug 1415878 - Accept both Chrome arrays and CSS colors for all properties. r=jaws
MozReview-Commit-ID: 6NkIUZKWkBI

--HG--
extra : rebase_source : 9f333c76bd3d9b321851129b0cb815686753fe82
2017-11-16 12:40:53 +00:00
Kartikaya Gupta
5142eee14b Bug 1389149 - Conditionally create the compositor hit-test info items. r=mstange
Create hit-test info items (if enabled) for each frame that is not
invisible to hit-testing. This is not optimized at all yet, so it
creates a lot of display items if enabled.

MozReview-Commit-ID: LFqoaZ9e99F

--HG--
extra : rebase_source : 8a4a6bf912f88b35f2ed86f9a84ddb74e69bde38
2017-11-15 11:39:45 -05:00
Kartikaya Gupta
f00ba5afd5 Bug 1389149 - Add a new display item to carry the compositor hit-test info to WR. r=mstange
This also adds a flag to the nsDisplayListBuilder to better control
the creation of these items.

MozReview-Commit-ID: BbeRGDjd2ie

--HG--
extra : rebase_source : ec36114d3c7eefffcf9612fc2da1aaf1353c35d8
2017-11-15 11:39:45 -05:00
Kartikaya Gupta
a02e29e13b Bug 1389149 - Add WR bindings for setting hit-test info and doing hit-tests. r=mstange
This exposes some functions on wr::DisplayListBuilder to set hit-test
info and to do hit-tests.

The mechanism to set hit-test info is made a little more generic than is
actually used in this patchset, because doing it this way allows for
more optimization possibilities.
Specifically, the API allows setting some hit-testing state which is then
applied to all display items that are created until that state is
updated or cleared. An alternative would be to specify the hit-testing
state explicitly when creating particular display items; however doing
that would force the call sites that create the display items to compute
or obtain the hit-testing state, which would make the code less
encapsulated and harder to refactor/optimize.

MozReview-Commit-ID: EJoCFv83iu8

--HG--
extra : rebase_source : d2a117a52144f76dcc312de2a4047298e78135cb
2017-11-15 11:39:44 -05:00
Kartikaya Gupta
26f0373ad0 Bug 1389149 - Extract the logic from nsDisplayLayerEventRegions::AddFrame into a more reusable form. r=mstange
This introduces a enum bitset type that encapsulates some of the
interesting properties that frames have that make it interesting for
hit-testing in the compositor. This type is designed so it can be sent
directly to webrender and gotten back in the hit-test.

MozReview-Commit-ID: GCxV7ZaoJd1

--HG--
extra : rebase_source : a9cc5ecfc7c5baeab2f6e08cd2ee2c2a7756e20c
2017-11-15 11:39:44 -05:00
Michael Froman
cb81178b8a Bug 1414167 - Add offer/answer labels to local and remote sdp headings on about:webrtc. r=drno,smaug
Add a new |offerer| field to RTCStatsReport.
Based on offerer, label the local sdp as offer or answer.
Based on offerer, label the remote sdp as offer or answer.

MozReview-Commit-ID: 4jdWP8tpr9w

--HG--
extra : rebase_source : 5724645ef8e39c2af0c5fccf7d7872ee2cb437b5
2017-11-15 13:40:09 -06:00
Oriol Brufau
cac2f457e4 Bug 1417035 - Stop using <plaintext> in JSON Viewer r=Honza
MozReview-Commit-ID: ADGZiyMTaAL

--HG--
extra : rebase_source : 06c95da34e6ffa0b23291be30aed2d5463e6f62c
2017-11-14 01:34:21 +01:00
Brian Grinstead
b07600fb90 Bug 1416368 - Remove unreferenced "statusbarpanel-text" class;r=dao
MozReview-Commit-ID: DsNpoB81O40

--HG--
extra : rebase_source : 4c561833a48d3f3e2fd2259ae25566cc0b5a60e1
2017-11-10 14:53:40 -08:00
Brian Grinstead
0ed4d8d06c Bug 1416368 - Remove unused statusbarpanel-* bindings;r=dao
MozReview-Commit-ID: I6QKxP6joag

--HG--
extra : rebase_source : 0a78abfaa63e969c41656fb2b7957dc9e959bc8b
2017-11-10 14:48:34 -08:00
Tom Prince
dd4df1aec9 Bug 1415619: Add a separate trust-domain to cached tasks. r=dustin,gps
This allows firefox and thunderbird builds to avoid using each others bits.

MozReview-Commit-ID: KYQYDd2tkGj

--HG--
extra : rebase_source : 42f1d13ec609f066cb3bd3050ed894296b72d982
2017-11-09 17:15:29 -07:00
Tom Prince
e034757087 Bug 1415619: Use gecko.caches for indexing docker tasks. r=dustin
MozReview-Commit-ID: IN17XmVk7HJ

--HG--
extra : rebase_source : 213d14d89b920db74887714b45df8c1d64a6dbb6
2017-11-09 17:08:41 -07:00
Tom Prince
cf221c670c Bug 1415619: Add some routes that humans can use to cached tasks. r=dustin,mshal
MozReview-Commit-ID: BmiJ8WBl6yq

--HG--
extra : rebase_source : 0846bc24eb1ed188d258fc8e3877f413122349ff
2017-11-09 16:53:54 -07:00
Tom Prince
74ceb1d825 Bug 1415619: Factor out toolchain cache index calculations. r=dustin,mshal
MozReview-Commit-ID: KSvwr94j5QB

--HG--
extra : rebase_source : 2a246ef983069420f54d400fc48eb3b3cfad2886
2017-11-06 13:37:00 -07:00
CYBAI
f6119599d6 servo: Merge #19253 - style: Move font-variant-ligatures outside of mako (from CYBAI:font-variant-ligatures-out-of-mako); r=emilio
This is a sub-PR of #19015
r? @emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19246
- [x] These changes do not require tests

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5e90d778801ac494f6b78445e5c243ffc8bed7eb
2017-11-17 15:03:14 -06:00