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

653431 Коммитов

Автор SHA1 Сообщение Дата
Valentin Gosu f5bcc2cec2 Bug 1536744 - Remove expected FAILs from URL web-platform-tests r=baku
These were fixed by the improvements added to nsSimplerURI::Resolve()

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:51:05 +00:00
Valentin Gosu bd0dcb0cdb Bug 1536744 - Fix expected result in test_url.html r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30708

--HG--
extra : moz-landing-system : lando
2019-05-28 13:50:50 +00:00
Valentin Gosu fd0006a0bf Bug 1536744 - Add ssh scheme to NS_NewURIOnAnyThread r=baku
This is needed to pass a web-platform-test. Since unknown protocols use
nsSimpleURI and nsSimpleURI::GetHost returns an error code, that will fail.
Instead, we instantiate an nsStandardURL for the ssh scheme.
Once we change nsSimpleURI to be backed by MozURL we can probably remove this.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:50:43 +00:00
Valentin Gosu 393c44437c Bug 1536744 - Add nsGIOProtocolHandler::GetSingleton(). Make sure nsIOService::GetProtocolHandler only returns it when it's supported. r=baku
Before, we'd try to create a URI using the GIO protocol handler, and if that
succeeded, we'd return the protocol handler.
Now we can't return it if NS_NewURI succeeds, because NS_NewURI doesn't check
the protocol handler anymore. So instead we just instantiate the handler,
check if the scheme is supported, and if so return it.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:50:20 +00:00
Valentin Gosu e117171c5d Bug 1536744 - Fix test by adding a proper implementation of nsSimpleURI::Resolve that uses MozURL r=baku
nsSimpleURI doesn't really have the concept of a relative URI.
Since unknown protocol schemes will ultimately fall back to using nsSimpleURI,
we need to make sure that resolving a URI with certain base still works as
before, when those URIs were nsStandardURLs, created by the protocol handlers.

To achieve this we check to see if the "relative path" has a scheme. If it
does, we just return it, to be parsed by NS_NewURI. Otherwise, we use
MozURL (based on rust-url) to figure out the correct relative URL we should
return. This by itself manages to fix several failing web-platform tests.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:50:00 +00:00
Valentin Gosu 37cf1a4629 Bug 1536744 - Add indexeddb and android schemes to NS_NewURIOnAnyThread r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30704

--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:45 +00:00
Valentin Gosu b8bdfab7c9 Bug 1536744 - Remove nsIProtocolHandler.newURI r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30703

--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:27 +00:00
Valentin Gosu 016cf57214 Bug 1536744 - Add "moz-icon" to NS_NewURIOnAnyThread r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30702

--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:19 +00:00
Valentin Gosu 875ad56974 Bug 1536744 - Add "about" protocol to NS_NewURIOnAnyThread r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30701

--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:17 +00:00
Valentin Gosu eb24233246 Bug 1536744 - Add "jar" to NS_NewURIOnAnyThread r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30700

--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:07 +00:00
Valentin Gosu 1c26cb2cac Bug 1536744 - Make resource protocol handler thread safe r=baku
This is achieved by adding a RWLock to SubstitutingProtocolHandler

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:05 +00:00
Valentin Gosu 43021cd88a Bug 1536744 - Add "resource" and "moz-extension" to NS_NewURIOnAnyThread. r=baku
* Add main thread assertions for "resource" and "moz-extension" protocols
* Use ::GetSingleton() for resource and moz-extension protocol handlers

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:48:56 +00:00
Valentin Gosu 8ce8ef49f6 Bug 1536744 - Add {nsAboutProtocolHandler,nsViewSourceHandler,SubstitutingProtocolHandler}::CreateNewURI() static methods r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30697

