Ehsan Akhgari
eb5865bd87
Bug 1554539 - Fix access-control-basic-options-not-supported.py to consistently fail if the Origin header is unexpectedly missing; r=jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D32653
--HG--
extra : moz-landing-system : lando
2019-05-28 14:50:11 +00:00
Nika Layzell
245c6a0c97
Bug 1554217 - Disable HTTPResponseProcessSelection on Beta, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D32489
--HG--
extra : moz-landing-system : lando
2019-05-28 14:38:14 +00:00
Ryan Hunt
94db3c24c4
Bug 1554073 - Use GetContentParent in TryRemoteBrowser to avoid null-deref if PBrowser actor is destroyed. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D32547
--HG--
extra : moz-landing-system : lando
2019-05-27 17:31:24 +00:00
Brindusan Cristian
bc9a979544
Bug 1546879 - Disable mediasource-correct-frames-after-reappend.html on Windows. r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D32733
--HG--
extra : moz-landing-system : lando
2019-05-28 13:37:08 +00:00
Justin Wood
8382fb1bda
Bug 1547730 - Fix use of absolute imports in codecoverage/*.py r=tomprince
...
This is due to a conflicting name in sys path when called from mozharness,
Which we fix by making this mozharness file use absolute imports, and import
from the codecoverage module directly rather than set that directory as
a search path.
Differential Revision: https://phabricator.services.mozilla.com/D32408
--HG--
extra : moz-landing-system : lando
2019-05-28 14:29:02 +00:00
Justin Wood
c003a4ad6b
Bug 1547730 - Fix precomplete file generation when passing in unicode strings. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D32407
--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:57 +00:00
Justin Wood
82ebc9b565
Bug 1547730 - don't fail on an unsupported .seek() needed to support adding from compressed `zipfile.ZipFile` entries. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D29216
--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:55 +00:00
Justin Wood
6ae6eb968f
Bug 1547730 - Set python test annotations to correspond to currently-passing py3 tests r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28122
--HG--
rename : python/mozbuild/mozbuild/test/python.ini => python/mozbuild/mozbuild/test/python2.ini
rename : python/mozbuild/mozpack/test/python.ini => python/mozbuild/mozpack/test/python2.ini
extra : moz-landing-system : lando
2019-05-28 14:28:53 +00:00
Justin Wood
7aaa02236d
Bug 1547730 - Finish up some final py3-izing in getting mozjar.py to work in py3 r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28120
--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:45 +00:00
Justin Wood
dbf256c14c
Bug 1547730 - Update a build moz.configure function, to support py3 r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28115
--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:43 +00:00
Justin Wood
268136002e
Bug 1547730 - Make more of configure/__init__ work in py3 r=glandium
...
(adds __build_class__ to the builtin sandbox and allow CombinedDependsFunction to be hashed)
Differential Revision: https://phabricator.services.mozilla.com/D28114
--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:41 +00:00
Justin Wood
336529acd2
Bug 1547730 - Use six.moves.builtins in the sandbox for configure r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28113
--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:36 +00:00
Justin Wood
43ee63b31c
Bug 1547730 - Use new inspection methods introduced in py3 but work in py2.7 for functions r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28112
--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:34 +00:00
Justin Wood
b9d47b38ce
Bug 1547730 - Define __hash__ for SandboxDependsFunction and CombinedDependsFunction so we can reference it as a dictionary key in py3 r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28111
--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:30 +00:00
Justin Wood
c729f820ed
Bug 1547730 - Stop using some cases of types.NoneType. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D30966
--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:25 +00:00
Justin Wood
0f1d6166c3
Bug 1547730 - Recognize StreamWriter exceptions for fileno() in py3 r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28110
--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:23 +00:00
Justin Wood
241fd2ab7d
Bug 1547730 - Use six.moves.reduce for reduce() r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28109
--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:18 +00:00
Justin Wood
c5571e7a5c
Bug 1547730 - Use six.moves for urllib.urlparse r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28108
--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:01 +00:00
Justin Wood
5045a4b86c
Bug 1547730 - Fix b''.join(rand.choice(bytestring)..) to use bytes() constructor instead r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28107
--HG--
extra : moz-landing-system : lando
2019-05-28 14:26:10 +00:00
Justin Wood
043346856b
Bug 1547730 - Use six.moves.xrange() instead of xrange() r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28106
--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:49 +00:00
Justin Wood
ed83d2e2f0
Bug 1547730 - Compensate for __builtin__ use in files accessed by py3 r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28105
--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:30 +00:00
Justin Wood
865e39b01a
Bug 1547730 - Don't try to py3-ize indented_repr yet. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28103
--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:23 +00:00
Justin Wood
c1cc1ca1dc
Bug 1547730 - don't use py2 builtin 'unicode' in mozpack and deps r=glandium
...
Also adjust 'basestring' usage in some places.
Differential Revision: https://phabricator.services.mozilla.com/D28102
--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:15 +00:00
Justin Wood
7702de90f5
Bug 1547730 - do s/StringIO.StringIO/six.StringIO/ to support py3 r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28101
--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:00 +00:00
Justin Wood
a320da451c
Bug 1547730 - do py3 for cStringIO r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28100
--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:47 +00:00
Justin Wood
f31561f3d4
Bug 1547730 - Do s/StandardError/Exception/ to support py3 r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28099
--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:40 +00:00
Justin Wood
9986aa9ab7
Bug 1547730 - Switch to six.string_types instead of types.StringTypes for py3 r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28098
--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:27 +00:00
Justin Wood
9237a957a8
Bug 1547730 - Allow testing of mozpack on py3 r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28097
--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:14 +00:00
Justin Wood
f415f240f1
Bug 1547730 - use six.iterkeys() r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28119
--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:07 +00:00
Justin Wood
ac0c66355b
Bug 1547730 - Do six.itervalues instead of dict.itervalues r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D28104
--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:54 +00:00
Justin Wood
df3ad8c98b
Bug 1547730 - Do dict.iteritems() via six to support py3. r=glandium
...
shellutil.py needed special handling since it is invoked earlier than the
vendor directory adding we do, so it does not have six available.
Differential Revision: https://phabricator.services.mozilla.com/D28096
--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:47 +00:00
Justin Wood
38c14ef720
Bug 1547730 - Add six to path when running configure. r=glandium
...
This is necessary for any attempt at @import('six') or doing any similar py2+py3 work
in the configure sandbox.
Differential Revision: https://phabricator.services.mozilla.com/D29604
--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:35 +00:00
Justin Wood
80df2896d2
Bug 1542963 - Insert unicode_literals into python/mozbuild/mozpack and called mozbuild/* files. r=firefox-build-system-reviewers,chmanchester
...
Lint python/mozbuild/{mozbuild,mozpack}.
This makes sure we use byte strings (type(b'')) in many places.
This also has a few places where we know we want unicode, by enforcing it.
This code also has a few places where we call into windows API's which expect either all args to be unicode,
or all args to be bytestrings (not-unicode) so make sure those calls align.
This is the most risky of the stack, since there are some mach commands and codepaths that are neither excercised in automation
nor excercised in tests.
Differential Revision: https://phabricator.services.mozilla.com/D26645
--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:25 +00:00
Justin Wood
8127e912fb
Bug 1542963 - use print_function for mozbuild and mozpack. r=glandium
...
Lint python/mozbuild/{mozbuild,mozpack}.
Differential Revision: https://phabricator.services.mozilla.com/D26644
--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:00 +00:00
Justin Wood
a0d8057603
Bug 1542963 - Add absolute_imports to mozbuild and mozpack. r=glandium
...
Lint python/mozbuild/{mozbuild,mozpack}. r=#build
Add 'from __future__ import absolute_import' to all missing files in python/mozbuild/{mozbuild,mozpack}/**/*.py
Differential Revision: https://phabricator.services.mozilla.com/D26643
--HG--
extra : moz-landing-system : lando
2019-05-28 14:22:45 +00:00
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