686840 Commits

Author SHA1 Message Date
Valentin Gosu
16ae7bd480 Bug 1552176 - pass TRRMode into nsHTMLDNSPrefetch methods r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D49159

--HG--
extra : moz-landing-system : lando
2020-01-07 19:33:51 +00:00
Valentin Gosu
90fff44905 Bug 1552176 - Pass TRRMode to nsDNSPrefetch r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D49158

--HG--
extra : moz-landing-system : lando
2020-01-07 19:33:10 +00:00
Valentin Gosu
cbc2554d2d Bug 1552176 - Captive portal domain should not be automatically excluded from TRR r=mayhemer
Previously we had no way from excluding just one channel from TRR mode3.
The solution was to add the captive portal domain to the exclusion list.
Now the captive portal channel is marked with nsIRequest.DISABLE_TRR_MODE so
the exclusion is not necessary anymore.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 19:32:32 +00:00
Valentin Gosu
c7d9b630cb Bug 1552176 - Add nsIRequest.set/getTRRMode r=dragana
* Makes it possible to selectively enable TRR for pbmode/container/window/etc

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

--HG--
extra : moz-landing-system : lando
2020-01-07 20:20:38 +00:00
Valentin Gosu
b52a50f21f Bug 1552176 - Unit test for TRRMode for individual channels r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D48362

--HG--
extra : moz-landing-system : lando
2020-01-07 19:28:16 +00:00
Andi-Bogdan Postelnicu
43270f5c15 Bug 1606630 - add tests with if constexpr for checkers readability-misleading-indentation and readability-braces-around-statements. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D58936

