Граф коммитов

590297 Коммитов

Автор SHA1 Сообщение Дата
Christoph Kerschbaumer aaaf3a0193 Bug 1452496: Discard same-site cookie in cross site context. r=dveditz 2018-04-10 17:17:49 +02:00
Andrea Marchesini 98e4210df4 Bug 1451731 - Synchronize access to various stream classes' async wait callback reference - part 6 - IPCBlobInputStream, r=mayhemer 2018-04-10 17:33:09 +02:00
Andrea Marchesini e7c376b6e7 Bug 1451731 - Synchronize access to various stream classes' async wait callback reference - part 5 - FileSnapshot StreamWrapper, r=mayhemer 2018-04-10 17:33:09 +02:00
Andrea Marchesini 06a6fb4d1b Bug 1451731 - Synchronize access to various stream classes' async wait callback reference - part 4 - PartiallySeekableInputStream, r=mayhemer 2018-04-10 17:33:09 +02:00
Andrea Marchesini ff755dfc70 Bug 1451731 - Synchronize access to various stream classes' async wait callback reference - part 3 - SlicedInputStream, r=mayhemer 2018-04-10 17:33:08 +02:00
Andrea Marchesini 25021a1165 Bug 1451731 - Synchronize access to various stream classes' async wait callback reference - part 2 - nsMIMEInputStream, r=mayhemer 2018-04-10 17:33:08 +02:00
Andrea Marchesini 32490ee5b7 Bug 1451731 - Synchronize access to various stream classes' async wait callback reference - part 1 - nsBufferedInputStream, r=mayhemer 2018-04-10 17:33:08 +02:00
Yura Zenevich 442d872d5b Bug 1428427 - add 'Inspect Accessibility Properties' context menu item when right clicking on content element. r=jdescottes, mixedpuppy
MozReview-Commit-ID: 4aav1f6eslQ
2018-04-10 10:52:58 -04:00
Dave Hunt 4d1d1447df Bug 1447057 - Document policies for using third-party Python packages; r=gps
MozReview-Commit-ID: 8eJt84pEKlv

--HG--
extra : rebase_source : 88ff3693be50954f28bb9e5a46f412e8dd2432ff
2018-03-19 17:53:33 +00:00
Gurzau Raul df79f362f0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-10 19:56:38 +03:00
Shane Caraveo 3ca9246dbe Bug 1442679 - fix insertAfterRelated for bulk opening via tabbrowser.loadTabs, r=dao
MozReview-Commit-ID: 1E90mhjvm81

--HG--
extra : rebase_source : c37e693f91386d4d601cea74e99012fce3e4936c
2018-04-05 11:33:39 -05:00
Tim Nguyen 95f4ea3410 Bug 1449327 - Stop sanitizing fully transparent values. r=dao
MozReview-Commit-ID: JMtBYycoRMC

--HG--
extra : rebase_source : 2c02e44a464ce5d62ed21fce9d61d2921e7f5001
2018-03-31 13:57:09 +02:00
Kartikaya Gupta 97a6b6003c Bug 1449982 - Conceptually split the mUpdaterQueue into separate queues per layers id. r=botond
This allows us to treat tasks from different layers id as independent,
thereby removing the unnecessary latency increase as described in bug
1449982 comment 33.

Note that we could probably implement this by actually maintaining
separate queues for each layers id, but that involves more overhead
since we would need to have a map from layers id to task queue, and
removing entries from that map becomes tricky with respect to locking
and timing.

MozReview-Commit-ID: 7jtYqNDwJqP

--HG--
extra : rebase_source : d55fa2c20c5e78a330033dcf049d5cc468024bb0
2018-04-10 12:30:01 -04:00
Kartikaya Gupta c113f26ef7 Bug 1449982 - Hook up epoch-based task processing on the updater thread. r=botond,nical
This makes it so that we only process a UpdateHitTestingTree task (and any
tasks queued after it) once we know that the corresponding scene has
been built and swapped in by WebRender. This ensures that processing of
APZ data stays in sync with the active scene in WR.

The way we do this is by tracking the "epoch" (which is updated per
WR/layers transaction) that the APZ messages are based on. Only once the
scene for that transaction is swapped in do we process those messages.

MozReview-Commit-ID: 2qGTSTeSqve

--HG--
extra : rebase_source : fb4cb0df3970213d01e21a792957ad22771a0637
2018-04-10 12:30:01 -04:00
Kartikaya Gupta bcf81a1fe2 Bug 1449982 - Move the WebRenderScrollData storage from WebRenderBridgeParent to APZUpdater. r=botond
This allows us to easily store a handle to the APZUpdater on the
WebRenderScrollDataWrapper class and walk around in the scroll data tree
without having to query other classes like CompositorBridgeParent or
WebRenderBridgeParent when we encounter a reflayer boundary.

