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

461361 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen a3530100e4 Bug 1246411 - Constructors must use new keyword; r=automatedtester
MozReview-Commit-ID: 4fl0Cl3mf5j

--HG--
extra : rebase_source : 7b39d94cecf7420aedf51d9e7918d607dab0a828
2016-02-06 18:20:07 +00:00
Andreas Tolfsen 6d10dd54f8 Bug 1246411 - Remove unreachable break statements; r=automatedtester
MozReview-Commit-ID: 7l0OEwIKoHS

--HG--
extra : rebase_source : bc92122f864c04c300cd7df89a5e6c1677f7c9e4
2016-02-06 18:19:46 +00:00
Andreas Tolfsen 2d1370817c Bug 1246411 - Access to properties is better written using dot notation; r=automatedtester
MozReview-Commit-ID: KlmrhB8GKpY

--HG--
extra : rebase_source : ee3a097b7c9f61d0b67a26eea44e60e85399d6de
2016-02-06 18:19:25 +00:00
Andreas Tolfsen 24cf57701c Bug 1246411 - Yield statements must be inside generator functions; r=automatedtester
MozReview-Commit-ID: HHFkvior8gI

--HG--
extra : rebase_source : 4d289bfb3ad2bb41b1b44d7597d84a8b4a34cd46
2016-02-06 18:19:02 +00:00
Andreas Tolfsen d0bbe7fc14 Bug 1240789 - Remove head+tail in Marionette xpcshell manifest; r=automatedtester
Was originally there to work around a bug in the B2G on-device test
runner.  Can now safely be removed after bug 1240723 was landed.

MozReview-Commit-ID: EZGfvYcP9ER

--HG--
extra : rebase_source : c2dc099b127b4bbd5988c386d15de72a3ab0bf40
2016-02-06 17:14:32 +00:00
Dustin J. Mitchell 7b4ed802ac Bug 1246947: cache test workspaces to get SSD/ext4 performance; r=armenzg
--HG--
extra : rebase_source : cdf4cdb66113f833f5918f4946ebff8300d23b3d
extra : source : 3f44977a9a5c421b3f1a594a2ce061a5e86d3c8b
2016-02-09 15:14:54 +00:00
James Graham 083055b0b9 Bug 1246946 - Upload reftest structured logs and error summaries to blobber, r=ahal
MozReview-Commit-ID: 3L8t6lgs3U6

