Commit Graph

390304 Commits

Author SHA1 Message Date
Ting-Yu Lin
28b793e2e8 Bug 1090785 - Migrate to NSPR logging for touch caret. r=roc 2014-10-29 01:37:00 +01:00
Alexandre Lissy
2260da45c7 Bug 1089619 - Stop abusing the Settings API from Gonk GPS. r=kanru
GPS handling for Gonk abuses the Settings API in two ways. First, on
mozsettings-changed event, it will trigger two new requests to read
values (debug enabled and GPS locations ignore). This is useless since
the event already contains the key that has changed and the new value,
so there is no need to do a createLock().get() call. Then, in startup
code, the Init() method is supposed to check itself whether it is
already running. This is done through the mStarted boolean. The same
Init() method is responsible for adding the mozsettings-changed
observer, which is removed by the Shutdown() method. Investigation on
device by using the Geolocation API has proven that we were leaking some
observers. This is because checking mStarted boolean is performed after
we request settings values and we install the mozsettings-changed
observer. So any time the Init() gets called, we install it but we just
remove it once in Shutdown().
2014-10-30 01:56:00 +01:00
Cykesiopka
9c4c923488 Bug 1089305 - Switch EV tests to SQL DB and partially clean up scripts. r=keeler 2014-10-29 11:09:00 +01:00
Martin Thomson
2656d11288 Bug 1088950 - Adding some testing. r=dkeeler 2014-10-27 17:48:00 +01:00
Martin Thomson
2aa2c784b9 Bug 1088950 - Fix handling of inappropriate_fallback alert. r=keeler 2014-10-27 17:47:00 +01:00
Kearwood (Kip) Gilbert
6b9dfcc71f Bug 1082098 - Part 2 - Tests. r=roc
- scroll-behavior-8.html - Tests if dynamically changing the scroll-behavior
  css property on a div element takes effect after the page has been painted and
  reflowed.
- scroll-behavior-9.html - Tests if dynamically changing the scroll-behavior
  on the body element takes effect after the page has been painted and
  reflowed.
2014-10-29 14:26:00 +01:00
Kearwood (Kip) Gilbert
2a9cb4dfbc Bug 1082098 - Part 1 - Return correct change hint when scroll-behavior CSS value changes. r=roc
- When the scroll-behavior CSS value changed, the nsChangeHint_NeutralChange
  hint was returned by nsStyleDisplay::CalcDifference.  It now returns
  nsChangeHint_ReconstructFrame to ensure that the change takes effect.
- When scroll-behavior is changed, the nsChangeHint_NeutralChange was not
  sufficient to enter nsCSSFrameConstructor::PropagateScrollToViewport.  By
  using the same hint as used when the overflow css property changes,
  nsChangeHint_ReconstructFrame, PropagateScrollToViewport will be called.
- The scroll-behavior css property is not expected to change often (the
  CSSOM-View DOM methods are likely to be used in those cases); however, if
  this does become common perhaps a faster-path might be worth while.
