Skip to content
Browse files

backout Bug 679971 - remove Navigator.taintEnabled(), a=asa

--HG--
extra : rebase_source : c14b2b35ef6206c4a7089e851333b221fa51e9b3
  • Loading branch information...
1 parent 88088ef commit f185eae397144dd91a55bb8fd01aebe456fe3646 Olli Pettay committed
Showing with 9 additions and 1 deletion.
  1. +7 −0 dom/base/Navigator.cpp
  2. +2 −1 dom/interfaces/base/nsIDOMNavigator.idl
View
7 dom/base/Navigator.cpp
@@ -495,6 +495,13 @@ Navigator::JavaEnabled(bool* aReturn)
return NS_OK;
}
+NS_IMETHODIMP
+Navigator::TaintEnabled(bool *aReturn)
+{
+ *aReturn = false;
+ return NS_OK;
+}
+
void
Navigator::LoadingNewDocument()
{
View
3 dom/interfaces/base/nsIDOMNavigator.idl
@@ -39,7 +39,7 @@
#include "domstubs.idl"
-[scriptable, uuid(B8EE0374-5F47-4ED0-B9B0-BDE3E6D81FF5)]
+[scriptable, uuid(c5acd187-bf76-4b26-9329-41c798e47fb6)]
interface nsIDOMNavigator : nsISupports
{
readonly attribute DOMString appCodeName;
@@ -61,5 +61,6 @@ interface nsIDOMNavigator : nsISupports
readonly attribute DOMString doNotTrack;
boolean javaEnabled();
+ boolean taintEnabled();
};

0 comments on commit f185eae

Please sign in to comment.
Something went wrong with that request. Please try again.