diff --git a/js/src/xpconnect/src/dom_quickstubs.qsconf b/js/src/xpconnect/src/dom_quickstubs.qsconf index 6d3951263dd..ca9e9cb064d 100644 --- a/js/src/xpconnect/src/dom_quickstubs.qsconf +++ b/js/src/xpconnect/src/dom_quickstubs.qsconf @@ -713,6 +713,9 @@ customMethodCalls = { 'code': ' PRBool result = self->MozMatchesSelector(arg0);', 'canFail': False }, + 'nsIDOM3Text_': { + 'thisType': 'nsGenericTextNode' + }, 'nsIDOM3Text_IsElementContentWhitespace': { 'thisType': 'nsGenericTextNode', 'code': ' PRBool result = self->IsElementContentWhitespace();', @@ -723,9 +726,6 @@ customMethodCalls = { 'code': ' nsIContent* result = ' 'self->ReplaceWholeText(PromiseFlatString(arg0), &rv);' }, - 'nsIDOM3Text_WholeText': { - 'thisType': 'nsGenericTextNode' - }, 'nsIDOMNodeSelector_QuerySelector': { 'thisType': 'nsINode', 'code': ' nsIContent* result = '