Commit Graph

30135 Commits

Author SHA1 Message Date
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
Ryan VanderMeulen
6de5c1cb7e Merge inbound to m-c. a=merge 2014-10-29 16:49:04 -04:00
James Willcox
091aa3bcfe Bug 1089159 - Correctly use MediaCodec's audio output format r=cpearce
--HG--
extra : histedit_source : 0f720def526984be46a528090a1b1fe4d15bfc99
2014-10-29 15:46:10 -05:00
Ryan VanderMeulen
a70c03ab03 Merge fx-team to m-c. a=merge 2014-10-29 16:30:13 -04:00
Ryan VanderMeulen
2cb6c8079d Backed out changeset 4b4c7462ec89 (bug 1087378) for bustage.
CLOSED TREE
2014-10-29 16:27:15 -04:00
Eddy Bruël
8eb04071b0 Bug 757133 - Implement a WorkerDebugger;r=khuey 2014-10-29 21:11:33 +01:00
Ryan VanderMeulen
6eb0341ccc Backed out changesets 62a8be146b4b, d9a9008a1e93, e6761281d389, and 913e16c2877b (bug 1071482) for causing various intermittent failures.
--HG--
rename : dom/media/test/test_eme_playback.html => dom/media/test/test_encryptedMediaExtensions.html
2014-10-29 12:31:43 -04:00
Ryan VanderMeulen
8b6411868d Backed out changeset 459d3080fdf8 (bug 1056018) for e10s mochitest-bc failures.
CLOSED TREE
2014-10-29 15:50:48 -04:00
Boris Zbarsky
3ab8b7383a Bug 1088002 part 3. Stop requiring JSPROP_PROPOP_ACCESSORS just to use stub accessors. r=waldo 2014-10-29 15:06:32 -04:00
Boris Zbarsky
6ee4ab8789 Bug 1088002 part 2. Change JS_DefineElement, JS_DefineProperty, JS_DefineUCProperty, JS_DefinePropertyById, and JS_DefineProperties to default to using JSNative accessors, not JSPropertyOp accessors. r=waldo 2014-10-29 15:06:31 -04:00
Boris Zbarsky
0b450f98d6 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
Gabriel Ivanica
5a40b96b5b Bug 1089705 - Replace "assert" with "MOZ_ASSERT" in some media code. r=dholbert 2014-10-29 00:43:18 +02:00
Tim Chien
12977c15e3 Bug 1083617 - Block the blur message if focus is already removed from remote frame. r=yxl 2014-10-28 23:47:00 -04:00
Bill McCloskey
69446aded5 Bug 641685 - Start plugins from the chrome process in e10s (r=bsmedberg)
This patch has a few side effects:
1. Plugins in the chrome process are "mirrored" to all content processes,
although this mirroring is currently imperfect (bug 1090576)
2. Plugins are no longer sorted by modification date in nsPluginHost.
3. Plugin exceptions are no longer propagated to JS code. They are ignored.
2014-10-29 08:05:36 -07:00
Bill McCloskey
a56e2dcc60 Bug 641685 - [e10s] Make setTestPluginEnabledState work in content processes (r=bsmedberg) 2014-10-29 08:04:51 -07:00
Bill McCloskey
6c6c1250f3 Bug 641685 - Make plugin object map a singleton in the plugin process (r=bsmedberg)
This patches moves the object map (which tracks the PluginScriptableObjectChild
and PluginInstanceChild for a given NPObject) from the PluginModuleChild to
a global variable. This change prepares the way for having multiple PluginModuleChild
instances in a given plugin process.
2014-10-29 08:04:51 -07:00
Blake Kaplan
fef622c290 Bug 1056018 - Mark the a few IPC calls as urgent priority to deal with edge cases involving CPOWs. r=billm (with one bugfix written by him and r=me) 2014-10-29 11:41:10 -07:00
Jonathan Watt
662e035b0e Bug 1090916 - Ignore SVG rect radii and calculate the bounds of rounded rects using Math when we have a rectilinear transform. r=longsonr 2014-10-29 17:07:11 +00:00
Andrea Marchesini
d0065c7f83 Bug 1090183 - WebSockets should work in SharedWorkers, r=smaug 2014-10-29 16:54:35 +00:00
Henry Chang
6e0aa000be Bug 1087152 - Ignore the failure cause by ifc_remove_route "0.0.0.0" or "::". r=vchang 2014-10-22 19:55:17 +08:00
Henry Chang
dcedd4ffd8 Bug 1083449 - Use a shared mutex instead of a per-instance mutex to protect ifc commands. r=vchang, r=chucklee 2014-10-29 16:23:52 +08:00
Alexandre Lissy
7413aa0cdc Bug 1082001 - Cleanup settings lock from parent itself. r=bent
From bug 1065128 SettingsManager has been changed to listen the
dom-window-destroyed event for its cleanup. However, when running Gaia
in Mulet, a race condition is exposed. For B2G, when loading a page,
about:blank is first used. This means that window destroyed events will
be triggered. However, from the dom-window-destroyed event we cannot
distinguish whether this is about:blank or a legit application being
closed. SettingsManager gets initialized (i.e., init() called) when the
application makes use of navigator.mozSettings. So the chain of event is
that we have a SettingsManager living because System app did some
request. At this time, about:blank is being unloaded and triggers a
dom-window-destroyed event. This makes SettingsManager doing its
cleanup, especially freeing the window reference. Then in the meantime,
we have the navigator.mozSettings use that is progressing. At some
point, SettingsManager has no more window to send messages to, and Gaia
is not able to even start.

