Commit Graph

614053 Commits

Author SHA1 Message Date
Andreas Tolfsen
21c881ebf9 bug 1490674: vendor rust dependencies; r=me 2018-09-14 12:28:02 +01:00
Andreas Tolfsen
543654a6a6 bug 1490674: upgrade to log 0.4.5; r=froydnj
log 0.3.9 is still there because tokio-uds 0.1.7, which is a
dependency of audioipc, still depends on ^0.3.  A separate bug will
be filed on WebRTC to upgrade their tokio-uds dependency.
2018-09-14 12:28:01 +01:00
Andreas Tolfsen
4eb1661657 bug 1490674: rsdparsa: relax log crate dependency version; r=drno
Because all Rust crates in the tree are vendored, using the wildcard
"*" version dependency could have unintended reprecussions on
rsdparsa if another crate changes its log version dependency.

This patch, along with the others associated with this bug, upgrades
the log crate to 0.4.* throughout.  This has the benefit that we
can get rid of the duplicate vendored log crates in third_party/rust.
2018-09-14 12:28:00 +01:00
Andreas Tolfsen
2c2a931c23 bug 1490674: audioipc: relax log crate dependency version; r=kamidphish
By relaxing the version dependency on the log crate we are able to
get rid of duplicate vendored crates.

This particular version number, combined with rsdparsa depending
on "*" (anything) meant that a change to this version number in
audioipc would have reprecussions on the dependencies of rsdparsa.
I will address the wildcard version in a separate patch on rsdparsa.
2018-09-14 12:28:00 +01:00
Andreas Tolfsen
f184209dfc bug 1490674: js/binsource: relax log crate dependency version; r=Yoric
Relax the dependency on log to include any 0.4.* version of log.
This enables us to get rid of duplicate vendored crates.
2018-09-14 12:27:59 +01:00
Andreas Tolfsen
a115b1e6e9 bug 1490333: marionette: move whenIdle to sync module; r=whimboo
This patch moves the private whenIdle function to sync so it can
be shared across JSMs.

It also changes its semantics somewhat, so that instead of taking
a callback function (suitable for DOM event callbacks) it returns
a promise that is resolved when the main thread becomes idle and
the window has completed an animation frame tick.
2018-09-14 11:38:29 +01:00
Brindusan Cristian
79316fbec0 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-14 12:56:57 +03:00
Brindusan Cristian
99cbc0aec3 Merge inbound to mozilla-central. a=merge 2018-09-14 12:53:25 +03:00
Brindusan Cristian
deaf1f7847 Merge autoland to mozilla-central. a=merge 2018-09-14 12:51:47 +03:00
Andreas Pehrson
c66af482b6 Bug 1490700 - Cap capability values to avoid truncation. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D5785

--HG--
extra : moz-landing-system : lando
2018-09-14 09:15:53 +00:00
Andreas Pehrson
bbcf773bf1 Bug 1490700 - Ignore scaling requests to a max dimension of 0. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D5784

--HG--
extra : moz-landing-system : lando
2018-09-14 09:16:24 +00:00
Andreas Pehrson
54c2771d20 Bug 1490700 - Add crashtest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D5783

--HG--
extra : moz-landing-system : lando
2018-09-14 09:15:46 +00:00
Andrei Lazar
403853306a Bug 1480852 Crash in android.os.TransactionTooLargeException: data parcel size 1053364 bytes at android.os.BinderProxy.transactNative(Native Method) r=jchen
Added an extra check of bundle size due to some unexpected transactions sizes that exceed the limit.
The bundle gets lighter if the size exceeds the limit by removing the views' state as a last resort.

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

--HG--
extra : moz-landing-system : lando
2018-09-14 11:24:33 +00:00
Masayuki Nakano
f4441de2f2 Bug 1490884 - Make nsCopySupport set event target of clipboard events to conform to Clipboard API and events spec r=smaug
Clipboard API and events spec, event target of clipboard events should always
be an element node which contains the selection start and if there is no
Selection ranges, should use <body> or <frameset> of the document:
https://www.w3.org/TR/clipboard-apis/#fire-a-clipboard-event