MozReview-Commit-ID: 6l7oMb7tBlW

--HG--
extra : rebase_source : d21b64317eaf40f743fb7354b3292ab0f54a6d05
2018-04-10 12:29:56 -04:00
Kartikaya Gupta cee3af0c5e Bug 1449982 - Clean up WrEpoch usage. r=nical
I don't know why we keep using plain uint32_t and uint64_t values when
we have better types that we can use. This makes the code use and store
wr::Epoch natively instead of raw uint32_t values that are wrapped
on-demand.

MozReview-Commit-ID: HUVcHYSxBTi

--HG--
extra : rebase_source : 9e8f367f864483a65273cbbeb1168587841279f0
2018-04-10 12:29:56 -04:00
Kartikaya Gupta 9c2db3f2e5 Bug 1449982 - Add the task queue for running things on the updater thread. r=botond
If we're using the WR scene builder thread as the updater thread, we
cannot just post a task to its message loop, because it's a rust thread
that doesn't have a message loop. Instead, we put these tasks into a queue
that we will process in callbacks that are invoked from the updater
thread.

This patch just adds the basic queue machinery, it will get more
complicated in a future patch because we need to gate the tasks to make
sure they don't run too early.

MozReview-Commit-ID: 8DCYbsQ5cBC

--HG--
extra : rebase_source : 7081fb187436451b0c9d654f2e31c486d25924d7
2018-04-10 12:29:55 -04:00
Kartikaya Gupta 4bffc1c061 Bug 1449982 - Implement the WR updater thread registration. r=botond
This lets the APZUpdater know which thread is the actual updater thread.
This is only really used for the thread assertions, but might be useful
for debugging and such as well.

MozReview-Commit-ID: IIDm6Ui3Sh4

--HG--
extra : rebase_source : 575ba6c0c5d56276743e81e738e73e7672e08367
2018-04-10 12:29:55 -04:00
Kartikaya Gupta fde6e769ba Bug 1449982 - Add the plumbing for scene builder thread interaction. r=nical
This is all the (bidirectional) glue that connects the SceneBuilderHooks
to the APZUpdater.

MozReview-Commit-ID: JIqUaClVa57

--HG--
extra : rebase_source : c6da81e63793570f79cdfa153f6d33d2ac05bdf6
2018-04-10 12:29:55 -04:00
Kartikaya Gupta 4a07281ed3 Bug 1449982 - Introduce pref to control async scene building. r=nical
Until all the pieces are in place, turning on this pref will probably
break horribly. But we need the pref so we can add the rest of the
pieces without enabling them by default.

MozReview-Commit-ID: 7DkcwZgXwhx

--HG--
extra : rebase_source : e1fdef2e9a682028df524f51f767a4d2187410b1
2018-04-10 12:29:55 -04:00
Kartikaya Gupta 7dd62afca0 Bug 1449982 - Maintain a map from WrWindowId to APZUpdater. r=botond
This will allow callbacks from rust code to get a handle to the
necessary APZUpdater instance on which to invoke functions.

MozReview-Commit-ID: 13XdzZrrtI5

--HG--
extra : rebase_source : 137af2a4c738a6e9294972be9e0566c9fdef58ac
2018-04-10 12:29:55 -04:00
Kartikaya Gupta 164909dbed Bug 1449982 - Move the window id allocation to CompositorBridgeParent. r=nical
This includes a signature change from CompositorBridgeParentBase ->
CompositorBridgeParent which is not strictly required, but it makes it less
likely that we'll accidentally create a WebRenderAPI from somewhere else
and pass a nonsense window id. In effect, the signature change makes it
likely that only CompositorBridgeParent will allocate the window ids.

MozReview-Commit-ID: 8AnnmI8RytR

--HG--
extra : rebase_source : 6fd957c4a9e5bb2175bee2cc89f7eb6d27a6bc9e
2018-04-10 12:29:55 -04:00
Kartikaya Gupta 42eff13cf2 Bug 1449982 - Don't hold the sIndirectLayerTreesLock unnecessarily while notifying APZ of a layer tree removal. r=botond
MozReview-Commit-ID: 2OqbmMHCxn9

--HG--
extra : rebase_source : ec94523ba6d56a0c9cbfe3bf1a35bfaf2ba4687c
2018-04-10 12:29:54 -04:00
Gurzau Raul 50cb7a4f32 Backed out changeset d186bcce1235 for failing on layout/style/test/test_shorthand_property_getters.html on a CLOSED TREE 2018-04-10 19:42:20 +03:00
Kartikaya Gupta d23526ec95 Bug 1452656 - Re-enable a now-passing crashtest. r=jrmuizel
MozReview-Commit-ID: Kr88oFk0JyA

