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

473972 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta 6b351292a3 Bug 1269194 - Allow privileged code access to CheckerboardReportService. r=avih
MozReview-Commit-ID: 1O13jLQw2OF
2016-05-06 14:41:31 -04:00
Gregory Szorc 01ada9de5b Bug 1270317 - Record hg version and install info; r=jlund
hgtool printed the hg version info when running. This is useful data
when debugging Mercurial failures. Add it back in.

We also add `hg debuginstall`, which prints useful bits about the
install, including the Python path and version.

MozReview-Commit-ID: IeKhfWDXEys

--HG--
extra : rebase_source : 93496db608a2f9480e521c526e30a25646583997
2016-05-06 11:00:29 -07:00
Gregory Szorc e944883993 Bug 1270317 - Stop using hgtool for Firefox builds; r=jlund
Now that the MercurialVCS VCS tool does things optimally, we no longer
need to use hgtool!

Again, this will effectively require a modern Mercurial version or
things will fail.

MozReview-Commit-ID: 9SM9qfYGlU6

--HG--
extra : rebase_source : 541303fb53a4ebd9aa4fd3313f8c72182d01ad37
2016-05-06 10:59:52 -07:00
Gregory Szorc 9bda169114 Bug 1270317 - Use modern, optimal cloning in MercurialVCS.ensure_repo_and_revision(); r=jlund
The code for ensure_repo_and_revision() has been completely overhauled.

We now require shared repos using auto pooled storage via the share
extension. This ensures that only a single copy of a logical
repository's history is stored on disk. e.g. if you clone
mozilla-central, inbound, and try, they'll all automatically share the
same storage.

The new code ensures the destination repo is using modern conventions
and will delete the destination repo if it isn't. So once this gets
deployed to production, machines will slowly start using optimal
storage. This should make VCS operations significantly faster.

Another optimization that is now in here is we check for presence of the
wanted revision before doing `hg pull`. This saves some communication
with the server if the revision is already present locally.

This change effectively requires a modern version of Mercurial to be
installed to run ensure_repo_and_revision(). Since Mercurial <3.7.3 has
security vulnerabilities, we shouldn't be running <3.7.3 in automation.
So I think this will be OK. If not, it will certainly be easy to
identify which machines aren't updated!

MozReview-Commit-ID: 62jtAsDj7rU

--HG--
extra : rebase_source : a43d7f54b16e71940e45ddf05402449575fccfee
2016-05-06 10:57:28 -07:00
Gregory Szorc e1aa318beb Bug 1270317 - Add query_pushinfo to MercurialVCS; r=jlund
MercurialVCS doesn't currently implement the VCSMixin interface.

This commit copies the implementation of query_pushinfo() from
HgtoolVCS to MercurialVCS so it implements the interface.

MozReview-Commit-ID: LKpLVhQoKww

--HG--
extra : rebase_source : 358d37e29f9239c0b1c084c0251af7a94c1f526a
2016-05-06 10:52:52 -07:00
Gregory Szorc d48fbc4b1a Bug 1270317 - Define a clone_upstream_url property; r=jlund
We currently have a "clone_by_revision" property that indicates to
perform a `hg clone -r`. We use it for cloning from Try.

Cloning single revisions undermines the benefits of clone bundles. So,
I'll be replacing "clone_by_revision" with a feature that clones from
another "upstream" repo then does a `hg pull -r` on the wanted revision.

This commit starts that work by introducing a "clone_upstream_url"
property. We define it on Try. It is currently unused.

MozReview-Commit-ID: Dohs8bCTUkB

--HG--
extra : rebase_source : 17b643f32747d494db04a2e80c4f94308b13618e
2016-05-06 10:51:06 -07:00
Gregory Szorc 0611c6f33d Bug 1270317 - Remove purgelong compatibility with ancient Mercurial versions; r=jlund
We no longer use <3.7 in automation. So drop support for <3.2. While I
was here, I also added magic variables to the extension so Mercurial
can react intelligently to version compatibility issues.

MozReview-Commit-ID: 4tAvQljasDR

