Commit Graph

36658 Commits

Author SHA1 Message Date
Ryan VanderMeulen
9af632effb Bug 1180000 - Disable more peerConnection Video tests on Linux debug e10s.
CLOSED TREE
2015-07-15 10:01:06 -04:00
Ehsan Akhgari
cc9fac764a Bug 1183925 - Clean up the AudioChannelService shutdown; r=baku
Right now this function is called after the XPCOM component manager is
shut down, so it can never remove any observers.  It's better to do this
work in response to xpcom-shutdown while we still have a component
manager to be able to clean up after ourselves properly.
2015-07-15 08:12:36 -04:00
Olli Pettay
c29e236ad5 Bug 1183907, properly wrappercache worker URL object, r=baku 2015-07-15 14:50:59 +03:00
Andrea Marchesini
419f1d1d37 Bug 1183446 - Audio Channel service should use outer windows, r=ehsan 2015-07-15 11:17:52 +01:00
Alphan Chen
cc7ddc33c2 Bug 1179691 - [Automounter] Fix the problem of get format and share request in the same time. r=dhylands 2015-07-07 16:39:03 +08:00
Carsten "Tomcat" Book
f3cb2827b1 Merge mozilla-central to b2g-inbound 2015-07-14 14:33:48 +02:00
Thomas Zimmermann
b79581ffbb Bug 1180965: Don't disable BT before daemon has been shut down, r=btian
The current shutdown code for Bluetooth contains a race condition
between closing the daemon sockets and re-opening them for the next
instance of the daemon.

