Commit Graph

622000 Commits

Author SHA1 Message Date
Ciure Andrei
83010e5db0 Merge inbound to mozilla-central. a=merge 2018-11-02 18:44:43 +02:00
Michael Cooper
8b2abe6f37 Bug 1502169 - about:studies: wait for more elements before interacting with them in tests r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D10630

--HG--
extra : moz-landing-system : lando
2018-11-02 16:40:18 +00:00
Margareta Eliza Balazs
df311518fe Backed out 3 changesets (bug 1417976) for bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/GeckoProfiler.h CLOSED TREE
Backed out changeset 908f30faf4b6 (bug 1417976)
Backed out changeset 44ae0b8569b2 (bug 1417976)
Backed out changeset 801cdde1f597 (bug 1417976)
2018-11-02 18:42:21 +02:00
Nazım Can Altınova
8b680d1354 Bug 1417976 - Part 3: Stream the DocShell list and DocShellId marker data to profile data r=mstange
MozReview-Commit-ID: G2s5H8i4p6E

Depends on D4915

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

--HG--
extra : moz-landing-system : lando
2018-11-02 16:18:19 +00:00
Nazım Can Altınova
8432e48060 Bug 1417976 - Part 2: Include DocShell IDs to marker payloads r=mstange
MozReview-Commit-ID: AML1ESUnFlu

Depends on D4914

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

--HG--
extra : moz-landing-system : lando
2018-11-02 16:17:54 +00:00
Nazım Can Altınova
95f5ae9b3a Bug 1417976 - Part 1: Store the information of DocShells in CorePS r=bzbarsky,mstange
Added a mechanism to register and unregister the DocShells from the CorePS depending
on the state of the profiler. Registering mechanism is straightforward. During
unregistration, if profiler is not active, we remove the DocShell information
immediately. If profiler is active, we don't remove and we keep the profiler buffer
position at that moment. During another DocShell registration we Discard the
unregistered DocShells. If the profiler buffer position is greater than the position
when we captured during unregistration, we delete the DocShell since that means there
can't be any markers associated to this DocShell anymore.

MozReview-Commit-ID: IVuKQ6drvkR

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

--HG--
extra : moz-landing-system : lando
2018-11-02 16:17:23 +00:00
Rob Wood
6133912e19 Bug 1503999 - Enable e10s on the geckoview example app when running raptor; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D10715

--HG--
extra : moz-landing-system : lando
2018-11-02 14:01:03 +00:00
Jan de Mooij
7d9c159b47 Bug 1503170 part 3 - Remove unused CGResumeOffsetList::numAwaits, move numYields to BytecodeEmitter. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D10686

--HG--
extra : moz-landing-system : lando
2018-11-02 13:38:32 +00:00
Jan de Mooij
8f3823c37a Bug 1503170 part 2 - Use resume{Index,Offset} for JSOP_GOSUB/JSOP_RETSUB, remove RetSub IC. r=tcampbell
Note: JSOP_GOSUB has a use count of 2 even though it doesn't push/pop anything.
This isn't great but was done to match the old behavior (def count of 0, pushed
2 values).

Depends on D10571

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

