Commit Graph

621607 Commits

Author SHA1 Message Date
Bob Clary
82c93eb971 Bug 1504117 - [mozdevice] Release mozdevice 1.1.6, r=gbrown. 2018-11-02 07:42:53 -07:00
Bob Clary
35a04c73fe Bug 1504154 - [mozdevice] Add ADBAndroid.grant_runtime_permissions() and use when launching applications, r=gbrown. 2018-11-02 07:42:53 -07:00
Bob Clary
af6943d3ea Bug 1504117 - [mozdevice] Handle delayed sdcard mount when initializing ADBDevice, r=gbrown. 2018-11-02 07:42:53 -07:00
Margareta Eliza Balazs
5927f5cba8 Backed out 2 changesets (bug 1502964) for spidermonkey bustages. CLOSED TREE
Backed out changeset 12bca041cda6 (bug 1502964)
Backed out changeset 225f2ad3cf2f (bug 1502964)
2018-11-02 16:05:01 +02:00
Nathan Froyd
0f1c42781d Bug 1502964 - part 2 - update winapi to froydnj/winapi-rs#aarch64; r=ted.mielczarek 2018-11-02 09:41:41 -04:00
Nathan Froyd
ffa9c83933 Bug 1502964 - part 1 - bump the minimum required version of cargo-vendor; r=ted.mielczarek
The newer version features the usual crop of bugfixes we need.
2018-11-02 09:41:42 -04:00
Makoto Kato
2fe36cbaf4 Bug 1501376 - Part 2. Add mochitest. r=masayuki
Since reftest doesn't access clipboard, this test is implemented by mochitest
even if this compares with image.

Differential Revision: https://phabricator.services.mozilla.com/D10531

--HG--
extra : rebase_source : ef7bd6cc081ee5b5b821fdcef24b1c20c5315f49
2018-11-02 19:48:55 +09:00
Makoto Kato
ad68faeb0f Bug 1501376 - Part 1. Pasting into GeckoView briefly displays text content in password field. r=masayuki
When inputting any character in password field, character isn't masked
immediately since echo password is turned on Android. But when pasting text,
the text is masked immediately on Blink and Android OS.

So we should adopt this behaviour on Gecko too.

Differential Revision: https://phabricator.services.mozilla.com/D10530

--HG--
extra : rebase_source : b4bc026569e61fee697cb538719216fb258a11ae
2018-11-02 16:33:58 +09:00
Andrew Osmond
379404ac50 Bug 1428558 - Part 8. Integrate SharedSurfacesAnimation with the rest of imagelib. r=nical
This patch makes ImageContainer create a SharedSurfacesAnimation object
when it detects that we are using shared surfaces and are producing full
frames.

Differential Revision: https://phabricator.services.mozilla.com/D7505
2018-11-02 09:09:52 -04:00
Andrew Osmond
016a11ff73 Bug 1428558 - Part 7. Suppress display list regeneration for animated image updates. r=nical
This patch allows us to intercept invalidation requests for display
items, and avoid regenerating the display list for animated images which
are using SharedSurfacesAnimation.

Differential Revision: https://phabricator.services.mozilla.com/D7504
2018-11-02 09:09:52 -04:00
Andrew Osmond
aa6a92d381 Bug 1428558 - Part 6. Integrate SharedSurfacesAnimation with ImageContainer. r=nical
This patch embeds a SharedSurfacesAnimation object inside an
ImageContainer. This allows any consumers of the container to get the
single shared ImageKey for an animation, despite whatever surfaces may
be held inside the container at a given time.

Differential Revision: https://phabricator.services.mozilla.com/D7503
2018-11-02 09:09:52 -04:00
Andrew Osmond
6a77ac0bd5 Bug 1428558 - Part 5. Add SharedSurfacesAnimation to manage single ImageKey for animated images. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D7502
2018-11-02 09:09:52 -04:00
Andrew Osmond
ed51ad4899 Bug 1428558 - Part 4. Move ImageKeyData/SharedUserData definition to SharedSurfacesChild header. r=nical
This is a non-functional change. It allows objects that build on top of
these helper classes to be exposed outside of SharedSurfacesChild in
future patches in this series.