SettingsRequestManager lives on the parent process and SettingsManager
lives on the child side. Part of the cleanup performed by
SettingsManager was to ensure pending locks on the parent process would
be forced to finalize to make sure those are being properly committed.
We move this cleanup to SettingsRequestManager and we augment the lock
informations with the proper inner window id. This way we can track
which lock is attached to which inner window when the lock gets created.
And thus we can listen on inner-window-destroyed from
SettingsRequestManager to be able to force finalize on any pending lock.
Impacted code path are those were we are not running out of process.
When we are running out of process, SettingsRequestManager already
listens on the child-process-shutdown event to perform the lock
finalization.
2014-10-29 02:36:00 -04:00
Carsten "Tomcat" Book
52e815ca8a Merge mozilla-central to mozilla-inbound 2014-10-29 13:38:41 +01:00
Carsten "Tomcat" Book
281b258180 merge b2g-inbound to mozilla-central a=merge 2014-10-29 13:34:27 +01:00
Jan Varga
049c6364b8 Bug 1068787 - Quota usage not decreased when removing unsuccessfully copied files; r=bent 2014-10-28 20:06:54 +01:00
Hsin-Yi Tsai
9210b8f09a Bug 1089534 - [B2G][Telephony] should GetCallFromEverywhere in Telephony::NotifyError. r=aknow 2014-10-27 17:06:40 +08:00
Mike Conley
5368b2ecee Bug 1082579 - Introduce PPrinting.ipdl and proxies for opening printing UI. r=blassey.
--HG--
extra : rebase_source : 69ac7840ef72055911daa0ff482236b57f563aba
2014-10-28 11:59:08 -04:00
JW Wang
efa8d7e342 Bug 1088481 - stop progress timer in MediaDecoder::Shutdown if necessary. r=cpearce 2014-10-27 02:47:00 +01:00
Blake Kaplan
afa69fda4d Bug 1049299 - Correctly calculate 3rd-party cookie status for content-process HTTP channels. r=jduell 2014-10-28 14:23:00 +01:00
Brian Marshall
f9006a4784 Bug 82711 - Support CSS white-space property on textareas. r=bz 2014-10-28 10:33:15 -07:00
Benjamin Chen
3d934ad792 Bug 1090083 - Enable test_mediarecorder_record_no_timeslice.html on B2G platform. r=jwwang 2014-10-28 16:04:20 +08:00
JW Wang
6eda0adeeb Bug 1089484 - Have test_reset_src.html test more files to increase test coverage. r=kinetik 2014-10-27 23:34:00 +01:00
Ryan VanderMeulen
7fc7f1f8a3 Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2014-10-28 16:22:39 -04:00
Ryan VanderMeulen
3a06cd5d96 Bug 453969 - Bustage follow-up. a=bustage 2014-10-28 16:16:54 -04:00
Ryan VanderMeulen
10b87c9f24 Merge inbound to m-c. a=merge 2014-10-28 16:10:05 -04:00
Ryan VanderMeulen
a84ceb9d0b Bug 453969 - Disable test_bug382113.html on OSX and Windows debug due to intermittent failures.
CLOSED TREE
2014-10-28 15:49:43 -04:00