--HG--
extra : rebase_source : ef2b5070014507533b5c0ec17449d62ba1bedad8
extra : source : 43c18590fcc7bbf7573647c2f225f4a82dd55730
2016-05-06 10:50:52 -07:00
Gregory Szorc 322cb2fd92 Bug 1270317 - Use modern exception syntax in purgelong; r=jlund
MozReview-Commit-ID: ISd4b14mjkl

--HG--
extra : rebase_source : 55843bc02ddc47019addf9f47f55092f9fcbf6d0
extra : source : 85d4e575d0ca38fe3bfcee03b4e91a9d216d11ba
2016-05-06 10:49:51 -07:00
Gregory Szorc da2645a8de Bug 1270317 - Add the purgelong Mercurial extension; r=jlund
The build/tools repo has a "purgelong" extension that is used to delete
long filenames on Windows. Without this extension, the APIs Mercurial
uses may run into path length issues and `hg purge` will fail.

This commit is a straight import of the purgelong extension
from https://hg.mozilla.org/build/tools minus the shebang line, which
isn't needed.

MozReview-Commit-ID: FIrEeWDf2Dl

--HG--
extra : rebase_source : ce34dc3dbcfbb9463022f3019f167a58cb396ef3
2016-05-06 10:49:25 -07:00
Gregory Szorc c57e67ab79 Bug 1270317 - Upgrade to Mercurial 3.7.3 in the mozharness test environment; r=jlund
We had a test environment running on Python 2.6 and an ancient version
of Mercurial. AFAICT we run Python 2.7 everywhere, so this environment
can be dropped.

We also upgrade to Mercurial 3.7.3, as that is what automation now runs.

MozReview-Commit-ID: 7WTyD3CUjtj

--HG--
extra : rebase_source : 8e37b215fb2bff2f12658fd5ad3b61d631ec26c7
2016-05-06 10:49:08 -07:00
Gregory Szorc 511e246124 Bug 1270907 - Update bitbucket.org certificate fingerprint; r=sfink
DONTBUILD (NPOTB)

MozReview-Commit-ID: Jg8FiWoLxAu

--HG--
extra : rebase_source : b3227478f5765d1de18ad7f939ddb0bfdf453eaa
2016-05-06 11:05:54 -07:00
Boris Zbarsky 278db1b97e Bug 1190641 part 3. Add the sandbox propagates to auxiliary browsing contexts flag to iframe sandboxing. r=ckerschb 2016-05-06 13:56:36 -04:00
Boris Zbarsky f3092cff84 Bug 1190641 part 2. Add the sandboxed modals flag to iframe sandboxing. r=ckerschb
Automated testing for this seems rather difficult; I've done manual testing.
2016-05-06 13:56:36 -04:00
Boris Zbarsky 28ad9040a9 Bug 1190641 part 1. Reorder nsSandboxFlags.h to match the spec order better so it's easier to tell where they diverge. r=ckerschb 2016-05-06 13:56:35 -04:00
Michael Layzell 94ab961f05 Bug 1270142 - Update test_localStorageBase.html to run on e10s, r=bz 2016-05-06 13:52:52 -04:00
Michael Layzell cdb2337172 Bug 1270509 - Enable test_bug482935.html on e10s, r=smaug 2016-05-06 13:52:50 -04:00
Michael Layzell 295b6efb5a Bug 1270509 - Enable browser_ConsoleStoragePBTest_perwindowpb.js on e10s, r=enndeakin 2016-05-06 13:52:48 -04:00
Michael Layzell 2696694ada Bug 1270115 - Rewrite browser_ConsoleStorageAPITests.js to run in e10s. r=bz 2016-05-06 13:52:47 -04:00
Michael Layzell 1a54e3cc12 Bug 1270121 - Rewrite test_bug1004814 to work in e10s, r=baku 2016-05-06 13:52:45 -04:00
Michael Layzell 78593ea848 Bug 1270509 - Enable browser_xhr_sandbox.js on e10s, r=enndeakin 2016-05-06 13:52:43 -04:00
Michael Layzell 3082b353b8 Bug 1270117 - Modify browser_focus_steal_from_chrome_during_mousedown to run on e10s, r=enndeakin 2016-05-06 13:52:42 -04:00
Michael Layzell 7ed351b002 Bug 1270118 - Modify browser_focus_steal_from_chrome to run on e10s, r=enndeakin 2016-05-06 13:52:40 -04:00
Michael Layzell fe89e56dfa Bug 1270119 - Rewrite browser_localStorage_privatestoragevent.js to run on e10s, r=jdm 2016-05-06 13:52:38 -04:00
Kartikaya Gupta ec6390b365 Bug 1264592 - When doing thumbnails for fennec, don't mark frames as painted because it can interfere with tests. r=mstange
MozReview-Commit-ID: KOhZZV3aSLv

