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

30179 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky c33d0bc4e2 Bug 1088228 part 6. Simplify the DOM GetParentObject setup, now that we no longer rely on it for scope chains. r=peterv 2014-10-30 17:43:42 -04:00
Boris Zbarsky 39bf0debd0 Bug 1088228 part 5. Use the new CloneFunctionObject in XBL. r=peterv 2014-10-30 17:40:17 -04:00
Boris Zbarsky d29ace60f6 Bug 1088228 part 3. Use the new nsJSUtils API for event handlers. r=peterv 2014-10-30 17:40:13 -04:00
Boris Zbarsky 677958f38c Bug 1088228 part 2. Create an nsJSUtils API for building the scope chain for a given Element. r=peterv 2014-10-30 17:40:09 -04:00
Boris Zbarsky a8f73d5f5b Bug 1088228 part 1. Introduce an nsINode API for getting the scope chain parent for a given node. r=peterv 2014-10-30 17:38:48 -04:00
Brian Marshall 913151dffd Bug 82711 - Fix error with some compilers from previous patch. r=bzbarsky 2014-10-30 06:09:22 -07:00
Andrew McCreight c1d2784a73 Bug 1080096 - Clear UDPSocketChildBase::mSocket in ReleaseIPDLReference(). r=schien
This breaks a possible cycle between UDPSocketChild and UDPSocket.