This patch does not include the test for the latter because I have no idea how
to avoid adjusting selection adjustments immediately before pasting in editor's
middle click event handler or enable copy or paste commands without selection
ranges.

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

--HG--
extra : moz-landing-system : lando
2018-09-14 07:22:24 +00:00
Masayuki Nakano
d9b9a8b93b Bug 1490882 - Fix a bug of test_middle_click_paste.html r=m_kato
When I added some tests into test_middle_click_paste.html, I realized that
SimpleTest.waitForClipboard() in copyHTMLContent() fails to copy the
HTML fragment to clipboard and just quit the test.  Therefore, only the
last tests are ignored always.

The reason is, iframe.contentDocument.getSelection() returns nullptr
since the frame becomes visible immediately before accessing the Selection.

This patch makes flushing the pending layout with scrollTop.  This makes
getSelection() return non-null.

However, unfortunately, only on Linux, it fails to copy the content.  I'm
still not sure the reason. This patch just avoids running the last part
only on Linux.

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

--HG--
extra : moz-landing-system : lando
2018-09-14 07:20:04 +00:00
Mantaroh Yoshinaga
38d6ddfd63 Bug 1487580 - Multiply the min-width of toolbox and zoom value. r=jdescottes
The toolbox specified the min-width to the own xul attribtue. However,
the coordinate system differ from inner and outer frame if we zoom in/out the
devtool panel.

This patch will multiply the min-width of toolbox and zoom value to prevent
this coordinate problem.

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

--HG--
extra : moz-landing-system : lando
2018-09-14 05:37:18 +00:00
Sebastian Hengst
86afe587bf Bug 1489965 - change default bug component for css-animations and css-transitions reftests. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D5401

--HG--
extra : moz-landing-system : lando
2018-09-13 23:21:14 +00:00
Jorg K
73b02cccc3 Bug 1490212 - Follow-up: Remove NS_{JA,RU,UK}*DETECTOR_CID defines. r=hsivonen 2018-09-14 01:07:00 +03:00
sotaro
24c5a93279 Bug 1486958 - Sync FlushRendering() only during resizing on windows r=mattwoodrow 2018-09-14 17:13:55 +09:00
Makoto Kato
82b98972c8 Bug 1488803 - Don't allocate PendingAction twice. r=masayuki
--HG--
extra : histedit_source : 2197a1ddf204b19e1ecd3cf5142fe22e0a2aa04e
2018-09-14 15:23:32 +09:00
Robert Bartlensky
af9de513f7 Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander
Adds infer to ./mach static-analysis autotest.

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

--HG--
rename : taskcluster/docker/infer-build/Dockerfile => taskcluster/docker/static-analysis-build/Dockerfile
extra : moz-landing-system : lando
2018-09-13 20:58:03 +00:00
Marcos Cáceres
ec9ef78ff5 Bug 1491203 - Web Payments IDL files missing w3c copyright r=bzbarsky 2018-09-13 23:53:00 +03:00
Bogdan Tara
642ff4cec4 Backed out 5 changesets (bug 1314057) for browser_webconsole_split.js failures CLOSED TREE
Backed out changeset 1d626fdff4f3 (bug 1314057)
Backed out changeset f992a076c6f2 (bug 1314057)
Backed out changeset b356beaa690f (bug 1314057)
Backed out changeset b797675da9c1 (bug 1314057)
Backed out changeset f34f4f048480 (bug 1314057)
2018-09-15 03:30:07 +03:00
Luca Greco
e557551409 Bug 1491036 - Allow null type into PlainJSONValue WebExtensions schema type definition. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D5779

--HG--
extra : moz-landing-system : lando
2018-09-13 20:43:14 +00:00
Kajal Kumari Sah
f0e0a448a4 Bug 1481795 - Remove the maintenance task for reparenting built-in root folders r=Standard8
This is now managed on initialisation (xref bug 1472241)

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

