Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Brian Birtles 50b417c786 Bug 964646 part 7 - Handle NaN values when comparing matrices; r=dbaron
The test harness code for normalizing transform inputs to a standard form for
comparison fails to detect the case where the input is a string such as

 { tx: "20px" }

instead of:

 { tx: 20 }

When we go to compare matrix components we fail if:

  Math.abs(a.comp - b.comp) > tolerance

But if a.comp or b.comp is a string, we'll get NaN on the LHS and
"NaN > tolerance" will return false so we'll skip the failure handling and
continue onto the next component. That means if we have input { tx: "30px" } and
we get "20" as the x-translation component we'll pass the test.

This patch fixes this condition to check for isNaN.

We *could* also just drop a few .map(parseFloat) calls into
convertObjectTo3dMatrix and convertArrayTo3dMatrix to ensure "20px" becomes 20
but there may be situations where that masks bugs (since "20px" and "20em" turn
into the same thing) so for now this minimal fix should be enough.
2014-05-19 14:42:48 +09:00
accessible Bug 1001623 - clean up error handling of index returning methods, r=tbsaunde 2014-05-16 19:16:34 -04:00
addon-sdk Backed out 4 changesets (bug 1008236, bug 1010344, bug 1004458, bug 1008719) for mochitest crashes on a CLOSED TREE. 2014-05-15 14:24:12 -04:00
b2g Bug 972201 - Remove the MOZ_B2G_CERTDATA hack. r=briansmith 2014-05-18 15:42:42 +02:00
browser Merge fx-team to m-c 2014-05-16 16:44:34 -07:00
build Bug 1009113 - Stop setting unused and incompatible wifi properties. r=gbrown 2014-05-16 09:33:19 -04:00
caps Bug 1011024 - Fix nsScriptSecurityManager::GetChannelPrincipal so that it doesn't fail to get the correct nsIPrincipal for some resource documents. r=bz 2014-05-16 23:59:36 +01:00
chrome Bug 1004933 - do not use nsVoidArray in nsChromeRegistry; r=bsmedberg 2014-05-02 10:01:11 +02:00
config Backed out 4 changesets (bug 908503) for breaking the Hamachi eng dep build on an otherwise CLOSED TREE 2014-05-12 21:18:31 -07:00
content b=1010000 update mTracksKnownTime when finishing a stream r=roc 2014-05-19 08:26:54 +12:00
db/sqlite3 Bug 988507 - Upgrade SQLite to version 3.8.4.2. r=mak 2014-03-26 16:02:23 -04:00
docshell Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley 2014-05-13 11:58:00 +02:00
dom Bug 1009616: Specify async video separately for content-processes. r=nical 2014-05-18 05:16:51 +02:00
editor Bug 1004522 part 14 - Clean up nsWSRunObject::GetWSPointBefore/After; r=ehsan 2014-05-02 15:15:27 +03:00
embedding Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
extensions Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
gfx Bug 1009616: Specify async video separately for content-processes. r=nical 2014-05-18 05:16:51 +02:00
hal Bug 1001075 - Account for possible re-entry in MacPowerInformationService::StopListening to avoid crash with e10s. r=BenWa, feedback=reuben. 2014-05-12 21:07:45 -04:00
image Backed out 3 changesets (bug 946065) for b2g mochitest-6 permafail on a CLOSED TREE 2014-05-12 15:40:41 -07:00
intl Bug 971264 - Remove nsHashtable. r=bsmedberg 2014-05-15 09:52:57 -07:00
ipc Bustage fix for Gecko Media Plugins landing, bug 957928. 2014-05-17 23:25:36 -05:00
js Bug 1011879 - Fixup code offsets correctly when pushing jump targets in irregexp, r=jandem. 2014-05-17 16:22:19 -07:00
layout Bug 964646 part 7 - Handle NaN values when comparing matrices; r=dbaron 2014-05-19 14:42:48 +09:00
media Bug 1011214: Release OMX monitor when shutting down Encoder output drain thread r=jhlin 2014-05-16 04:37:08 -04:00
memory Bug 1000621 - Check if DMD is enabled before dumping. r=njn. DONTBUILD 2014-04-24 12:43:11 -07:00
mfbt Bug 983538 (part 2) - Update mfbt/STYLE. r=froydnj. 2014-03-13 22:42:59 -07:00
mobile Bug 972201 - Remove the MOZ_B2G_CERTDATA hack. r=briansmith 2014-05-18 15:42:42 +02:00
modules Back out 2708630b4998 (bug 899785) for webm-video/bug686957.html and random Win8 Ru bustage 2014-05-18 21:51:59 -07:00
mozglue Bug 992357 - b. Add array support stubs; r=blassey 2014-05-16 18:25:29 -04:00
netwerk Bug 1011150 - HTTP cache v2: reimplement AsyncDoomURI for appcache storage, r=michal 2014-05-18 20:03:57 +02:00
nsprpub Bug 993569: Update to NSS 3.16.1 and NSPR 4.10.5. r=kaie. 2014-05-05 13:51:39 -07:00
other-licenses Updated 7Zip sfxthat include moz modifications - Bug 995891 - Reduce stub installer install timeouts. r=me 2014-04-16 22:44:08 -07:00
parser Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
probes Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
profile Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
python Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
rdf Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
security Bug 972201 - Remove the MOZ_B2G_CERTDATA hack. r=briansmith 2014-05-18 15:42:42 +02:00
services Bug 1010623 - sign out when password was reset on web. r=jedp 2014-05-15 16:52:52 -07:00
startupcache Backed out changeset 70946e64e8f8 (bug 1005704) because it caused bug 1006541 2014-05-06 16:39:39 -04:00
storage Bug 1003907: Annotate storage/src as FAIL_ON_WARNINGS. r=mak 2014-05-01 09:31:54 -07:00
testing Merge fx-team to m-c. 2014-05-16 15:06:03 -04:00
toolkit Bug 1009590: Deal with non-ui-thread IPDL usage on Windows. r=bent 2014-05-18 05:16:51 +02:00
tools Merge m-c to b2g-inbound. 2014-05-13 16:27:50 -04:00
uriloader Bug 1008795 - Remove MOZ_ENABLE_MEEGOTOUCHSHARE. r=romaxa 2014-05-12 20:01:04 +09:00
view Bug 1007604 - add additional null check; r=sicking 2014-05-10 00:53:41 +02:00
webapprt Bug 1006615 - Update extensions.blocklist.itemURL and extensions.blocklist.url to new blocklist domain, r=Mossop,jason 2014-05-07 12:11:56 +02:00
widget Bug 984488: Blacklist Direct2D for Catalyst 14.4 drivers. r=bjacob 2014-05-19 00:37:17 +02:00
xpcom Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 22:05:46 -05:00
xpfe Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley 2014-05-13 11:58:00 +02:00
xulrunner Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
.clang-format Bug 965120 - Use .clang-format to set tree default format; r=gps 2014-01-30 14:27:44 +13:00
.clang-format-ignore Bug 967361 - Fix .clang-format-ignore on Windows. r=gps 2014-02-04 17:25:04 +13:00
.gdbinit Bug 848796 part 1. Rename nsXULDocument to mozilla::dom::XULDocument. r=ms2ger 2013-03-26 11:31:53 -04:00
.gitignore Bug 1007486 - Ignore tag files generated by GNU Global. r=ted 2014-05-07 20:32:00 -04:00
.hgignore Bug 1007486 - Ignore tag files generated by GNU Global. r=ted 2014-05-07 20:32:00 -04:00
.hgtags Added FIREFOX_AURORA_31_BASE tag for changeset cfde3603b020. DONTBUILD CLOSED TREE NO BUG a=release 2014-04-28 14:18:30 -04:00
.lldbinit Bug 960300 - Put a .lldbinit in the objdir and in dist/bin/, which load the .lldbinit in topsrcdir. r=glandium 2014-01-21 14:47:05 +11:00
.reviewboardrc Bug 943747 - Add a .reviewboardrc file; r=mconley 2013-11-27 14:13:18 +08:00
aclocal.m4 Backed out changeset 7cff27cb2845 (bug 975011), for breaking just about everything not on tbpl 2014-03-11 09:53:58 -07:00
Android.mk Bug 794297: Block the android build system from looking in mozilla-central. r=mwu 2012-09-25 17:04:01 -07:00
AUTHORS
client.mk Bug 1006956 - Disable sccache on non-try PGO builds. r=mshal 2014-05-15 07:14:37 +09:00
client.py Bug 988724: Remove webidl updating bits from client.py that are long dead. r=glandium 2014-04-01 11:33:27 +08:00
CLOBBER Bug 994964 apparently requires a clobber, unclear why, landed on a CLOSED TREE 2014-05-08 17:18:56 -04:00
configure.in Bug 972201 - Remove the MOZ_B2G_CERTDATA hack. r=briansmith 2014-05-18 15:42:42 +02:00
LEGAL
LICENSE
mach Backed out changeset 3c72c5ea486c (bug 957721) for breaking mach on non-Mozilla-Build python installs 2014-05-14 12:42:45 +01:00
Makefile.in Bug 986301 - Fix --with-libxul-sdk after bug 969164. r=gps 2014-03-21 11:52:25 +09:00
moz.build Backed out changeset 7cff27cb2845 (bug 975011), for breaking just about everything not on tbpl 2014-03-11 09:53:58 -07:00
mozilla-config.h.in Bug 976898 - Move the sdkdecls.h force-include out of the build system; r=bbondy,glandium 2014-02-28 08:17:22 -05:00
README.txt No bug: the OVERRIDE HOOK is stupid. 2014-01-21 08:23:43 -08:00

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
            - or -
    http://nightly.mozilla.org/