--HG--
extra : moz-landing-system : lando
2019-05-28 13:48:49 +00:00
Valentin Gosu 6226941606 Bug 1536744 - Make nsIOService.newURI call NS_NewURI, and NS_NewURI call NS_NewURIOnAnyThread r=baku
This way all of the nsIURI creation will go through NS_NewURIOnAnyThread.
NS_NewURIOnAnyThread will be renamed to NS_NewURI in the final patch.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:48:47 +00:00
Valentin Gosu 804b1c0cb2 Bug 1536744 - NS_NewURIOnAnyThread should construct nsStandardURLs for smb and sftp URLs r=baku
These URL types need both specific applications to be installed on Linux, and for the pref to list them as supported.
We do these checks in nsGIOProtocolHandler::NewChannel instead of performing them when creating the URLs.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:47:18 +00:00
Valentin Gosu 10a3eb98ad Bug 1536744 - Make SubstitutingProtocolHandler::NewURI only call ResolveJARURI if the host is android r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30694

--HG--
extra : moz-landing-system : lando
2019-05-28 13:46:55 +00:00
Valentin Gosu 552486a275 Bug 1536744 - Add nsAboutProtocolHandler::CreateNewURI() r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30693

--HG--
extra : moz-landing-system : lando
2019-05-28 13:46:35 +00:00
Valentin Gosu ef2b6cf771 Bug 1536744 - Add nsResProtocolHandler::GetSingleton() r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30692

--HG--
extra : moz-landing-system : lando
2019-05-28 13:46:17 +00:00
Edgar Chen b31eaf52cc Bug 1525554 - Avoid testharness reporting error casued by unhandled rejected promises in media-source/mediasource-getvideoplaybackquality.html; r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D32313

--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:15 +00:00
Carolina 4543bf941b Bug 1554700 - Set up an RPM handler for about:certificate r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32707

--HG--
extra : moz-landing-system : lando
2019-05-28 07:44:44 +00:00
David Walsh 52443a5de3 Bug 1551945 - Ensure search inputs receive focus r=jlast
The previous patch for focus CSS was to aggressive -- this reverts that change and better focuses the feature

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:03:56 +00:00
Rob Lemley 9904baeded Bug 1550685 - Remove Thunderbird release-bouncer-check config from M-C. r=tomprince
bouncer_thunderbird.py is now at c-c:mozharness/releases/bouncer_thunderbird.py

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

--HG--
extra : moz-landing-system : lando
2019-05-23 19:43:36 +00:00
David Walsh cb1d9d33e2 Bug 1439369 - Add damp test for preview r=jlast
./mach talos-test --activeTests damp --subtest custom.debugger

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

--HG--
extra : moz-landing-system : lando
2019-05-28 12:51:24 +00:00
Emilio Cobos Álvarez bbc403524a Bug 1551716 - Deindent some IntersectionObserver code. r=mstange
Just trying to make it slightly nicer. Probably should get a function to get the
root target document frame.

Will file a bug for fission since I _suspect_ fission is going to do something
about IntersectionObserver.

Depends on D31149

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

--HG--
extra : moz-landing-system : lando
2019-05-15 17:34:30 +00:00
Emilio Cobos Álvarez 415558991d Bug 1551716 - Use ranged-for loop in DOMIntersectionObserver. r=mstange
There's nothing here that should be mutating us (and if there was we'd be hosed
already given the amount of weak pointers we keep around), so this is nicer.

Depends on D31148

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

--HG--
extra : moz-landing-system : lando
2019-05-15 17:33:45 +00:00
Andrew Halberstadt 2de20d8255 Bug 1554493 - [ci] Re-enable fission tests on try, r=jmaher
Depends on D32701

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:36:11 +00:00
Andrew Halberstadt 6cb94d0aef Bug 1554493 - [ci] Don't run 'fission' tests with try syntax, r=jmaher
Depends on D32700

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:36:09 +00:00
Andrew Halberstadt e642a17c9e Bug 1554493 - [ci] Improve some formatting in try_option_syntax.py, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32700

--HG--
extra : moz-landing-system : lando
2019-05-28 13:34:56 +00:00
Emilio Cobos Álvarez 4d7db14635 Bug 1551716 - Simplify the cross-origin check in IntersectionObserver. r=mstange
Should've no behavior change given the spec issue, but it should read nicer.

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