--HG--
extra : moz-landing-system : lando
2018-09-14 10:41:32 +00:00
Nazım Can Altınova
4941cf846b Bug 1437316 - Move the profiler marker from DoFlushPendingNotifications to inner DoReflow method r=mstange
Depends on D4943

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

--HG--
extra : moz-landing-system : lando
2018-09-13 20:30:21 +00:00
Nazım Can Altınova
f0ce9c885a Bug 1437316 - Move the "PresShell::DoReflow" label frame to top side of the method r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D4943

--HG--
extra : moz-landing-system : lando
2018-09-13 20:25:43 +00:00
Brindusan Cristian
8644209574 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-14 12:55:45 +03:00
Razvan Caliman
6ee463d2dd Bug 1488031 - Font editor: show labels for min and max values for axes on hover and focus. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D5143

--HG--
extra : moz-landing-system : lando
2018-09-14 09:37:15 +00:00
Marcos Cáceres
058bb67c47 Bug 1490599 - Implement MerchantValidationEvent.prototype.methodName attribute. r=baku 2018-09-13 21:06:00 +03:00
Daniel Stenberg
4c6936caf3 Bug 1489121 - Fix the stream ID check when counting TRR streams. r=nwgh
MozReview-Commit-ID: DzOu1dRlWtg

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

--HG--
extra : source : 4dfb623bb11e7fa244e66ec5fde83414c29f4736
extra : amend_source : 7aa95efd818bba3ad9ccbca1a38b64bf8c167fbc
2018-09-13 14:48:46 +00:00
Brindusan Cristian
8853a854a8 Backed out changeset 4dfb623bb11e (bug 1486137) for landing with the wrong bug number. a=backout 2018-09-14 12:24:17 +03:00
Xidorn Quan
dfa276073a Bug 1491192 - Get raw pointer from RefPtr in ternary expression to fix MSVC build. a=tier2-permafail-fix 2018-09-14 15:41:31 +10:00
Noemi Erli
c2716211ca Merge inbound to mozilla-central. a=merge 2018-09-14 06:31:31 +03:00
Cosmin Sabou
5c593ac182 Backed out changeset ce74ddd3192a (bug 1483033) for xpc failures on test_ext_legacy_extension_embedding. 2018-09-14 04:26:48 +03:00
Nicholas Nethercote
2d47fcde1c Bug 1490828 - Handle mPersist in the nsSHEntry copy constructor. r=nika
--HG--
extra : rebase_source : 11bc9b8881467bbf6a4cee9800bf1d13707856b6
2018-09-14 11:09:19 +10:00
Ryan VanderMeulen
9f7d0bfb65 Bug 1490062 - Update HarfBuzz to version 1.9.0. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D5830

