Commit Graph

38198 Commits

Author SHA1 Message Date
Wes Kocher
3947493d19 Backed out changeset ee8d28602bc2 (bug 1191647) for build bustage CLOSED TREE 2015-08-19 15:55:05 -07:00
Wes Kocher
33bb841610 Backed out changeset f00b7bf7b9f8 (bug 1196371) for build bustage CLOSED TREE 2015-08-19 15:49:30 -07:00
Hiroyuki Ikezoe
fefea25bb1 Bug 1191178 - Part 2: Add PerformanceRenderTiming and PerformanceCompositeTiming. r=smaug 2015-08-19 15:14:05 -07:00
Hiroyuki Ikezoe
781d54ee60 Bug 1191178 - Part 1: Add a function to check frame timing preference value. r=smaug 2015-08-19 15:11:15 -07:00
Hiroyuki Ikezoe
32154eb6df Bug 1191178 - Part 0.1: GetSriLog() is needed to avoid unified build failure. r=francois 2015-08-19 15:10:52 -07:00
Hiroyuki Ikezoe
aff2b88eb5 Bug 1191178 - Part 0: Fix unified build in dom/base. Add missing headers and sorting them. r=smaug 2015-08-19 15:10:28 -07:00
dimi
9a558e8e77 Bug 1191647 - Listen to clear-origin-data in ServiceWorkerManager.cpp. r=bkelly 2015-08-19 14:46:53 +08:00
Nick Robson
3d61d63c3e Bug 904479 - Added createPromiseWithId() that returns id of resolver r=kanru,nsm 2015-08-19 14:53:22 -07:00
Bill McCloskey
f039e12372 Bug 1163735 - Ensure that we don't hand out a destroyed TabChild from WorkerPrivate::InterfaceRequestor (r=khuey)
If the actor we hand out has been __delete__d, then we'll crash when
Necko tries to send the actor to the parent to open connections.
2015-08-19 09:40:55 -07:00
Bill McCloskey
4648e61923 Bug 1190903 - Don't send StopIMEStateManagement message after TabParent has been destroyed (r=masayuki) 2015-08-19 09:40:31 -07:00
Andrea Marchesini
575b4e8082 Bug 1194978 - Renable RequestSync tests in b2g, r=nsm 2015-08-19 16:17:16 +01:00
Ehsan Akhgari
cb5d03e6e5 Bug 1196062 - Fix the typo in the entry for onmozinterruptend in the atom table; r=baku 2015-08-19 11:11:46 -04:00
Andrea Marchesini
aa4f07ae00 Bug 1181595 - MessagePortChild should check if the MessagePort is still alive before dispatching messages, r=smaug 2015-08-19 15:30:21 +01:00
Benjamin Chen
0dcd0f0e04 Bug 1071375: Re-enable some MediaRecorder tests. r=jwwang 2015-08-17 17:31:14 +08:00
Alastor Wu
390a307937 Bug 1191207 - cancel chrome checking 2015-08-06 14:54:01 +08:00
Ryan VanderMeulen
4f782249d9 Merge b2g-inbound to m-c. a=merge 2015-08-19 07:24:55 -04:00
Jean-Yves Avenard
8ad828bf9a Bug 1180214: P3. Do not override known duration with approximated one. r=edwin
Some gstreamer plugin return nonsensical values
2015-08-19 15:51:01 +10:00
William Chen
46ddc69e7f Bug 1131470 - Part 6: ScreenOrientation tests. r=baku 2015-08-18 15:28:01 -07:00
William Chen
8853fd74b9 Bug 1131470 - Part 5: Handle changes to active orientation lock. r=smaug 2015-08-18 15:28:01 -07:00
William Chen
c4be90067f Bug 1131470 - Part 4: Check sandboxing flag for orientation lock. r=baku 2015-08-18 15:28:01 -07:00
William Chen
4c783cde73 Bug 1131470 - Part 3: Implement ScreenOrientation interface. r=baku 2015-08-18 14:55:21 -07:00
William Chen
cb7d38cf1d Bug 1131470 - Part 1: Rename existing use of ScreenOrientation to ScreenOrientationInternal. r=baku 2015-08-18 14:55:09 -07:00
Matt Woodrow
14403876cf Bug 1195527 - Part 2: Add D3D11 video TextureClient recycler. r=jrmuizel 2015-08-18 21:04:46 -04:00
Matt Woodrow
5eeaa93ed8 Bug 1195527 - Part 1: Move D3D11 texture allocation into the TextureClient. r=jrmuizel 2015-08-18 21:04:14 -04:00
Michael Layzell
1cafd47819 Bug 1165217 - Use nsIPrincipal instead of nsIURI/appId/inBrowser for nsIQuotaManager, r=janv 2015-08-18 20:24:30 -04:00
Ben Tian
005e283bc7 Bug 1195608 - [cleanup] Fix too long lines and revise some comments under dom/bluetooth, r=joliu 2015-08-18 11:29:45 +08:00
Ben Tian
a9f4a1073f Bug 1195604 - [cleanup] Integrate similar BluetoothResultHandlers into basic one, r=tzimmermann 2015-08-18 15:53:41 +08:00
Ben Tian
1c5283cf24 Bug 1055434 - Do not inform gaia of current blob's sending failure before assigning it, r=shuang 2015-08-18 17:31:41 +08:00
Ryan VanderMeulen
ab4f3dab1d Merge m-c to inbound. a=merge
CLOSED TREE
2015-08-18 13:11:47 -04:00
Ryan VanderMeulen
7a64b3eade Backed out changeset ee800c0e234f (bug 1187092) for media crashes/asserts. 2015-08-18 13:11:05 -04:00
Nikhil Marathe
64754ff30e Bug 1162333 - Fix windows bustage. a=bustage CLOSED TREE 2015-08-18 10:00:35 -07:00
Ryan VanderMeulen
fb5ffd5daf No bug - Use the correct requestLongerTimeout syntax. a=bustage 2015-08-18 12:53:55 -04:00
Ryan VanderMeulen
cd959e19f8 Merge b2g-inbound to m-c. a=merge 2015-08-18 10:41:52 -04:00
Ryan VanderMeulen
1fede6571d No bug - Request a longer timeout for test_CrossSiteXHR_origin.html due to teetering on the edge of timing out on B2G debug. 2015-08-18 10:39:17 -04:00
Ryan VanderMeulen
0370f8dc4c Backed out changesets df6e7f025c65, 3e5d45dcd5c6, and e00a383520f6 (bug 952456) for B2G test_browserElement_inproc_CopyPaste.html failures.
CLOSED TREE
2015-08-18 07:54:19 -04:00
Andrew Osmond
8af41a352f Bug 1186273 - Part 2. Improve reuse of and releasing of device storage objects where appropriate. r=dhylands 2015-08-18 07:42:14 -04:00
Andrew Osmond
124352f3cf Bug 1186273 - Part 1. Move preferences and observers into dedicated threadsafe module. r=dhylands 2015-08-18 07:42:12 -04:00
Sebastian Hengst
77867db976 Backed out changesets d0eee19c83cd, 0c54ee53678f, 5b202008a431, 81291b4e6dc3, acbc0d7e21cd, a7ceb6162a63 (bug 1194112) for Linux x64 Hazard failure. r=backout
Backed out changeset d0eee19c83cd (bug 1194112)
Backed out changeset 0c54ee53678f (bug 1194112)
Backed out changeset 5b202008a431 (bug 1194112)
Backed out changeset 81291b4e6dc3 (bug 1194112)
Backed out changeset acbc0d7e21cd (bug 1194112)
Backed out changeset a7ceb6162a63 (bug 1194112)
2015-08-18 11:11:38 +02:00
Sebastian Hengst
a240503938 Backed out changesets 7610baf4a3ae, 6226b99f19bd, 157e41e32906, 60a3b1862f71 (bug 1195158). r=backout
Backed out changeset 7610baf4a3ae (bug 1195158)
Backed out changeset 6226b99f19bd (bug 1195158)
Backed out changeset 157e41e32906 (bug 1195158)
Backed out changeset 60a3b1862f71 (bug 1195158)
2015-08-18 10:52:09 +02:00
JW Wang
3709f4768a Bug 1195158. Part 4 - remove unused code. r=cpearce. 2015-08-18 11:12:39 +08:00
JW Wang
539b3a0c31 Bug 1195158. Part 3 - connect listeners. r=cpearce.
a. MediaMetadataManager is connected to MediaDecoderReader::mTimedMetadataEvent to receive TimedMetadata events.
b. OggReader publish TimedMetadata events through MediaDecoderReader::mTimedMetadataEvent.
c. MDSM calls MediaMetadataManager::DispatchMetadataIfNeeded to publish metadata if playback positoin reaches the publish time.
d. MediaDecoder is connected to MediaMetadataManager::mTimedMetadataEvent to receive TimedMetadata events.
e. MediaDecoder updates its metadata when TimedMetadata events are received.
2015-08-18 11:12:39 +08:00
JW Wang
9ea6b2d493 Bug 1195158. Part 2 - Have OggReader send TimedMetadata events through a event source instead of direct calls to AbstractMediaDecoder::QueueMetadata. r=cpearce. 2015-08-18 11:12:39 +08:00
JW Wang
01ec86dbeb Bug 1195158. Part 1 - Have MediaMetadataManager listen to an event source to receive TimedMetadata events. OggReader will send TimedMetadata events through an event source. This will break OggReader's dependency on AbstractMediaDecoder::QueueMetadata which then can be removed for it is against our goal to run all MediaDecoder's methods on the main thread. r=cpearce. 2015-08-18 11:12:38 +08:00
Brian Birtles
735ff9144b Bug 1188251 part 11 - Add RestyleType::Layer; r=dholbert
We currently have a series of methods that clobber various bits of animation
state to force animations on layers to be updated. This aligns closely with
the restyle code introduced in this patch series.

