Commit Graph

669681 Commits

Author SHA1 Message Date
Karl Tomlinson
40e181a9ae Bug 1578623 move principal-related data from LoadInfo to WorkletImpl r=baku
The principals used in worklet scripts derive from the relevant settings object
of the main thread Worklet object, rather than the network loads of the scripts.
Moving the data off LoadInfo removes any implication that the principals might
depend on script module loads.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 02:10:33 +00:00
Cameron McCormack
1ce893603a Bug 1569706 - Update incorrect assertion. r=emilio
We can end up in here from a style worker thread.  But that's safe since
we only read data from the FontFaceSet, and the main thread is blocked
so writes can't happen underneath us.

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

--HG--
extra : moz-landing-system : lando
2019-09-08 23:41:54 +00:00
Andreea Pavel
2973dc2810 Bug 1571904 - disabled test on all platforms r=bc
Differential Revision: https://phabricator.services.mozilla.com/D45140

--HG--
extra : moz-landing-system : lando
2019-09-08 15:00:52 +00:00
Emilio Cobos Álvarez
2b5b29ecde Bug 1579624 - Turn on "layout.css.line-height.normal-as-resolved-value.enabled" in all channels. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D45129

--HG--
extra : moz-landing-system : lando
2019-09-08 06:56:12 +00:00
Harry Twyford
90354d936e Bug 1579515 - Fix Megabar hidden-focus behaviour. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D45074

--HG--
extra : moz-landing-system : lando
2019-09-08 04:15:01 +00:00
Drew Willcoxon
926e58227b Bug 1576889 - Ensure Quantum Bar Contextual Tip looks correct in RTL builds. r=dao
The `padding-right` is the only oversight afaict. This patch is based on D45125.

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

--HG--
extra : moz-landing-system : lando
2019-09-07 17:39:41 +00:00
Paolo Amadini
18ae81fa54 Bug 1549080 - Turn the delete and reset buttons into ghost buttons. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D44837

--HG--
extra : moz-landing-system : lando
2019-09-08 01:33:43 +00:00
Andreea Pavel
441df5bd0b Bug 1577395 - disable browser_identityPopup_clearSiteData.js on linux64 r=bc
Differential Revision: https://phabricator.services.mozilla.com/D45137

--HG--
extra : moz-landing-system : lando
2019-09-08 10:07:27 +00:00
Sonia Singla
6837c2f38c Bug 1569044 - Change background colour. r=Honza
When toolbar is wrapped onto two rows, the second row to have white background, class `devtools-input-toolbar` is being added up
onto `devtools-toolbar devtools-input-toolbar`

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

--HG--
extra : moz-landing-system : lando
2019-09-08 07:17:44 +00:00
Brian Hackett
8ecd15049c Bug 1564167 - Use CallData structure instead of macros to handle calls to debugger APIs, r=jimb.
Differential Revision: https://phabricator.services.mozilla.com/D44590

--HG--
extra : moz-landing-system : lando
2019-09-08 03:35:29 +00:00
Brian Hackett
1ec1028ab4 Bug 1577007 - Add debugger method to compare underlying natives, r=jimb.
Differential Revision: https://phabricator.services.mozilla.com/D43680

--HG--
extra : moz-landing-system : lando
2019-09-08 01:11:43 +00:00
Brian Hackett
00dac0b506 Bug 1576781 Part 2 - Add Debugger.Script.getEffectfulOffsets, r=jimb.
Depends on D43547

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

--HG--
extra : moz-landing-system : lando
2019-09-08 01:08:52 +00:00
Brian Hackett
5e9e2d2f57 Bug 1576776 Part 2 - Add Debugger.onNativeCall hook, r=jimb.
Depends on D43542

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

--HG--
extra : moz-landing-system : lando
2019-09-08 01:08:20 +00:00
Brian Hackett
2c13b846e0 Bug 1576776 Part 1 - VM support for DebugAPI::onNativeCall, r=jandem.
Differential Revision: https://phabricator.services.mozilla.com/D43542