--HG--
extra : moz-landing-system : lando
2019-05-15 17:32:28 +00:00
Jason Laster 050fe9e3d6 Bug 1552424 - Go to file is slow when searching for a file. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D32328

--HG--
extra : moz-landing-system : lando
2019-05-28 13:23:39 +00:00
Emilio Cobos Álvarez 3c96684a0f Bug 1554949 - Fix WebRTC build failure with newer linux kernel. r=dminor
Recent kernel commit[1] moved a bit the define for this constant. This revealed
a missing include in WebRTC.

I filed this upstream in:

 * https://bugs.chromium.org/p/webrtc/issues/detail?id=10677

And sent a patch in:

 * https://webrtc-review.googlesource.com/c/src/+/138270

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0768e17073dc5

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:02:22 +00:00
Rob Wood 09454f678d Bug 1554311 - Start page timeout timer only after the test tab has actually been updated r=acreskey
Differential Revision: https://phabricator.services.mozilla.com/D32531

--HG--
extra : moz-landing-system : lando
2019-05-27 17:48:42 +00:00
Mihai Alexandru Michis bf0f822195 Backed out changeset 8b110b9889c3 (bug 1196094) as requested by Gijs. 2019-05-28 16:01:19 +03:00
Florian Quèze 0763a8be38 Bug 1553745 - Introduce a toolkit.legacyUserProfileCustomizations.windowIcon preference to allow users to enable per-window icon, r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D32440

--HG--
extra : moz-landing-system : lando
2019-05-27 17:35:31 +00:00
Valentin Gosu 33c3bf5390 Bug 1551601 - Do process switch _before_ processing cached redirect r=mayhemer
This patch splits ReadFromCache in two - by adding ContinueReadFromCache.
ContinueReadFromCache is called asycly when a cross-process-redirect is
complete.

Sometimes, the channel will be cancelled before the cross-process-redirect
is complete, such as in:
testing/firefox-ui/tests/functional/safebrowsing/test_notification.py
In that case we must make sure to call HandleAsyncAbort if the listener's
onStart/StopRequest callbacks haven't been called.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 09:37:06 +00:00
Bryce Van Dyk 0e8b231d45 Bug 1552717 - P3: Set mInitDataType on sample info regardless of if the sample is encrypted. r=cpearce
Unencrypted samples can carry init data and thus we should set the init data
type regardless of if the sample itself is encrypted (otherwise the init data
info is incomplete for unencrypted samples).

Depends on D32751

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

--HG--
extra : moz-landing-system : lando
2019-05-28 12:40:16 +00:00
Bryce Van Dyk 488430bdb9 Bug 1552717 - P2: Add test media for key rotation with a clear lead. r=cpearce
Add another test case for the mp4 key rotation (pssh in fragments) test. In this
case, the test file has a clear (unencrypted) lead. This test seeks to ensure we
don't regress surfacing of init info even if we encounter it for fragments that
start with unencrypted samples.

Add a further check to the key rotation test to ensure that the initDataType is
being surfaced correctly on the encrypted event.

Media files created with shaka packager via:
```
packager-win.exe
in=bipbop.mp4,stream=audio,out=bipbop-clearkey-keyrotation-clear-lead-audio.mp4
in=bipbop.mp4,stream=video,out=bipbop-clearkey-keyrotation-clear-lead-video.mp4
--enable_raw_key_encryption --keys
label=:key_id=00112233445566778899AABBCCDDEEFF:key=00112233445566778899AABBCCDDEEFF
--crypto_period_duration 5 --fragment_duration 5 --clear_lead 3
```

Note that the way shaka packager handles key rotation in this case is just to
left shift the key id and the key. In this case, where crypto_period_duration ==
fragment_duration, a left shift of 1 will take place each time the keys rotate.
This happens once in the test file leaving us with 2 key ids + keys.

