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

717303 Коммитов

Автор SHA1 Сообщение Дата
autofoolip fab56dfd9a Bug 1650770 [wpt PR 24455] - Update interfaces/appmanifest.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/appmanifest.idl (#24455)

Source: https://github.com/tidoust/reffy-reports/blob/65872de/ed/idl/appmanifest.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/705383235
--

wpt-commits: f302e398f01f26651869cdc8d799ff36824e4740
wpt-pr: 24455
2020-07-10 10:38:02 +00:00
Koji Ishii 7f727c5bb7 Bug 1650739 [wpt PR 24453] - [FragmentItem] Limit reusing cached lines only when top-level child is clean, a=testonly
Automatic update from web-platform-tests
[FragmentItem] Limit reusing cached lines only when top-level child is clean

This patch simplifies |DirtyLinesFromNeedsLayout| to check
|NeedsLayout| of top-level children only.

The previous code tried to reuse more lines, e.g.:
  <div><span>many lines of text</span></div>
Most lines are reusable when appending to the end of "text".
But supporting this case complicates the logic, especially
when culled inline is involved.

The new logic can't reuse lines in the above case, but still
can reuse liens if the `<span>` does not exist, and should
cover most common cases.

Bug: 1102083
Change-Id: I4f76e154b834c8c00e5ce04ab251c4f1fcdabab0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2282821
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785345}

--

wpt-commits: eae9c1b62560eedbccc8efa3a1f6b6ce1ba97b30
wpt-pr: 24453
2020-07-10 10:38:02 +00:00
Koji Ishii 211e40a866 Bug 1650620 [wpt PR 24444] - [FragmentItem] Fix DirtyLinesFromNeedsLayout, a=testonly
Automatic update from web-platform-tests
[FragmentItem] Fix DirtyLinesFromNeedsLayout

This patch fixes a case where |DirtyLinesFromNeedsLayout|
fails to mark items dirty for reusing cached lines.

When searching for |LayoutObject| needing layout, checking
|NormalChildNeedsLayout| and |PosChildNeedsLayout| were not
enough. In some specific cases, only
|NeedsSimplifiedNormalFlowLayout| was set for the parent
inline box.

This patch changes the condition to check descendants to
|NeedsLayout|.

Bug: 1101883
Change-Id: Ia73ace058c9ea1ebaaffdaff793b56d68099cd5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2281781
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785287}

--

wpt-commits: aef9da08fe2fa0b9fa473e2e126cb3cf29fae43e
wpt-pr: 24444
2020-07-10 10:38:01 +00:00
moz-wptsync-bot 192514a7c9 Bug 1641377 [wpt PR 23807] - Update wpt metadata, a=testonly
wpt-pr: 23807
wpt-type: metadata
2020-07-10 10:38:01 +00:00
Aleks Totic bc67fd65c0 Bug 1641377 [wpt PR 23807] - [TablesNG] New test suite: colspan redistribution, a=testonly
Automatic update from web-platform-tests
[TablesNG] New test suite: colspan redistribution

Investigation into how cells with colspan > 1
redistribute their min/max/% widths.

Browsers often disagree, and spec allows for variations.

Bug: 958381
Change-Id: I588053d1392e00e9d199cdd1095b93a148101fc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2219093
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Aleks Totic <atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785260}

--

wpt-commits: 6f5097d7cb5bcedef39dcdd5331064eadfdd0283
wpt-pr: 23807
2020-07-10 10:38:00 +00:00
moz-wptsync-bot 02431c543f Bug 1649111 [wpt PR 24379] - Update wpt metadata, a=testonly
wpt-pr: 24379
wpt-type: metadata
2020-07-10 10:38:00 +00:00
Blink WPT Bot 88bff574a3 Bug 1649111 [wpt PR 24379] - [COOP] Report-only navigation tests, a=testonly
Automatic update from web-platform-tests
[COOP] Report-only navigation tests (#24379)

This adds basic tests of the report-only features for the navigation
case, where the report-only headers would cause a browsing context
group switch.

Bug: 1099208
Change-Id: Ia5261d5d1ddac4a83943e0a48b5ef5f2cdb47b7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2266000
Commit-Queue: Pâris Meuleman <pmeuleman@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Auto-Submit: Pâris Meuleman <pmeuleman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785021}

