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

653396 Коммитов

Автор SHA1 Сообщение Дата
Justin Wood f86dd03c23 Bug 1542963 - Fix undefined var 'defines' when use_defines_in_asflags is set. r=glandium
Lint python/mozbuild/{mozbuild,mozpack}.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:22:30 +00:00
Justin Wood 05822ea753 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=firefox-build-system-reviewers,chmanchester
Leaving one fix for an explicit review.

Lint python/mozbuild/{mozbuild,mozpack}. r=#build

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:22:20 +00:00
Justin Wood 4a12eb86b4 Bug 1542963 - run './mach lint ... --fix' on mozbuild/mozbuild, undoes some black changes. r=glandium
Lint python/mozbuild/{mozbuild,mozpack}.

ran './mach lint -l py2 -l flake8 -l shellcheck -l codespell -l yaml python/mozbuild/{mozbuild,mozpack}/  --fix' in order
to undo some black changes and get closer to  making this folder able to be validated on every lint run

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:22:00 +00:00
Justin Wood 207641b920 Bug 1542963 - flake8 python/mozbuild/mozbuild r=glandium
Lint python/mozbuild/{mozbuild,mozpack}.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:21:43 +00:00
Narcis Beleuzu 5d86f95008 Bug 1493369 - Disable browser_storage_updates.js on Win. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32696

--HG--
extra : moz-landing-system : lando
2019-05-28 13:34:00 +00:00
Tom Ritter d83f300d8d Bug 1539595 - Check the remoteType when we receive a privileged AMO message r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D30278

--HG--
extra : moz-landing-system : lando
2019-05-28 14:09:09 +00:00
Tom Ritter f94a4bdb87 Bug 1539595 - Reject FXA messages if they don't come from the correct type of process r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D30277

--HG--
extra : moz-landing-system : lando
2019-05-28 14:09:08 +00:00
Tom Ritter 21a98d921b Bug 1539595 - Create a separate content process type for privleged mozilla content r=nika,flod
Differential Revision: https://phabricator.services.mozilla.com/D30276

--HG--
rename : browser/base/content/test/general/browser_e10s_about_page_triggeringprincipal.js => browser/base/content/test/tabs/browser_e10s_about_page_triggeringprincipal.js
rename : browser/base/content/test/general/browser_e10s_about_process.js => browser/base/content/test/tabs/browser_e10s_about_process.js
rename : browser/base/content/test/general/browser_e10s_chrome_process.js => browser/base/content/test/tabs/browser_e10s_chrome_process.js
rename : browser/base/content/test/general/browser_e10s_javascript.js => browser/base/content/test/tabs/browser_e10s_javascript.js
rename : browser/base/content/test/general/browser_e10s_switchbrowser.js => browser/base/content/test/tabs/browser_e10s_switchbrowser.js
rename : browser/base/content/test/general/file_about_child.html => browser/base/content/test/tabs/file_about_child.html
rename : browser/base/content/test/general/file_about_parent.html => browser/base/content/test/tabs/file_about_parent.html
rename : browser/base/content/test/general/test_process_flags_chrome.html => browser/base/content/test/tabs/test_process_flags_chrome.html
extra : moz-landing-system : lando
2019-05-28 14:18:23 +00:00
Tom Ritter 03b41fa512 Bug 1539595 - Rename Priveleged Content Process to PrivlegedAbout Content Process r=mconley,flod
We do this because we will be introducing more privileged content processes
and we want to be able to distinguish them.

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

--HG--
rename : browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js
extra : moz-landing-system : lando
2019-05-28 14:19:11 +00:00
Narcis Beleuzu b17ae2fa0e Bug 1547150 - Disable browser_net_truncate-post-data.js on Win7. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32694

--HG--
extra : moz-landing-system : lando
2019-05-28 13:31:52 +00:00
Mitchell Hentges bc63299e46 No bug: Update refbrow index and use new application id r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D32815

--HG--
extra : moz-landing-system : lando
2019-05-28 14:21:31 +00:00
Valentin Gosu 60c1e2be27 Bug 1536744 - Add WPT expect FAIL for ssh origin tests r=baku
These should be removed once bug 1553105 lands.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:52:11 +00:00
Valentin Gosu 124a1062f6 Bug 1536744 - Rename NS_NewURIOnAnyThread to NS_NewURI. r=baku
The only protocol that can't be created off the main thread at the moment is
moz-extension, and that can be handled at a later time.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:17:04 +00:00
Valentin Gosu 89c55d7dfe Bug 1536744 - Fix test_search_suggestions.js - Creating an ftp URL doesn't fail if the ftp protocol handler is disabled r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30711

--HG--
extra : moz-landing-system : lando
2019-05-28 14:17:04 +00:00
Valentin Gosu d0eb46c5d5 Bug 1536744 - Fix test_import.js by calling nsIIOService.newURI instead of nsIResProtocolHandler.newURI r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30710

--HG--
extra : moz-landing-system : lando
2019-05-28 13:51:18 +00:00
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