Depends on D32750

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

--HG--
extra : moz-landing-system : lando
2019-05-28 08:13:13 +00:00
Bryce Van Dyk 8141975d4d Bug 1552717 - P1: Refactor test_eme_pssh_in_moof mochitest so it's easier to add further test media. r=cpearce
test_eme_pssh_in_moof tests if our key rotation works correctly. It currently
does so by using a single video with an audio and video track. This patch
refactors the test so that it does the same thing (all going well), but in a
more extensible way.

The changes in this patch seek to lean more heavily on test harness
functionality in manifest.js and eme.js where possible. This cuts down on some
boilerplate, but means we have to make some concessions in a more verbose
expression of our test media list so the eme.js functions work with it.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 08:11:38 +00:00
Honza Bambas 8e33c5a50b Bug 1554953 - Fix test_captive_portal_service.js intermittent timeout at shutdown, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D32814

--HG--
extra : moz-landing-system : lando
2019-05-28 12:31:31 +00:00
David Walsh 2db41012f6 Bug 1157817 - Show blocked requests in the Network Monitor r=Honza,Harald
Displays blocked requests in the Network monitor request listing, providing a reason for why the request was blocked based on response codes provided b nsILoadInfo.idl

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

--HG--
extra : moz-landing-system : lando
2019-05-28 12:13:08 +00:00
Martin Stransky daf67c12bc Bug 1550051 - [Wayland] Don't track invisible popup windows, r=jhorak
Recently we track and position all popups on Wayland which leads to
wrong placement when parent popup window is hidden.

In this patch we use plain gtk_window_move() for hidden popups and
we don't track them so they can't be used as a parent window.

Also implement nsWindow::HideWaylandPopupAndAllChildren() to clearly
hide a popup window with and its children windows.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 11:12:03 +00:00
Coroiu Cristina 4ddb74ac0b Backed out changeset a53e28d4e10e (bug 1553889) for reftest failures at layout/reftests/forms/input/file/dynamic-max-width.html 2019-05-28 14:52:42 +03:00
Valentin Gosu 3cf97eb027 Bug 1553582 - Disable resource_reparenting.html in e10s because cancelling the channel is racy r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D32667

--HG--
extra : moz-landing-system : lando
2019-05-28 09:53:07 +00:00
Mitchell Hentges 65a3c7fbed Bug 1535056 - Validate taskgraph parameters using a schema r=tomprince
Validate taskgraph parameters using an explicit schema

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

--HG--
extra : moz-landing-system : lando
2019-05-28 11:18:41 +00:00
Mihai Alexandru Michis db3a14598c Merge mozilla-central to autoland. CLOSED TREE 2019-05-28 13:18:44 +03:00
Mihai Alexandru Michis 1265267ba8 Backed out changeset 48687a76aec5 (bug 1535056) for causing nightly builds to fail. a=backout 2019-05-28 13:12:23 +03:00
Jonathan Kew 5432231319 Bug 1553889 - Apply the AAT 'trak' table to macOS fonts regardless of whether we shaped using CoreText or HarfBuzz. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D32447

--HG--
extra : moz-landing-system : lando
2019-05-28 09:53:11 +00:00
Dorel Luca 7e91588a47 Merge mozilla-central to autoland 2019-05-28 12:44:38 +03:00
Dorel Luca 7556a400af Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : gfx/qcms/transform-altivec.c => gfx/qcms/transform-altivec.cpp
rename : gfx/qcms/transform-sse1.c => gfx/qcms/transform-sse1.cpp
rename : gfx/qcms/transform-sse2.c => gfx/qcms/transform-sse2.cpp
rename : gfx/qcms/transform.c => gfx/qcms/transform.cpp
2019-05-28 12:39:59 +03:00
Patrick Brosset a6088694e9 Bug 1554727 - Check if selectorText exists before testing its content; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D32737

--HG--
extra : moz-landing-system : lando
2019-05-28 09:37:53 +00:00