LCOV - code coverage report
Current view: top level - dom/media/eme - MediaKeyError.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 10 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: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim:set ts=2 sw=2 sts=2 et cindent: */
       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 "MediaKeyError.h"
       8             : #include "mozilla/dom/MediaKeyErrorBinding.h"
       9             : #include "nsContentUtils.h"
      10             : 
      11             : namespace mozilla {
      12             : namespace dom {
      13             : 
      14           0 : MediaKeyError::MediaKeyError(EventTarget* aOwner, uint32_t aSystemCode)
      15             :   : Event(aOwner, nullptr, nullptr)
      16           0 :   , mSystemCode(aSystemCode)
      17             : {
      18           0 :   InitEvent(NS_LITERAL_STRING("error"), false, false);
      19           0 : }
      20             : 
      21           0 : MediaKeyError::~MediaKeyError()
      22             : {
      23           0 : }
      24             : 
      25             : uint32_t
      26           0 : MediaKeyError::SystemCode() const
      27             : {
      28           0 :   return mSystemCode;
      29             : }
      30             : 
      31             : JSObject*
      32           0 : MediaKeyError::WrapObjectInternal(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
      33             : {
      34           0 :   return MediaKeyErrorBinding::Wrap(aCx, this, aGivenProto);
      35             : }
      36             : 
      37             : 
      38             : } // namespace dom
      39             : } // namespace mozilla

Generated by: LCOV version 1.13