Differential Revision: https://phabricator.services.mozilla.com/D7501
2018-11-02 09:09:52 -04:00
Andrew Osmond
39a21e7b4b Bug 1428558 - Part 3. Release our reference to an external image ID as soon as possible. r=nical
Animated images will work by changing the external image ID that an
ImageKey points to. We cannot allow the old external image to be
released and potentially unmapped until we have produced a new frame
with the new external image ID. We currently wait until the epoch has
advanced, but in the future when we don't rebuild the scene to animate
an image, the epoch will remain the same. This could cause us to hold
onto no longer used surfaces for much longer than expected. As such, in
this patch we switch to waiting for a FrameRendered notification from
WebRender, which works even if the scene rebuild was avoided.

Differential Revision: https://phabricator.services.mozilla.com/D7500
2018-11-02 09:09:52 -04:00
Andrew Osmond
74a32dcaab Bug 1428558 - Part 2. Improve plumbing to sending resource updates to WebRender. r=nical
Animated images will require scheduling a composite of the frame in
addition to updating the ImageKey/external image ID bindings. It would
be good if this could be done as part of the same IPDL message.
Additionally a page may have many animated images that we update the
frame for at the same time, so these updates should be batched together.
In the event that we needed to regenerate the display list, or produce
an empty transaction, ideally we would just throw these resource updates
in with the rest of the changes. This patch allows us to do all of that
without unnecessarily burdening the caller with tracking extra state.

Differential Revision: https://phabricator.services.mozilla.com/D7499
2018-11-02 09:09:52 -04:00
Andrew Osmond
83a52f66de Bug 1428558 - Part 1. Streamline mappings between an ImageKey and an ExternalImageId for shared surfaces. r=nical
Async animated images need a single ImageKey which can point to any
frame represented by its own external image ID. Additionally a frame
could be referenced again directly (e.g. something shows/uses the first
frame of the animated image).

Before this patch, the ownership between an ImageKey and an external
image ID for a shared surface was not clearly expressed. This resulted
in a special command to release the reference to the external image
separately from deleting the image key.

This patch makes the strong reference to an external image ID and an
ImageKey directly related. Not only does this facilitate multiple
ImageKeys owning the same surface, it also simplifies the ownership
semantics.

Differential Revision: https://phabricator.services.mozilla.com/D7520
2018-11-02 09:09:52 -04:00
Tom Ritter
1395b7eef1 Bug 1502589 - Move the fxc build script back to a mozilla github repo r=ted 2018-11-01 15:54:34 -05:00
Andrea Marchesini
6a82516944 Bug 1502055 - test for Clear-Site-Data + 304 http status r=mayhemer
--HG--
extra : histedit_source : d0fece4fbb82cca9e70e851d18f40f6edb8cf868
2018-10-31 06:46:00 +02:00
Honza Bambas
f9a8f6aba1 Bug 1502055 - Make nsHttpChannel::ResumeInternal keep order of transaction pump OnStopRequest before cache pump OnStartRequest, r=dragana
--HG--
extra : histedit_source : a578146bb50df79f060e341fe9a2fa8be8224aa0
2018-10-31 05:36:00 +02:00
Jon Coppeard
5d987c8758 Bug 1503009 - Test that import() is a syntax error even if we don't emit bytecode for it r=jorendorff 2018-11-02 11:13:01 +00:00
Ciure Andrei
5bf715b6ea Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-11-02 11:45:44 +02:00
Marco Zehe
50ba1dd30c Bug 1104947 - Complete the accessibility mapping for aria-current, r=Jamie
We already mapped aria-current to the correct attribute, but we did so unconditionally unless the value was false or undefined. However, if the value was an invalid token, it would not be mapped to "true" as per spec. Now, any bogus value for aria-current will be mapped as if the author had specified "true".

