Commit Graph

666685 Commits

Author SHA1 Message Date
lloan
04ae431f71 Bug 1575231 - The Search worker should provide target panel. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D42803

--HG--
extra : moz-landing-system : lando
2019-08-21 09:58:44 +00:00
Sylvestre Ledru
7759b614e2 Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:57:03 +00:00
Dorel Luca
4a1c5b0a2a Backed out 3 changesets (bug 1570242) for devtools failure in /webconsole/test/node/components/webconsole-wrapper.test.js. CLOSED TREE
Backed out changeset 854e62f7f1ae (bug 1570242)
Backed out changeset 304366165980 (bug 1570242)
Backed out changeset a213b28dd40f (bug 1570242)
2019-08-21 13:13:15 +03:00
Daniel Varga
ae8445aebc Merge mozilla-central to autoland. On a CLOSED TREE 2019-08-21 13:06:00 +03:00
Daniel Varga
597a69c70a Merge mozilla-inbound to mozilla-central. a=merge 2019-08-21 12:52:49 +03:00
Alexandre Poirot
763683b0a2 Bug 1570242 - Rename target to currentTarget in WebConsole codebase. r=nchevobbe,yulia
Do that to better highlight that the target can change over time.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:47:53 +00:00
Alexandre Poirot
77ad7c4faa Bug 1570242 - Fetch toolbox from WebConsole class rather than gDevTools. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D41797

--HG--
extra : moz-landing-system : lando
2019-08-21 09:47:51 +00:00
Alexandre Poirot
23fda7ab4b Bug 1570242 - Fetch target from toolbox instead of memoizing it on console classes. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D40017

--HG--
extra : moz-landing-system : lando
2019-08-21 09:47:44 +00:00
Dorel Luca
36ef7ebb68 Backed out changeset de151ad69bd6 (bug 1003968) for build bustage. CLOSED TREE 2019-08-21 12:48:14 +03:00
Jonathan Kew
c08c7f523b Bug 1573249 - patch 3 - Add reftests for ignoring skip-ink behavior on CJK text. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D42683

--HG--
extra : moz-landing-system : lando
2019-08-21 09:39:02 +00:00
Jonathan Kew
2898eb876f Bug 1573249 - patch 2 - Don't apply skip-ink to runs of CJK text, because it looks bad with many fonts. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D42529

--HG--
extra : moz-landing-system : lando
2019-08-21 09:39:02 +00:00
Mihai Alexandru Michis
248b072642 Merge mozilla-central to mozilla-inbound. 2019-08-21 06:51:22 +03:00
Brian Hackett
a7817c43e7 Bug 1574952 - Support calls to CGPathApply after diverging from the recording, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D42576

--HG--
extra : moz-landing-system : lando
2019-08-21 03:16:35 +00:00
Mike Hommey
fdb08df9ff Bug 1575288 - Shutdown sccache from the right place after bug 1573435. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42762

--HG--
extra : moz-landing-system : lando
2019-08-21 02:52:35 +00:00
Andrew McCreight
1523b3dab0 Bug 1575388 - Mark browser_temporary_permissions.js as passing with Fission. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D42764

--HG--
extra : moz-landing-system : lando
2019-08-21 02:36:32 +00:00
Kris Maglione
80194b1ea3 Bug 1561705: Follow-up: Skip leaky tests on all platforms/debug. r=bustage
MANUAL PUSH: Bustage fix.
2019-08-20 19:21:12 -07:00
Dan Glastonbury
41fff20f69 Bug 1571612 - P2: Collect flush req and flush telemetry. r=heycam
Collect telemetry for the number of pending style and layout flush requests per
flush and the number of style and layout flushes per nsRefreshDriver::Tick.  A
style flush reports only style requests, but a layout flush reports style and
layout requests since flushing layout implies a style flush also.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 01:43:30 +00:00
Logan Smyth
34b437cbec Bug 1575393 - Update prettier to same version used in MC root. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42739

--HG--
extra : moz-landing-system : lando
2019-08-20 23:48:57 +00:00
Logan Smyth
2e60f7f95c Bug 1572209 - Part 4: Roll back one set of accidentally-included changes. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42724

--HG--
rename : devtools/client/debugger/.eslintrc => devtools/client/debugger/.eslintrc.js
extra : moz-landing-system : lando
2019-08-20 23:36:12 +00:00
Jason Laster
ccd6500125 Bug 1575337 - Remove chrome client. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D42698

--HG--
extra : moz-landing-system : lando
2019-08-20 22:22:04 +00:00
Mihai Alexandru Michis
fea3565134 Merge inbound to mozilla-central. 2019-08-21 01:00:06 +03:00
Kris Maglione
6018d35d2c Bug 1561705: Follow-up: Fix botched skip-if annotations. r=bustage
MANUAL PUSH: Bustage fix.

--HG--
extra : rebase_source : aace91cab86220b7cff3f159c8b1a13b793d88fa
2019-08-20 14:50:06 -07:00
Daniel Holbert
07da11b14a Bug 1574031: Turn off text-decoration-skip-ink for intermittently mismatching section of reftest decoration-style-standards.html. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D42707

