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

669711 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe b4de2bd22f Bug 1579422 - Disconnect FilterBar resize observer when observed node is disconnected. r=jdescottes.
Since we don't properly unmount the Console React app,
FilterBar's componentWillUnmount is never called.
This was where we planned to disconnect the resize observer,
but it was in fact never called.
So what we do in this patch instead is in the resize observer
callback, check if the observed node is connected, and if
it's not, we disconnect the resize observer.

This prevent the console from dispatching an action, that
may slow down closing the console.

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

--HG--
extra : moz-landing-system : lando
2019-09-09 09:05:08 +00:00
Raphael Pierzina 8249853b77 Bug 1543960 - Update doc string in telemetry-tests-client search test; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D45040

--HG--
extra : moz-landing-system : lando
2019-09-06 18:29:59 +00:00
Sylvestre Ledru 4675edcd33 Bug 1577726 - Reorder tools/rewriting/ThirdPartyPaths.txt r=andi
Depends on D45158

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

--HG--
extra : moz-landing-system : lando
2019-09-09 08:33:43 +00:00
Sylvestre Ledru ed0812da79 Bug 1577726 - Move a path from tools/rewriting/ThirdPartyPaths.txt to tools/rewriting/Generated.txt r=andi
Differential Revision: https://phabricator.services.mozilla.com/D45158

--HG--
extra : moz-landing-system : lando
2019-09-09 08:34:58 +00:00
Daisuke Akatsuka 4be488567a Bug 1456167: Add test for CSS variable which can be color. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D44944

--HG--
extra : moz-landing-system : lando
2019-09-09 07:02:51 +00:00
Daisuke Akatsuka 74a38cdb47 Bug 1456167: Support color swatch for css variable which can be color. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D44943

--HG--
extra : moz-landing-system : lando
2019-09-06 15:39:18 +00:00
Narcis Beleuzu 250f5cc9fb Backed out 5 changesets (bug 1577007, bug 1576776, bug 1576781, bug 1564167) for crashtest failures
Backed out changeset 171d5f099ad0 (bug 1564167)
Backed out changeset 4b4ecd73e277 (bug 1577007)
Backed out changeset e1be19463a59 (bug 1576781)
Backed out changeset da3d3d8b83c8 (bug 1576776)
Backed out changeset b00926690f17 (bug 1576776)
2019-09-09 10:42:57 +03:00
Nicolas Chevobbe f4e52015fa Bug 1577781 - Add a Browser Console test to expand a longstring coming from content process. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D44980

--HG--
rename : devtools/client/webconsole/test/browser/browser_webconsole_longstring.js => devtools/client/webconsole/test/browser/browser_console_content_longstring.js
extra : moz-landing-system : lando
2019-09-06 14:44:54 +00:00
Cameron McCormack 7052f624b5 Bug 1578147 - Align the Rust and C++ representations of WritingMode. r=emilio,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D44412

--HG--
extra : moz-landing-system : lando
2019-09-09 04:49:55 +00:00
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