--HG--
extra : moz-landing-system : lando
2020-01-08 08:39:44 +00:00
Henrik Skupin
c521cc2ffa Bug 1597227 - Remove forced GC when closing a httpd.js connection. r=froydnj
The forced garbage collection has been added a decade ago for a test that
exhibited a memory increase over time in Firefox. Now that the test is no
longer present in the tree, and the garbage collector got a lot of improvements
over the last years, there is no compelling reason to keep the call to
"forceGC()" in the closing handler of httpd.js.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 20:16:16 +00:00
Henrik Skupin
81363e37c0 Bug 1597227 - Keep forcing a GC in extension xpcshell tests to prevent deleting a locked XPI file. r=robwu
Until the underlying issue has been identified on bug 1606684 keep running
a forced GC to clean-up any internal references to temporary XPI files.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 08:28:23 +00:00
Yoshi Cheng-Hao Huang
d1bd808795 Bug 1605633 - Check if it's a dead wrapper in WeakRef constructor. r=jonco
Throw error if the wrapped WeakRef is a dead wrapper.
Also do the checking earlier so we can bail out early before setting the
target slot.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 14:50:21 +00:00
Coroiu Cristina
a11955a5ba Backed out changeset e2a0b2626fe8 (bug 1560348) for frequently failing browser-chrome at browser/components/extensions/test/browser/browser_ext_browserAction_contextMenu.js 2020-01-08 10:13:51 +02:00
Nicolas Silva
522199c048 Bug 1607419 - Avoid option.expect(&format in hot code. r=jrmuizel
Easy to miss that the slow formatting code is run unconditionally.
The remaining instances are in recording and startup code.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 02:53:49 +00:00
Julian Seward
b261ffc229 Bug 1589990 - STUN: stun_getifaddrs() can return uninitialised bits which are subsequently used. r=bwc.
In media/mtransport/third_party/nICEr/src/stun/addrs.c:

stun_getifaddrs() is used on all non-WIN32 targets. It extracts from the
kernel an array describing network interfaces (I think).  These are written
into its out-parameter nr_local_addr addrs[] and the number of entries is
written to int *count.

There is a path through the main loop in stun_getifaddrs() which can cause a
nr_local_addr record to be returned with its .interface.type field being
uninitialized, but which nevertheless is later used. It also looks as if the
.interface.estimated_speed field is not initialised.

This commit zero-initialises the entire output array before writing anything
into it, to avoid such problems, on all targets.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 18:11:56 +00:00
Glenn Watson
a93aae0a62 Bug 1606685 - Support empty tiles within compositor surfaces. r=sotaro
This adds support for holes within virtual surfaces. On platforms
that don't use virtual surfaces, this just works by destroying
the tile that is empty so it never gets composited.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 04:57:31 +00:00
Daisuke Akatsuka
be7d1f2d52 Bug 1578243: Add a test for target switching. r=jdescottes,ochameau
Depends on D57755

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

--HG--
extra : moz-landing-system : lando
2020-01-08 04:23:21 +00:00
Daisuke Akatsuka
fdb3bd4cbe Bug 1578243: Reflect the switching of the top-level target. r=jdescottes,ochameau
Depends on D57754

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

--HG--
extra : moz-landing-system : lando
2020-01-08 04:12:37 +00:00
Daisuke Akatsuka
e41009bf47 Bug 1578243: Refer current target instead of tabTarget. r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D57754

--HG--
extra : moz-landing-system : lando
2020-01-08 04:10:41 +00:00
Martin Thomson
06d4c069b8 Bug 1606734 - Disable TLS 1.0 and 1.1 by default, r=keeler
Also backs out the changes from Bug 1599756.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 00:54:27 +00:00
Christoph Walcher
855264d3a5 Bug 1596476 - Remove nsuri_xbl static atom r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D53333

--HG--
extra : moz-landing-system : lando
2020-01-08 04:44:33 +00:00
sotaro
68439d9c26 Bug 1598998 - Fix CanvasContextType::ImageBitmap handling r=nical
Differential Revision: https://phabricator.services.mozilla.com/D56348

--HG--
extra : moz-landing-system : lando
2020-01-08 01:12:50 +00:00
Perry Jiang
044d7a6a91 Bug 1604943 - ServiceWorkerRegistration.update should capture newest worker script URL at call-time r=dom-workers-and-storage-reviewers,asuth
- Cleaned up some comments.
- Changed some const nsACString& parameter types to nsCString to accept r-value
  and l-value nsCStrings.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 03:21:27 +00:00
Brian Grinstead
52fd411ca5 Bug 1596970 - Remove reference to MOZ_XBL in test_bug375314.html r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D59031

--HG--
extra : moz-landing-system : lando
2020-01-08 03:38:06 +00:00
Ting-Yu Lin
c6549fba3f Bug 1606492 - Add nsAutoScriptBlocker to PresShell::DidDoReflow(). r=emilio
Add a script block to prevent reflow observers from running the scripts,
which may flush layout, until the end of DidDoReflow().

Specifically, Document::MaybeInitializeFinalizeFrameLoaders() can flush
layout somewhere down in the stack as bug 1606492 comment 0 shows.
Adding a script block can force it to schedule its runnable to run at
the end of DidDoReflow().

Also, HandlePostedReflowCallbacks() can flush layout. It's better to check
`mIsDestroying` before proceeding.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 22:58:37 +00:00
Ting-Yu Lin
4c6c2f7bbe Bug 1603088 Part 2 - Delete NS_FRAME_CONTAINS_RELATIVE_BSIZE manipulation in nsColumnSetFrame::Reflow(). r=dbaron
Nowadays, ColumnSetFrame is an inner frame under ColumnSetWrapperFrame.
It always has "block-size: auto", so `aReflowInput.ComputedBSize()`
always equals to NS_UNCONSTRAINEDSIZE.

Also, -moz-column-content no longer has "max-block-size: 100%", so
NS_FRAME_CONTAINS_RELATIVE_BSIZE can never be set on ColumnSetFrame when
constructing ReflowInputs for ColumnSetFrame's children in
`ReflowInput::InitResizeFlags`. Removing the bit is not needed, either.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 02:48:14 +00:00
Ting-Yu Lin
41f37efd4f Bug 1603088 Part 1 - Remove "max-block-size: 100%" for -moz-column-set and -moz-column-content. r=dbaron
Simply remove "max-block-size: 100%" for -moz-column-set and
-moz-column-content breaks abspos-breaking-dynamic-{001,002,003}.html.
We need to reflow ColumnSetWrapper's children whenever
ColumnSetWrapper's block-size or max-block-size is changed because both
size affect the available block-size for ColumnSetWrapper's children.

We set `NS_FRAME_CONTAINS_RELATIVE_BSIZE` for ColumnSetWrapperFrame so
that it will set itself dirty in `selfDirty` in
`nsBlockFrame::ReflowDirtyLines`, and mark its lines dirty if
`aState.mReflowInput.IsBResize()` is true.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 02:48:12 +00:00
Matt Woodrow
0fc7020323 Bug 1598523 - Enable DocumentChannel for view-source. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D57894

--HG--
extra : moz-landing-system : lando
2020-01-08 01:00:43 +00:00
Matt Woodrow
5913bdc39b Bug 1598523 - Create nsIWrapperChannel so that we can find the inner channel within view-source. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D57893

--HG--
extra : moz-landing-system : lando
2020-01-08 01:00:35 +00:00
Matt Woodrow
ff5ffc1ea3 Bug 1598523 - Implement nsIChildChannel on nsViewSourceChannel forwarding to the inner channel. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D57891

--HG--
extra : moz-landing-system : lando
2020-01-08 01:00:37 +00:00
Matt Woodrow
a59b688778 Bug 1598523 - Make DocumentChannelChild/ContentChild QI to the specific interfaces it wants, rather than assuming that only HttpChannelChild will have them. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D57890

--HG--
extra : moz-landing-system : lando
2020-01-08 01:00:39 +00:00
Matt Woodrow
225eeb216b Bug 1598523 - Improve logging of channel names for DC and view-source. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D57888

--HG--
extra : moz-landing-system : lando
2020-01-08 01:00:41 +00:00
Matt Woodrow
87b0e83cf6 Bug 1598523 - Share code for creating a channel for a document between nsDocShell, DocumentChannelChild and ContentChild. r=kmag
Note that this also implicitly adds support for the view-source+srcdoc configuration, and setting of the BaseURI, which were both in the nsDocShell version but not the others.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 02:10:54 +00:00
alwu
04ff0260ac Bug 1554343 - always release the refptr of media cache on main thread. r=bryce
It's possible that `self` is the last pointer holding the media cache, so we have to ensure releasing `self` on main thread because media cache should always be destroyed on main thread only.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 16:59:11 +00:00
Emilio Cobos Álvarez
86a70df5d7 Bug 1607006 - Remove utf-16 versions of nsCSSProps::LookupProperty* and ServoCSSParser::ComputeColor. r=bzbarsky
Now that we have UTF8String in the WebIDL, we can remove quite a few of the
conversions. Do that, and lift the remaining string conversions up as needed.

Also deindent Servo_ComputeColor while touching it.

Most of the remaining copies are because either bug 1606994, or because they're
WebIDL attributes that we still need to serialize back as UTF-16 (bug 1606995).

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

--HG--
extra : moz-landing-system : lando
2020-01-08 01:21:30 +00:00
Emilio Cobos Álvarez
65ad59b310 Bug 1607553 - Make an assertion a release assert in nightly. r=heycam
If this can happen legitimately, this will help fuzzers to catch it.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 00:55:18 +00:00
Bogdan Tara
4e368405fa Backed out 6 changesets (bug 1598523) for geckoview failures complaining about NavigationDelegateTest.loadUnknownProtocol
Backed out changeset 2e7ea1ae7fa2 (bug 1598523)
Backed out changeset 6adc1062662b (bug 1598523)
Backed out changeset 141372c43f02 (bug 1598523)
Backed out changeset c5abcaabaf2d (bug 1598523)
Backed out changeset 5a22a20dd993 (bug 1598523)
Backed out changeset e0df103c9cf3 (bug 1598523)
2020-01-08 02:56:18 +02:00
moz-wptsync-bot
e9f50eaf4f Bug 1607243 - [wpt-sync] Update web-platform-tests to e8fdcbaf22bf28238bb126d84bc960fe9625fe02, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: e8fdcbaf22bf28238bb126d84bc960fe9625fe02
wpt-type: landing
2020-01-08 00:50:12 +00:00
Anne van Kesteren
f78b2d8d27 Bug 1606841 [wpt PR 21021] - HTML: attempt to make COEP test less flaky, a=testonly
Automatic update from web-platform-tests
HTML: attempt to make COEP test less flaky

Hopefully addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1605382.

--

wpt-commits: e8fdcbaf22bf28238bb126d84bc960fe9625fe02
wpt-pr: 21021
2020-01-08 00:50:11 +00:00
moz-wptsync-bot
57bc1d6b5f Bug 1607133 [wpt PR 21045] - Update wpt metadata, a=testonly
wpt-pr: 21045
wpt-type: metadata
2020-01-08 00:50:11 +00:00
Tsuyoshi Horo
7214604a92 Bug 1607133 [wpt PR 21045] - Add a simple WPT test for Web Bundles, a=testonly
Automatic update from web-platform-tests
Add a simple WPT test for Web Bundles

Bug: 1018640,1038346
Change-Id: I6d94787430441377669ceb7bbf5d62c22a01390f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1980263
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#728491}

--

wpt-commits: 5feec5cde77942c1e11b9a5fdbac17a307af3b10
wpt-pr: 21045
2020-01-08 00:50:10 +00:00
Anne van Kesteren
db1a4e27f8 Bug 1602016 [wpt PR 20660] - DOM: CEReactions vs script during insertion, a=testonly
Automatic update from web-platform-tests
DOM: CEReactions vs script during insertion

Complements #15264.

--

wpt-commits: 316a5a6089ac3dc7666cb988a97f7bd46aac2dc5
wpt-pr: 20660
2020-01-08 00:50:10 +00:00
moz-wptsync-bot
8651628c91 Bug 1606783 [wpt PR 21015] - Update wpt metadata, a=testonly
wpt-pr: 21015
wpt-type: metadata
2020-01-08 00:50:09 +00:00
Anne van Kesteren
53b9c9bab6 Bug 1606783 [wpt PR 21015] - Web Cryptography: better insecure context coverage, a=testonly
Automatic update from web-platform-tests
Web Cryptography: better insecure context coverage

--

wpt-commits: 354e0a90c7930beae721c5bd3370d11c95b4314d
wpt-pr: 21015
2020-01-08 00:50:09 +00:00
guest271314
3627f43379 Bug 1604951 [wpt PR 20855] - Fix imagebitmap-renderingcontext/context-preserves-canvas.html, a=testonly
Automatic update from web-platform-tests
Fix imagebitmap-renderingcontext/context-preserves-canvas.html

See https://github.com/web-platform-tests/wpt/pull/20776#issuecomment-567101328 for context.

Co-authored-by: Amelia Bellamy-Royds <amelia.bellamy.royds@gmail.com>
--

wpt-commits: a85693b3367f9b7f40865a175e198ea0fd484b01
wpt-pr: 20855
2020-01-08 00:50:08 +00:00
moz-wptsync-bot
c120444207 Bug 1607130 [wpt PR 21044] - Update wpt metadata, a=testonly
wpt-pr: 21044
wpt-type: metadata
2020-01-08 00:50:08 +00:00
Timothy Gu
997a2236af Bug 1607130 [wpt PR 21044] - html: consider readonly applicability for willValidate tests, a=testonly
Automatic update from web-platform-tests
html: consider readonly applicability for willValidate tests (#21044)

See https://html.spec.whatwg.org/C/#common-input-element-attributes
and https://html.spec.whatwg.org/C/#the-readonly-attribute

--

wpt-commits: 2a1f5ac82edfd79fb944ca7a343ba6cd59679842
wpt-pr: 21044
2020-01-08 00:50:07 +00:00
moz-wptsync-bot
a55765bbe7 Bug 1605971 [wpt PR 20921] - Update wpt metadata, a=testonly
wpt-pr: 20921
wpt-type: metadata
2020-01-08 00:50:07 +00:00
Wanming Lin
440a98cd0e Bug 1605971 [wpt PR 20921] - [webnfc] Add several wpt tests, a=testonly
Automatic update from web-platform-tests
[webnfc] Add several wpt tests

This CL adds several wpt tests for Web NFC:
  - Test push operation fails when data transfer fails
  - Verify pushed message for empty record type
  - Test reading message with multiple records should succeed

Bug: 520391
Change-Id: Iadb13f6cebaf30514ba7bef65a69302b368e4359
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1982271
Commit-Queue: Wanming Lin <wanming.lin@intel.com>
Reviewed-by: Leon Han <leon.han@intel.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Cr-Commit-Position: refs/heads/master@{#728434}

--

wpt-commits: 3488a5a845bec08943f66974e9f0df4ffe96774a
wpt-pr: 20921
2020-01-08 00:50:07 +00:00
Koji Ishii
c0c3159a7a Bug 1605432 [wpt PR 20892] - Revert LayoutInline::CollectLineBoxRects, a=testonly
Automatic update from web-platform-tests
Revert LayoutInline::CollectLineBoxRects

This patch reverts |LayoutInline::CollectLineBoxRects| not to
use |NGInlineCursor|, by manually merging parts of r706815
<crrev.com/c/1862534> and r710694 <crrev.com/c/1888624>.

|NGInlineCursor| is rapidly changing that reverting is not
easy. This patch reverts not to use it for |getClientRects|
and a few other callers.

Testing more on culled inline box indicates that the phase 1
of LayoutNG regressed some cases from legacy, and
|NGInlineCursor| work regressed further. We might want to fix
when NGFragmentItem ships, but better not to change the
behavior until then.

Bug: 1036358
Change-Id: I47a60f5d3a505d4b43eba0d8b5adc64e02cbcd28
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1971632
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#728433}

--

wpt-commits: 280816c7465a6593f06f9f5651a70eb857f9f774
wpt-pr: 20892
2020-01-08 00:50:06 +00:00
moz-wptsync-bot
0b34676bf2 Bug 1606895 [wpt PR 21031] - Update wpt metadata, a=testonly
wpt-pr: 21031
wpt-type: metadata
2020-01-08 00:50:06 +00:00
teapotd
706b2b4942 Bug 1606895 [wpt PR 21031] - Fix validity.valueMissing tests, a=testonly
Automatic update from web-platform-tests
Fix validity.valueMissing tests (#21031)

These changes fix expectations for validity.valueMissing and validity.valid for disabled/readonly textual elements. This fixes #21007.
--

wpt-commits: 31e82ba312dea8b0011237fd696d3c87c2015d65
wpt-pr: 21031
2020-01-08 00:50:05 +00:00
James Graham
ac7933e235 Bug 1598561 [wpt PR 20997] - [Gecko Bug 1598561] Use mozlog logger in FontInstaller, a=testonly
Automatic update from web-platform-tests
Use mozlog logger in FontInstaller

This is the right thing to do, and prevents a race where we try to log
after the stdout capture queue is closed

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1598561
gecko-commit: 2a0e33dbb9c83f2444361497e86e7af7d69fef44
gecko-integration-branch: autoland
gecko-reviewers: maja_zf

--
Remove unused import

--

wpt-commits: fd7d1aaf7d490d8d0e9f039db02a530891112c5a, d24e7e551416c0adb313fd51070c6db4762949b8
wpt-pr: 20997
2020-01-08 00:50:04 +00:00