In addition, this patch adds aria-current to the known set of attributes with rules, which causes NSAccessibilityService::MustBeAccessible to make sure an accessible gets created if aria-current is set, even if that accessible is a html:span element. This fixes bug 1365904.

Differential Revision: https://phabricator.services.mozilla.com/D10331

--HG--
extra : moz-landing-system : lando
2018-11-02 06:40:47 +00:00
Coroiu Cristina
911b5bd12f Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-11-02 07:17:18 +02:00
Coroiu Cristina
02eff2f0bf Merge inbound to mozilla-central a=merge 2018-11-02 07:11:08 +02:00
prathiksha
e2e32cbf4f Bug 1501897 - Only selected items in the permission settings richlistbox should be tabable for accessibility reasons. r=johannh,Jamie
Only selected items in the permission settings richlistbox should be tabable for accessibility reasons.

Differential Revision: https://phabricator.services.mozilla.com/D10079

--HG--
extra : moz-landing-system : lando
2018-11-02 05:07:45 +00:00
Miko Mynttinen
2945b5216f Bug 1503046 - Part 3: Generalize FrameLayerBuilder hit test info handling r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D10132

--HG--
extra : moz-landing-system : lando
2018-11-02 02:20:01 +00:00
Miko Mynttinen
5a4357d7c9 Bug 1503046 - Part 2: Introduce HitTestInfo and nsDisplayHitTestInfoItem, and make container items and nsDisplayCompositorHitTestInfo use them r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D10131

--HG--
extra : moz-landing-system : lando
2018-11-02 02:19:03 +00:00
Miko Mynttinen
a64041fa3e Bug 1503046 - Part 1: Add simple hit test info diagnostics r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D10130

--HG--
extra : moz-landing-system : lando
2018-11-02 02:18:35 +00:00
David Major
760f899f82 Bug 1504016: Disable webp's NEON on aarch64-windows due to bustage. r=froydnj
--HG--
extra : rebase_source : da8d9a2afa41fc7e55cbbb8737209d7f1d3b0c60
2018-11-01 22:02:29 -04:00
Boris Chiou
e3efce4cc6 Bug 1501117 - Part 2: Serialize timing function from web animation api with servo. r=emilio,birtles
It's worth to serialize the timing function from web animation api with
servo, too. However, we need an FFI to do that, so this patch also add a
new FFI.

Depends on D10443

Differential Revision: https://phabricator.services.mozilla.com/D10444

--HG--
extra : moz-landing-system : lando
2018-11-01 21:33:56 +00:00
Boris Chiou
91b20a5ee5 Bug 1501117 - Part 1: Serialize TimingFunction with servo. r=emilio
We could make sure we serialize TimingFunction for both computed
and specified values with servo (via CSSOM). However, Web animation
APIs could also serialize the timing function from a different code
path. We will fix it in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D10443

--HG--
extra : moz-landing-system : lando
2018-11-01 21:32:55 +00:00
Tom Prince
df651d609c Bug 1492128: [mozrelease] Fix typo in taskcluster proxy configuration; r=me
--HG--
extra : rebase_source : 9d5fec198f1a219b6afb0033475ef74ed3307a21
extra : source : 455b259c75ef80c956c3bacc11fc157512ff94ce
2018-11-01 14:21:12 -06:00
Andrew Osmond
414919edbf Bug 1503935 - Fix some WebP decoder implementation bugs. r=tnikkel
First we did not handle the SourceBufferIterator::WAITING state which
can happen when we get woken up but there is no data to read from the
SourceBufferIterator. StreamingLexer handled this properly by yielding
with NEED_MORE_DATA, and properly scheduling the decoder to resume. This
patch does the same in the WebP decoder.