--HG--
rename : gfx/harfbuzz/src/hb-aat-layout-common-private.hh => gfx/harfbuzz/src/hb-aat-layout-common.hh
rename : gfx/harfbuzz/src/hb-aat-layout-private.hh => gfx/harfbuzz/src/hb-aat-layout.hh
rename : gfx/harfbuzz/src/hb-atomic-private.hh => gfx/harfbuzz/src/hb-atomic.hh
rename : gfx/harfbuzz/src/hb-blob-private.hh => gfx/harfbuzz/src/hb-blob.hh
rename : gfx/harfbuzz/src/hb-buffer-private.hh => gfx/harfbuzz/src/hb-buffer.hh
rename : gfx/harfbuzz/src/hb-face-private.hh => gfx/harfbuzz/src/hb-face.hh
rename : gfx/harfbuzz/src/hb-font-private.hh => gfx/harfbuzz/src/hb-font.hh
rename : gfx/harfbuzz/src/hb-iter-private.hh => gfx/harfbuzz/src/hb-iter.hh
rename : gfx/harfbuzz/src/hb-machinery-private.hh => gfx/harfbuzz/src/hb-machinery.hh
rename : gfx/harfbuzz/src/hb-map-private.hh => gfx/harfbuzz/src/hb-map.hh
rename : gfx/harfbuzz/src/hb-mutex-private.hh => gfx/harfbuzz/src/hb-mutex.hh
rename : gfx/harfbuzz/src/hb-object-private.hh => gfx/harfbuzz/src/hb-object.hh
rename : gfx/harfbuzz/src/hb-open-file-private.hh => gfx/harfbuzz/src/hb-open-file.hh
rename : gfx/harfbuzz/src/hb-open-type-private.hh => gfx/harfbuzz/src/hb-open-type.hh
rename : gfx/harfbuzz/src/hb-ot-layout-common-private.hh => gfx/harfbuzz/src/hb-ot-layout-common.hh
rename : gfx/harfbuzz/src/hb-ot-layout-gsubgpos-private.hh => gfx/harfbuzz/src/hb-ot-layout-gsubgpos.hh
rename : gfx/harfbuzz/src/hb-ot-layout-private.hh => gfx/harfbuzz/src/hb-ot-layout.hh
rename : gfx/harfbuzz/src/hb-ot-map-private.hh => gfx/harfbuzz/src/hb-ot-map.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-arabic-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-arabic.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-indic-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-indic.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-khmer-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-khmer.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-myanmar-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-myanmar.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-use-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-use.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex.hh
rename : gfx/harfbuzz/src/hb-ot-shape-fallback-private.hh => gfx/harfbuzz/src/hb-ot-shape-fallback.hh
rename : gfx/harfbuzz/src/hb-ot-shape-normalize-private.hh => gfx/harfbuzz/src/hb-ot-shape-normalize.hh
rename : gfx/harfbuzz/src/hb-ot-shape-private.hh => gfx/harfbuzz/src/hb-ot-shape.hh
rename : gfx/harfbuzz/src/hb-set-digest-private.hh => gfx/harfbuzz/src/hb-set-digest.hh
rename : gfx/harfbuzz/src/hb-set-private.hh => gfx/harfbuzz/src/hb-set.hh
rename : gfx/harfbuzz/src/hb-shape-plan-private.hh => gfx/harfbuzz/src/hb-shape-plan.hh
rename : gfx/harfbuzz/src/hb-shaper-impl-private.hh => gfx/harfbuzz/src/hb-shaper-impl.hh
rename : gfx/harfbuzz/src/hb-shaper-private.hh => gfx/harfbuzz/src/hb-shaper.hh
rename : gfx/harfbuzz/src/hb-subset-private.hh => gfx/harfbuzz/src/hb-subset.hh
rename : gfx/harfbuzz/src/hb-unicode-private.hh => gfx/harfbuzz/src/hb-unicode.hh
rename : gfx/harfbuzz/src/hb-utf-private.hh => gfx/harfbuzz/src/hb-utf.hh
rename : gfx/harfbuzz/src/hb-vector-private.hh => gfx/harfbuzz/src/hb-vector.hh
rename : gfx/harfbuzz/src/hb-private.hh => gfx/harfbuzz/src/hb.hh
extra : rebase_source : 96e5e4d6e8c904f1ddc8f1338e39f74b02215654
2018-09-13 20:22:57 -04:00
Andrew Osmond
29af4ed6a2 Bug 1446309 - Part 3. Properly handle ImgDrawResult for WebRender display list generation. r=tnikkel
When generating display lists for WebRender, we were not caching the
draw result via nsDisplayItemGenericImageGeometry::UpdateDrawResult (or
similar) after completing CreateWebRenderCommands. This is important
because reftests use this to force sync decoding for images; it may be a
reason for image-related intermittent failures on *-qr builds.