--HG--
extra : moz-landing-system : lando
2019-09-08 01:05:28 +00:00
Bogdan Tara
e95c3c7256 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-09-08 00:53:09 +03:00
Bogdan Tara
97a38fa030 Merge inbound to mozilla-central. a=merge 2019-09-08 00:50:35 +03:00
Toshihito Kikuchi
18aab300b5 Bug 1576697 - Use LauncherResult in WinHeaderOnlyUtils.h instead of WindowsErrorResult. r=aklotz
`WindowsErrorResult` is a class to hold either a value or a Windows error
code based on the `Result` template.  We also have `LauncherResult` for the
same purpose, which was introduced as a part of the launcher process feature
afterward.  The difference is `LauncherResult` holds a filename and line
number along with an error code.

This patch integrates LauncherResult.h into WinHeaderOnlyUtils.h so that we
can use `LauncherResult` more broadly.

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

--HG--
extra : moz-landing-system : lando
2019-09-07 18:17:45 +00:00
Mike Conley
43a586d471 Bug 1566196 - Enable subframe crashing regression test. r=layely
The test originally assumed that the BrowsingContext for the crashing
frame would get destroyed and replaced with a new one. Having read through
some of bug 1563619 though, it looks as if we preserve the BrowsingContext
after the subframe crashes, so I've modified the test to skip that check.

It also looks like we have to wait until the WindowGlobalParent is created
asynchronously from the about:blank load that's initiated in the content
process before we can query the subframe for its current location, so
I've added a waitForCondition for that.

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

--HG--
extra : moz-landing-system : lando
2019-09-07 17:03:39 +00:00
Mike Conley
dc88b92a5d Bug 1566196 - Apply a CSP to about:framecrashed. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D44917

--HG--
extra : moz-landing-system : lando
2019-09-07 17:03:37 +00:00
Csoregi Natalia
c412845ce7 Bug 1579335 - Disabled toolkit/components/extensions/test/mochitest/test_ext_request_urlClassification.html on fission. r=bc
Reviewers: bc

Reviewed By: bc

Subscribers: mixedpuppy

Bug #: 1579335

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

--HG--
extra : histedit_source : 28a200c3ea0af5a87fad6eaf7fb2867165bc06ea
2019-09-07 17:27:47 +03:00
Csoregi Natalia
4bec213c1a Merge inbound to mozilla-central. a=merge 2019-09-07 12:41:42 +03:00
Will Hawkins
26039d1147 Bug 1574315: Specify the proper parameters to BrowserTestUtils.browserLoaded to ensure that a page's content is entirely loaded before testing for the results of side effects of operations in that content. r=mconley
Differential Revision: https://phabricator.services.mozilla.com//D44429

--HG--
extra : amend_source : e685f99ada67425766967167b34e4097e56a0e6f
2019-09-07 03:59:54 +03:00
Brindusan Cristian
35ff976b6a Backed out changeset dd6fd67a75eb (bug 1574315) for landing without the reviewer. 2019-09-07 04:24:05 +03:00
Will Hawkins
36b87a716a Bug 1574315: Specify the proper parameters to BrowserTestUtils.browserLoaded to ensure that a page's content is entirely loaded before testing for the results of side effects of operations in that content.
Differential Revision: https://phabricator.services.mozilla.com//D44429
2019-09-07 03:59:54 +03:00
Ed Lee
af5c0960b4 Bug 1557153 - Workaround UITour default permissions overridden by UNKNOWN_ACTION r=MattN
Specially permit www.mozilla.org after ensuring other origin checks but failing ALLOW_ACTION.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 23:57:06 +00:00
Brian Hackett
69a17508bf Bug 1576689 - Support logPoints with multiple arguments, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D45116