--HG--
extra : rebase_source : 774df8f54bc7685a457f9f7450e178aa365fb919
2016-02-09 19:00:23 +00:00
Eugen Sawin e4c90cb56c Bug 1244292 - [1.2] Release decoder on init failure. r=snorp 2016-02-10 15:07:56 +01:00
Carsten "Tomcat" Book 855c877f61 Merge mozilla-central to mozilla-inbound 2016-02-10 14:29:05 +01:00
Carsten "Tomcat" Book 7cf726ce07 Bug 1243583 - ensure transition events are dispatched to all the relevant subdocuments, r=dholbert 2016-02-10 14:21:26 +01:00
Carsten "Tomcat" Book 106a8ed3ab Bug 1244250 - r=mats 2016-02-10 14:17:05 +01:00
Carsten "Tomcat" Book b8f6140f54 merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Brian Grinstead f686ae54b9 Bug 1246843 - Add a default page for mozscreenshots mochitest;r=MattN
MozReview-Commit-ID: Cv74fVKrUkQ
2016-02-09 19:57:34 -08:00
Nicholas Nethercote ff840e5f16 Bug 1246855 (part 2) - Measure CompartmentPrivates during memory reporting. r=terrence.
This also expands the coverage to include the hash table elements in the
mWrappedJSMap.
2016-02-10 08:41:38 +11:00
Nicholas Nethercote 2684992fcd Bug 1246855 (part 1) - Remove the in-advance measurement of CompartmentPrivates. r=terrence.
Measuring in advance confuses DMD. It's better to measure during reporting.
The next patch will reinstate the measurement, but during reporting.
2016-02-10 08:36:35 +11:00
Phil Ringnalda c36af23aae Back out edf118eb93d2 (bug 1227344) for multiple-update.https.html bustage 2016-02-09 21:22:54 -08:00
Trevor Saunders 8585d6f683 bug 1246772 - work around x87 floating point truncation issues in gecko r=dholbert
test_value_storage.html needs floating point numbers to round trip through css
parsing and serialization, but floating point isn't exact so we should be
careful what numbers we test.  It turns out the value 0.9 the test was using is
close to the border between 229 and 230 when converted to an 8 bit int, but 0.8
is safer so change to that since the test doesn't depend on the value.  Note
that this does not fix the issue that numbers don't always round trip, but only
wall papers over it by changing the test.
2016-02-10 00:10:56 -05:00
Jim Chen dacefebbaa Bug 1241558 - Re-enable testInputConnection on 4.3; r=gbrown 2016-02-09 23:36:41 -05:00
Jim Chen b9030e2e86 Bug 1241558 - Add test to testInputConnection; r=esawin 2016-02-09 23:36:41 -05:00
Jim Chen c3f9472ecd Bug 1241558 - Don't ignore Gecko selection when Gecko commits composition; r=esawin
When Java is changing the composition, we should ignore the Gecko
selection. However, when Gecko is committing its composition, we should
not be ignoring the corresponding Gecko selection change. In other
words, we should only ignore selection changes when we know the change
is from Java.
2016-02-09 23:36:41 -05:00
Benjamin Bouvier 10ac35cdac Bug 1246957: Make the data section require the memory section; r=luke
--HG--
extra : commitid : Fnxj4iG6mzr
extra : rebase_source : 762e4891d1b693e5d37cf833da58ba408365173c
extra : amend_source : 6c64cfba5dd852a76deab5a7cb69660c42a1b699
2016-02-09 17:13:30 +01:00
Bogdan Postelnicu 259beb7974 Bug 1246109 - pass state as reference instead of pass by value. r=jandem
MozReview-Commit-ID: 5FuDBbQo5xc

--HG--
extra : rebase_source : 50084aef7e24e4edb2df67dcb34de2e5c2bf2310
2016-02-10 12:10:26 +02:00
Nicholas Nethercote a28a2e22e9 Bug 1246834 - Fix memory reporting of nsFontFamily{List,Name}. r=jfkthame.
--HG--
extra : rebase_source : 81da7c78a310c8e5e08bac75146b08367dbee1a2
2016-02-09 12:16:34 +11:00
Ben Kelly 9ee2a542d0 Bug 1227344 Try to ensure script content is always different in update tests by using .clock(). r=jdm 2016-02-09 19:55:23 -08:00
Ehsan Akhgari e20566c8ee Bug 1237363 - Part 3: Add a test for a mochitest finishing without unregistering its service worker; r=jdm 2016-02-09 19:33:41 -08:00
Ehsan Akhgari eb7b8fe7cf Bug 1237363 - Part 2: Fail mochitests which register a service worker without unregistering it; r=jdm 2016-02-09 19:33:41 -08:00
Ben Kelly 0bcca14aa1 Bug 1238954 P2 Fix csp service worker tests to register and unregister separate scopes. r=ehsan 2016-02-09 19:33:40 -08:00
Ben Kelly 73fb651fae Bug 1238954 P1 Purge potentially controlled document entries when evicting service worker registrations. r=ehsan 2016-02-09 19:33:40 -08:00
Nicholas Nethercote 85ef8faae4 Bug 1246054 - Fix an erroneous nsNPObjWrapper assertion. r=froydnj.
--HG--
extra : rebase_source : 773edadad38b1a549194d1fa2cfad8d952b55d12
2016-02-05 16:36:05 +11:00
Chris Pearce c098d0e875 Bug 1246835 - Reduce #ifdefs pain in GMPChild.cpp. r=gerald 2016-02-10 15:48:45 +13:00
Nicholas Nethercote 774871bbdd Bug 1238558 (part 2) - Add a test. r=tnikkel.
--HG--
extra : rebase_source : f3d89f88873920e6b2c8a4d0c403bf84a5e52d42
2016-02-10 09:55:37 +11:00
Nick Alexander 2a8a83c12d Bug 1173229 - Apply Google-recommended PRNG fixes before generating DSA keys. r=rnewman
See
https://android-developers.blogspot.com/2013/08/some-securerandom-thoughts.html
for a thorough discussion.