--HG--
extra : moz-landing-system : lando
2018-11-02 13:37:34 +00:00
Ehsan Akhgari
795d456a70 Bug 1502240 - Ensure that Content Blocking allow list is applied to all cookie policies r=baku
Unfortunately we can't test BEHAVIOR_REJECT using the AntiTracking framework,
because the AntiTracking callbacks are incompatible with it.  (The tracking
callbacks expect to be able to unblock themselves, but under BEHAVIOR_REJECT,
that can't happen.)

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

--HG--
extra : moz-landing-system : lando
2018-11-02 12:55:01 +00:00
Ehsan Akhgari
3e767a59cc Bug 1503979 - Remove nsITabParent.useAsyncPanZoom because it is unused r=baku
Differential Revision: https://phabricator.services.mozilla.com/D10596

--HG--
extra : moz-landing-system : lando
2018-11-02 12:53:01 +00:00
Andreas Tolfsen
3e749797be bug 1502864: marionette: enable strict file interactability in Python client; r=whimboo
Depends on D10275

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

--HG--
extra : moz-landing-system : lando
2018-11-02 15:57:44 +00:00
Andreas Tolfsen
4682953bdc bug 1502864: marionette: support strictFileInteractability; r=whimboo
This patch changes Marionette to only run the interactability test
on <input type=file> when the strictFileInteractability capability is set.

strictFileInteractability is not set by default which means
this changes WebDriver:SendElementKeys' behaviour to not run
interactability checks on <input type=file>.  This aligns our
WebDriver implementation with the current behaviour in Chrome.

To make it legible what the input to interaction.sendKeysToElement
is, its API has changed to take an options dictionary instead of
three boolean arguments at the end.

Depends on D10274

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:26:06 +00:00
Andreas Tolfsen
8c57572284 bug 1502864: geckodriver: support strictFileInteractability; r=jgraham
The strictFileInteractability capability is always supported by
geckodriver.

Depends on D10273

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:26:02 +00:00
Andreas Tolfsen
fa5f227504 bug 1502864: webdriver: add strictFileInteractability capability; r=jgraham
Depends on D10272

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:26:00 +00:00
Andreas Tolfsen
98f204fccf bug 1502864: webdriver: sort invalid_extensions list; r=jgraham
Depends on D10271

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:25:58 +00:00
Andreas Tolfsen
0ffc7eb823 bug 1502864: webdriver: add strictFileInteractability capability tests; r=jgraham
The new strictFileInteractabilityTests capability takes a boolean and
can unconditionally be set to both true and false.  It is permitted
to be undefined.

Depends on D10270

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:25:56 +00:00
Andreas Tolfsen
6a2b809769 bug 1502864: webdriver: add tests for hidden <input type=file>; r=jgraham,whimboo
The WebDriver standard changed
in https://github.com/w3c/webdriver/pull/1325 to align with
chromedriver's behaviour of permitting interaction with hidden
<input type=file> elements.

DOM elements can be hidden, i.e. not rendered, in two ways: through
applying the "hidden" DOM attribute or by setting the "display:
none" CSS style.

Depends on D10269

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:25:49 +00:00
Andreas Tolfsen
af1a87484e bug 1502864: webdriver: add tests for keyboard interactability for <input type=file>; r=jgraham
Normally all interactability tests are centralised in interactability.py,
but the WebDriver standard recently changed to apply a special
set of interactability checks specifically for <input type=file>.
These tests ensure the special code paths are invoked for form controls.

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

--HG--
extra : moz-landing-system : lando
2018-11-02 14:25:47 +00:00
Andreas Tolfsen
8b6ed20034 bug 1504223: marionette: stop duplicating capabilities in new session request; r=whimboo
As a backwards compatibility measure following bug 1388424 which
removed the ability to set the session ID, we duplicated the
capabilities dictionary in the request body.

Since this shipped through all the trees as part of Firefox 60,
we can now drop this compatibility measure.

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

--HG--
extra : moz-landing-system : lando
2018-11-02 15:15:37 +00:00
Ryan VanderMeulen
5eed047aab Bug 1504234 - Update pdf.js to version 2.1.26. r=bdahl 2018-11-02 11:38:16 -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
Rob Wood
9be9ca15c3 Bug 1503380 - When running raptor gecko profiling jobs, raptor should still save results to a raptor.json artifact; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D10623

--HG--
extra : moz-landing-system : lando
2018-11-02 08:46:14 +00:00
Jan-Erik Rediger
f6a1876e65 Bug 1498161 - Use new snapshot API in GeckoView code r=chutten
Depends on D9239

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

--HG--
extra : moz-landing-system : lando
2018-11-02 13:10:15 +00:00
Jan-Erik Rediger
4d57923561 Bug 1498161 - Use new snapshot API in construction of the main ping r=chutten
Depends on D9238

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

--HG--
extra : moz-landing-system : lando
2018-11-02 13:08:18 +00:00
Jan-Erik Rediger
24a23149ef Bug 1498161 - Use new snapshot API in all internal test r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9238

--HG--
extra : moz-landing-system : lando
2018-11-02 13:08:16 +00:00
Julian Descottes
b0fda80787 Bug 1497917 - Wait until REQUEST_*_SUCCESS to be dispatched in about:debugging tests;r=daisuke
Depends on D10097

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

--HG--
extra : moz-landing-system : lando
2018-11-02 11:53:14 +00:00
Ciure Andrei
f93ee62611 Backed out 11 changesets (bug 1503006) for landing the wrong version of patches CLOSED TREE
Backed out changeset f45aeb07cca6 (bug 1503006)
Backed out changeset 5782af4a237c (bug 1503006)
Backed out changeset ca8bd4e2151e (bug 1503006)
Backed out changeset 4fc5492e340c (bug 1503006)
Backed out changeset bb238cffc154 (bug 1503006)
Backed out changeset d1580501b0d1 (bug 1503006)
Backed out changeset b54266154e56 (bug 1503006)
Backed out changeset 8f0bef2f1dfb (bug 1503006)
Backed out changeset 64f5848790f7 (bug 1503006)
Backed out changeset 3f91b9f1dd38 (bug 1503006)
Backed out changeset 98c55ece0f42 (bug 1503006)
2018-11-02 13:31:03 +02: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
Jason Orendorff
9d84494236 Bug 1503006 - Part 12: Eliminate Maybe<AutoRealm> from Stream.cpp. r=tcampbell
Depends on D10436

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

--HG--
extra : moz-landing-system : lando
2018-11-01 00:06:43 +00:00
Jason Orendorff
c5bda45c8d Bug 1503006 - Part 11: Rename two remaining static methods to toplevel functions. r=tcampbell
This also reorders the remaining members of class ReadableStream a bit.

Depends on D10435

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

--HG--
extra : moz-landing-system : lando
2018-11-01 00:01:07 +00:00
Jason Orendorff
730fc1a771 Bug 1503006 - Part 10: Eliminate some static methods that are one-to-one with API entry points. r=tcampbell
Depends on D10434

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

--HG--
extra : moz-landing-system : lando
2018-11-01 00:00:08 +00:00
Jason Orendorff
85cde918e8 Bug 1503006 - Part 9: Code motion only. Move some static Stream methods immediately after their sole callers. r=tcampbell
Depends on D10433

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

--HG--
extra : moz-landing-system : lando
2018-10-31 23:56:39 +00:00
Jason Orendorff
dc80131e37 Bug 1503006 - Part 8: Move implementation of public Stream API functions from jsapi.cpp to builtin/Stream.cpp. r=tcampbell
Depends on D10432

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

--HG--
extra : moz-landing-system : lando
2018-10-31 23:54:55 +00:00
Jason Orendorff
902851f3bc Bug 1503006 - Part 7: Clean up remaining slot constants. r=tcampbell
Depends on D10431

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

--HG--
extra : moz-landing-system : lando
2018-10-31 23:44:58 +00:00
Jason Orendorff
a40f56e7ef Bug 1503006 - Part 6: Trivial slot accessor methods for class ReadableByteStreamController. r=tcampbell
In passing, change ReadableStreamControllerPullSteps to use explicit downcasts,
so it's a little more obvious what's going on.

Depends on D10430

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

--HG--
extra : moz-landing-system : lando
2018-10-31 23:44:09 +00:00
Jason Orendorff
b2eb76265b Bug 1503006 - Part 5: Trivial slot accessor methods for class ReadableStreamDefaultController. r=tcampbell
Depends on D10429

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

--HG--
extra : moz-landing-system : lando
2018-10-31 23:40:20 +00:00
Jason Orendorff
51afdbdfa1 Bug 1503006 - Part 4: Trivial slot accessor methods for class ReadableStreamController. r=tcampbell
Depends on D10428

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

--HG--
extra : moz-landing-system : lando
2018-10-31 23:39:16 +00:00
Jason Orendorff
a31ca6742c Bug 1503006 - Part 3: Trivial slot accessor methods for class ReadableStreamReader. r=tcampbell
This commit changes ReadableStreamReaderGenericRelease to use
UnwrapInternalSlot when accessing reader.[[closedPromise]]. Before this commit,
the code assumed that there would be a promise in the slot, not a wrapper.
I think that was actually correct, because it's impossible for the stream to
still be readable and the reader to have a [[closedPromise]] that's a wrapper.
Still, it's a bit precarious (and I'm still not 100% sure about that), so I just
changed it to unwrap.

Depends on D10374

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

--HG--
extra : moz-landing-system : lando
2018-10-31 23:27:31 +00:00
Jason Orendorff
06f8c8024c Bug 1503006 - Part 2: Trivial slot accessor methods for class ReadableStream. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D10374

--HG--
extra : moz-landing-system : lando
2018-11-01 19:19:17 +00:00
Jason Orendorff
c1bb654579 Bug 1503006 - Part 1: Trivial whitespace fixes. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D10427

--HG--
extra : moz-landing-system : lando
2018-10-31 22:38:20 +00:00