This patch fixes the problem by not disabling the Bluetooth adapter
before the sockets have been closed. During the shutdown, no new
instances of the daemon can be started.
2015-07-14 13:28:18 +02:00
Jamin Liu
da5590c589 Bug 1179713 - fix the manifest of bluetooth2 marionette test set. r=btian 2015-07-14 18:37:49 +08:00
Wes Kocher
a2ba31d478 Merge inbound to m-c a=merge 2015-07-13 15:55:25 -07:00
Botond Ballo
62f8959bd9 Bug 1181832 - Include gfxPrefs.h from nsImageLoadingContet.cpp to fix bustage on a CLOSED TREE. r=bustage 2015-07-13 14:25:13 -04:00
Botond Ballo
329ac5fd09 Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats 2015-07-13 11:53:10 -04:00
JW Wang
02ee148f23 Bug 1164265 - larger timeout on slow platforms. r=cpearce. 2015-07-14 11:54:13 +08:00
JW Wang
dfbe2140ae Bug 1182738. Part 2 - remove MediaDecoderStateMachine::mStreamStartTime. 2015-07-11 17:20:32 +08:00
JW Wang
c245666bd7 Bug 1182738. Part 1 - have DecodedStream::GetPosition() return a position including the start time. 2015-07-11 17:20:28 +08:00
JW Wang
3139a49c50 Bug 1182737. Part 3 - make start/stop playback of DecodedStream more consistent with that of AudioSink. 2015-07-11 16:41:39 +08:00
Michael Layzell
aec7e095c8 Bug 1172080 - Part 2: Use ^ instead of ! to delimit originAttributes from the URI in nsIPrincipal.origin, r=bholley 2015-07-14 15:06:42 -04:00
Michael Layzell
f67c6a0009 Bug 1173523 - Part 1: Expose an nsIPrincipal from nsIPermission rather than a host string, appId, and isInBrowserElement, r=ehsan 2015-07-14 15:06:15 -04:00
Robert Bindar
0aa1a50c3f Bug 1114554 - Patch 9 - Fixed crash in b2g-desktop tests. r=nsm 2015-07-13 13:45:17 -07:00
JW Wang
d4aa45790c Bug 1182737. Part 2 - remove unnecessary code. 2015-07-05 08:24:09 +08:00
JW Wang
f575d12067 Bug 1182737. Part 1 - have DecodedStream keep reference to media queues of MDSM so we don't have to pass them everytime. 2015-07-04 09:30:15 +08:00
Ehsan Akhgari
b2d84799cc Bug 1183158 - Part 5: Get rid of RemoveAllEnumerator; r=baku 2015-07-13 22:42:10 -04:00
Ehsan Akhgari
10eb66850f Bug 1183158 - Part 4: Get rid of RemoveEnumerator; r=baku 2015-07-13 22:42:08 -04:00
Ehsan Akhgari
69a8bf5851 Bug 1183158 - Part 3: Get rid of UnregisterEnumerator; r=baku 2015-07-13 22:42:06 -04:00
Ehsan Akhgari
3fea9f7ebe Bug 1183158 - Part 2: Get rid of SoftUpdateEnumerator; r=baku 2015-07-13 22:42:05 -04:00
Ehsan Akhgari
1c9ff44332 Bug 1183158 - Part 1: Get rid of RegistrationEnumerator; r=baku 2015-07-13 22:42:03 -04:00
Ehsan Akhgari
544718bcdd Bug 1183141 - Use nsTHashtable::Iterator in ServiceWorkerManager::ClaimClients; r=catalinb 2015-07-13 22:42:01 -04:00
Ryan VanderMeulen
2f11bd6a1f Backed out changeset 57167b45c9d3 (bug 1183141) for wpt failures.
CLOSED TREE
2015-07-13 21:07:29 -04:00
Ryan VanderMeulen
19f79a0f75 Backed out 5 changesets (bug 1183158) for wpt failures.
Backed out changeset 2dad407995cc (bug 1183158)
Backed out changeset 5c7525b1e21c (bug 1183158)
Backed out changeset 2e6a27e72d83 (bug 1183158)
Backed out changeset db9953b220ae (bug 1183158)
Backed out changeset b0ea3f8b4512 (bug 1183158)
2015-07-13 21:07:01 -04:00
Chris Pearce
724bc8e1f8 Bug 1135013 - Remove unused media-eme-metadataloaded notification. r=gerald 2015-07-14 12:17:10 +12:00
Chris Pearce
7ff21236fa Bug 1182928 - Disable dormant mode for EME videos in Firefox Beta and Release. r=sotaro 2015-07-14 12:17:07 +12:00
Ehsan Akhgari
a61f08bf74 Bug 1183158 - Part 5: Get rid of RemoveAllEnumerator; r=baku 2015-07-13 19:28:51 -04:00
Ehsan Akhgari
cd22a1b4e4 Bug 1183158 - Part 4: Get rid of RemoveEnumerator; r=baku 2015-07-13 19:28:49 -04:00
Ehsan Akhgari
4602f2663c Bug 1183158 - Part 3: Get rid of UnregisterEnumerator; r=baku 2015-07-13 19:28:48 -04:00
Ehsan Akhgari
eff9f3e100 Bug 1183158 - Part 2: Get rid of SoftUpdateEnumerator; r=baku 2015-07-13 19:28:46 -04:00
Ehsan Akhgari
f47d8fadff Bug 1183158 - Part 1: Get rid of RegistrationEnumerator; r=baku 2015-07-13 19:28:44 -04:00
Ehsan Akhgari
4d41f439fc Bug 1183141 - Use nsTHashtable::Iterator in ServiceWorkerManager::ClaimClients; r=catalinb 2015-07-13 19:28:43 -04:00
Daniel Holbert
d74438fd5e Bug 1183359: Adjust crashtest 483584-2.svg to explicitly seek into & out of its animations before it completes. (test-only) 2015-07-13 16:17:30 -07:00
Paul Adenot
dabdd53e8b Bug 1179484 - Pass in the right graph when created the DOMMediaStream. r=roc 2015-07-02 09:30:58 +02:00
Matthew Gregan
4409c364c1 Bug 1175396 - Handle mismatched sample formats. r=jwwang 2015-07-14 09:21:27 -04:00
Ehsan Akhgari
e329f353b5 Bug 1183356 - Part 2: Add assertions enforcing the usage of outer windows for all of the entry points of the API; r=baku
The assertions here serve as a unit test for the previous commit,
because with these, our existing tests would have caught this bug.
2015-07-14 08:53:02 -04:00
Ehsan Akhgari
c23152d0de Bug 1183356 - Part 1: Use the outer window when refreshing media elements; r=baku 2015-07-14 08:53:01 -04:00
Ben Turner
f212e2188f Bug 1179025 - Protect against using cursors on a deleted objectStore/index, r=janv. 2015-07-02 10:47:53 -07:00
Andrew McCreight
d7875d32d5 Bug 1174950 - Nuke wrappers from compartments with expanded principals to non-system windows. r=bholley
This extends the hueyfix to the case where a sandbox with expanded principals is leaked,
for instance by an addon, and ends up entraining a content window. This fix prevents the
leak of the content window, but not the sandbox.
2015-07-13 12:59:00 +02:00
Tom Klein
9386518350 Bug 892372 - update both orient type and angle when the svg marker orient attribute is changed. r=heycam 2015-07-13 08:08:00 +02:00
James Cheng
69be8bfd5f Bug 1037329 - Part 1: Implement SystemUpdate API. r=baku 2015-07-12 22:06:00 -04:00
Jean-Yves Avenard
c174ab0c41 Bug 1182933: Implement MediaReadAt. r=bholley
Ensure SilentReadAt seek back to original position even in case of error.
Properly set the MediaByteBuffer length.
2015-07-13 10:36:48 +10:00
Ehsan Akhgari
0ce5593917 Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-11 13:16:39 -04:00
Carsten "Tomcat" Book
9d4d76c8e5 Backed out changeset 8c0e88129206 (bug 1176158) for bustage 2015-07-11 16:34:31 +02:00
Bobby Holley
8400a45e4a Bug 1180921 - Add the addonId OriginAttribute. r=bholley 2015-07-11 10:32:55 -04:00
Bobby Holley
639c75499a Bug 1180921 - Give Optional<T> Maybe<T>-like operator== semantics. r=bz 2015-07-11 10:32:54 -04:00
Olli Pettay
0e630c5fd5 Bug 1182772, optimize ProcessGlobal out from CC graph (and also TabChild's EventListeners), r=mccr8 2015-07-11 16:45:49 +03:00
Michael Layzell
e01ad73eaf Bug 1181321 - Eliminate duplicate mRefCnt members in PromiseNativeHandler subclasses. r=baku 2015-07-09 08:56:00 +02:00
Benoit Girard
a84b49a870 Bug 1181297 - Add debug descriptor to nsINode. r=smaug 2015-07-08 15:58:07 -04:00
Nikhil Marathe
4215e2e637 Bug 1114554 - Patch 8 - Support waitUntil() on notificationclick event. r=baku
This was originally a part of Bug 1160527, separated due to changes in order of landing the patches.
2015-06-25 18:50:26 -07:00
Nikhil Marathe
c0a2d1d0b6 Bug 1114554 - Patch 7 - Call BindToOwner on all threads. r=wchen 2015-06-25 18:50:25 -07:00
Nikhil Marathe
d99d4d842e Bug 1114554 - Patch 6 - ServiceWorkerRegistration.getNotifications() tests. r=wchen 2015-06-25 18:50:25 -07:00
Nikhil Marathe
2ce316e71c Bug 1114554 - Patch 5 - getNotifications() on worker thread. r=wchen 2015-06-25 18:50:25 -07:00
Nikhil Marathe
c82f6f8cc8 Bug 1114554 - Patch 4 - ServiceWorkerRegistration.getNotifications() on main thread. r=wchen 2015-06-25 18:50:25 -07:00
Nikhil Marathe
40af10ec0b Bug 1114554 - Patch 3 - Fire notificationclick event on ServiceWorkerGlobalScope. r=wchen,baku
Bug 1114554 - Patch 3.1 - ServiceWorker principal fixes. r=baku

Bug 1162088 introduced origin attributes that ServiceWorkerManager callers have to use. This patch updates notificationclick events to work.

Folded:
Hide NotificationEvent behind pref
2015-06-25 18:50:25 -07:00
Nikhil Marathe
d7c89d1814 Bug 1114554 - Patch 2 - ServiceWorkerRegistration.showNotification(). r=wchen,baku
Refactor creation and show dispatch so Notification constructor and showNotification can use it.
Move persistence to ShowInternal.
NotificationStorage calls callback async even when fetching from cache, simply to have similar semantics.
Calls to Notification::Get() are performed async since persistence is now async after being moved to ShowInternal().
Both are in accordance with the spec where the "append to list of notifications" operation is performed in the "show steps" which are performed in parallel from API invocations.
2015-06-25 18:50:24 -07:00
Nikhil Marathe
b043678543 Bug 1114554 - Patch 1 - Notification ServiceWorker API stubs. r=wchen,baku 2015-06-25 18:50:24 -07:00
Olli Pettay
18098a4ab3 Bug 1183450, properly wrappercache URL object, r=baku 2015-07-14 20:55:55 +03:00
Benoit Girard
26c831160b Bug 1176158 - "Remove unused lang atoms (ko-xxx and x-symbol)" r=vladimir 2015-06-19 12:38:00 +02:00
Jean-Yves Avenard
22abcf626b Bug 1178596: Reset frame size queue after flushing. r=cpearce 2015-07-15 16:21:59 +10:00
Jean-Yves Avenard
5a9d02f8c0 Bug 1183573: P2. Make SourceBufferResource destructor virtual. r=gerald 2015-07-15 16:21:59 +10:00
Jean-Yves Avenard
51fee7c5fb Bug 1183573: P1. Properly shutdown demuxers. r=gerald 2015-07-15 16:21:58 +10:00
Jean-Yves Avenard
d560547398 Bug 1183920: Properly delete MediaResource when released on non main thread. r=cpearce
Leak was not detected as it was registered via NS_LOG_RELEASE.
2015-07-15 16:21:58 +10:00
Nicholas Nethercote
85be54e1af Bug 1182973 - Use nsTHashtable::Iterator in dom/bindings/. r=bz.
Changing the return type of Enumerator from PLDHashOperator to void -- possible
because the only such functions always return PL_DHASH_NEXT -- is a double-win
here.

- It lets us remove the dependency on pldhash.h.

- It makes it easier to replace the enumeration with iteration.
2015-07-14 07:49:30 -07:00
Ryan VanderMeulen
ed981c748f Merge m-c to inbound. a=merge 2015-07-14 23:38:02 -04:00
Bobby Holley
589681ea2e Bug 1182347 - Remove nsIPrincipal::cookieJar. r=sicking 2015-07-14 19:56:33 -07:00
Bobby Holley
fbdbb80cdb Bug 1182347 - Migrate existing code away from .cookieJar. r=sicking,r=allstars.chh 2015-07-14 19:56:33 -07:00
Bobby Holley
087490dde5 Bug 1182347 - Implement OriginAttributesPattern. r=sicking,f=allstars.chh 2015-07-14 19:56:32 -07:00
JW Wang
8eb554d9e2 Bug 1183502 - give androidVersion a correct value in manifest.js. r=sotaro. 2015-07-15 09:56:16 +08:00
Nikhil Marathe
2bb1043eaa Bug 1183867 - Fix PushSubscription.unsubscribe() semantics r=mt
resolve with false when subscription does not exist. true when successfully unregistered. reject with NetworkError in other cases.
2015-07-14 15:01:41 -07:00
Nikhil Marathe
ae7b1e8e6a Bug 1183853 - Rename hasPermission() to permissionState(). r=mt,smaug 2015-07-14 14:27:32 -07:00
Nikhil Marathe
9a3c1e0390 Bug 1183825 - Hide PushMessageData methods until we support sending push data. r=mt,smaug 2015-07-14 13:45:01 -07:00
Nikhil Marathe
327f4e3a85 Bug 1183813 - PushEvent.data should be same instance every time. r=smaug 2015-07-14 13:10:58 -07:00
Eric Rahm
c8e90324c3 Bug 1183894 - Remove warning if MessagePort::CloseInternal is called before start. r=khuey 2015-07-14 18:06:32 -07:00
Kit Cambridge
a926d94737 Bug 1153504 - Add per-origin push quotas. r=nsm,mt,markh 2015-06-25 14:52:57 -07:00
Eric Rahm
60e6aac9a5 Bug 1183893 - Remove warning if invalid node type is passed to nsRange::SetEnd. r=smaug 2015-07-14 17:54:58 -07:00
Eric Rahm
1657fb5426 Bug 1183891 - Remove warning if invalid node type is passed to nsRange::SetStart. r=smaug 2015-07-14 17:52:25 -07:00
Jeff Gilbert
56bf6b6bbb Bug 1181428 - Add explicit to constructor. - r=bustage 2015-07-14 17:41:48 -07:00
Catalin Badea
ed1068a522 Bug 1179685 - Fix messageport assert in wpt service worker test. r=baku 2015-07-14 17:41:13 -07:00
Jeff Gilbert
488122b31e Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Jan-Ivar Bruaroey
394e853e86 Bug 1181428 - Defer persisting until gUM succeeds or persistent permission. r=mt 2015-07-10 10:15:19 -04:00
Jan-Ivar Bruaroey
c586ccd5b9 Bug 1181428 - Plumb origin through to success path. r=mt 2015-07-13 21:56:29 -04:00
Jan-Ivar Bruaroey
4e5f8501df Bug 1181428 - Add persist option to OriginKey to skip saving of temporal keys. r=mt 2015-07-13 00:09:02 -04:00
Jan-Ivar Bruaroey
4b260d5923 Bug 1181428 - Move code to reuse test for active gum or persistent permission. r=mt 2015-07-09 23:07:42 -04:00
Eric Rahm
34f33ff944 Bug 1183824 - Remove NS_ENSURE_TRUE(mCallback, NS_ERROR_NOT_INITIALIZED) warning from nsFrameMessageManager::DispatchAsyncMessageInternal. r=smaug 2015-07-14 17:21:49 -07:00
Lee Salzman
85dd383484 Bug 1183363 - Make EnsureWritablePath and EnsureUserSpacePath always imply EnsureTarget. r=Bas 2015-07-14 00:01:29 -04:00
Benoit Girard
63ab5f8f1c Bug 1176158 - "Remove unused lang atoms (ko-xxx and x-symbol)" r=vladimir 2015-06-19 12:38:00 +02:00
Alexandre Poirot
d213f9d869 Bug 814497 - Pass SavedFrame from JS::ErrorObject to nsIScriptError. r=bholley 2015-07-09 07:02:00 -04:00
Alexandre Poirot
653adb0d6f Bug 814497 - Cleanup console service cache when a window is destroyed. r=nfroyd 2015-07-09 06:49:00 -04:00
Andrea Marchesini
36e9bd4b9e Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Ehsan Akhgari
a3c712a745 Bug 1113086 follow-up: Add a forward declaration to fix build bustage 2015-07-10 20:49:32 -04:00
Andrea Marchesini
25e391bd01 Bug 1113086 - AudioChannel policy in Browser API - patch 7 - Support non-app iframe, r=alwu 2015-07-10 17:40:24 +01:00
Andrea Marchesini
0bb1368c4e Bug 1113086 - AudioChannel policy in Browser API - patch 6 - media-playback has to be dispatched async, r=alwu 2015-07-10 17:38:53 +01:00
Andrea Marchesini
c19ee89817 Bug 1113086 - AudioChannel policy in Browser API - patch 5 - nsTObserverArray instead hashtables, r=ehsan, r=alwu 2015-07-10 17:38:51 +01:00
Andrea Marchesini
d5fd94cd58 Bug 1113086 - AudioChannel policy in Browser API - patch 4 - Muted by default, e=alwu 2015-07-10 17:38:49 +01:00
Andrea Marchesini
3a9a500121 Bug 1113086 - AudioChannel policy in Browser API - patch 3 - right management of audiochannel-activity events in child processes, r=ehsan 2015-07-10 17:38:48 +01:00