It's very expensive (at least 200ms on modern devices) to do this in
Application.onCreate, so we'll do this just before generating DSA keys.
In exchange, we accept some risk that we'll introduce the same issue
again.  As we lint more aggressively in automation, this risk will
decrease.

Google licenses the fixes file very permissively.  I have added some
serialization IDs to prevent certain compile warnings.

--HG--
extra : commitid : 2GRwurnHhvE
extra : rebase_source : 8d28b7d6541579d5f51f5173f7fe9a16ca39a982
extra : amend_source : ae37a4afa0754775fd0ccf94dc3718081dd37eb3
2016-02-03 15:39:16 -08:00
Michael Comella 61c3fdcf15 Bug 1246839 - Close Reader in ApkResources. r=rnewman
MozReview-Commit-ID: Ks2AkrPDF3Q

--HG--
extra : rebase_source : 276f8a6da9e0bb412a99b811f5f74c7524dee587
2016-02-08 17:58:03 -08:00
Michael Comella 9757386709 Bug 1246839 - Close FileOutputStream in BrowserApp. r=rnewman
MozReview-Commit-ID: C2tWuetVrqp

--HG--
extra : rebase_source : 9f2de78aba69401015d4d9d465972058493e91d5
2016-02-08 17:55:48 -08:00
Michael Comella eac64c4181 Bug 1246209 - Add profile creation date to core ping. r=mfinkle
This patch adds 2 workarounds for the fact that getProfileCreationDate
returns -1 when it can't find a creation date. Returning -1 turned
out to be not particularly robust but I did it this way to avoid
adding too many additional versions of methods in order to have
optional parameters such as profileCreationDate. The workarounds
are added as TODOs w/ bug #'s in the code and mentioned in the
comments of bug 1246816 itself.

A future implementation should probably add a Builder to pass a
single Object as the argument to TelemetryPingGenerator.createCorePing
to prevent the argument list from growing unreasonably large and
to properly operate on optional parameters. I didn't do this in
this patch in order to simplify the uplifted code.

--HG--
extra : commitid : EbxIxtpDLIL
extra : rebase_source : 1f19eca9bc7a7847418fa8d4e87308e1e112aa2c
2016-02-08 17:17:14 -08:00
Michael Comella 3737208707 Bug 1246209 - Add getProfileCreationDate, implement from filestystem, & add stencil code. r=mfinkle
Retrieving the profile creation date from the filesystem is not strictly
necessary to upload this data and returns -1 until it is implemented. If the
decision is r+'d here, it will be implemented in bug 1246816.

--HG--
extra : commitid : EyjmshzbkwO
extra : rebase_source : 7b8fde6ae768b99a970db30eee352e2c84e901dd
2016-02-08 17:10:26 -08:00
Michael Comella b896848502 Bug 1246209 - Extract readJSONObjectFromFile out of getClientId. r=mfinkle
--HG--
extra : commitid : X9f7CWrksn
extra : rebase_source : 559796f8b5299c9fa88679bd3adbe09d3164ad78
2016-02-08 15:03:21 -08:00
Dan Minor 4250455fa4 Bug 1244143 - Record whether or not an artifact build was used in build telemetry data r=gps
This adds a substs field and cherrypicks the MOZ_ARTIFACT_BUILDS field so
we can determine whether or not an artifact build occurred.