--HG--
extra : moz-landing-system : lando
2019-09-06 23:35:34 +00:00
Brindusan Cristian
1b00e04863 Backed out 2 changesets (bug 1566196) for bc failures in CTypes.cpp. CLOSED TREE
Backed out changeset eaf4a3284f00 (bug 1566196)
Backed out changeset 2de26156c571 (bug 1566196)
2019-09-07 02:28:58 +03:00
Brindusan Cristian
c2bb1572d6 Backed out changeset 5e0ff929002a (bug 1579318) for wrench bustages on Microsoft.Diagnostics.Tracing.EventSource.dll. CLOSED TREE 2019-09-07 02:19:40 +03:00
Imanol Fernandez
ef96affe67 Bug 1579028 - Do not call surface->Commit() if composition failed in WebGLContext::GetVRFrame. r=jgilbert,rbarker
PresentScreenBuffer() or screen->PublishFrame() may fail for different reasons. In that case we shouldn't call surface->Commit() because it may be in a not swaped state or not available.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 20:55:51 +00:00
Gurzau Raul
9470d77271 Backed out changeset a396ec8f44fd (bug 1577439) for failing valgrind-test on a CLOSED TREE. 2019-09-07 19:03:27 +03:00
Edgar Chen
c67da9f7a3 Bug 1577499 - Part 3: Add cross-origin test for has-been-user-activated flag; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44914

--HG--
extra : moz-landing-system : lando
2019-09-06 17:05:41 +00:00
Edgar Chen
493285c71b Bug 1577499 - Part 2: Add tests for transient user activation; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44544

--HG--
extra : moz-landing-system : lando
2019-09-06 22:48:52 +00:00
Edgar Chen
2d3cc9c52b Bug 1577499 - Part 1: Implement transient activation flag; r=smaug
https://github.com/whatwg/html/pull/3851

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

--HG--
extra : moz-landing-system : lando
2019-09-07 19:12:20 +00:00
Botond Ballo
3e8ba858e5 Bug 1570559 - Add a gtest. r=tnikkel
Depends on D45083

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

--HG--
extra : moz-landing-system : lando
2019-09-06 22:10:03 +00:00
Botond Ballo
8bce3e7fac Bug 1570559 - Move helper functions that are only used in TestTreeManager.cpp into that file. r=tnikkel
Depends on D45082

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

--HG--
extra : moz-landing-system : lando
2019-09-06 22:03:45 +00:00
Botond Ballo
8bbdacfb8a Bug 1570559 - Add a helper function APZCTreeManagerTester::UpdateHitTestingTree(). r=tnikkel
Depends on D44712

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

--HG--
extra : moz-landing-system : lando
2019-09-06 22:03:43 +00:00
Botond Ballo
20431125e7 Bug 1570559 - When the target APZC changes mid-gesture, always clear the old APZC's gesture state. r=tnikkel
Previously we were only doing this if content wasn't prevent-defaulting the
events targeting the new APZC.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 21:23:23 +00:00
Nathan Froyd
7af66c4954 Bug 1579545 - remove unused NO_PW_GECOS defines; r=nalexander
They aren't used in our codebase and they aren't used in the NDK.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 21:35:23 +00:00
Nathan Froyd
95fdb43cdd Bug 1579546 - remove SK_BUILD_FOR_ANDROID_NDK define; r=lsalzman
This define is unused, modulo some apparently dead patches in the
gfx/skia/patches/archive/ directory.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 21:42:27 +00:00
Markus Stange
9cd785e1c4 Bug 1578045 - Correctly return zero vertices if clipping plane 0 or 2 clip away the entire polygon. r=kip
This fixes a bug that was introduced three years ago in bug 1268854.
What happened was that the final pass over the polygon assumed that the current
polygon was living in plane[0]. But due to the double buffering, the "current"
polygon alternates between plane[0] and plane[1]. And bug 1268854 had introduced
an early exit so that we could hit the final pass at a time where the current,
now empty, polygon was in plane[1]. So we would incorrectly treat all 32 points
in plane[0] as part of the final polygon.

This bug was responsible for intermittently unreasonable numbers in CompositorOGL's fill
rate / overdraw overlay, and, since changeset cc84a0e9d5ddde198422f4f11ab6bf85f631d5f0,
also caused CompositorOGL to execute unnecessary draw calls.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 17:12:06 +00:00
Miko Mynttinen
6bf1bd586a Bug 1578576 - Part 4: Update webgl-conf expectations r=jgilbert
Depends on D44581

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

--HG--
extra : moz-landing-system : lando
2019-09-07 13:39:16 +00:00
Miko Mynttinen
e110583d7c Bug 1578576 - Part 3: Prefer ES2 for WebGL1 r=jgilbert
Depends on D44580

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