--HG--
extra : rebase_source : 20220e4edfb8ec08ceeb878747c323bfb5267546
2018-04-09 11:11:47 -04:00
Marco Bonardo 8b76afe3e5 Bug 1448057 - Asincify some Places tests and add a test for favicons on bookmark redirects. r=standard8
Async-ify some tests.
Moves some tests from browser-chrome to xpcshell.
Due to the move, I found out that we are fetching icons from network even when
we are not supposed to, so fix this bug (automatically tested by xpcshell through
disallowing remote network access).
Add a missing test for bookmark redirects, to cover the moved around code.

MozReview-Commit-ID: EB2Z0huovJh

--HG--
rename : toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js => toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage.js
rename : toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage_failures.js => toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage_failures.js
extra : rebase_source : 5289551f205bea9c5f2c6e68bbc70ce421b77311
2018-04-05 11:03:19 +02:00
Brad Werth f443774ffa Bug 1452184: Re-enable shape-outside linear gradient wpt tests on macOS. r=dholbert
MozReview-Commit-ID: 5wERK1l2VTa

--HG--
extra : rebase_source : 3e96c879d5eae00f4709aead10d8c900a6dfa7dd
2018-04-06 11:02:50 -07:00
Miko Mynttinen 497d73ffdc Bug 1452791 - Update WebRenderLayerManager mAnimationReadyTime in empty transactions r=kats
MozReview-Commit-ID: 898pemO7YxO

--HG--
extra : rebase_source : d9f51ae6455bb633374d0752b0c73f6ef960ba9a
2018-04-10 16:07:48 +02:00
Henrik Skupin 45a5fa3432 Bug 1452864 - [mozfile] Always use Unicode delimiters for tree() output. r=gbrown
MozReview-Commit-ID: E44O1NGM7Mg

--HG--
extra : rebase_source : c3d5932b05ad9099fb563a3ab69c3a610f26755e
2018-04-10 10:22:27 +02:00
Henrik Skupin 7524e36b05 Bug 1452864 - [mozfile] tree() broken with Unicode characters in path. r=gbrown
The patch correctly marks the delimiters for the tree output
as Unicode, and also updates mozprofile to correctly serialize
the Profile object when str() is used.

MozReview-Commit-ID: AjUHa6zGHQe

--HG--
extra : rebase_source : d4fa6c5db91184dee6a2abe788aa23d0c6255be6
2018-04-10 09:31:10 +02:00
Marco Bonardo 06df983ba2 Bug 1452376 - Replace GetDescendantFolders with a recursive subquery. r=standard8
MozReview-Commit-ID: 7eXfqzX2qLl

--HG--
extra : rebase_source : 3e0c4e6049d137b15ae1391ea854f7096212a7ee
2018-04-10 00:20:36 +02:00
Marco Bonardo 3a337abf8a Bug 1452621 - Cleanup some tag queries related code. r=standard8
MozReview-Commit-ID: L8L3i5W1CHe

--HG--
extra : rebase_source : 50b547644e39238402985072d400022c83a33a7a
2018-04-09 15:38:45 +02:00
Henrik Skupin 71a6b2d154 Bug 1452913 - Prevent hang of reftests when reading test objects list fails. r=gbrown
For the promise as returned by "OS.File.read()" the catch handler
is missing, and as such the tests will never be started when
the call to "read()" triggers an exception. It also results in
a hang of the reftest harness.

To prevent this, the failure has to be handled and appropriately
reported.

MozReview-Commit-ID: IX9thgjjahS

--HG--
extra : rebase_source : 963cd0aeb593b7627603566d1ad08d5e0863142f
2018-04-10 14:20:02 +02:00
Emilio Cobos Álvarez 96521cf595 servo: Merge #20610 - style: Simplify border-image-repeat serialization (from emilio:border-image-repeat); r=nox
We're the only ones to preserve explicitly the second keyword, as noticed in:

  https://github.com/w3c/web-platform-tests/pull/10170

Source-Repo: https://github.com/servo/servo
Source-Revision: 07dd37a0cf2eb19a294b27404f1deee1ee6e8fd7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 63bfe2e3f540cc2108155ae683adb13b7f0ecd45
2018-04-10 08:49:28 -04:00
yulia 4928fe12d6 Bug 1443184 - update browser_markup_accessibility_semantics.js to use async/await. r=ochameau
MozReview-Commit-ID: AzLZwI43YU0

--HG--
extra : rebase_source : 2ba740555ef0d9a13354a2f788adaf517cd276cf
2018-04-05 11:10:39 +02:00
Andreas Pehrson 0e9dd51519 Bug 1376960 - Update WPT expectations for mediacapture-streams. r=jib
MozReview-Commit-ID: ILa7fYQNukP