--HG--
extra : rebase_source : 8878751b0bf5159cb8baedc68c9ab88cf8563628
2016-02-01 14:41:13 -05:00
Valentin Gosu 9980689593 Bug 1042347 - %2e entered in URL bar not normalized leading to denormalized request r=mcmanus 2016-02-10 13:13:23 +01:00
Valentin Gosu ed608a9278 Bug 464591 - Add test to make sure percent encoded host name can't bypass IDN normalization r=mcmanus 2016-02-10 13:13:10 +01:00
Valentin Gosu 35e6e18584 Bug 583170 - Handling IPv6 literal address differently to other browsers r=bz 2016-02-10 13:13:00 +01:00
Dan Minor f3c1aea318 Bug 1239296 - add post_dispatch_handler hook to mach r=gps
This adds a post_dispatch_handler hook that will be called after each
mach invocation and uses it to submit data to telemetry.

--HG--
extra : rebase_source : 1dedea568b7ccec17fa58eb1841425b165d8a644
2016-02-09 10:09:17 -05:00
Dave Townsend 2baeb943ca Bug 1244357: Use a shim around the certificate DB to allow the add-ons manager to think that add-ons are signed when they aren't. r=rhelmer
Because the add-ons manager hasn't startup up yet we can replace the certificate
database in xpcshell tests with one that claims add-ons are signed by valid
certificates even when they aren't. This allows us to run tests even in builds
where signing cannot be disabled during for the normal application.

This adds an override for all tests except those that are explicitely testing
signing.

--HG--
extra : commitid : 24s3ni5gVYe
extra : rebase_source : a95571dc3556bb035511eea424ba57e8c7007eba
2016-01-29 16:41:18 -08:00
Michael Comella c48a870a5f Bug 1233238 - Compile with play-services-{ads,analytics,appindexing} to support Adjust SDK. r=nalexander
On a CLOSED TREE because this is Android only.

When we switched to fine-grained Google Play Services bundling (Bug
1115004), we stopped shipping com.google.android.gms.analytics.  That
silently breaks Adjust, which queries the Google Ad ID using
reflection: now the package isn't present!  This patch restores the
Play Services libraries that Adjust relies on.  (Sadly, this bloats
our APK tremendously.)

There is some hijinkery, however: the Play Services libraries
reference a library (org.apache.http) that is deprecated in Android
23!  However, the library is still present on Android 23 devices,
which buys Google time to replace the offending code.  This compiles
just fine, breaks the Proguard global optimization pass.  To give
Proguard the information, we add the library as a Proguard "library
JAR".  This is equivalent to the Google-provided Gradle `useLibrary`
directive.

--HG--
extra : commitid : I4rTyC8lxLd
extra : rebase_source : 96f30d735e898cb9853d53f236ac8e2337186814
extra : amend_source : 3e4d68789b3ef980e4e1d7f743e332bdbb6be176
2016-02-04 16:10:29 -08:00
Brian Grinstead 07130208f3 Bug 1246847 - Give extra timeout for mozscreenshots in between devtools docking mode changes;r=MattN
--HG--
extra : commitid : 2pcpRQ1ZNoM
2016-02-09 09:33:58 -08:00
Brian Grinstead 57a22e2ca2 Bug 1246849 - Include all default tools in devtools mozscreenshot runs;r=MattN
--HG--
extra : commitid : K0qClMze1zh
2016-02-09 09:33:57 -08:00
Jordan Santell 3d1b436035 Bug 1246273 - Add localized strings for types and attempts in the JIT opts view. r=vp 2016-02-09 09:08:22 -08:00
Jordan Santell cb607b8be8 Bug 1243929 - Only show jit optimizations panel when pref is on and current selected frame has optimizations. r=vp 2016-02-09 08:58:15 -08:00
Jordan Santell a63fe67c32 Bug 1172120 - Filter out uninteresting markers and bars in a test failing on linux/e10s consistently for marker details. r=vp 2016-02-09 08:40:00 -08:00
Dave Townsend 2f6755883b Bug 1244248: Cache the certificate database during startup rather than getting it everytime it is needed. r=rhelmer
--HG--
extra : commitid : 800Lx2U4lRD
2016-02-09 08:36:36 -08:00