Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
backout Bug 679971 - remove Navigator.taintEnabled(), a=asa
Browse files Browse the repository at this point in the history
--HG--
extra : rebase_source : c14b2b35ef6206c4a7089e851333b221fa51e9b3
  • Loading branch information
Olli Pettay authored and Olli Pettay committed Jan 5, 2012
1 parent 88088ef commit f185eae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions dom/base/Navigator.cpp
Expand Up @@ -495,6 +495,13 @@ Navigator::JavaEnabled(bool* aReturn)
return NS_OK; return NS_OK;
} }


NS_IMETHODIMP
Navigator::TaintEnabled(bool *aReturn)
{
*aReturn = false;
return NS_OK;
}

void void
Navigator::LoadingNewDocument() Navigator::LoadingNewDocument()
{ {
Expand Down
3 changes: 2 additions & 1 deletion dom/interfaces/base/nsIDOMNavigator.idl
Expand Up @@ -39,7 +39,7 @@


#include "domstubs.idl" #include "domstubs.idl"


[scriptable, uuid(B8EE0374-5F47-4ED0-B9B0-BDE3E6D81FF5)] [scriptable, uuid(c5acd187-bf76-4b26-9329-41c798e47fb6)]
interface nsIDOMNavigator : nsISupports interface nsIDOMNavigator : nsISupports
{ {
readonly attribute DOMString appCodeName; readonly attribute DOMString appCodeName;
Expand All @@ -61,5 +61,6 @@ interface nsIDOMNavigator : nsISupports
readonly attribute DOMString doNotTrack; readonly attribute DOMString doNotTrack;


boolean javaEnabled(); boolean javaEnabled();
boolean taintEnabled();
}; };


0 comments on commit f185eae

Please sign in to comment.