The nulling out must be done before the Release, because the Release may destroy |this|.
2014-10-30 14:12:09 -07:00
Ryan VanderMeulen 618a8fabc6 Merge m-c to inbound. a=merge
--HG--
rename : dom/tv/test/file_app.sjs => dom/tv/test/mochitest/file_app.sjs
rename : dom/tv/test/file_app.template.webapp => dom/tv/test/mochitest/file_app.template.webapp
rename : dom/tv/test/file_tv_non_permitted_app.html => dom/tv/test/mochitest/file_tv_non_permitted_app.html
rename : dom/tv/test/mochitest.ini => dom/tv/test/mochitest/mochitest.ini
rename : dom/tv/test/test_tv_non_permitted_app.html => dom/tv/test/mochitest/test_tv_non_permitted_app.html
extra : rebase_source : 43e1262bc9912ae6b97ec9302a1bc149e51c8e1e
2014-10-30 16:19:07 -04:00
Kyle Huey bad15624f2 Bug 1072773: Add a preference for enabling SQLite's synchronous=FULL mode in IndexedDB. r=bent 2014-10-30 13:18:33 -07:00
Ryan VanderMeulen 9a87c4aa6f Merge inbound to m-c. a=merge 2014-10-30 16:03:53 -04:00
Ryan VanderMeulen aa8a043e5d Backed out changeset 299bc1ce71c0 (bug 1089472) for making the webapps tests permafail. 2014-10-30 14:28:11 -04:00
Ryan VanderMeulen d59c32b5f8 Backed out changesets 5e406b1536f9, 27e644701c98, and 762aff2c9dbf (bug 1083989) for mochitest-e10s failures.
CLOSED TREE
2014-10-30 12:46:08 -04:00
Alexandre Lissy 6488c90bfb 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 07:42:00 -04:00
Christoph Kerschbaumer 6c4a924701 Bug 1084652 - CSP: Violated directive must not be empty when sending csp reports - test updates (r=sstamm) 2014-10-29 14:47:26 -07:00
James Willcox 91aaa3e40b Bug 1089159 - Correctly use MediaCodec's audio output format r=cpearce
--HG--
extra : rebase_source : 2b3b3a43e54cdcdac87e303a2705e8be7c60d3dd
2014-10-29 18:40:06 -05:00
Andrea Marchesini c3ded97a6c Bug 1091016 - Remove network.websocket.enabled and introduce a pref just for websocket in workers, r=smaug 2014-10-30 15:22:31 +00:00
Jean-Yves Avenard d010e3f711 Bug 1090900 - Issue SimpleTest.finish() even if test failed. r=padenot 2014-10-30 12:15:58 +11:00
Szu-Yu Chen [:aknow] f744293b53 Bug 1090776 - Prevent DataCloneError. r=hsinyi 2014-10-29 03:09:00 -04:00
Vaibhav Agrawal 3dd2076b3b Bug 1089030 - Invalid mochitest skipped in dom/contacts/tests/mochitest.ini. r=jmaher 2014-10-29 22:00:00 -04:00
Junior Hsu 145d9cfd14 Bug 1089472 - Remove boardcast UpdateState as onDownloadPackage. r=fabrice 2014-10-27 19:06:00 -04:00
Bevis Tseng 3a2474f5c8 Bug 1088573 - Part 2: Enhance test coverage. r=echen 2014-10-29 17:53:55 +08:00
Bevis Tseng 431212b266 Bug 1088573 - Part 1: Ensure that the |length| argument to GsmPduHelper.readSeptetsToString() is an integer. r=echen 2014-10-29 16:45:43 +08:00
David Rajchenbach-Teller 203b0b3926 Bug 1083989 - Adapt Browser Chrome mochitests that expect Promise.jsm in the scope. r=yoric 2014-10-27 22:45:18 +01:00
Sean Lin 2646ca78ed Bug 1088310 - [Stingray] Add more tests to TV Manager API. r=ehsan
--HG--
rename : dom/tv/test/file_app.sjs => dom/tv/test/mochitest/file_app.sjs
rename : dom/tv/test/file_app.template.webapp => dom/tv/test/mochitest/file_app.template.webapp
rename : dom/tv/test/file_tv_non_permitted_app.html => dom/tv/test/mochitest/file_tv_non_permitted_app.html
rename : dom/tv/test/mochitest.ini => dom/tv/test/mochitest/mochitest.ini
rename : dom/tv/test/test_tv_non_permitted_app.html => dom/tv/test/mochitest/test_tv_non_permitted_app.html
2014-10-22 23:15:24 +08:00
Christoph Kerschbaumer 69c08471f7 Bug 1084652 - CSP: Violated directive must not be empty when sending csp reports (r=sstamm) 2014-10-17 16:33:02 -07:00
Jim Mathies dde25d3a98 Bug 1091621 - Bump the pluginchanged epoch value at startup to insure content processes get a complete list of plugins. r=billm 2014-10-30 13:52:30 -05:00
Jason Orendorff 9c6679d172 Bug 1090325 - Fix unconditional Symbol usage in a test, introduced by rev bff9837442af. r=Waldo.
--HG--
extra : rebase_source : 6301cee87494e1d64ed42a32247e62a2f984a3f0
2014-10-28 10:50:16 -05:00
Ben Kelly 600ab9bfb9 Bug 1091091: Support ErrorResult in Promise::MaybeReject(). r=bz 2014-10-30 11:12:09 -04:00
Jessica Jong b67b853197 Bug 1052836 - Part 3: Use enums for preferred network type in nsIMobileConnectionService.idl (gonk). r=echen 2014-10-30 02:57:00 -04:00
Jessica Jong b984a643b0 Bug 1052836 - Part 2: Use enums for preferred network type in nsIMobileConnectionService.idl (dom/ipc). r=echen 2014-10-30 02:56:00 -04:00
Jessica Jong a13773a1b4 Bug 1052836 - Part 1: Use enums for preferred network type in nsIMobileConnectionService.idl (idl). r=hsinyi 2014-10-30 02:56:00 -04:00
Edgar Chen e84a16dea7 Bug 1085307 - [Icc] Deprecate IccCardLockError.lockType. r=smaug,hsinyi 2014-10-24 16:04:04 +08: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
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
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
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 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 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
Jeff Gilbert d41ee052e4 Bug 1088345 - Improve glGetError handling. - r=kamidphish 2014-10-24 16:52:35 -07:00
Randell Jesup 3002bdad01 Bug 1085356: Fix Mac audio output changes on older/different macs r=padenot
Remove any buffered audio from before an output switch is signaled, as well
as handling gaps in callbacks after a switch.
2014-10-29 10:47:28 -04:00
Wes Kocher bdbe376b8e Backed out changeset 3629ea724086 (bug 1089159) for android 2.3 build failures 2014-10-29 15:14:19 -07:00
Boris Zbarsky 91f20e5cc5 Bug 1087378. Stop using WindowProxy for arguments in Web IDL; Window expresses what's going on more clearly. r=peterv 2014-10-29 15:06:20 -04:00
Ryan VanderMeulen a4bc246b14 Merge m-c to inbound. a=merge 2014-10-29 16:51:39 -04:00