Commit Graph

7742 Commits

Author SHA1 Message Date
Ehsan Akhgari
b91a77bbbe 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
c3cbee8359 Backed out changeset 8c0e88129206 (bug 1176158) for bustage 2015-07-11 16:34:31 +02:00
Olli Pettay
ebd98e9199 Bug 1182772, optimize ProcessGlobal out from CC graph (and also TabChild's EventListeners), r=mccr8 2015-07-11 16:45:49 +03:00
Benoit Girard
cc73db2a7a Bug 1181297 - Add debug descriptor to nsINode. r=smaug 2015-07-08 15:58:07 -04:00
Benoit Girard
3905d3868a Bug 1176158 - "Remove unused lang atoms (ko-xxx and x-symbol)" r=vladimir 2015-06-19 12:38:00 +02:00
Andrea Marchesini
bbfb9c4aa0 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
6a80a5a324 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe 2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book
0e2d2f8aa3 Backed out changeset e11a8496bf63 (bug 1180535) 2015-07-11 14:13:32 +02:00
Nigel Babu
6c7a32fd6c Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Ehsan Akhgari
cec62516a1 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-10 21:33:00 -04:00
John Schoenick
018fa5e2dc Bug 1160819 - ResponsiveImageSelector - improve some over-aggressive assertions 2015-07-05 18:03:00 -07:00
Andrea Marchesini
80b5f477f2 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 21:08:43 -04:00
Xidorn Quan
76a19944b1 Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
2015-07-11 10:55:59 +10:00
Xidorn Quan
523cefc73c Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-11 10:08:59 +10:00
Andrea Marchesini
fbe5ce79eb Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Wes Kocher
9c30d6953d Backed out changeset adf95d1cd0aa (bug 1173934) for fetch-frame-resource.https.html WPT orange and test_synthesized_response.js S4 orange CLOSED TREE 2015-07-10 15:59:01 -07:00
Wes Kocher
6782732de2 Backed out changeset df6593df027b (bug 1173912) 2015-07-10 15:58:24 -07:00
Wes Kocher
9e573d5db3 Backed out changeset d7e0eb7b42f9 (bug 1180535) for test_video_wakelock.html permafails CLOSED TREE 2015-07-10 15:36:39 -07:00
Ben Kelly
918ed053a7 Bug 1173912 Fail opaque responses for client requests. r=ehsan 2015-07-10 14:28:32 -07:00
Ben Kelly
6a200d95d9 Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm 2015-07-10 14:28:32 -07:00
Christoph Kerschbaumer
d80b61af79 Bug 1139297 - Implement CSP upgrade-insecure-requests directive - websocket changes (r=baku) 2015-07-10 09:15:30 -07:00
Christoph Kerschbaumer
9cf312cbbb Bug 1139297 - Implement CSP upgrade-insecure-requests directive - document changes (r=smaug) 2015-07-10 09:14:09 -07:00
Geoff Brown
495b7cbfe1 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Ehsan Akhgari
30dfed2d4f 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-10 15:49:53 -04:00
Wes Kocher
df5909cdbc Backed out changeset 74293125739a (bug 1176341) 2015-07-10 12:48:20 -07:00
Andrew McCreight
2ed211a7a3 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-10 07:41:33 -07:00
Andrea Marchesini
adaeae2a8e Bug 1172055 - Improve size check in nsAttrAndChildArray::GrowBy, r=ehsan 2015-07-10 00:18:30 +01:00
Jim Mathies
a12ea823a0 Bug 1152300 - When focus shifts from a native plugin window to content, content needs to forward the request for focus change to chrome. r=enn 2015-07-09 09:48:57 -05:00
Randell Jesup
37ad9bc8b6 Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Jeff Gilbert
512ca20ea5 Bug 1182369 - Remove js/Class.h include from nsWrapperCache.h. - r=bz 2015-07-09 12:32:04 -07:00
Jeff Gilbert
86aa7a36ee No bug - Strip EOL whitespace from nsIDocument.h 2015-07-09 19:48:59 -07:00
Wes Kocher
cc806c6518 Merge inbound to central, a=merge 2015-07-09 18:01:25 -07:00
Ryan VanderMeulen
ee16103b84 Merge m-c to fx-team. a=merge 2015-07-09 13:53:46 -04:00
Carsten "Tomcat" Book
0a75b97726 merge mozilla-inbound to mozilla-central a=merge 2015-07-09 17:54:48 +02:00
Ryan VanderMeulen
89eb454666 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-09 13:52:22 -04:00
Brian Grinstead
50da040cd5 Bug 1175318 - Import Console.jsm for mochitests;r=ted,r=past 2015-07-08 12:10:29 -07:00
Tim Taubert
b225eb87ef Bug 834830 - Add nsISelectionController.SELECTION_URLSTRIKEOUT to enable striking out parts of the URL in the URL bar r=roc 2015-07-08 15:45:21 +02:00
Boris Zbarsky
7d8173071e Bug 1181619. Make sure we've entered a microtask before we call nsJSUtils::EvaluateString, and put those microtasks outside the relevant AutoEntryScripts so we report any possible exceptions before doing the microtask checkpoint. r=bholley 2015-07-09 02:41:43 -04:00
Andrea Marchesini
00307929f0 Bug 1181528 - nsISimpleEnumerator.h is needed by nsDocument.cpp, r=smaug 2015-07-09 01:36:35 +01:00
Cameron McCormack
46d4c64434 Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron 2015-07-08 15:57:31 +10:00
Carsten "Tomcat" Book
8c7c890ce6 Backed out changeset 42e80a07acd6 (bug 1177563) for bustage on a CLOSED TREE 2015-07-08 09:44:16 +02:00
Cameron McCormack
383dc1b8dc Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron 2015-07-08 15:57:31 +10:00
Bill McCloskey
a4e0f91e99 Bug 1173947 - Make getRandomValues message be urgent (r=mrbkap) 2015-07-07 17:24:42 -07:00
Xidorn Quan
aa83e75ffc Bug 1178668 - Only exit fullscreen on the document of the requesting window. r=smaug 2015-07-08 08:51:09 +10:00
Boris Zbarsky
b685437bbe Bug 1180525. Run callbacks whose window is no longer current as long as its document is the active document in the browsing context. r=bholley
The distinction only matters when document.open() makes a different
window current without changing the active document.
2015-07-07 17:38:07 -04:00
Boris Zbarsky
bdf294419f Bug 1167489 and bug 1153672. Clamp the resolution of performance.now() calls to 5us, because otherwise we allow various timing attacks that depend on high accuracy timers. r=froydnj 2015-07-07 17:37:50 -04:00
Kartikaya Gupta
e9b44b28d9 Bug 1181678 - Expose an attribute on DOMWindowUtils to see if APZ is enabled. r=botond 2015-07-09 09:53:54 -04:00
Seth Fowler
8441769275 Bug 1177587 - Detect use of <img> elements for animation and use sync decoding to reduce flicker. r=tn 2015-07-07 14:00:08 -07:00
Andrea Marchesini
4fcceb6b42 Bug 1172144 - Improve the size check of nsTextFragment::Append, r=ehsan 2015-07-07 19:32:25 +01:00
Michael Layzell
724e72569c Bug 1167389 - Make FileList::mParent a smart pointer, and declare it to the cycle collector. r=ehsan 2015-07-07 06:38:00 -04:00