Eine aufbereitete Darstellung der Quelle

 
     
 
 
 


SSL CSPEvalChecker.h  Sprache: C


/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#ifndef mozilla_dom_CSPEvalChecker_h
#define mozilla_dom_CSPEvalChecker_h

#include "nsString.h"

struct JSContext;
class nsGlobalWindowInner;

namespace mozilla::dom {

class WorkerPrivate;

class CSPEvalChecker final {
 public:
  static nsresult CheckForWindow(JSContext* aCx, nsGlobalWindowInner* aWindow,
                                 const nsAString& aExpression,
                                 bool* aAllowEval);

  static nsresult CheckForWorker(JSContext* aCx, WorkerPrivate* aWorkerPrivate,
                                 const nsAString& aExpression,
                                 bool* aAllowEval);
};

}  // namespace mozilla::dom

#endif  // mozilla_dom_CSPEvalChecker_h

Messung
CHZG
919710095

¤ Dauer der Verarbeitung: 0.44 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,962
#Domains=963,599