--HG--
extra : moz-landing-system : lando
2019-08-20 21:30:27 +00:00
Daniel Holbert
83952f0143 Bug 1575338: Turn off text-decoration-skip-ink for WPT auto-margins-001.html. r=jfkthame
This test's reference case occasionally (intermittetly) fails to do ink
skipping, so let's just turn off the ink-skipping preference for now to
avoid triggering too much intermittent orange.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 23:11:25 +00:00
Gerald Squelart
74a83dc93f Bug 1575158 - BlocksRingBufferGeckoExtensions.h - r=gregtatum
Some marker payloads rely on JS and XPCOM objects (e.g., nsCString), so we need
to (de)serialize these.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 22:52:34 +00:00
Gerald Squelart
f908211695 Bug 1575141 - BlocksRingBuffer::{S,Des}erializer<BlocksRingBuffer> - r=gregtatum
Backtraces (that are kept in some marker payloads) are stored in a small
ProfileBuffer, we will need to store that data, which will happen to be inside
a BlockRingBuffer, so BlockRingBuffer needs to be able to (de)serialize itself!

This is done by storing the contents in the active buffer range, and some extra
data, to later reconstruct a BlocksRingBuffer that looks like the original.

Depends on D42496

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:33:52 +00:00
Gerald Squelart
87c8e35964 Bug 1574896 - BlocksRingBuffer de/serialization methods and helpers - r=gregtatum
Markers and their payloads contain all kinds of objects that we'll need to
serialize into a BlocksRingBuffer (new ProfileBuffer storage).

This patch will add functions to:
- Compute the size needed to store objects,
- Write multiple objects into a BlockRingBuffer entry,
- Read objects back from an entry.

And it will provide a number of useful de/serialization helpers for:
- Trivially-copyable objects,
- Strings of different types,
- Raw pointers (with some safety guards to avoid surprises),
- Tuples (to store multiple sub-objects),
- Spans,
- Maybe (for optional objects),
- Variant.

This should be enough to store most kinds of data. Further specializations
can&will be written as necessary for more complex or obscure types.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 22:39:12 +00:00
Samuel Thibault
55522b7f0f Bug 1574950 - atk: Set returned values to -1 in case of errors, as newly documented in atk r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D42515

--HG--
extra : moz-landing-system : lando
2019-08-20 22:42:49 +00:00
Sylvestre Ledru
16b33cea9a Bug 1564252 - Move to clang 8.0.1 r=glandium
Remove r355141-arm64-cfg.patch (merged upstream)

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

--HG--
extra : rebase_source : f74202e4459c46d45a8b4f5a8c00da080904e8bf
2019-08-20 21:06:24 +02:00
Jonathan Kew
64239ebc50 Bug 1573249 - patch 1 - Clean up some management of the GlyphRun array in gfxTextRun. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D42528

--HG--
extra : moz-landing-system : lando
2019-08-20 18:06:13 +00:00
ruthra kumar
c4c97acc65 Bug 1003968 - avoid Exists() calls for search plugin directories in the browser directory provider r=daleharvey,Gijs
This Change removes all call to Exists() in Directory Provider component, which creates the possibility for the componenet to return an empty list. SearchService.jsm is modified to handle this possibility.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:34:49 +00:00
Ola Gasidlo
df494998bb Bug 1566011 Create sub component for manifestItem (part 2), r=ladybenko,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D41909

--HG--
extra : moz-landing-system : lando
2019-08-21 08:39:11 +00:00
Mark Banner
1804529943 Bug 1575477 - Fix use of unknown property browser_trackingUI_categories.js. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D42808

--HG--
extra : moz-landing-system : lando
2019-08-21 09:02:16 +00:00
Simon Giesecke
2772860a85 Bug 1168606 - Added missing assignment of Exists result to rv. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D41191

--HG--
extra : amend_source : 6a9760ea06c66910c9c66875ff69c827d75336cb
2019-08-21 09:27:46 +02:00
Simon Giesecke
ffe8213b8d Bug 1168606 - Removed unused methods in IDBKeyRange. r=ttung,asuth
The functionality has been moved to DatabaseOperationBase::BindKeyRangeToStatement
resp. DatabaseOperationBase::GetBindingClauseForKeyRange as part of Bug 994190.

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

--HG--
extra : amend_source : 2c58011d334a35e808e93c1876080db5f83ee659
2019-08-21 09:27:31 +02:00
Simon Giesecke
603ae52908 Bug 1168606 - Reduce code duplication for different cursor directions. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D40957

--HG--
extra : amend_source : 6be8c103a4deec383ac2d4cb22e9ad67f3c74e4d
2019-08-21 09:27:59 +02:00
Simon Giesecke
542ab16b7c Bug 1168606 - Fixed wrong method name in log message. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D40953

--HG--
extra : amend_source : 0e3ff248e6585713193bfac7a29ff607c38a6e82
2019-08-21 09:27:20 +02:00
Ashley Rose
56b7e39dcf Bug 1574028: Fix ColorStateLists on Android Q r=petru
Differential Revision: https://phabricator.services.mozilla.com/D42703