Second nsWebPDecoder::GetType was not implemented. This meant it would
return DecoderType::UNKNOWN, and would fail to recreate the decoder if
we are discarding frames and need to restart from the beginning. In
addition to implementing that method, this patch also corrects an assert
in DecoderFactory::CloneAnimationDecoder which failed to check for WebP
as a supported animated decoder.

This patch also modestly improves the logging output and library method
checks.

Differential Revision: https://phabricator.services.mozilla.com/D10624
2018-11-01 19:26:14 -04:00
Gijs Kruitbosch
e471e325c8 Bug 1504062 - disable test_fullscreen_api.html on linux opt/pgo due to frequent timeouts, r=aryx 2018-11-01 23:17:50 +00:00
Daniel Varga
23302ae817 Merge mozilla-central to mozilla-inbound. a=merge
--HG--
extra : amend_source : 5a56094fe5fb2a6a09bc553efe5e5a0aedab4383
2018-11-02 00:38:07 +02:00
Daniel Varga
e86b1d05f8 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/chrome/geckoview/GeckoViewNavigationContent.js => mobile/android/chrome/geckoview/GeckoViewNavigationChild.js
2018-11-02 00:27:53 +02:00
Daniel Varga
77036132f7 Merge autoland to mozilla-central. a=merge 2018-11-02 00:26:12 +02:00
Andrea Marchesini
e16216247d Bug 1503602 - Use the Response's global to create the ReadableStream reader to consume the body, r=bz 2018-11-01 22:46:30 +01:00
Boris Zbarsky
aede00dddf Bug 1503070 part 12. Stop using DOMRequest in BrowserElement getCanGoForward/Back APIs. r=ehsan 2018-11-01 17:37:48 -04:00
Boris Zbarsky
322b213beb Bug 1503070 part 11. Remove some dead gotDOMRequestResult bits in BrowserElementParent.js. r=ehsan
Nothing sends the 'got-visible' or 'got-set-input-method-active' messages.
2018-11-01 17:37:48 -04:00
Boris Zbarsky
9f70661642 Bug 1503070 part 10. Remove sendTouchEvent() API from BrowserElement. r=jryans 2018-11-01 17:37:48 -04:00
Boris Zbarsky
5f1d6448f8 Bug 1503070 part 9. Remove getWebManifest() API from BrowserElement. r=ehsan 2018-11-01 17:37:48 -04:00
Boris Zbarsky
6ca7e6b57e Bug 1503070 part 8. Remove executeScript API from BrowserElement. r=ehsan 2018-11-01 17:37:48 -04:00
Boris Zbarsky
a595b274e1 Bug 1503070 part 7. Remove find methods from BrowserElement. r=ehsan 2018-11-01 17:37:47 -04:00
Boris Zbarsky
a198d31a62 Bug 1503070 part 6. Remove getContentDimensions() method from BrowserElement. r=ehsan 2018-11-01 17:37:47 -04:00
Boris Zbarsky
cc94a48f78 Bug 1503070 part 5. Remove zoom() method from BrowserElement. r=ehsan 2018-11-01 17:37:47 -04:00
Boris Zbarsky
a0f19a1a33 Bug 1503070 part 4. Remove getScreenshot() method from BrowserElement. r=ehsan 2018-11-01 17:37:41 -04:00
Boris Zbarsky
75e71c08a9 Bug 1503070 part 3. Remove purgeHistory() method from BrowserElement. r=ehsan 2018-11-01 17:36:11 -04:00
Boris Zbarsky
8a0b60f33c Bug 1503070 part 2. Remove download() method from BrowserElement. r=ehsan 2018-11-01 17:36:11 -04:00
Boris Zbarsky
2d6e9368a0 Bug 1503070 part 1. Remove next-paint listeners from BrowserElement. r=ehsan 2018-11-01 17:36:11 -04:00