--HG--
extra : moz-landing-system : lando
2019-09-07 19:38:21 +00:00
Miko Mynttinen
20f8e99683 Bug 1578576 - Part 2: Update to ANGLE 3865 r=jgilbert
Depends on D44561

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

--HG--
rename : gfx/angle/checkout/src/common/Color.inl => gfx/angle/checkout/src/common/Color.inc
rename : gfx/angle/checkout/src/image_util/copyimage.inl => gfx/angle/checkout/src/image_util/copyimage.inc
rename : gfx/angle/checkout/src/image_util/generatemip.inl => gfx/angle/checkout/src/image_util/generatemip.inc
rename : gfx/angle/checkout/src/image_util/loadimage.inl => gfx/angle/checkout/src/image_util/loadimage.inc
rename : gfx/angle/checkout/src/libANGLE/Version.inl => gfx/angle/checkout/src/libANGLE/Version.inc
rename : gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/dxgi_support_table.cpp => gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/dxgi_support_table_autogen.cpp
rename : gfx/angle/checkout/src/libGLESv2/proc_table.h => gfx/angle/checkout/src/libGLESv2/proc_table_egl.h
rename : gfx/angle/checkout/src/libGLESv2/proc_table_autogen.cpp => gfx/angle/checkout/src/libGLESv2/proc_table_egl_autogen.cpp
extra : moz-landing-system : lando
2019-09-07 13:38:36 +00:00
Miko Mynttinen
9d0e84cb7b Bug 1578576 - Part 1: Update angle updater and merge base r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D44561

--HG--
extra : moz-landing-system : lando
2019-09-07 13:36:46 +00:00
Masayuki Nakano
9ff1becd88 Bug 1574852 - part 73: Move HTMLEditRules::IndentAroundSelectionWithCSS() to HTMLEditor r=m_kato
And also this patch fixes unexpected behavior change by bug 1460509:
https://searchfox.org/mozilla-central/diff/d5d67de86f23655fcccc7bbcf4423bb75148fd34/editor/libeditor/HTMLEditRules.cpp#4466

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

--HG--
extra : moz-landing-system : lando
2019-09-06 12:57:56 +00:00
Masayuki Nakano
07dae7f820 Bug 1574852 - part 72: Move HTMLEditRules::ChangeMarginStart() to HTMLEditor and get rid of its wrappers r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44465

--HG--
extra : moz-landing-system : lando
2019-09-06 08:51:36 +00:00
Masayuki Nakano
de7cc1a3a0 Bug 1574852 - part 71: Move HTMLEditRules::WillRemoveList() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44464

--HG--
extra : moz-landing-system : lando
2019-09-06 06:01:57 +00:00
Masayuki Nakano
cfd3ee7e70 Bug 1574852 - part 70: Move HTMLEditRules::RemoveListStructur() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44463

--HG--
extra : moz-landing-system : lando
2019-09-06 05:46:15 +00:00
Mike Hommey
d9362c0f85 Bug 1578254 - Trick Make into running rust targets earlier again. r=nalexander
One of the things bug 1567616 did was to change how .cargo/config is
preprocessed, from it happening during configure to it happening during
the build. And to make things happen properly, dependencies were added
on the rust targets to ensure the .cargo/config file is created before
they run.

Unfortunately, that changed the order in which Make would run all the
targets while recursing for the compile tier, when the file doesn't
exist first. So instead of starting the compile tier with rust targets,
it would start with most C++, then do rust... which we know to make
builds slower overall because of the need to wait for those rust builds
to finish which C++ has all been dealt with already, and lacking
parallelism during the rust build.

So we force .cargo/config to be generated during export (which it is not
already because OBJDIR_PP_FILES are currently dealt with during misc).
That makes Make still run the rust targets early during the compile
tier.

And while here, we extend the if block in recurse.mk that excludes all
the top-level recursion dependencies when running from subdirectories.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 22:58:03 +00:00
David Walsh
d3fcf65767 Bug 1557116 - Don't allow DEVTOOLS_DEBUGGER_LOAD_SOURCE_MS to expire r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D44844

--HG--
extra : moz-landing-system : lando
2019-09-06 22:17:30 +00:00