author | Eitan Isaacson <eitan@monotonous.org> |
Thu, 04 Apr 2013 15:12:34 -0700 | |
changeset 127705 | d29304061c08eefd589e79983a445d16705e07aa |
parent 127704 | 8daa66c443a34fa0b6d80127576553b7bc8f8c26 |
child 127706 | 9cbf2e118de6437a9bbc4fcd7a1ccdc78cd57268 |
push id | 24512 |
push user | ryanvm@gmail.com |
push date | Fri, 05 Apr 2013 20:13:49 +0000 |
treeherder | mozilla-central@139b6ba547fa [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | smaug |
bugs | 858136 |
milestone | 23.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/base/nsDOMClassInfo.cpp +++ b/dom/base/nsDOMClassInfo.cpp @@ -1759,17 +1759,17 @@ nsDOMClassInfo::Init() NS_ENSURE_SUCCESS(rv, rv); JSContext* cx = stack->GetSafeJSContext(); NS_ENSURE_TRUE(cx, NS_ERROR_FAILURE); DOM_CLASSINFO_MAP_BEGIN(Window, nsIDOMWindow) DOM_CLASSINFO_WINDOW_MAP_ENTRIES(nsGlobalWindow::HasIndexedDBSupport()) #ifdef MOZ_WEBSPEECH - DOM_CLASSINFO_MAP_ENTRY(nsIDOMSpeechSynthesisGetter) + DOM_CLASSINFO_MAP_ENTRY(nsISpeechSynthesisGetter) #endif DOM_CLASSINFO_MAP_END DOM_CLASSINFO_MAP_BEGIN(WindowUtils, nsIDOMWindowUtils) DOM_CLASSINFO_MAP_ENTRY(nsIDOMWindowUtils) DOM_CLASSINFO_MAP_END DOM_CLASSINFO_MAP_BEGIN(Location, nsIDOMLocation) @@ -2103,17 +2103,17 @@ nsDOMClassInfo::Init() DOM_CLASSINFO_MAP_BEGIN(Crypto, nsIDOMCrypto) DOM_CLASSINFO_MAP_ENTRY(nsIDOMCrypto) DOM_CLASSINFO_MAP_END DOM_CLASSINFO_MAP_BEGIN_NO_CLASS_IF(ChromeWindow, nsIDOMWindow) DOM_CLASSINFO_WINDOW_MAP_ENTRIES(true) DOM_CLASSINFO_MAP_ENTRY(nsIDOMChromeWindow) #ifdef MOZ_WEBSPEECH - DOM_CLASSINFO_MAP_ENTRY(nsIDOMSpeechSynthesisGetter) + DOM_CLASSINFO_MAP_ENTRY(nsISpeechSynthesisGetter) #endif DOM_CLASSINFO_MAP_END DOM_CLASSINFO_MAP_BEGIN(ImageDocument, nsIImageDocument) DOM_CLASSINFO_MAP_ENTRY(nsIDOMHTMLDocument) DOM_CLASSINFO_MAP_ENTRY(nsIImageDocument) DOM_CLASSINFO_DOCUMENT_MAP_ENTRIES DOM_CLASSINFO_MAP_END @@ -2294,17 +2294,17 @@ nsDOMClassInfo::Init() DOM_CLASSINFO_MAP_ENTRY(nsIDOMFileReader) DOM_CLASSINFO_MAP_ENTRY(nsIInterfaceRequestor) DOM_CLASSINFO_MAP_END DOM_CLASSINFO_MAP_BEGIN_NO_CLASS_IF(ModalContentWindow, nsIDOMWindow) DOM_CLASSINFO_WINDOW_MAP_ENTRIES(nsGlobalWindow::HasIndexedDBSupport()) DOM_CLASSINFO_MAP_ENTRY(nsIDOMModalContentWindow) #ifdef MOZ_WEBSPEECH - DOM_CLASSINFO_MAP_ENTRY(nsIDOMSpeechSynthesisGetter) + DOM_CLASSINFO_MAP_ENTRY(nsISpeechSynthesisGetter) #endif DOM_CLASSINFO_MAP_END DOM_CLASSINFO_MAP_BEGIN(DataContainerEvent, nsIDOMDataContainerEvent) DOM_CLASSINFO_MAP_ENTRY(nsIDOMDataContainerEvent) DOM_CLASSINFO_EVENT_MAP_ENTRIES DOM_CLASSINFO_MAP_END
--- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -1488,17 +1488,17 @@ DOMCI_DATA(Window, nsGlobalWindow) NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsGlobalWindow) // Make sure this matches the cast in nsGlobalWindow::FromWrapper() NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMEventTarget) NS_INTERFACE_MAP_ENTRY(nsIDOMWindow) #ifdef MOZ_B2G NS_INTERFACE_MAP_ENTRY(nsIDOMWindowB2G) #endif // MOZ_B2G #ifdef MOZ_WEBSPEECH - NS_INTERFACE_MAP_ENTRY(nsIDOMSpeechSynthesisGetter) + NS_INTERFACE_MAP_ENTRY(nsISpeechSynthesisGetter) #endif // MOZ_B2G NS_INTERFACE_MAP_ENTRY(nsIDOMJSWindow) if (aIID.Equals(NS_GET_IID(nsIDOMWindowInternal))) { foundInterface = static_cast<nsIDOMWindowInternal*>(this); if (!sWarnedAboutWindowInternal) { sWarnedAboutWindowInternal = true; nsContentUtils::ReportToConsole(nsIScriptError::warningFlag, "Extensions", mDoc, @@ -3302,17 +3302,17 @@ nsPIDOMWindow::CreatePerformanceObjectIf !timingEnabled) { timedChannel = nullptr; } if (timing) { mPerformance = new nsPerformance(this, timing, timedChannel); } } -// nsIDOMSpeechSynthesisGetter +// nsISpeechSynthesisGetter #ifdef MOZ_WEBSPEECH NS_IMETHODIMP nsGlobalWindow::GetSpeechSynthesis(nsISupports** aSpeechSynthesis) { FORWARD_TO_INNER(GetSpeechSynthesis, (aSpeechSynthesis), NS_ERROR_NOT_INITIALIZED); NS_IF_ADDREF(*aSpeechSynthesis = nsPIDOMWindow::GetSpeechSynthesisInternal());
--- a/dom/base/nsGlobalWindow.h +++ b/dom/base/nsGlobalWindow.h @@ -68,17 +68,17 @@ // JS includes #include "jsapi.h" #ifdef MOZ_B2G #include "nsIDOMWindowB2G.h" #endif // MOZ_B2G #ifdef MOZ_WEBSPEECH -#include "nsIDOMSpeechSynthesisGetter.h" +#include "nsISpeechSynthesisGetter.h" #endif // MOZ_WEBSPEECH #define DEFAULT_HOME_PAGE "www.mozilla.org" #define PREF_BROWSER_STARTUP_HOMEPAGE "browser.startup.homepage" // Amount of time allowed between alert/prompt/confirm before enabling // the stop dialog checkbox. #define DEFAULT_SUCCESSIVE_DIALOG_TIME_LIMIT 3 // 3 sec @@ -266,17 +266,17 @@ class nsGlobalWindow : public mozilla::d public PRCListStr, public nsIDOMWindowPerformance, public nsITouchEventReceiver, public nsIInlineEventHandlers #ifdef MOZ_B2G , public nsIDOMWindowB2G #endif // MOZ_B2G #ifdef MOZ_WEBSPEECH - , public nsIDOMSpeechSynthesisGetter + , public nsISpeechSynthesisGetter #endif // MOZ_WEBSPEECH { public: typedef mozilla::TimeStamp TimeStamp; typedef mozilla::TimeDuration TimeDuration; typedef mozilla::dom::Navigator Navigator; typedef nsDataHashtable<nsUint64HashKey, nsGlobalWindow*> WindowByIdTable; @@ -323,18 +323,18 @@ public: NS_DECL_NSIDOMWINDOW #ifdef MOZ_B2G // nsIDOMWindowB2G NS_DECL_NSIDOMWINDOWB2G #endif // MOZ_B2G #ifdef MOZ_WEBSPEECH - // nsIDOMSpeechSynthesisGetter - NS_DECL_NSIDOMSPEECHSYNTHESISGETTER + // nsISpeechSynthesisGetter + NS_DECL_NSISPEECHSYNTHESISGETTER #endif // MOZ_WEBSPEECH // nsIDOMWindowPerformance NS_DECL_NSIDOMWINDOWPERFORMANCE // nsIDOMJSWindow NS_DECL_NSIDOMJSWINDOW
--- a/dom/interfaces/base/moz.build +++ b/dom/interfaces/base/moz.build @@ -55,17 +55,17 @@ else: if CONFIG['MOZ_B2G']: XPIDL_SOURCES += [ 'nsIDOMWindowB2G.idl', ] if CONFIG['MOZ_WEBSPEECH']: XPIDL_SOURCES += [ - 'nsIDOMSpeechSynthesisGetter.idl' + 'nsISpeechSynthesisGetter.idl' ] XPIDL_MODULE = 'dom_base' XPIDL_FLAGS += [ '-I$(topsrcdir)/dom/interfaces/events', ]
rename from dom/interfaces/base/nsIDOMSpeechSynthesisGetter.idl rename to dom/interfaces/base/nsISpeechSynthesisGetter.idl --- a/dom/interfaces/base/nsIDOMSpeechSynthesisGetter.idl +++ b/dom/interfaces/base/nsISpeechSynthesisGetter.idl @@ -5,13 +5,13 @@ #include "nsISupports.idl" /** * SpeechSynthesisGetter * http://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section */ -[scriptable, uuid(9fe60496-8356-430e-bf38-2debec45711e)] -interface nsIDOMSpeechSynthesisGetter : nsISupports +[scriptable, uuid(31e6c818-0279-4948-843c-930043f6bafd)] +interface nsISpeechSynthesisGetter : nsISupports { readonly attribute nsISupports speechSynthesis; };
--- a/dom/tests/mochitest/general/test_interfaces.html +++ b/dom/tests/mochitest/general/test_interfaces.html @@ -543,17 +543,16 @@ var interfaceNamesInGlobalScope = "BlobEvent", "Gamepad", "GamepadEvent", "GamepadButtonEvent", "GamepadAxisMoveEvent", "SpeechRecognitionEvent", "SpeechRecognitionError", "SpeechSynthesisEvent", - "SpeechSynthesisGetter", "PushManager", "StyleSheetAddedEvent", "StyleSheetRemovedEvent" ] for (var i in SpecialPowers.Components.interfaces) { var s = i.toString(); var name = null;
--- a/js/xpconnect/src/dom_quickstubs.qsconf +++ b/js/xpconnect/src/dom_quickstubs.qsconf @@ -41,17 +41,17 @@ members = [ 'nsIDOMWindow.scrollByLines', 'nsIDOMWindow.getComputedStyle', 'nsIDOMWindow.sessionStorage', 'nsIDOMWindow.localStorage', 'nsIDOMWindow.onmouseenter', 'nsIDOMWindow.onmouseleave', 'nsIDOMWindowPerformance.performance', 'nsIDOMJSWindow.dump', - 'nsIDOMSpeechSynthesisGetter.speechSynthesis', + 'nsISpeechSynthesisGetter.speechSynthesis', # nsLocationSH has ~ALLOW_PROP_MODS_TO_PROTOTYPE, so don't try. #'nsIDOMLocation.hostname', #'nsIDOMLocation.href', # dom/interfaces/canvas # # canvas friends 'nsIDOMTextMetrics.*',