2014-10-28 13:41:00 -07:00
Michael Wu
266574a85c Bug 1081926 - Fallback on a simple image lookup when the normal lookup fails. r=mattwoodrow 2014-10-29 16:17:00 +01:00
Daniel Stenberg
51e74a5937 Bug 1079385 - Send NS_NETWORK_LINK_DATA_CHANGED event on Mac OS X. r=joshmoz 2014-10-28 04:53:00 +01:00
Kershaw Chang
db93767a56 Bug 1020172 - Patch 4: Replace ManagedPBrowserParent in AppProcessChecker - v2. r=khuey 2014-10-24 02:30:00 +02:00
Kershaw Chang
449a1a58f2 Bug 1020172 - Patch 3: Use TabId to replace uint64_t of PBrowserOrId - v2. r=khuey 2014-10-24 02:29:00 +02:00
Kershaw Chang
4009e7ff79 Bug 1020172 - Patch 2: Manage TabParent in chrome process - v14. r=khuey 2014-10-29 19:11:00 +01:00
Kershaw Chang
e94eff7080 Bug 1020172 - Patch 1: Replace process id with ContentParentId type - v3. r=khuey 2014-10-24 02:28:00 +02:00
Anuj Agarwal
07c35eaef1 Bug 792989 - Updated Dashboard.cpp to use ErrorNames. r=nfroyd 2014-10-22 08:55:00 +02:00
Anuj Agarwal
78f9e5301b Bug 792989 - Added ErrorNames.h and ErrorNames.cpp. r=nfroyd 2014-10-20 13:09:00 +02:00
mycoolclub
b3261506a5 Bug 451771 - disabling input greys background. r=jimm 2014-10-28 03:36:00 +01:00
Jonathan Watt
591742b5ce Bug 1090494, part 4 - Add AppendRectToPath() and MakePathForRect() helpers to Moz2D's PathHelpers.h. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Jonathan Watt
f47a832163 Bug 1090494, part 3 - Remove the old unused variants of AppendRoundedRectToPath and MakePathForRoundedRect. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Jonathan Watt
6b502f624e Bug 1090494, part 2 - Convert the consumers of AppendRoundedRectToPath and MakePathForRoundedRect to use the new RectCornerRadii API. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Jonathan Watt
ecfd6db484 Bug 1090494, part 1 - Add a RectCornerRadii struct to Moz2D's PathHelpers.h and add variants of AppendRoundedRectToPath and MakePathForRoundedRect that use it. r=mattwoodrow 2014-10-30 09:34:09 +00:00
Carsten "Tomcat" Book
0cde139d10 Bug 1091471 - update Clobber for Bug 1091118 Android Build problems 2014-10-30 10:23:32 +01:00
Bobby Holley
053e9ca254 Bug 1090983 - Invoke UpdateReadyState() after invoking SetState(). r=cpearce
Otherwise, UpdateReadyState() will think that nothing has changed.
2014-10-30 09:16:02 +01:00
Carsten "Tomcat" Book
6edbf7f7c7 Backed out changeset 1aa71eb718f7 (bug 1090627) for b2g Reftest - 8 test failures 2014-10-30 08:43:28 +01:00
Mike Hommey
baf9350f38 Fixup for bug 1077148: SmokeDMD needs mozglue linkage. r=me 2014-10-30 16:33:30 +09:00
Mike Hommey
da59e89c30 Bug 1091118 part 2 - Do not use the top-level cache file for freetype2 subconfigure. r=gps
We modify the environment before running freetype2 configure. When it uses
the same cache file, it stores knowledge about that environment in the cache
file. The cache file is then reused to configure in js/src, with yet again a
different environment, which makes subconfigure.py clear the cache because
of the differences.

The configure in js/src is however invoked with the same environment as the
main configure was invoked with (mostly), so without freetype2 on the way,
reusing the cache for it works as expected. In fact, it works better with the
cache because of things coming from mozconfig that are not exported.

With freetype2 on the way, as mentioned above, the cache is cleared. Without
the cache, js/src/configure does new detections with a possibly different
environment, and stores that in the cache. Until the next build, which then
uses that different cache for the top-level configure.

This results in subtle differences in the HOST_CC/HOST_CXX variables on
android builds because those variables are not exported from mozconfig,
depending on PATH, what the builder was building before, and if the build
is a clobber.