--HG--
extra : moz-landing-system : lando
2019-08-21 07:39:07 +00:00
Tim Nguyen
ee4ee3237a Bug 1567714 - Fix .urlbar-display text color on themes. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D42744

--HG--
extra : moz-landing-system : lando
2019-08-21 08:15:30 +00:00
Dorel Luca
19824f0717 Backed out changeset eeeb0858e706 (bug 1574538) for mochitest failures on toolkit/content/tests/widgets/test_videocontrols.html
--HG--
extra : rebase_source : 0281b9e6833c1b99a0a7d12dff7c594a707835b7
2019-08-21 10:32:49 +03:00
Chris Peterson
41241f3418 Bug 1514965 - Part 2: Enable clang -ftrivial-auto-var-init to initialize local variables with 0xAA in debug builds. r=froydnj
Disable -ftrivial-auto-var-init for DllBLocklistWin.cpp with clang-cl because the file's interceptions happen so early in the main process that the loader hasn't yet resolved the import of memset (used by -ftrivial-auto-var-init) from vcruntime140.dll.

Disable -ftrivial-auto-var-init on Linux32 because it causes some xpcshell test failures.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:08:29 +00:00
Chris Peterson
539da64637 Bug 1514965 - Part 1: Refactor mingw_clang checks for reuse. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D27358

--HG--
extra : moz-landing-system : lando
2019-08-21 07:08:04 +00:00
Masayuki Nakano
3e52c98a82 Bug 1574852 - part 3: Get rid of HTMLEditRules::InitFields() r=m_kato
It's called immediately before setting `mHTMLEditor` and sets `mHTMLEditor` to
`nullptr`.  So, it does nothing actually.  We can get rid of it.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:14:09 +00:00
Masayuki Nakano
d22d8c911e Bug 1574852 - part 2: Replace HTMLEditRules::IsInlineNode() with HTMLEditor::NodeIsInlineStatic() r=m_kato
`HTMLEditRules::IsInlineNode()` is a wrapper of
`HTMLEditor::NodeIsInlineStatic()`, but returns opposite value.

This patch moves it into `HTMLEditor` and names it with same rule as
`NodeIsBlockStatic()`.

Note that this method may return true if given node is unexpected node type.
E.g., comment node, CDATA node, etc.  However, it's not scope of this bug.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:13:41 +00:00
Masayuki Nakano
24e7c7235d Bug 1574852 - part 1: Get rid of HTMLEditRules::IsBlockNode() r=m_kato
`HTMLEditRules::IsBlockNode()` just wraps `HTMLEditor::NodeIsBlockStatic()`
and all its users will be moved into `HTMLEditor`.  Therefore, we should
unwrap it.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 06:21:05 +00:00
Alastor Wu
2e47becfef Bug 1571908 - part6 : add debug logs. r=heycam
Add debug logs to show which mode we're using to adjust cue's position.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:27 +00:00
Alastor Wu
5eb414efca Bug 1571908 - part5 : add wpt 'snap-to-line.html'. r=heycam
Add wpt `snap-to-line.html` to ensure that the cue with `snap-to-line=false` can be placed in correct place.

Setting `line` as percentage will make cue's `snap-to-line` to `false` automatically [1], and we also set `position` and `align` to test if we can handle all these attributes well when  `snap-to-line` is false.

[1] https://www.w3.org/TR/webvtt1/#ref-for-webvtt-cue-snap-to-lines-flag-9

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:27 +00:00
Alastor Wu
b43ac32ce9 Bug 1571908 - part4 : remove redudant function. r=heycam
We have already had a exactly same function, so can remove a redundant one.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:26 +00:00
Alastor Wu
139cf6cc13 Bug 1571908 - part3 : optimize the result of adjusting position for cues with 'snapToLines=false'. r=heycam
When adjusting cues with `snapToLines=false`, first we would generate an array with all different axises which we would use to move cue on the specific direction.

However, for the different writing directions, we should have different priority for the moving directions.
For example, if the wriring direction is `horizontal`, which means cues will grow from the top to the bottom, then moving cues along the `y` axis should be more important than moving cues along the `x` axis, and vice versa for those cues growing from the left to right, or from the right to the left.

After decided the moving direction, then we have to decide the moving offset. Now we use line box's Bsize as a basic moving unit.

Moving cues, however, by such as large distance as a time would cause too many redudant space between cue boxes, which doesn't provide a good enough visual arrangement result. Therefore, we divide the Bsize by a factor, which can control the granularity of the moving unit and can still preverse a reasonable space between boxes. That can provide way better visual result than the one we had used before, and still has certain good performance comparing with moving 1px at a time.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:26 +00:00
Alastor Wu
f5fee479ba Bug 1571908 - part2 : return null if we can't place the cue box inside the video rendering area. r=heycam
When adjusting the position of the cue box, if we can't find a proper place to display the cue within the video rendering area, we should return `null` and not to show it on the screen.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:25 +00:00