By re-using RequestRestyle when updating animations on layers, not only should
we be able to simplify the code somewhat but, in future, we should also be able
to have Animation objects use the same mechanism to update layers during
a regular tick.

For example, currently we have a bug where when an animation starts after
a delay with the same value as the backwards fill then we don't send the
animation to the compositor right away (see
https://dxr.mozilla.org/mozilla-central/rev/d6ea652c579992daa9041cc9718bb7c6abefbc91/layout/style/test/test_animations_omta.html#287).
By adding this Restyle::Layer value we should be able to fix that in future.
2015-08-18 16:11:55 +09:00
Brian Birtles
0959beed1d Bug 1188251 part 9 - Request restyles from Animation::Tick; r=dholbert
In preparation for ultimately being able to run animations without a manager,
this patch moves the request restyle code from FlushAnimations to
Animation::Tick. (Ultimately most of this functionality should move to the
KeyframeEffect but for now Animation is fine.)
2015-08-18 16:11:55 +09:00
JW Wang
867bd0fcfb Bug 1194112. Part 6 - add a test case to test the exclusive mode. r=kinetik. 2015-08-18 11:12:18 +08:00
JW Wang
5fe377ae91 Bug 1194112. Part 5 - remove dead code. r=kinetik. 2015-08-18 11:12:06 +08:00
JW Wang
206283ec0d Bug 1194112. Part 4 - reimplement Listener/ListenerImpl to support Move. r=kinetik. 2015-08-18 11:11:53 +08:00
JW Wang
997a17f75e Bug 1194112. Part 3 - use perfect forwarding in MediaEventProducer::Notify() so MediaEventSource can decide whether to copy or move according to its ListenerMode. r=kinetik. 2015-08-18 11:11:42 +08:00
JW Wang
fd506c0b56 Bug 1194112. Part 2 - small code refactoring to reduce typing. r=kinetik. 2015-08-18 11:11:29 +08:00
JW Wang
a53fc1f7e3 Bug 1194112. Part 1 - extract event dispatch code from ListenerImpl to its own class. r=kinetik. 2015-08-18 11:11:16 +08:00
Jessica Jong
008a8c5a4f Bug 1185406 - B2G RIL: Read 'pcscf' and expose it in nsIRilNetworkInfo. r=hsinyi 2015-08-18 09:54:36 +08:00
Wes Kocher
d56847e545 Merge m-c to b2ginbound, a=merge 2015-08-17 17:15:50 -07:00
Wes Kocher
f5f46725f0 Merge b2ginbound to central, a=merge 2015-08-17 17:05:25 -07:00
Boris Chiou
f38cb18883 Bug 952456 - Part 3: Enable test_copyimage.html on gonk/cocoa r=fabrice
Enable dom/base/test/test_copyimage.html on b2g emulators and macos
2015-08-17 15:49:30 -07:00
Boris Chiou
34b18580e3 Bug 952456 - Part 2: Support copy image in BrowserElement. r=kchen
Add a new context menu option, copy image.
2015-08-17 15:49:20 -07:00
Roger Yang
ace6b897cb Bug 1008483 - removes the RW lock in CameraControlImpl and replaces it with a standard mutex. r=aosmond 2015-08-17 15:48:07 -07:00
Andrew Osmond
bfb5af0595 Bug 1187364 - Part 2. Ensure that recording is resumed with a key frame. r=mchiang 2015-08-17 15:20:35 -04:00
Andrew Osmond
b71e1c2307 Bug 1187364 - Part 1. Add ability for camera to pause/resume recording. r=dhylands,bz 2015-08-17 15:20:28 -04:00
Benjamin Smedberg
1851cc4c35 Bug 1098064 part C - remove SimpleTest and reftest testPluginIsOOP and related usage, r=jimm 2015-08-14 14:10:17 -04:00
Benjamin Smedberg
49c79bd187 Bug 1098064 part B - remove nsIPluginHost.isPluginOOP, r=jimm 2015-08-14 13:28:33 -04:00
Benjamin Smedberg
ae7daf4627 Bug 1090864 part A - remove nsNPAPIPlugin::RunPluginOOP and unused code paths, r=jimm 2015-08-14 13:22:06 -04:00
Bobby Holley
b9e9d253f8 Bug 1195867 - Hoist StateWatching and StateMirroring into XPCOM. r=froydnj 2015-08-18 15:37:06 -07:00
Nikhil Marathe
a83d82fe0c Bug 1193911 - Ensure synthetic Responses gets a valid channel info. r=ehsan
Right now, synthetic Responses did not have a valid channel info. When these
were saved in the Cache, and then restored, the restored Response did have
a ChannelInfo, but that ChannelInfo did not have a valid security info.
Passing this to respondWith() then caused the interception to fail.

This patch modifies Response::Constructor() to initialize its ChannelInfo from
the global. ChannelInfo can now initialize itself from a nsIDocument. All
workers now store their ChannelInfo on the WorkerLoadInfo.
2015-08-17 15:08:58 -07:00
Ryan VanderMeulen
e32420bdb9 Merge inbound to m-c. a=merge 2015-08-17 09:06:59 -04:00
Ben Tian
90cc7b8cec Bug 1192693 - [03] Remove bluetooth1 code from backend, r=tzimmermann 2015-08-17 15:30:37 +08:00
Ben Tian
cac4eb9266 Bug 1192693 - [02] Remove bluetooth1 folder and rename webidl files, r=joliu, r=mrbkap 2015-08-17 15:30:34 +08:00
Ben Tian
640f3d4bd5 Bug 1192693 - [01] Remove legacy bluetooth manager, adapter, and device webidl files, r=joliu, r=mrbkap 2015-08-17 15:30:16 +08:00
Fabrice Desré
cab9579bb5 Bug 1191619 - Support extensions with no packaged manifest.webapp r=ferjm 2015-08-14 16:55:14 -07:00
Fabrice Desré
206881257c Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Fabrice Desré
c9d85dd2ae Bug 1190995 - backout 0450f02a2b3b for M1 failures 2015-08-14 17:57:34 -07:00
Fabrice Desré
d122c8df05 Bug 1191619 - Backed out changeset 2a5669be7ee3 for M1 failures 2015-08-14 17:54:59 -07:00
Fabrice Desré
17ae034ff0 Bug 1191619 - Support extensions with no packaged manifest.webapp r=ferjm 2015-08-14 16:55:14 -07:00
Fabrice Desré
f3ad899ef4 Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Ryan VanderMeulen
2a09fc2359 Bug 1182358 - Follow-up: Disable permafailing tests on B2G. 2015-08-14 16:03:54 -04:00
Ryan VanderMeulen
eb4673b9d6 Merge m-c to inbound. a=merge 2015-08-14 15:18:21 -04:00
Ryan VanderMeulen
5c04567b90 Merge inbound to m-c. a=merge 2015-08-14 15:16:22 -04:00
Brian Birtles
3801a43ea4 Bug 1188251 part 8 - Remove call to Animation::Tick from CheckAnimationRule; r=dholbert
We want to move the newly-introduced RequestRestyle call from FlushAnimations
to Animation::Tick. However, nsAnimationManager::CheckAnimationRule calls
Animation::Tick so this would cause us to start posting animation restyles
within a restyle.

Typically, Animations have an effect (currently there is only one type of
effect: KeyframeEffectReadOnly) and when there is any change in timing they
pass it down to their effect. However, the Animation is dependent on the
duration of the effect for determining if it is "finished" or not. As a result,
when an effect's timing changes, the owning Animation needs to know.

(The way this *should* work is that effects should tell their animation or
trigger some chain of events that causes animation's to update themselves.
However, the current implementation of effects is fairly primitive and does
not do this or even have a reference to the owning Animation. When we
implement the script API for updating the timing properties of effects we will
have to fix this but for now it is up to code in layout/style to update the
Animation when it touches the corresponding effect's timing.)

nsAnimationManager::CheckAnimationRule currently does this by calling
Animation::Tick() which ensures the Animation's finished state is updated
accordingly.

Ultimately we want to ensure that Animation::Tick is called exactly once per
frame (and at the appropriate point in that frame) so we'd like to remove this
call from CheckAnimationRule.

This patch achieves that by:

* Making Animation::SetEffect update the animation's timing - this is necessary
  for animations that are created by CheckAnimationRule and will be
  necessary when once we make Animation.effect writeable from script anyway.

* Calling Animation::SetEffect even for the case when we are updating the
  existing effect.

Another side-effect of calling Animation::Tick within
nsAnimationManager::CheckAnimationRule is that CSSAnimation::Tick queues
events. There are some tests (e.g. layout/style/test/test_animations.html) that
assume that animationstart events are dispatched immediately when new
animations are created. That will change with bug 1134163 but for now we
should maintain this existing behavior since changing this might introduce
compatibility issues that are best dealt with as a separate bug rather than
blocking this refactoring. To that end, this patch also explicitly queues
animationstart events for newly-created animations.
2015-08-17 13:59:45 +09:00
Karl Tomlinson
c28c2fe077 bug 1191889 skip Close() when not initialized r=roc 2015-08-17 10:07:50 +12:00
Ryan VanderMeulen
5b9ec03772 Backed out changesets 78aa8018df7d and 9b6e1c462c99 (bug 1182358) for Android test_basic.html timeouts followed by other failures. 2015-08-14 11:30:50 -04:00
Ryan VanderMeulen
52de1e274f Backed out changeset c2c0405ddf93 (bug 1180916) for causing various e10s mochitest failures. 2015-08-14 11:27:25 -04:00
Sotaro Ikeda
de0d0e79c5 Bug 1192312 - Use MediaCodecSource for camera recording since gonkL r=aosmond 2015-08-14 07:34:24 -07:00
Jean-Yves Avenard
7d33fa6fc6 Bug 1191813: [mp3] P1. Avoid false positive EOS detection. r=esawin
We do so by using blocking reads via the MediaSourceIndex::ReadAt convenience method.
2015-08-15 00:22:00 +10:00
Robert Longson
ae991f3a9c Bug 1194619 - fix comment r=dholbert 2015-08-14 19:22:22 +01:00
William Chen
161ace8311 Bug 1181130 - Part 3: Keep track of editable descendants per node and prevent NS_STYLE_USER_SELECT_ALL selection for nodes with editable descendants. r=bz 2015-08-14 10:52:38 -07:00
Andrea Marchesini
e95712e3b4 Bug 1182358 - RequestSyncService.jsm should use AlarmService instead nsITimer, r=nsm 2015-08-14 17:47:42 +01:00
Alexandre Lissy
9eb0022ada Bug 1193469 - Make mozSettings more defensive. r=gwagner 2015-08-13 14:43:00 -04:00
Ryan VanderMeulen
c28e45f2bf Backed out changesets 2381f29f63c2 and 9f2469ea7f01 (bug 1193133) for frequent w-p-t crashes/asserts. a=me 2015-08-14 09:00:59 -04:00
Chris Pearce
df1cad43a9 Bug 1194576 - Add more NSPR logging around GMP*Parent actors. r=gerald 2015-08-14 19:18:19 +12:00
Jean-Yves Avenard
768fea2352 Bug 1194197: [MSE] Properly propagate decoding and network errors to media element. r=cpearce
This is not 100% per spec, however neither is our handling of those errors in the media element.
2015-08-14 15:33:50 +10:00
Jean-Yves Avenard
626ed9af14 Bug 1194188: [MSE] Don't allow call to appendBuffer if media element is in error. r=cpearce 2015-08-14 15:33:45 +10:00
Jean-Yves Avenard
05698e5163 Bug 1185827: [MSE] Error when detecting an audio format configuration change. r=gerald 2015-08-14 15:33:41 +10:00
Christoph Kerschbaumer
18543664bb Bug 1193924 - Add assertion to AsyncOpen to make sure asyncOpen2() was called first when securityflags in loadInfo are set (r=sicking) 2015-08-12 21:36:33 -07:00
JW Wang
2488979101 Bug 1193117. Add an exclusive mode to allow at most one listener. r=kinetik. 2015-08-14 13:01:03 +08:00
JW Wang
00d2f51f4f Bug 1192708 - Remove redundant call to CloseChannel. r=roc. 2015-08-14 11:17:29 +08:00
Nils Ohlmeier [:drno]
45c74a8d98 Bug 1193045 - Check selected attribute for all calls. r=bwc 2015-08-11 14:55:51 -07:00
Aryeh Gregor
1d1b2d1359 Bug 874838 - Make CreateElem return Element. r=khuey 2015-08-13 07:50:00 -04:00
Brad Lassey
490eccaa57 bug 1180916 - witching tab generates 4 frames (4 full runs of the RefreshDriver), freeze the refresh driver while switching tabs r=mconley, mrbkap 2015-08-14 09:18:37 -04:00
Andrea Marchesini
f842966cf1 Bug 1182358 - patch 2 - RequestSyncService.jsm should not write debug messages 2015-08-14 14:42:39 +01:00
Nathan Froyd
4988b3ef27 Bug 968923 - fix bogus assert in nsSVGElement.cpp; r=heycam
Landing this on a CLOSED TREE
2015-08-11 00:24:27 -04:00