Additionally, we may have been requesting fallback in cases where fallback
could not do anything more than WebRender could. For example, if we can't
get an image container yet, there is no point in requesting fallback
because it might just be we haven't started decoding yet. We should just
return the actual draw result in such cases.
2018-09-13 19:48:27 -04:00
Andrew Osmond
59ce4df2cf Bug 1446309 - Part 2. Make nsDisplayImage fallback to the previous image to avoid flickering. r=tnikkel
When the current image for an nsImageFrame/nsDisplayImage is not yet
ready, we display the previous image, if any available, to avoid
flickering while we wait for decoding to finish. On the WebRender path,
this functionality was lost since we did not have the draw result
information with image containers. With the API updated in part 1, we
can now do this to avoid flickering.
2018-09-13 19:48:24 -04:00
Andrew Osmond
e9f7db43b8 Bug 1446309 - Part 1. Return draw result from imgIContainer::GetImageContainerAtSize. r=tnikkel
In addition to the image container, the draw result can also be useful
for callers to know whether or not the surface(s) in the container are
fully decoded or not. This is used in subsequent parts to avoid
flickering in some cases.
2018-09-13 19:48:21 -04:00
Jeff Walden
0fdb26eeb5 Bug 1491147 - When emitting tableswitch'd case constants, assert the constants are int32_t using NumberEqualsInt32 (which permits -0) and not NumberIsInt32 (which does not), because switching compares values using strict equality which consideres +0 and -0 to be equivalent. rs=me as trivial
--HG--
extra : rebase_source : 0c27bcffe3e124fee9eedf3090da8c469e450a07
2018-09-13 16:40:48 -07:00
Dana Keeler
364a010e05 bug 748809 - remove nsIAssociatedContentSecurity and nsISecurityInfoProvider r=mayhemer,jrmuizel
nsIAssociatedContentSecurity and nsISecurityInfoProvider are unused as of
bug 832834, so this patch removes them.

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

--HG--
extra : moz-landing-system : lando
2018-09-13 17:13:43 +00:00
Cosmin Sabou
9e18233019 Backed out changeset 128979a6e32f (bug 1437608) for reftest failures on bugs/1425243-1. CLOSED TREE 2018-09-14 03:11:01 +03:00
Xidorn Quan
abdaa90858 Bug 1375319 part 3 - Try dispatching fullscreen events to element first rather than document. r=smaug
Some steps in file_fullscreen-api.html are adjusted in order to test
the behavior that the event is correctly dispatched to the document
when element is disconnected.

Depends on D5415

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

--HG--
extra : moz-landing-system : lando
2018-09-14 00:06:16 +00:00
Xidorn Quan
6239a69055 Bug 1375319 part 2 - Use a global const for element to fullscreen in file_fullscreen-api test. r=smaug
Depends on D5414

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

--HG--
extra : moz-landing-system : lando
2018-09-14 00:05:53 +00:00
Xidorn Quan
35bf576e96 Bug 1375319 part 1 - Make DispatchTrustedEvent able to dispatch composed event and have fullscreen events composed. r=smaug
Depends on D5394

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

--HG--
extra : moz-landing-system : lando
2018-09-14 00:05:39 +00:00
Drew Willcoxon
956bb2d407 Bug 1483033 - EmbeddedExtension should pass string startup and shutdown reasons to the embedded webextension, not numeric reasons. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D5820

--HG--
extra : moz-landing-system : lando
2018-09-13 23:53:44 +00:00
ahillier
e9c38d0ebb Bug 1490508 - Apply mask correctly to CFR recommendation on urlbar focus r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D5618

--HG--
extra : moz-landing-system : lando
2018-09-13 23:21:06 +00:00
Eden Chuang
fedf18933b Bug 1490698 - Add state checking when interactive with PaymentRequest through PaymentRequestService. r=edenchuang
Add state checking when calling RespondPayment(), ChangeShippingAddress()
    and ChangeShippingOption().
    Calling ChangeShippingXXX is valid when the PaymentRequest state is interactive.
    Calling RespondPayment is valid when following situations
      1. PaymentRequest state is interactive
      2. PaymentRequest state is closed but the response is for CompleteAction.
      3. PaymentRequest state is created but the response is for CanMakeAction.

--HG--
extra : histedit_source : 9ae63e409813154de42cc33024835ac5f0c96893
2018-09-13 15:40:18 +02:00
Chris Pearce
ed81795fba Bug 1437608 - Enable layout/reftests/bugs/1425243-1.html with WebRender. r=emilio
A try push indicates this is no longer fuzzy. Not sure what fixed it.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=e67951b89d07137fc6a51385dcb424ebfc4e16d8

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

--HG--
extra : moz-landing-system : lando
2018-09-13 12:38:59 +00:00