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

614435 Коммитов

Автор SHA1 Сообщение Дата
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
Jeff Walden 9667f8bf7d Bug 1491137 - Remove JS_Compile{,UC}Script, because except for argument ordering they're exactly identical to existing JS::Compile* functions. r=jandem
--HG--
extra : rebase_source : 89ae632dbc654f1f29f8186955042d4586aeeeff
2018-09-13 16:41:00 -07: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
Jeff Walden c1d9c9d203 Bug 1491137 - Rename JS_BufferIsCompilableUnit to JS_Utf8BufferIsCompilableUnit, consistent with how it already interprets that data, and propagate that presumption of UTF-8-ness a little bit further along into callers. r=jandem
--HG--
extra : rebase_source : e2ab50b48d4faf12a6791b0925b080818334421d
2018-09-13 13:30:38 -07:00
Ryan VanderMeulen 101b9e0130 Bug 1491807 - Update pdf.js to version 2.0.866. r=bdahl 2018-09-17 09:00:07 -04:00
Csoregi Natalia d60e5e4ed0 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-09-17 12:54:29 +03: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
Jan de Mooij f75dda188a Bug 1490993 part 5 - Always use braces for if/for/while statements in js/src/jit/arm64. r=luke
Depends on D5765

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

--HG--
extra : moz-landing-system : lando
2018-09-13 17:17:30 +00:00
Jan de Mooij dd59f602e2 Bug 1490993 part 4 - Always use braces for if/for/while statements in js/src/jit/arm. r=tcampbell
Depends on D5764

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

--HG--
extra : moz-landing-system : lando
2018-09-15 00:13:19 +00:00
Jim Chen 5055667930 Bug 1449567 - Don't reattach compositor for the same compositor object; r=snorp
If we're trying to detach and reattach the same compositor object for
whatever reason, we should skip it so we don't inadvertently end up not
attaching the object at all.

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

--HG--
extra : moz-landing-system : lando
2018-09-13 16:25:26 +00:00
Daniel Holbert 5e7929410f Bug 1491510: Treat 'auto' cross size as definite, for 'contain:size' flex container. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5947

--HG--
extra : moz-landing-system : lando
2018-09-15 18:06:18 +00:00
Ciure Andrei 602df752b4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-16 00:42:31 +03:00
Luca Greco 633796a0fc Bug 1491388 - Clear userScripts revoked urls and refresh sharedData contentScripts on register/unregister. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D5885

--HG--
extra : moz-landing-system : lando
2018-09-15 20:38:43 +00:00
Luca Greco 202b39bc4b Bug 1491051 - Avoid awaiting a promise when all the content scripts are already precompiled and cached. r=robwu,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D5794

--HG--
extra : moz-landing-system : lando
2018-09-15 18:42:23 +00:00
championshuttler 4f987e0e84 Bug 1491536 - Remove obsolete footer image CSS. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D5960

--HG--
extra : moz-landing-system : lando
2018-09-15 20:52:02 +00:00
Jan de Mooij 7c02dd4632 Bug 1490993 part 3 - Always use braces for if/for/while statements in js/src/jit/x86-shared. r=nbp
Depends on D5763

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

--HG--
extra : moz-landing-system : lando
2018-09-13 15:13:35 +00:00
Jan de Mooij 92beda17be Bug 1490993 part 2 - Always use braces for if/for/while statements in js/src/jit/x86. r=tcampbell
Depends on D5762

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

--HG--
extra : moz-landing-system : lando
2018-09-14 23:54:15 +00: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