--HG--
extra : rebase_source : 80e39ca63cf3b3c54b6adcc8bac23bcd148467f9
2016-05-06 10:31:11 -04:00
David Keeler 4c6c57ed83 bug 1269812 - e10s-ify test_bug383369.html and test_unsecureRedirect.html r=Cykesiopka,mrbkap
MozReview-Commit-ID: E6z91sfEjan

--HG--
extra : rebase_source : 0561b67cb63262c46289134a250fb2c59d6af17d
2016-05-03 11:00:50 -07:00
Joel Maher f57aa57196 Bug 1257570 - --spsProfile doesn't work from try syntax. r=wlach
MozReview-Commit-ID: 50N5inHlBsd

--HG--
extra : rebase_source : a66dc04a5f7e0ae5b43a18a00d744f4a635f0035
2016-05-06 09:38:34 -04:00
Bert Belder 45aa50999f Bug 956899 - Add std::threading work-alike wrapper for posix and windows threads; r=froydnj 2016-04-05 11:18:21 -07:00
Eitan Isaacson 700d8864c8 Bug 1019425 - Activate accessibility when both accessibilty and explore by touch are enabled. r=mfinkle
This simplifies some old code. We get rid of a whitelist of services, and rely on the face that accessibility and explore by touch is enabled to enter our internal accessibility mode.

The whitelist methode held 2 assumptions that are not true anymore:

1. There are some non-accessibility accessibility service apps in the wild that read notifications.
In later Android versions this has been made into a non-a11y use case with NotificationListenerService. So the cases of non-a11y accessibility services has shrunk.

2. Not all screen readers (Gingerbread TalkBack, for example) supported explore by touch. Today, we
exclusively support accessibility services that use explore by touch, and we should not activate our
accessibility mode in any other case.

MozReview-Commit-ID: LMeCedoIGbb
2016-05-06 09:35:36 -07:00
Sebastian Hengst faffe478f6 Backed out changeset f9d3ea58c195 (bug 1267186) for static bustage in WebIDLGlobalNameHash.cpp. r=backout 2016-05-06 18:11:03 +02:00
Henrik Skupin 57680e3919 Bug 1270820 - Improve failure messages for Wait().until() calls in Firefox UI testcase classes. r=maja_zf
MozReview-Commit-ID: IML3RZy3kXD

--HG--
extra : rebase_source : 55bb0796a0c29e11b659015985e0b64413247801
2016-05-06 17:31:22 +02:00
Masatoshi Kimura ef725b2fe2 Bug 1267567 - Unit test for non-ASCII AutoConfig files. r=mkaply 2016-05-07 00:06:33 +09:00
Masatoshi Kimura 28cb042dc5 Bug 1267567 - Treat string prefs as Unicode when the script encoding is UTF-8. r=mkaply 2016-05-07 00:06:33 +09:00
Rail Aliiev 61de32e703 Bug 1265425 - Fix buildbot properties r=coop a=release DONTBUILD
MozReview-Commit-ID: DBWsXeSuobI

