From 9a7444669f2ed75215a77b151fc28342a776b235 Mon Sep 17 00:00:00 2001 From: Bobby Holley Date: Fri, 17 Aug 2012 23:14:55 -0700 Subject: [PATCH] Bug 553102 - Make content-> access default to deny if __exposedProps__ is not defined. r=mrbkap --- .../base/public/nsDeprecatedOperationList.h | 1 - dom/locales/en-US/chrome/dom/dom.properties | 2 - js/xpconnect/tests/chrome/Makefile.in | 1 - js/xpconnect/tests/chrome/test_bug758563.xul | 80 ------------------- js/xpconnect/tests/chrome/test_cows.xul | 6 +- js/xpconnect/tests/mochitest/Makefile.in | 1 - .../tests/mochitest/file_bug758563.html | 19 ----- js/xpconnect/wrappers/AccessCheck.cpp | 18 ----- 8 files changed, 4 insertions(+), 124 deletions(-) delete mode 100644 js/xpconnect/tests/chrome/test_bug758563.xul delete mode 100644 js/xpconnect/tests/mochitest/file_bug758563.html diff --git a/content/base/public/nsDeprecatedOperationList.h b/content/base/public/nsDeprecatedOperationList.h index e75b70c4e117..3497d317bc7c 100644 --- a/content/base/public/nsDeprecatedOperationList.h +++ b/content/base/public/nsDeprecatedOperationList.h @@ -45,6 +45,5 @@ DEPRECATED_OPERATION(InputEncoding) DEPRECATED_OPERATION(MozBeforePaint) DEPRECATED_OPERATION(MozBlobBuilder) DEPRECATED_OPERATION(DOMExceptionCode) -DEPRECATED_OPERATION(NoExposedProps) DEPRECATED_OPERATION(MutationEvent) DEPRECATED_OPERATION(MozSlice) diff --git a/dom/locales/en-US/chrome/dom/dom.properties b/dom/locales/en-US/chrome/dom/dom.properties index 1cb9963c6204..39687711dd46 100644 --- a/dom/locales/en-US/chrome/dom/dom.properties +++ b/dom/locales/en-US/chrome/dom/dom.properties @@ -127,8 +127,6 @@ MediaLoadDecodeError=Media resource %S could not be decoded. MozBlobBuilderWarning=Use of MozBlobBuilder is deprecated. Use Blob constructor instead. # LOCALIZATION NOTE: Do not translate "DOMException", "code" and "name" DOMExceptionCodeWarning=Use of DOMException's code attribute is deprecated. Use name instead. -# LOCALIZATION NOTE: Do not translate "__exposedProps__" -NoExposedPropsWarning=Exposing chrome JS objects to content without __exposedProps__ is insecure and deprecated. See https://developer.mozilla.org/en/XPConnect_wrappers for more information. # LOCALIZATION NOTE: Do not translate "Mutation Event" and "MutationObserver" MutationEventWarning=Use of Mutation Events is deprecated. Use MutationObserver instead. # LOCALIZATION NOTE: Do not translate "Blob", "mozSlice", or "slice" diff --git a/js/xpconnect/tests/chrome/Makefile.in b/js/xpconnect/tests/chrome/Makefile.in index 40364ce36ad6..58ddb32bd899 100644 --- a/js/xpconnect/tests/chrome/Makefile.in +++ b/js/xpconnect/tests/chrome/Makefile.in @@ -33,7 +33,6 @@ MOCHITEST_CHROME_FILES = \ test_bug706301.xul \ test_bug726949.xul \ test_bug743843.xul \ - test_bug758563.xul \ test_bug760076.xul \ test_bug760109.xul \ test_bug763343.xul \ diff --git a/js/xpconnect/tests/chrome/test_bug758563.xul b/js/xpconnect/tests/chrome/test_bug758563.xul deleted file mode 100644 index 7333ebc28979..000000000000 --- a/js/xpconnect/tests/chrome/test_bug758563.xul +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - -