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

669702 Коммитов

Автор SHA1 Сообщение Дата
lloan cde4de2557 Bug 1572138 - Introduce status bar for the search side panel. r=Honza,flod.
Differential Revision: https://phabricator.services.mozilla.com/D44997

--HG--
extra : moz-landing-system : lando
2019-09-09 06:43:50 +00:00
Cameron McCormack 79dc9209f9 Bug 1562060 - Add telemetry to record how often we fail to map UA sheet shared memory at the desired address. r=jwatt,janerik
Differential Revision: https://phabricator.services.mozilla.com/D36273

--HG--
extra : moz-landing-system : lando
2019-09-09 06:18:40 +00:00
Makoto Kato 50895a5db7 Bug 1571339 - Don't use nsTextFragment::AppendTo to get string in TextNodeContainsDOMWordSeparator. r=masayuki
Actually, spellchecker always allocates the heap to get text from text node. But it is unnecessary to allocate another heap here since `WordSplitState` walks text only and it is stack class.

If text is in '<textarea>', text node may be too large, so we shouldn't allocate memory to walk character in `WordSplitState` if possible. Because `TextNodeContainsDOMWordSeparator` will be called per input.

And `mWordUtil` is unused, so we should remove it.

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

--HG--
extra : moz-landing-system : lando
2019-09-09 03:42:45 +00:00
Markus Stange d603768670 Bug 1578330 - Call GetBufferSize after BeginFrame because RenderCompositorANGLE mutates it in BeginFrame. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D45143

--HG--
extra : moz-landing-system : lando
2019-09-09 03:59:15 +00:00
Masayuki Nakano a322625816 Bug 1574852 - part 75: Move `HTMLEditRules::OutdentPartOfBlock()` to `HTMLEditor` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44779

--HG--
extra : moz-landing-system : lando
2019-09-08 03:23:16 +00:00
Masayuki Nakano d64c6562b7 Bug 1574852 - part 74: Move `HTMLEditRules::IndentAroundSelectionWithHTML()` to `HTMLEditor` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44778

--HG--
extra : moz-landing-system : lando
2019-09-08 03:05:46 +00:00
Lina Cambridge 1046b50b0b Bug 1577788 - Fix unique constraint errors when syncing bookmarks with tags. r=markh
Our `INSTEAD OF INSERT` trigger for local tags reused existing tag
folders if they already existed, but not existing tag entries. This
caused us to insert duplicate tag entries for items whose tags
didn't change, which, in turn, threw unique constraint violations
when we tried to insert rows for tag entries that already existed
into `itemsAdded`. This commit gives tag entries the same treatment as
tag folders.

This commit also improves debug logging during application, so we
can pinpoint errors like this better in the future.

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

--HG--
extra : moz-landing-system : lando
2019-09-08 23:55:58 +00:00
Cosmin Sabou 908e629971 Bug 1443414 - Update about-blank-replacement.https.html expectations cause of frequent failures. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45000

--HG--
extra : moz-landing-system : lando
2019-09-08 22:49:31 +00:00
Daisuke Akatsuka e5569f5821 Bug 1572933: Add a test whether DevTools loads from the cache even during disabling the cache. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D44627

--HG--
extra : moz-landing-system : lando
2019-09-09 00:57:12 +00:00
Daisuke Akatsuka a65bd31ef9 Bug 1572933: Introduce an attribute to raise the cache priority. r=pbro,mayhemer
For now, when we turn on `disable cache` switch in DevTools[1], web page loads
the contents without using the cache. Furthermore, DevTools as well comes to
load the contents DevTools inspects without using the cache. And, if the loaded
contents from the web page and DevTools was different, becomes impossible to
inspect the content correctly.
Thus, in order to make DevTools refer the same content the web page loaded,
makes DevTools load the contents inspecting from the cache at first, no matter
if disables the switch or not.

When turns on disable cache in DevTools, `LOAD_BYPASS_CACHE` flag is set into
`loadFlags` in the `docshell`.[2] The other hand, the content DevTools inspects
is loaded from a channel DevTools creates with `LOAD_FROM_CACHE` flag.[3]
However, because this channel is belong to same `loadGroup` of the `docshell`,
`LOAD_BYPASS_CACHE` is inherited and is choosen even if `LOAD_FROM_CACHE` is set.
Thus, in this patch, we introduce an attribute `preferCacheLoadOverBypass`
which raises the priority for `LOAD_FROM_CACHE` above `LOAD_BYPASS_CACHE` and
`LOAD_BYPASS_LOCAL_CACHE`.

[1] https://developer.mozilla.org/en-US/docs/Tools/Settings#Advanced_settings
[2] https://searchfox.org/mozilla-central/source/devtools/server/actors/targets/browsing-context.js#1227
[3] https://searchfox.org/mozilla-central/source/devtools/shared/DevToolsUtils.js#542-544

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

--HG--
extra : moz-landing-system : lando
2019-09-09 00:57:05 +00:00
Rail Aliiev 9b09aece8c Bug 1579476 - Switch to new GCP beetmover workers r=mtabara
Switch to new GCP beetmover workers

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

--HG--
extra : moz-landing-system : lando
2019-09-07 00:00:25 +00:00
Cameron McCormack 304fa5471e Bug 1578133 - Make nsBox get theme from the nsPresContext. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D44344

--HG--
extra : moz-landing-system : lando
2019-09-09 00:08:59 +00:00
Noemi Erli d988a687b9 Backed out 9 changesets (bug 1578623) for causing Windows build bustages CLOSED TREE
Backed out changeset 52a86c60c866 (bug 1578623)
Backed out changeset e4fddd3d24b4 (bug 1578623)
Backed out changeset 65a7c4daec27 (bug 1578623)
Backed out changeset 3badf9215788 (bug 1578623)
Backed out changeset 71e58ee8f684 (bug 1578623)
Backed out changeset 0128e12a910f (bug 1578623)
Backed out changeset 8242877392bd (bug 1578623)
Backed out changeset 6d7be8a22f8b (bug 1578623)
Backed out changeset 3be609a9be36 (bug 1578623)

--HG--
extra : amend_source : b76d374926d247982773b58d12cb26e33d9972e8
2019-09-09 03:37:09 +03:00
Karl Tomlinson 2a772f968e Bug 1578623 remove OriginAttributes duplication by reading from PrincipalInfo r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44918

--HG--
extra : moz-landing-system : lando
2019-09-08 23:44:05 +00:00
Karl Tomlinson 8b101b80b5 Bug 1578623 add test for syntax errors and uncaught exceptions in worklet scripts r=bhackett
Depends on D44611

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

--HG--
rename : devtools/client/webconsole/test/browser/browser_webconsole_worker_error.js => devtools/client/webconsole/test/browser/browser_webconsole_worklet_error.js
extra : moz-landing-system : lando
2019-09-08 23:44:05 +00:00
Karl Tomlinson 934b121f44 Bug 1578623 include stack with console message for uncaught exception in worklet script r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44609

--HG--
extra : moz-landing-system : lando
2019-09-06 02:10:32 +00:00
Karl Tomlinson dcc752541e Bug 1578623 add stack support to AsyncErrorReporter r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D44608

--HG--
extra : moz-landing-system : lando
2019-09-06 02:10:32 +00:00
Karl Tomlinson 9b7c21c40f Bug 1578623 permit SerializeStack() from worklet thread r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44606

--HG--
extra : moz-landing-system : lando
2019-09-06 02:10:32 +00:00
Karl Tomlinson 18d04e5d8f Bug 1578623 implement WorkletPrincipals::write() r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D44605

--HG--
extra : moz-landing-system : lando
2019-09-06 02:10:31 +00:00
Karl Tomlinson 079bad8d41 bug 1578623 store PrincipalInfo on WorkletImpl for off-main-thread use r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44603

--HG--
extra : moz-landing-system : lando
2019-09-08 23:44:05 +00:00
Karl Tomlinson e9f3cabd45 Bug 1578623 use an opaque origin for WorkletGlobalScope r=baku
The environment settings object for a WorkletGlobalScope derives from the
relevant settings object of the main-thread Worklet object, but the origin is
a unique opaque origin.
https://drafts.css-houdini.org/worklets/#set-up-a-worklet-environment-settings-object

Depends on D44775

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

--HG--
extra : moz-landing-system : lando
2019-09-06 02:10:33 +00:00
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