--HG--
extra : rebase_source : 48d05bafcc483356411e9436e7896072129b339c
2018-03-19 16:39:17 +01:00
Mike Hommey be4f305f62 Bug 1445536 - Add a toolchain job for GCC 7. r=froydnj
And adapt the build-gcc.sh script for the changes to
contrib/download_prerequisites.

--HG--
rename : taskcluster/scripts/misc/build-gcc-6-linux.sh => taskcluster/scripts/misc/build-gcc-7-linux.sh
extra : rebase_source : b1d785777b8c141c0eb0f52a73734abd2db21b94
2018-03-14 09:37:27 +09:00
Emilio Cobos Álvarez 014cbed7df No bug: Update expectations for minor serialization changes. r=me
MozReview-Commit-ID: 3nq9Qbwy9td
2018-04-11 01:49:58 +02:00
Emilio Cobos Álvarez 9d81428b52 servo: Merge #20616 - style: Simplify border-image-repeat serialization (from emilio:border-image-repeat); r=nox
We're the only ones to preserve explicitly the second keyword, as noticed in:

  https://github.com/w3c/web-platform-tests/pull/10170

Reland of #20610 because it got backed out because I wasn't paying attention to IRC.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 78c24f1f347f08ba000dead9abd2a366a96c500e
2018-04-10 18:46:39 -04:00
Petru Lingurar 55215fad0f Bug 1452173 - Add Leanplum documentation for Users Opting out of pocket in top sites; r=mcomella
Make mention of the new LeanPlum user attribute introduced as per Bug 1445799

MozReview-Commit-ID: 7jjRzh2wfe5

--HG--
extra : rebase_source : ad147e215e0e82d704c584677b7336a40997455e
2018-04-10 11:39:42 +03:00
Petru 9c3b4ffa5a Bug 1423046 - Drop an event when User opens the Firefox app (from Leanplum contextual hints); r=mcomella
The app already sends "E_Launch_Browser" for when it is first launched.

MozReview-Commit-ID: 9BU6b3D58vY

--HG--
extra : rebase_source : eee5acb5e5142f378d4d80d663de29da88bb03c5
2018-04-05 13:34:32 +03:00
Kyle Machulis edc9099ead Bug 1404112 - Add bounds checks to gamepad dpad unpacking; r=ted
We weren't checking the length of our buttons array before referencing
dpad offsets, meaning if the HID descriptor reports something
different than we have, we can overflow.

MozReview-Commit-ID: 5RKxwDmmq0Z

--HG--
extra : rebase_source : afbe0aff9c89b8ded57462384f0bf4158facdbd9
2018-04-09 16:28:15 -07:00
arthur.iakab 8fe9a4d75a Merge mozilla-central to autoland 2018-04-11 01:12:49 +03:00
arthur.iakab ed1a48db44 Merge mozilla-central to autoland
--HG--
extra : rebase_source : 847e084c5fa4875502548cbcd457b7eabc7ca089
2018-04-11 00:58:18 +03:00
Emilio Cobos Álvarez a1a1b8ea34 Bug 1452916: Remove dead error reporting code. r=bholley
MozReview-Commit-ID: GAn0ASQzBt
2018-04-10 23:58:18 +02:00
Emilio Cobos Álvarez b3819d4cd5 Bug 1452916: Expose the error reporting pref. r=bholley
MozReview-Commit-ID: wkUSJ50Nne
2018-04-10 23:57:39 +02:00
Daisuke Akatsuka 942f6ebb24 Bug 1449784: To avoid double scroll bar. r=pbro
MozReview-Commit-ID: FjEHkLoD79D

--HG--
extra : rebase_source : 795f2eef016cfe2c3774e8a542455733f7558f3b
2018-04-10 18:28:35 +09:00
mayank.raj 2e34cc583d Bug 1442884 - Show request details button does not work when the first request list item is not shown using any filters. r=Honza
MozReview-Commit-ID: uE44j14qMB

--HG--
extra : rebase_source : 1c144b1e2d6ad50693aade1df0faea0afd295ed8
2018-04-06 18:54:15 +05:30
Jim Chen 8cda5b741c Bug 1451359 - 2. Add comments/annotations to BasicSelectionActionDelegate; r=jchen
Add more comments and null annotations to methods.

MozReview-Commit-ID: Ad9trkwEdDW

--HG--
extra : rebase_source : 4cbb849eb96800b3aa60ef059cd99a412def44f1
2018-04-10 17:01:27 -04:00
Jim Chen 6b0ce6af8d Bug 1451359 - 1. Add support for external selection actions; r=snorp
Add support for external selection actions (e.g. "Translate" action
offered by the Google Translate app) in the default selection actions
toolbar.

MozReview-Commit-ID: AAlWIS1ZfMX

--HG--
extra : rebase_source : e6cf26a14d5f86f4616af9deae7b9f3a311577aa
2018-04-10 17:01:27 -04:00