Avoiding the freetype2 subconfigure writing its environment variables change
to the top-level cache makes the cache never invalidate for js/src.
2014-10-30 14:35:01 +09:00
Mike Hommey
90964173af Bug 1091118 part 1 - Remove $topsrcdir/gcc/bin from PATH on android builds. r=gps
$topsrcdir/gcc/bin was mistakenly added in bug 971841, but is not provided by
anything the tooltool manifest for android builds pulls. It however is a path
that /may/ exist in the source tree when the slave ran a linux build before.
When it does exist, the meaning of non-path-prefixed commands change,
influencing what particular compiler is used in some cases.
2014-10-30 14:34:54 +09:00
Bill McCloskey
04d69e6857 Bug 1090627 - Disable some failing reftests for e10s (r=mattwoodrow) 2014-10-29 15:18:12 -07:00
Mike Hommey
d174842059 Add missing recurse.mk change from bug 1077148 part 1 after a bad merge. r=gps
--HG--
extra : amend_source : a6c285a79d2ca0b76a6896ae4478564de009c8b6
2014-10-30 13:51:01 +09:00
Mike Hommey
47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey
0cd72b4901 Bug 1077148 part 3 - Do not link PrimitiveTest, SimpleTypeLib, TestAUSHelper, TestAUSReadStrings and screentopng against mozglue on Linux. r=gps
There is no reason these should be linked to mozglue on Linux only. This
makes the intent clearer for the related changes in part 4.
2014-10-30 13:06:04 +09:00
Mike Hommey
7646c7f0cc Bug 1077148 part 2 - Remove hack to avoid sqlite being linked against mozglue on mac. r=gps
This hack has actually not been actively used since sqlite, nss and nspr are
all folded together, because no shared library is actually linked in
db/sqlite3/src.
2014-10-30 13:05:56 +09:00
Mike Hommey
44b304224a Bug 1077148 part 1 - Define mozcrt in moz.build. r=gps
--HG--
rename : mozglue/build/Makefile.in => mozglue/crt/Makefile.in
rename : mozglue/build/fixcrt.py => mozglue/crt/fixcrt.py
2014-10-30 13:05:50 +09:00
Nicholas Nethercote
e9387c4b71 Bug 1048044 - Use exponential growth when growing an nsTArray. r=froydnj.
--HG--
extra : rebase_source : 7587eb25686f5273b9b77a8b38c6cc40ce5fc25b
2014-10-29 20:34:33 -07:00
Steven Michaud
0e5350ab35 Bug 997908 - crash in ReleaseSliceNow(unsigned int, void*) accessing memory at 0x5a5a5a5a5a5a5a5a, test patch. r=nfroyd 2014-10-29 21:50:29 -05:00
Shu-yu Guo
0758ec4767 Bug 1090764 - Fix typo in AbstractFramePtr::numFormalArgs. (r=efaust) 2014-10-29 19:41:43 -07:00
Shu-yu Guo
3911713b43 Bug 1089761 - Fix initializing lexicals to throw on touch on CallObject. (r=jandem,Waldo) 2014-10-29 19:41:42 -07:00
Chris Pearce
6440005c47 Bug 1071482 - Add more logging to help debug rare intermittent failures. r=edwin 2014-10-30 15:05:49 +13:00
Chris Pearce
4276cea1b0 Bug 1071482 - Break a cycle in TrackBuffer and SourceBufferDecoder's MediaTaskQueue's SharedThreadPool. r=cajbir 2014-10-28 13:21:13 +13:00
Chris Pearce
1699179c49 Bug 1071482 - Make content encrypted via EME inaccessible from JS APIs. r=roc 2014-10-28 13:21:12 +13:00
Chris Pearce
d54268fb34 Bug 1071482 - Rename test_encryptedMediaExtensions to test_eme_playback to make it easier to run all eme tests with a wildcard. r=edwin
--HG--
rename : dom/media/test/test_encryptedMediaExtensions.html => dom/media/test/test_eme_playback.html
2014-10-28 13:21:12 +13:00
Chris Pearce
69e4f7b88d Bug 1071482 - Factor out EME load/setup code, so it can be reused in other tests more easily. r=edwin 2014-10-28 13:21:11 +13:00
Andrew Sutherland
9a4520d5ff Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm
Most of the TCPSocket and TCPServerSocket coverage was implemented exclusively
in Chrome-privileged xpcshell tests.  This failed to provide coverage for the
key use case of content-privileged code using TCPSocket.

This cleans up the test implementation and migrates them to mochitests.
Coverage is improved as evidenced by two tested TCPServerSocket issues that were
addressed in this patch:
- ArrayBuffers weren't being created in the content page's context, so
  exceptions would be thrown when accessed.
- 'drain' notifications were not being hooked up.

The following fix that lacks coverage that notices the fix was implemented:
- TCPServerSocket now properly propagates the appId for network usage tracking.
2014-10-29 22:03:54 -04:00
Ralph Giles
a3f2bc8e6f Bug 1091304 - Fix code style. k=kinetik
We like braces around conditional bodies, and in fact this tripped
me up editing the code.
2014-10-29 17:10:00 -07:00
Ralph Giles
a7b213d981 Bug 1091304 - Improve fmp4 logging. r=kinetik
The %#x format specifier for hex values doesn't work with our
logging macros, and MacOS error codes are generally listed
in decimal anyway.

Also log the reason for a Drain() call to assist debugging.
2014-10-29 17:09:00 -07:00
Jeff Gilbert
83be6816e7 Bug 1088345 - Misc cleanup. - r=kamidphish 2014-10-27 18:58:03 -07:00
Jeff Gilbert
0802e22d9f Bug 1088345 - (ANGLE) Don't treat STENCIL_INDEX8 as INT for MSAA reasons. - r=kamidphish 2014-10-27 13:06:14 -07:00
Jeff Gilbert
a03b45d876 Bug 1088345 - Handle AA better. - r=kamidphish 2014-10-25 18:32:46 -07:00
Jeff Gilbert
c35176c036 Bug 1088345 - Remove now-passing tests from expected failures. - r=kamidphish 2014-10-25 18:32:24 -07:00
Jeff Gilbert
8cffb89c2b Bug 1088345 - Handle possibly-invalid enums for queries. - r=kamidphish 2014-10-23 18:55:49 -07:00
Jeff Gilbert
5efb5489a4 Bug 1088345 - Don't run GL commands that may cause non-OOM errors. - r=kamidphish 2014-10-23 15:10:57 -07:00