--HG--
extra : rebase_source : 491d42f48534838e860b2201f408f917dac1a9d4
2016-05-06 07:01:30 -04:00
Ben Kelly 117f82a98c Bug 1270673 Fix wpt stream tests to reference new service-worker test-helpers.sub.js. r=jgraham 2016-05-06 06:33:38 -07:00
Peter Van der Beken 827ee394ba Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
--HG--
extra : rebase_source : 5578057666186f58e434767af84fbfeac0cbdc3c
2016-03-09 15:48:12 +01:00
Christoph Kerschbaumer 3c9262edb7 Bug 1269267 - Remove SEC_NORMAL from browserElement_Auth.js (r=sicking) 2016-05-06 15:36:32 +02:00
Christoph Kerschbaumer 280bbd924b Bug 1269279 - Remove SEC_NORMAL from toolkit/components/passwordmgr/ (r=billm) 2016-05-06 15:15:23 +02:00
Christoph Kerschbaumer eb68ff098e Bug 1269353 - Use channel.asyncOpen2() within ContentLinkHandler (r=blassey) 2016-05-06 15:22:11 +02:00
Christoph Kerschbaumer 19193e638e Bug 1269263 - Remove SEC_NORMAL from browser/components/feeds/test/unit/test_355473.js (r=sicking) 2016-05-06 15:28:59 +02:00
Christoph Kerschbaumer 570229429b Bug 1269261 - Remove SEC_NORMAL form browser_favicon_setAndFetchFaviconForPage.js (r=sicking) 2016-05-06 15:29:45 +02:00
Christoph Kerschbaumer efc3c94b66 Bug 1268147 - Remove nsScriptLoader::ShouldLoadScript (r=sicking) 2016-05-06 15:31:48 +02:00
Nathan Froyd f780378910 Bug 1263197 - part 4 - disable logging on Android release builds; r=erahm 2016-05-06 09:11:17 -04:00
Nathan Froyd 3e814c0f2a Bug 1263197 - part 3 - remove GetUserMediaLog function from MediaEngineWebRTC.cpp; r=jesup
GetUserMediaLog is a holdover from when when used PRLogModule and needed
to avoid a static constructor.  Now we have LazyLogModule, which doesn't
invoke static constructors, and so we can use that directly, rather than
indirecting through GetUserMediaLog.  This change also helps avoid an
unused function warning when logging is disabled.
2016-05-06 09:11:17 -04:00
Nathan Froyd efbd9a9b65 Bug 1263197 - part 2 - remove temporary variable in nsPresContext's constructor; r=dholbert
In the upcoming patch to disable logging, we're going to conditionally
turn MOZ_LOG_TEST into a constant false.  But for this instance of
MOZ_LOG_TEST in nsPresContext, turning it into a constant means that
|log| becomes unused.  Since |log| isn't used after this point, let's
move the |gfxPlatform::GetLog| call into the MOZ_LOG_TEST call, removing
the temporary variable, and making the compiler happy.
2016-05-06 09:11:17 -04:00
Nathan Froyd 08c711b5df Bug 1263197 - part 1 - use temporary variables in CacheIndex logging; r=michal.novotny
Using temporary variables here makes the code a bit clearer by not
repeating the readUint32 call.  A temporary variable also avoids the
compiler complaining about not using the result of readUint32 (which is
a MOZ_MUST_USE function) for the upcoming logging disabling patch.
2016-05-06 09:11:17 -04:00
Anthony Ramine 10fd1a502f Bug 1270036 - Fix the zlib module in SM tarballs. r=sfink 2016-05-04 04:54:00 -04:00
Cykesiopka 128f004a1f Bug 1267905 - Replace uses of ScopedCERTCertList with UniqueCERTCertList. r=keeler
ScopedCERTCertList is based on Scoped.h, which is deprecated in favour of the
standardised UniquePtr.

Also changes CERTCertList parameters of various functions to make ownership more
explicit.

MozReview-Commit-ID: EXqxTK6inqy

--HG--
extra : transplant_source : %9B%A9a%94%D1%7E%2BTa%9E%9Fu%9F%02%B3%1AT%1B%F1%F6
2016-05-05 14:56:36 -07:00
Carsten "Tomcat" Book f2af513563 Merge mozilla-central to mozilla-inbound 2016-05-06 14:26:00 +02:00
Mike Hommey e0898b3dc1 Bug 1270446 - Automatically add --target argument when unit test class has a TARGET attribute. r=chmanchester 2016-05-06 21:24:09 +09:00
Mike Hommey 4af7d047e9 Bug 1270446 - Make it easier to derive compiler results. r=chmanchester 2016-05-06 21:24:02 +09:00