Co-authored-by: Pâris MEULEMAN <pmeuleman@chromium.org>
--

wpt-commits: b7938227eacdc8d6d475c5a7bff061724d6ebd3f
wpt-pr: 24379
2020-07-10 10:37:59 +00:00
moz-wptsync-bot 247c70535a Bug 1650519 [wpt PR 24441] - Update wpt metadata, a=testonly
wpt-pr: 24441
wpt-type: metadata
2020-07-10 10:37:59 +00:00
Florian Rivoal 34caacc8c7 Bug 1650519 [wpt PR 24441] - Color gamut, a=testonly
Automatic update from web-platform-tests
Check color-gamut media query syntax (#24441)

--

wpt-commits: ac402deb6e9d1a35976009d3ecd5d709bbdd89c7
wpt-pr: 24441
2020-07-10 10:37:58 +00:00
moz-wptsync-bot 64fdbdd8e5 Bug 1650343 [wpt PR 24433] - Update wpt metadata, a=testonly
wpt-pr: 24433
wpt-type: metadata
2020-07-10 10:37:58 +00:00
Florian Rivoal 2aa5a574f5 Bug 1650343 [wpt PR 24433] - Test media features that are false in the negative range, a=testonly
Automatic update from web-platform-tests
Test media features that are false in the negative range (#24433)

See https://github.com/w3c/csswg-drafts/issues/1454
--

wpt-commits: 6b786f18589c7407b7b804c883b5d5cbf254c086
wpt-pr: 24433
2020-07-10 10:37:58 +00:00
Florian Rivoal d2f2f21d0b Bug 1650344 [wpt PR 24434] - Fix copypasta error, a=testonly
Automatic update from web-platform-tests
Fix copypasta error (#24434)

--

wpt-commits: 9f0bc35bee38d68e5a2ef27e1ac8f22985d0acdd
wpt-pr: 24434
2020-07-10 10:37:57 +00:00
Stephen McGruer 22ed8b7102 Bug 1648516 [wpt PR 24342] - Add a @page margins test for print-reftests, a=testonly
Automatic update from web-platform-tests
Add a @page margins test for print-reftests

This ensures that the 0.5" margin can be overriden when using a
print-reftest.

--

wpt-commits: 1ddd94983862011804dac3271eebd69160bee52b
wpt-pr: 24342
2020-07-10 10:37:57 +00:00
moz-wptsync-bot 138de38cba Bug 1649491 [wpt PR 24397] - Update wpt metadata, a=testonly
wpt-pr: 24397
wpt-type: metadata
2020-07-10 10:37:56 +00:00
sefeng 1a79c21751 Bug 1649491 [wpt PR 24397] - Convert a manual dialog fullscreen test to test_driver, a=testonly
Automatic update from web-platform-tests
Convert a manual dialog fullscreen test to test_driver

--
Update fullscreen/api/element-request-fullscreen-dialog.html
--
Update fullscreen/api/element-request-fullscreen-dialog.html
--

wpt-commits: 75bc0cd09e3a018367c214350d5aa70f0eebbbd5, 3b61173da65623c93e80ca978e2adeaf6e0085ab, a2d05880936b9fdea05c22846e26bec32bc535b7
wpt-pr: 24397
2020-07-10 10:37:56 +00:00
Andrea Marchesini a29f8625e9 Bug 1651120 - Add cookie sameSite schemeful as an experimental feature, r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D82561
2020-07-09 23:24:53 +00:00
Sebastian Hengst 4804061533 Backed out changeset d72c64af2c23 (bug 1645196) for very frequently failing remote(pup) task 2020-07-10 12:13:10 +02:00
Marco Bonardo efd2be2d06 Bug 1650099 - Unify UrlbarProviders logger boilerplate. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82939
2020-07-10 09:49:42 +00:00
Petr Sumbera 64b33a1eaa Bug 1651082 - Add support for Solaris linker r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D82530
2020-07-10 09:15:52 +00:00
James Teh 8512a122d8 Bug 1650462: Don't include group descendants when calculating the acc name of treeitems. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D83042
2020-07-10 07:34:31 +00:00
Nicolas Chevobbe de82cf7714 Bug 1605162 - Test that context selector is updated when pausing in a remote frame. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D71527
2020-07-10 09:19:48 +00:00
Masayuki Nakano 73ed807abb Bug 1649980 - part 1: Move `WSRunScanner::mStart` and `WSRunScanner::mEnd` initializers into `BoundaryData` r=m_kato
For making `WSRunScanner::BoundaryData` independent from `WSRunScanner`,
its initializer should be in the class itself as static factory methods.

Depends on D82295

Differential Revision: https://phabricator.services.mozilla.com/D82693
2020-07-10 06:58:49 +00:00
Masayuki Nakano 4cce915acd Bug 1647556 - part 16: Rename `WSFragment` to `VisibleWhiteSpacesData` r=m_kato
Now, we can call `WSFragment` `VisibleWhiteSpacesData`.  Then, the methods of
`WSRunObject` which take `WSFragment` as their arguments become clearer what
they mean.

Differential Revision: https://phabricator.services.mozilla.com/D82295
2020-07-10 05:47:55 +00:00
Masayuki Nakano 939400f8ac Bug 1647556 - part 15: Get rid of visible state of `WSFragment` r=m_kato
Now, `WSFragment` instances are created only by
`TextFragmentData::CreateWSFragmentForVisibleWhiteSpaces()`.  Therefore, it's
always visible.

Additionally, this patch hides `WSFragment` constructors from the others too.

Differential Revision: https://phabricator.services.mozilla.com/D82294
2020-07-10 05:01:44 +00:00
Masayuki Nakano 3c1d6d127b Bug 1647556 - part 14: Get rid of unnecessary `WSFragment` memebers r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D82293
2020-07-10 04:48:33 +00:00
Masayuki Nakano 5386e3310c Bug 1647556 - part 13: Rename `CreateWSFragmentForVisibleAndMiddleOfLine()` to `CreateWSFragmentForVisibleWhiteSpaces()` r=m_kato
Now, we know that it returns `WSFragment` for visible white-spaces and may
lie position in the line.  Therefore, we should rename it as just representing
visible white-spaces.

Differential Revision: https://phabricator.services.mozilla.com/D82292
2020-07-10 04:46:01 +00:00
Masayuki Nakano 9dd0f65471 Bug 1647556 - part 12: Get rid of `WSRunScanner::FindNearestRun()` and `WSRunScanner::mFragments` r=m_kato
Now, nobody uses `WSRunScanner::FindNearestRun()` so that we can remove it.
Then, there is no users of `WSRunScanner:mFragments`.  Therefore, we can remove
the member, accessors and initializers.

Differential Revision: https://phabricator.services.mozilla.com/D82291
2020-07-10 04:03:39 +00:00
Masayuki Nakano 2c944d309a Bug 1647556 - part 11-3: Make `WSRunObject::PrepareToDeleteRangePriv()` stop using `WSRunScanner::FindNearestRun()` r=m_kato
Unfortunately, remaining code which use `beforeRun` and `afterRun` of
`WSRunObject::PreareToDeleteRangePriv()` is completely broken.  It tries to
do what the new utility methods say, but as you see in the method, the
checking code does not make sense.  For now, we should keep this broken
check even with the expensive DOM point comparisons.  I hope that this does
not harm any benchmark score.

Note that I tested this with all automated tests with comparing the result
of these methods with `MOZ_ASSERT()` like this:
https://hg.mozilla.org/try/rev/29cb7840e404473a41d2d1fbdd229f762ccac5d3
So, I think that this is enough safe because the most edge cases are tested
by the first patch in this bug and `editing/run/(forwarddelete|delete).html`
of WPT.

Differential Revision: https://phabricator.services.mozilla.com/D82290
2020-07-10 04:03:21 +00:00
Farooq AR 4fabbe2929 Bug 1646027 - Request mimeType should be sent on response start. r=Honza,bomsy,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D82206
2020-07-10 07:48:54 +00:00
Masayuki Nakano f9e93231db Bug 1647556 - part 11-2: Make `WSRunObject::PrepareToDeleteRangePriv()` use `TextFragmentData::GetNewInvisibleLeadingWhiteSpaceRangeIfSplittingAt()` and `TextFragmentData::GetNewInvisibleTrailingWhiteSpaceRangeIfSplittingAt()` r=m_kato
Similar to the previous patches, it can use invisible white-space ranges.

Differential Revision: https://phabricator.services.mozilla.com/D82289
2020-07-10 02:27:47 +00:00
Narcis Beleuzu 622dbd3409 Backed out changeset aac752d19467 (bug 1651082) for lint failure. CLOSED TREE 2020-07-10 10:11:07 +03:00
Petr Sumbera bd63b532c4 Bug 1651082 - Add support for Solaris linker r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D82530
2020-07-10 06:20:12 +00:00
Tom Tung b6322a2f7b Bug 1651593 - Check the return value of db::GetKnownBodyIds(); r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D82863
2020-07-09 07:27:46 +00:00
longsonr cc4f307539 Bug 1651404 - Move nsSVGDisplayableFrame and nsISVGSVGFrame to the mozilla namespace r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D82945
2020-07-09 18:34:54 +00:00
Jim Porter 5c759e3542 Bug 1631806 - [mozproxy] Add a command line interface r=tarek,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D76017
2020-07-08 13:41:24 +00:00
Masayuki Nakano 5542e44de3 Bug 1647556 - part 11-1: Make `WSRunObject::PrepareToDeleteRangePriv()` use `TextFragmentData::CreateWSFragmentForVisibleAndMiddleOfLine()` r=m_kato
Similar to the previous changes, `WSRunObject::PrepareToDeleteRangePriv()`
can use `TextFragmentData::CreateWSFragmentForVisibleAndMiddleOfLine()` and
result of comparing with deleting range.

Differential Revision: https://phabricator.services.mozilla.com/D82288
2020-07-10 02:11:20 +00:00
Masayuki Nakano 06d6743328 Bug 1647556 - part 10-4: Make `WSRunObject::InsertText()` stop rescan end of replacing range if it's collapsed r=m_kato
For handling composition, `WSRunObject::InsertText()` rescan white-spaces at
end of replacing range.  However, in most cases, `mScanStartPoint` and
`mScanEndPoint` are same.  Therefore, we can save the runtime cost of the
rescan easier than the old design.

Differential Revision: https://phabricator.services.mozilla.com/D82287
2020-07-09 16:53:25 +00:00
Daniel Holbert ca4338e8bb Bug 1651785: Move IsAnyAtomEqual template functions into SVGOuterSVGFrame.cpp (at the top), since that's the only file where they're used. r=krourke
Differential Revision: https://phabricator.services.mozilla.com/D82980
2020-07-09 20:10:12 +00:00
Dragana Damjanovic 6621d5958e Bug 1642559 - Initiate a variable to fix SPDY_REQUEST_PER_CONN_2 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D80413
2020-06-23 02:53:52 +00:00
Dragana Damjanovic 7ab560a9be Bug 1651489 - Update neqo. r=agrover
Bug 1651489 - Update neqo_glue to support new neqo API(neqo version 0.4.6).

Differential Revision: https://phabricator.services.mozilla.com/D82932
2020-07-10 04:35:17 +00:00
Butkovits Atila 02e9ce4012 Merge mozilla-central to autoland. a=merge CLOSED TREE 2020-07-10 06:54:20 +03:00
Jeff Muizelaar f03aaa6c2e Bug 1651594. Disable client storage for breaking YouTube. r=mstange a=fix
Differential Revision: https://phabricator.services.mozilla.com/D83026
2020-07-10 03:11:35 +00:00
Masayuki Nakano 5e5e7fea51 Bug 1647556 - part 10-3: Make `WSRunObject::InsertText()` stop using `WSRunScanner::FindNearestFragment()` r=m_kato
I realized that `WSFragment::MarkAsVisible()` is called only by
`TextFragmentData::CreateWSFragmentForVisibleAndMiddleOfLine()`.  Therefore,
`beforeRun && !beforeRun->IsStartOfHardLine() && beforeRun->IsVisible()` can be
handled with `pointPositionWithVisibleWhiteSpacesAtStart` and
`afterRun && !afterRun->IsEndOfHardLine() && afterRun->IsVisible()` can be
handled with `pointPositionWithVisibleWhiteSpacesAtEnd`.  So, we can make
`WSRunObject::InsertText()` stop using `FindNearestFragment()` to compute
inserting string.

Differential Revision: https://phabricator.services.mozilla.com/D82286
2020-07-09 16:41:30 +00:00
Mike Hommey df18e17e18 Bug 1651608 - Remove leftovers from bug 1557788. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D82866
2020-07-09 12:19:58 +00:00
Jean-Yves Avenard 71dbeca336 Bug 1650996 - P3. Have RemoteDecoderManagerChild use a TaskQueue over a media threadpool. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D82503
2020-07-09 07:47:37 +00:00
Jean-Yves Avenard e2dc02032e Bug 1650996 - P2. Always initialise the RemoteDecoderChild manager thread. r=mjf
This allows to simplify the lifetime management off the RemoteDecoderModule's mManagerThread member.

Differential Revision: https://phabricator.services.mozilla.com/D82502
2020-07-09 07:47:39 +00:00
Jean-Yves Avenard 8bde08cf2e Bug 1650996 - P1. Remove RemodeDecoderManagerChild::CanSend method. r=mattwoodrow
The base IProtocol class already provides this.

Differential Revision: https://phabricator.services.mozilla.com/D82501
2020-07-09 07:47:42 +00:00
Jean-Yves Avenard 8d3ffdc6c3 Bug 1649974 - P2. Use a TaskQueue with media threadpool for RemoteDecoderManagerParent. r=mattwoodrow
Sync dispatch are being used; due to how the background taskqueue is setup this could cause a hang if if also called from a background taskqueue.

Differential Revision: https://phabricator.services.mozilla.com/D82500
2020-07-09 10:13:48 +00:00
Jean-Yves Avenard bd648e63b9 Bug 1649974 - P1. Make WeakPtr work with generic taskqueue. r=froydnj
It worked until now as IPC's MessageChannel was only used with background taskqueue; which use a threadpool made of a single thread only.

Differential Revision: https://phabricator.services.mozilla.com/D82499
2020-07-10 01:36:12 +00:00
Andrew McCreight 543079d871 Bug 1648590 - Set the crash report remote annotation when we set the remote type. r=kmag
This patch moves the remote type crash annotation code from RecvSetProcessSandbox() to
RecvRemoteType(), where we actually set the remote type. This matters because
RecvSetProcessSandbox() only happens once when the process is created. If the process
is a preallocated process, it will get its remote type updated later, so we need to
also update the annotation.

It seems odd that we were setting the remote type annotation in a method related to
the sandbox and not where we set the remote type. My only guess is that prior to
bug 1332522 RecvSetProcessSandbox() happened first, so maybe they wanted to make sure
the annotation was set as early as possible. At that point in time, the remote type
never changed, so it was okay to just set it wherever, as early as possible.

Anyways, after that bug, the first call to RecvRemoteType() happens earlier, so this
change is strictly better.

I also fixed a typo in ContentParent.

Differential Revision: https://phabricator.services.mozilla.com/D82625
2020-07-10 01:56:13 +00:00