gecko-dev/dom/base
Alastor Wu e684e589c7 Bug 1328058 - part1 : notify block-stop event when the tab was resumed. r=baku
In present design, the tab would hide the unblocking icon when receives
the audio-playback event, but it means we can't hide the icon if the media isn't
audible.

For example, we won't show the unblocking icon for audio with audio track, but
we show the icon for audio with silent audio track which can only be detected
after starting decoding.

In this case, we can't receive the audio-playback after resuming that media.
Therefore, we should dispatch the different event to notify tab UI that the
tab has already been resumed.

MozReview-Commit-ID: 3xCWQU7nVCl

--HG--
extra : rebase_source : 7b4214f1f552ba75da94e4bb1795178983af20f7
2017-02-03 11:25:04 +08:00
..
crashtests Merge m-c to autoland, a=merge CLOSED TREE 2017-01-31 15:14:56 -08:00
test Backed out changeset 99587cc6ef23 (bug 1335536) for failing robocop testFilePicker on Android. r=backout 2017-02-01 19:08:22 +01:00
AnonymousContent.cpp
AnonymousContent.h
Attr.cpp Bug 1332322 part 3. Rename nsWrapperCache::IsBlackAndDoesNotNeedTracing to nsWrapperCache::HasKnownLiveWrapperAndDoesNotNeedTracing. r=mccr8 2017-01-24 20:39:37 -05:00
Attr.h Bug 1330536 part 7. Change nsINode::GetTextContent to take an OOMReporter, not an ErrorResult. r=smaug 2017-01-17 23:52:29 -05:00
AutocompleteFieldList.h
BarProps.cpp
BarProps.h
BodyUtil.cpp
BodyUtil.h
BorrowedAttrInfo.cpp
BorrowedAttrInfo.h
ChildIterator.cpp
ChildIterator.h
ChromeNodeList.cpp
ChromeNodeList.h
ChromeUtils.cpp
ChromeUtils.h
Comment.cpp
Comment.h
contentAreaDropListener.js
contentAreaDropListener.manifest
CORSMode.h
Crypto.cpp
Crypto.h
CustomElementRegistry.cpp Merge mozilla-central to autoland 2017-01-19 17:00:25 +01:00
CustomElementRegistry.h
DirectionalityUtils.cpp
DirectionalityUtils.h
Dispatcher.cpp Bug 1314833 - Part 1.2: Define AbstractThreadFor(TaskCategory aCategory) in Dispatcher and DispatcherTrait. r=billm 2016-12-01 18:33:05 +08:00
Dispatcher.h Bug 1332494 - Add comment to mozilla/dom/Dispatcher.h (r=froydnj) 2017-01-26 14:45:58 -08:00
DocGroup.cpp Bug 1314833 - Part 1.2: Define AbstractThreadFor(TaskCategory aCategory) in Dispatcher and DispatcherTrait. r=billm 2016-12-01 18:33:05 +08:00
DocGroup.h Bug 1314833 - Part 1.2: Define AbstractThreadFor(TaskCategory aCategory) in Dispatcher and DispatcherTrait. r=billm 2016-12-01 18:33:05 +08:00
DocumentFragment.cpp
DocumentFragment.h
DocumentType.cpp
DocumentType.h
DOMCursor.cpp
DOMCursor.h
domerr.msg
DOMError.cpp
DOMError.h
DOMException.cpp Bug 1335207: Add constexpr to data tables under dom/ for better codegen on Windows. r=ehsan 2017-02-01 15:42:33 +13:00
DOMException.h
DOMImplementation.cpp
DOMImplementation.h
DOMIntersectionObserver.cpp Bug 1333580 - Properly unregister last unobserved target. r=mrbkap 2017-01-24 14:11:34 -08:00
DOMIntersectionObserver.h Bug 1333580 - Properly unregister last unobserved target. r=mrbkap 2017-01-24 14:11:34 -08:00
DOMMatrix.cpp
DOMMatrix.h
DOMParser.cpp Bug 1335368 part 1. Stop using IsCallerChrome in DOMParser::Constructor. r=bholley 2017-02-01 15:43:35 -05:00
DOMParser.h
DOMPoint.cpp
DOMPoint.h
DOMQuad.cpp
DOMQuad.h
DOMRect.cpp
DOMRect.h
DOMRequest.cpp
DOMRequest.h
DOMRequestHelper.jsm
DOMStringList.cpp
DOMStringList.h
DOMTokenListSupportedTokens.h
Element.cpp Bug 1332812. Remove some more unused or nearly-unused nsIDOMElement bits. r=froydnj 2017-02-02 10:32:58 -05:00
Element.h Bug 1332812. Remove some more unused or nearly-unused nsIDOMElement bits. r=froydnj 2017-02-02 10:32:58 -05:00
ElementInlines.h
EventSource.cpp Bug 1334081 - prevent null pointer dereference in StreamReaderFunc. r=baku 2017-01-26 14:39:11 +02:00
EventSource.h Bug 1333540. Common up the skippability implementations that are basically copy/pastes of the DOMEventTargetHelper one. r=smaug 2017-01-24 20:40:11 -05:00
FeedWriterEnabled.h
FlushType.h
FormData.cpp Bug 1329298 - Part 1 - Unify body extraction in Fetch/Beacon/XHR, r=smaug 2017-01-24 12:13:31 +01:00
FormData.h
FragmentOrElement.cpp Bug 1332322 part 3. Rename nsWrapperCache::IsBlackAndDoesNotNeedTracing to nsWrapperCache::HasKnownLiveWrapperAndDoesNotNeedTracing. r=mccr8 2017-01-24 20:39:37 -05:00
FragmentOrElement.h Bug 1330536 part 7. Change nsINode::GetTextContent to take an OOMReporter, not an ErrorResult. r=smaug 2017-01-17 23:52:29 -05:00
FromParser.h
gen-usecounters.py
GroupedSHistory.cpp
GroupedSHistory.h
HTMLSplitOnSpacesTokenizer.h
IdleDeadline.cpp
IdleDeadline.h
IdleRequest.cpp Bug 1313864 - Use the timeout handle to cancel rIC timeout. r=bkelly 2017-02-01 16:16:36 +01:00
IdleRequest.h Bug 1313864 - Use the timeout handle to cancel rIC timeout. r=bkelly 2017-02-01 16:16:36 +01:00
IframeSandboxKeywordList.h
ImageEncoder.cpp
ImageEncoder.h
ImageTracker.cpp
ImageTracker.h
ImportManager.cpp
ImportManager.h
IndexedDBHelper.jsm
Link.cpp
Link.h
Location.cpp
Location.h
messageWakeupService.js
messageWakeupService.manifest
moz.build Bug 1313864 - Move running idle callbacks to executor. r=bkelly 2017-02-01 16:16:29 +01:00
mozAutoDocUpdate.h
mozIDOMWindow.idl
NameSpaceConstants.h
Navigator.cpp Bug 1335368 part 16. Remove the use of IsCallerChrome in GetUserMedia. r=jib 2017-02-01 15:43:38 -05:00
Navigator.h Bug 1335368 part 16. Remove the use of IsCallerChrome in GetUserMedia. r=jib 2017-02-01 15:43:38 -05:00
NodeInfo.cpp
NodeInfo.h
NodeInfoInlines.h
NodeIterator.cpp
NodeIterator.h
nsAtomListUtils.cpp
nsAtomListUtils.h
nsAttrAndChildArray.cpp Bug 1330041 - Basic handling framework for presentation attributes in Stylo, with handling for font-size and color; r=bz,emilio 2017-01-19 15:56:53 -08:00
nsAttrAndChildArray.h Bug 1330041 - Basic handling framework for presentation attributes in Stylo, with handling for font-size and color; r=bz,emilio 2017-01-19 15:56:53 -08:00
nsAttrName.h
nsAttrValue.cpp
nsAttrValue.h
nsAttrValueInlines.h
nsAttrValueOrString.cpp
nsAttrValueOrString.h
nsCaseTreatment.h
nsCCUncollectableMarker.cpp
nsCCUncollectableMarker.h
nsChildContentList.h
nsContentAreaDragDrop.cpp
nsContentAreaDragDrop.h
nsContentCID.h
nsContentCreatorFunctions.h
nsContentIterator.cpp Bug 1319660 - Fix possible crash when editing contentEditable; r=esawin r=masayuki r=smaug 2017-01-23 14:35:04 -05:00
nsContentList.cpp Bug 1332322 part 2. Rename nsWrapperCache::IsBlack to nsWrapperCache::HasKnownLiveWrapper. r=mccr8 2017-01-24 20:38:58 -05:00
nsContentList.h
nsContentListDeclarations.h
nsContentPermissionHelper.cpp
nsContentPermissionHelper.h
nsContentPolicy.cpp
nsContentPolicy.h
nsContentPolicyUtils.h
nsContentSink.cpp
nsContentSink.h
nsContentTypeParser.h
nsContentUtils.cpp merge mozilla-inbound to mozilla-central a=merge 2017-02-02 14:25:20 +01:00
nsContentUtils.h merge mozilla-inbound to mozilla-central a=merge 2017-02-02 14:25:20 +01:00
nsCopySupport.cpp
nsCopySupport.h
nsDataDocumentContentPolicy.cpp
nsDataDocumentContentPolicy.h
nsDeprecatedOperationList.h Backed out changeset 95fe30082f2c (bug 1334564) 2017-02-02 16:51:18 +01:00
nsDocElementCreatedNotificationRunner.h
nsDocument.cpp Bug 1319771 - part2 : resume foreground window if it was still be blocked. r=baku 2017-02-03 10:50:07 +08:00
nsDocument.h
nsDocumentEncoder.cpp
nsDocumentWarningList.h
nsDOMAttributeMap.cpp Bug 1332322 part 3. Rename nsWrapperCache::IsBlackAndDoesNotNeedTracing to nsWrapperCache::HasKnownLiveWrapperAndDoesNotNeedTracing. r=mccr8 2017-01-24 20:39:37 -05:00
nsDOMAttributeMap.h
nsDOMCaretPosition.cpp
nsDOMCaretPosition.h
nsDOMCID.h
nsDOMClassInfo.cpp Bug 851892 part 20. Remove the remaining bits we added to support a mix of WebIDL and non-WebIDL rules. r=peterv 2017-01-13 10:41:05 -05:00
nsDOMClassInfo.h Bug 851892 part 20. Remove the remaining bits we added to support a mix of WebIDL and non-WebIDL rules. r=peterv 2017-01-13 10:41:05 -05:00
nsDOMClassInfoID.h Bug 851892 part 19. Convert CSSCounterStyleRule to WebIDL. r=peterv,heycam 2017-01-13 10:41:04 -05:00
nsDOMDataChannel.cpp
nsDOMDataChannel.h
nsDOMDataChannelDeclarations.h
nsDOMJSUtils.h
nsDOMMutationObserver.cpp
nsDOMMutationObserver.h Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (2 of 5, fixes for dom/). r=bkelly. 2017-01-24 17:10:39 +01:00
nsDOMNavigationTiming.cpp
nsDOMNavigationTiming.h
nsDOMSerializer.cpp
nsDOMSerializer.h
nsDOMString.h
nsDOMTokenList.cpp
nsDOMTokenList.h
nsDOMWindowList.cpp
nsDOMWindowList.h
nsDOMWindowUtils.cpp Bug 1332353. Make it clearer when a stylesheet is really owned by its mDocument. r=heycam 2017-01-19 23:49:44 -05:00
nsDOMWindowUtils.h
nsFocusManager.cpp
nsFocusManager.h
nsFrameLoader.cpp Bug 1317293: Only allow nsFrameLoader::SwapWithOtherRemoteLoader when remote types match. r=billm 2017-01-25 07:18:00 +00:00
nsFrameLoader.h
nsFrameMessageManager.cpp
nsFrameMessageManager.h
nsGenConImageContent.cpp
nsGenericDOMDataNode.cpp
nsGenericDOMDataNode.h Bug 1330536 part 7. Change nsINode::GetTextContent to take an OOMReporter, not an ErrorResult. r=smaug 2017-01-17 23:52:29 -05:00
nsGkAtomList.h
nsGkAtoms.cpp
nsGkAtoms.h
nsGlobalWindow.cpp Bug 1328058 - part1 : notify block-stop event when the tab was resumed. r=baku 2017-02-03 11:25:04 +08:00
nsGlobalWindow.h Merge inbound to central, a=merge 2017-02-02 16:39:24 -08:00
nsGlobalWindowCommands.cpp Bug 1335207 followup build fix on a CLOSED TREE 2017-02-01 16:09:28 +13:00
nsGlobalWindowCommands.h
nsHistory.cpp
nsHistory.h
nsHTMLContentSerializer.cpp
nsHTMLContentSerializer.h
nsIAnimationObserver.h
nsIAttribute.h
nsIContent.h
nsIContentInlines.h Bug 1335863 - Inline common case parent access. r=emilio 2017-02-02 11:24:43 -08:00
nsIContentIterator.h
nsIContentPolicy.idl
nsIContentPolicyBase.idl
nsIContentSerializer.h
nsIDocument.h Bug 1334938 - Re-enable stylo in stylo builds. r=emilio 2017-01-30 12:09:25 +11:00
nsIDocumentEncoder.idl
nsIDocumentInlines.h
nsIDocumentObserver.h
nsIDOMClassInfo.h Bug 1332172 - Remove XPC_MAP_WANT_*. r=mccr8. 2017-01-23 13:33:58 +11:00
nsIDOMDataChannel.idl
nsIDOMDOMCursor.idl
nsIDOMDOMRequest.idl
nsIDOMFormData.idl
nsIDOMParser.idl
nsIDOMSerializer.idl
nsIDroppedLinkHandler.idl
nsIFrameLoader.idl
nsIGlobalObject.cpp
nsIGlobalObject.h
nsIImageLoadingContent.idl
nsImageLoadingContent.cpp
nsImageLoadingContent.h
nsIMessageManager.idl
nsIMutationObserver.h
nsINode.cpp Bug 1335368 part 22. Get rid of IsCallerChrome in geometry utils. r=dholbert 2017-02-01 15:43:59 -05:00
nsINode.h Bug 1335368 part 22. Get rid of IsCallerChrome in geometry utils. r=dholbert 2017-02-01 15:43:59 -05:00
nsINodeList.h
nsInProcessTabChildGlobal.cpp
nsInProcessTabChildGlobal.h
nsIObjectLoadingContent.idl Bug 1335368 part 7. Mostly stop using IsCallerChrome in nsObjectLoadingContent. r=bholley 2017-02-01 15:43:36 -05:00
nsIRemoteWindowContext.idl
nsIScriptChannel.idl
nsIScriptContext.h
nsIScriptElement.h
nsIScriptGlobalObject.h
nsIScriptLoaderObserver.idl
nsIScriptNameSpaceManager.h
nsIScriptObjectPrincipal.h
nsIScriptTimeoutHandler.h
nsISelection.idl
nsISelectionController.idl
nsISelectionDisplay.idl
nsISelectionListener.idl
nsISelectionPrivate.idl
nsISimpleContentPolicy.idl
nsISiteSpecificUserAgent.idl
nsISizeOfEventTarget.h
nsISlowScriptDebug.idl
nsIStyleSheetLinkingElement.h
nsITimeoutHandler.h
nsJSEnvironment.cpp Bug 1110928, first request GC should be a full GC, r=jonco 2017-02-01 23:55:38 +02:00
nsJSEnvironment.h Backed out 6 changesets (bug 1110928) for valgrind failures a=backout 2017-01-23 17:34:23 -08:00
nsJSTimeoutHandler.cpp
nsJSUtils.cpp
nsJSUtils.h
nsLineBreaker.cpp
nsLineBreaker.h
nsMappedAttributeElement.cpp
nsMappedAttributeElement.h
nsMappedAttributes.cpp Bug 1330041 - Basic handling framework for presentation attributes in Stylo, with handling for font-size and color; r=bz,emilio 2017-01-19 15:56:53 -08:00
nsMappedAttributes.h Bug 1330041 - Basic handling framework for presentation attributes in Stylo, with handling for font-size and color; r=bz,emilio 2017-01-19 15:56:53 -08:00
nsMimeTypeArray.cpp
nsMimeTypeArray.h
nsNameSpaceManager.cpp
nsNameSpaceManager.h
nsNoDataProtocolContentPolicy.cpp
nsNoDataProtocolContentPolicy.h
nsNodeInfoManager.cpp
nsNodeInfoManager.h
nsNodeUtils.cpp Bug 1326194 - Properly unlink observed targets. m=mrbkap r=mrbkap 2017-01-19 14:51:09 -08:00
nsNodeUtils.h
nsObjectLoadingContent.cpp Merge inbound to central, a=merge 2017-02-02 16:39:24 -08:00
nsObjectLoadingContent.h Bug 1335368 part 7. Mostly stop using IsCallerChrome in nsObjectLoadingContent. r=bholley 2017-02-01 15:43:36 -05:00
nsOpenURIInFrameParams.cpp
nsOpenURIInFrameParams.h
nsPIDOMWindow.h Bug 1328058 - part1 : notify block-stop event when the tab was resumed. r=baku 2017-02-03 11:25:04 +08:00
nsPIDOMWindowInlines.h
nsPIWindowRoot.h
nsPlainTextSerializer.cpp
nsPlainTextSerializer.h
nsPluginArray.cpp Bug 1312091 - Allow third-party subframes to access navigator.plugins[plugin] if the top-level document has allowed it. r=bsmedberg 2017-01-23 11:45:44 -05:00
nsPluginArray.h
nsPropertyTable.cpp
nsPropertyTable.h
nsQueryContentEventResult.cpp
nsQueryContentEventResult.h
nsRange.cpp
nsRange.h
nsReferencedElement.cpp
nsReferencedElement.h
nsSandboxFlags.h
nsScreen.cpp
nsScreen.h
nsScriptElement.cpp
nsScriptElement.h
nsScriptLoader.cpp Bug 900784 part 0.10 - Fix MOZ_LOG arguments indentation in nsScriptLoader.cpp. r=nbp 2017-01-31 20:03:57 +00:00
nsScriptLoader.h Bug 900784 part 0.7 - Remove trailing whitespace in nsScriptLoader.h comments. r=nbp 2017-01-31 20:03:57 +00:00
nsScriptNameSpaceManager.cpp
nsScriptNameSpaceManager.h
nsStructuredCloneContainer.cpp
nsStructuredCloneContainer.h
nsStubAnimationObserver.cpp
nsStubAnimationObserver.h
nsStubDocumentObserver.cpp
nsStubDocumentObserver.h
nsStubMutationObserver.cpp
nsStubMutationObserver.h
nsStyledElement.cpp
nsStyledElement.h
nsStyleLinkElement.cpp
nsStyleLinkElement.h
nsSyncLoadService.cpp
nsSyncLoadService.h
nsTextFragment.cpp
nsTextFragment.h
nsTextFragmentImpl.h
nsTextFragmentSSE2.cpp
nsTextNode.cpp
nsTextNode.h
nsTraversal.cpp
nsTraversal.h
nsTreeSanitizer.cpp
nsTreeSanitizer.h
nsViewportInfo.cpp
nsViewportInfo.h
nsWindowMemoryReporter.cpp
nsWindowMemoryReporter.h
nsWindowRoot.cpp Bug 835981 part 6. Change nsIDOMXULElement::GetControllers consumers to nsXULElement. r=peterv 2017-02-02 10:32:58 -05:00
nsWindowRoot.h
nsWrapperCache.cpp
nsWrapperCache.h Bug 1332322 part 3. Rename nsWrapperCache::IsBlackAndDoesNotNeedTracing to nsWrapperCache::HasKnownLiveWrapperAndDoesNotNeedTracing. r=mccr8 2017-01-24 20:39:37 -05:00
nsWrapperCacheInlines.h Bug 1332322 part 3. Rename nsWrapperCache::IsBlackAndDoesNotNeedTracing to nsWrapperCache::HasKnownLiveWrapperAndDoesNotNeedTracing. r=mccr8 2017-01-24 20:39:37 -05:00
nsXHTMLContentSerializer.cpp
nsXHTMLContentSerializer.h
nsXMLContentSerializer.cpp
nsXMLContentSerializer.h
nsXMLNameSpaceMap.cpp
nsXMLNameSpaceMap.h
OrderedTimeoutIterator.h
PartialSHistory.cpp
PartialSHistory.h
Pose.cpp
Pose.h
PostMessageEvent.cpp
PostMessageEvent.h
ProcessGlobal.cpp
ProcessGlobal.h
ResponsiveImageSelector.cpp
ResponsiveImageSelector.h
SameProcessMessageQueue.cpp
SameProcessMessageQueue.h
ScreenOrientation.cpp
ScreenOrientation.h
ScriptSettings.cpp
ScriptSettings.h
ShadowRoot.cpp
ShadowRoot.h
SiteSpecificUserAgent.js
SiteSpecificUserAgent.manifest
SlowScriptDebug.js
SlowScriptDebug.manifest
StructuredCloneHolder.cpp Bug 1331849 - Replace NS_NewNativeLocalFile with NS_NewLocalFile in dom, r=smaug 2017-01-18 14:58:37 +01:00
StructuredCloneHolder.h
StructuredCloneTags.h
StyleSheetList.cpp
StyleSheetList.h
SubtleCrypto.cpp
SubtleCrypto.h
TabGroup.cpp Bug 1332790 - Don't assert mLastWindowLeft in ~TabGroup when destroying the chrome TabGroup, r=billm 2017-02-01 14:03:36 -05:00
TabGroup.h Bug 1332790 - Don't assert mLastWindowLeft in ~TabGroup when destroying the chrome TabGroup, r=billm 2017-02-01 14:03:36 -05:00
Text.cpp
Text.h
TextInputProcessor.cpp
TextInputProcessor.h
ThirdPartyUtil.cpp
ThirdPartyUtil.h
Timeout.cpp Bug 1331804 - Anonymize nsITimer runnable names (r=njn) 2017-01-24 16:34:37 -08:00
Timeout.h Bug 1313864 - Move running idle callbacks to executor. r=bkelly 2017-02-01 16:16:29 +01:00
TimeoutHandler.cpp Bug 1313864 - Move running idle callbacks to executor. r=bkelly 2017-02-01 16:16:29 +01:00
TimeoutHandler.h Bug 1313864 - Move running idle callbacks to executor. r=bkelly 2017-02-01 16:16:29 +01:00
TimeoutManager.cpp Bug 1332752 - Add some logging to TimeoutManager; r=bkelly 2017-01-23 16:04:26 -05:00
TimeoutManager.h Bug 1332752 - Add some logging to TimeoutManager; r=bkelly 2017-01-23 16:04:26 -05:00
TreeWalker.cpp
TreeWalker.h
UseCounter.h
UseCounters.conf
usecounters.py
WebKitCSSMatrix.cpp
WebKitCSSMatrix.h
WebSocket.cpp Bug 1334165 Don't allow event dispatch after WebSocket allows worker thread to exit cleanly. r=baku 2017-01-27 06:06:33 -08:00
WebSocket.h Bug 1333540. Common up the skippability implementations that are basically copy/pastes of the DOMEventTargetHelper one. r=smaug 2017-01-24 20:40:11 -05:00
WindowNamedPropertiesHandler.cpp
WindowNamedPropertiesHandler.h
WindowOrientationObserver.cpp
WindowOrientationObserver.h