LCOV - code coverage report
Current view: top level - dom/worklet - AudioWorkletGlobalScope.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 12 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 5 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim: set ts=8 sts=2 et sw=2 tw=80: */
       3             : /* This Source Code Form is subject to the terms of the Mozilla Public
       4             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       5             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       6             : 
       7             : #include "AudioWorkletGlobalScope.h"
       8             : #include "mozilla/dom/AudioWorkletGlobalScopeBinding.h"
       9             : #include "mozilla/dom/FunctionBinding.h"
      10             : 
      11             : namespace mozilla {
      12             : namespace dom {
      13             : 
      14           0 : AudioWorkletGlobalScope::AudioWorkletGlobalScope(nsPIDOMWindowInner* aWindow)
      15           0 :   : WorkletGlobalScope(aWindow)
      16             : {
      17           0 : }
      18             : 
      19           0 : AudioWorkletGlobalScope::~AudioWorkletGlobalScope()
      20             : {
      21           0 : }
      22             : 
      23             : bool
      24           0 : AudioWorkletGlobalScope::WrapGlobalObject(JSContext* aCx,
      25             :                                           nsIPrincipal* aPrincipal,
      26             :                                           JS::MutableHandle<JSObject*> aReflector)
      27             : {
      28           0 :   JS::CompartmentOptions options;
      29           0 :   return AudioWorkletGlobalScopeBinding::Wrap(aCx, this, this,
      30             :                                               options,
      31           0 :                                               nsJSPrincipals::get(aPrincipal),
      32           0 :                                               true, aReflector);
      33             : }
      34             : 
      35             : void
      36           0 : AudioWorkletGlobalScope::RegisterProcessor(const nsAString& aType,
      37             :                                            VoidFunction& aProcessorCtor)
      38             : {
      39             :   // Nothing to do here.
      40           0 : }
      41             : 
      42             : } // dom namespace
      43             : } // mozilla namespace

Generated by: LCOV version 1.13