Coverage Report

Created: 2018-09-25 14:53

/work/obj-fuzz/dist/include/mozilla/dom/Nullable.h
Line
Count
Source (jump to first uncovered line)
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 file,
5
 * You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7
#ifndef mozilla_dom_Nullable_h
8
#define mozilla_dom_Nullable_h
9
10
#include "mozilla/Assertions.h"
11
#include "nsTArrayForwardDeclare.h"
12
#include "mozilla/Move.h"
13
#include "mozilla/Maybe.h"
14
15
#include <ostream>
16
17
class nsCycleCollectionTraversalCallback;
18
19
namespace mozilla {
20
namespace dom {
21
22
// Support for nullable types
23
template <typename T>
24
struct Nullable
25
{
26
private:
27
  Maybe<T> mValue;
28
29
public:
30
  Nullable()
31
    : mValue()
32
0
  {}
Unexecuted instantiation: mozilla::dom::Nullable<unsigned short>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<double>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::ElementOrCSSPseudoElement>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<bool>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::WindowProxyOrMessagePortOrServiceWorker>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<short>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::MutationObservingInfo>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<int>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<unsigned int>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningElementOrCSSPseudoElement>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::AttributeNameValue> >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::TypedArray<unsigned char, &js::UnwrapArrayBuffer, &(JS_GetArrayBufferData(JSObject*, bool*, JS::AutoRequireNoGC const&)), &js::GetArrayBufferLengthAndData, &(JS_NewArrayBuffer(JSContext*, unsigned int))> >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningWindowProxyOrMessagePortOrServiceWorker>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::BlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<unsigned long>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningArrayBufferViewOrArrayBufferOrString>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningArrayBufferViewOrArrayBuffer>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::RTCIceCandidateInitOrRTCIceCandidate>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::BlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrReadableStreamOrUSVString>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::RTCRtpTransceiverDirection>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::MozProxyInfo>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::MozFrameAncestorInfo> >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::MozContentPolicyType> >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningVideoTrackOrAudioTrackOrTextTrack>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::Transport> >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::TypedArray<float, &js::UnwrapFloat32Array, &(JS_GetFloat32ArrayData(JSObject*, bool*, JS::AutoRequireNoGC const&)), &js::GetFloat32ArrayLengthAndData, &(JS_NewFloat32Array(JSContext*, unsigned int))> >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<RefPtr<mozilla::extensions::MatchGlob> > >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::ArrayBufferView_base<&js::UnwrapArrayBufferView, &js::GetArrayBufferViewLengthAndData, &(JS_GetArrayBufferViewType(JSObject*))> >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<unsigned int> >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::WebGLContextAttributes>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<nsTString<char16_t> > >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<RefPtr<mozilla::WebGLShader> > >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningHTMLCanvasElementOrOffscreenCanvas>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::OwningMatchGlobOrString> >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningMatchPatternSetOrStringSequence>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<nsTString<char16_t> > >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::DocumentOrBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<unsigned long> >::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningClientOrServiceWorkerOrMessagePort>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningBlobOrDirectoryOrUSVString>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningNodeOrHTMLCollection>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::AutocompleteInfo>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Date>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::HTMLElementOrLong>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningRadioNodeListOrElement>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningStringOrStringSequence>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningIDBObjectStoreOrIDBIndexOrIDBCursor>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::InspectorRGBATuple>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::PersistenceType>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::Client::Type>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::PaymentShippingType>::Nullable()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::extensions::MatchGlobSet>::Nullable()
33
34
  MOZ_IMPLICIT Nullable(const decltype(nullptr)&)
35
    : mValue()
36
0
  {}
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::WindowProxyOrMessagePortOrServiceWorker>::Nullable(decltype(nullptr) const&)
Unexecuted instantiation: mozilla::dom::Nullable<unsigned int>::Nullable(decltype(nullptr) const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::VRDisplayEventReason>::Nullable(decltype(nullptr) const&)
37
38
  explicit Nullable(const T& aValue)
39
    : mValue()
40
0
  {
41
0
    mValue.emplace(aValue);
42
0
  }
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::Nullable(mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> const&)
Unexecuted instantiation: mozilla::dom::Nullable<bool>::Nullable(bool const&)
Unexecuted instantiation: mozilla::dom::Nullable<double>::Nullable(double const&)
Unexecuted instantiation: mozilla::dom::Nullable<int>::Nullable(int const&)
Unexecuted instantiation: mozilla::dom::Nullable<unsigned int>::Nullable(unsigned int const&)
Unexecuted instantiation: mozilla::dom::Nullable<unsigned long>::Nullable(unsigned long const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::PersistenceType>::Nullable(mozilla::dom::quota::PersistenceType const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::Client::Type>::Nullable(mozilla::dom::quota::Client::Type const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::PaymentShippingType>::Nullable(mozilla::dom::PaymentShippingType const&)
43
44
  MOZ_IMPLICIT Nullable(T&& aValue)
45
    : mValue()
46
0
  {
47
0
    mValue.emplace(std::move(aValue));
48
0
  }
Unexecuted instantiation: mozilla::dom::Nullable<unsigned short>::Nullable(unsigned short&&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::Nullable(mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>&&)
Unexecuted instantiation: mozilla::dom::Nullable<short>::Nullable(short&&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Date>::Nullable(mozilla::dom::Date&&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::PersistenceType>::Nullable(mozilla::dom::quota::PersistenceType&&)
Unexecuted instantiation: mozilla::dom::Nullable<bool>::Nullable(bool&&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::Client::Type>::Nullable(mozilla::dom::quota::Client::Type&&)
Unexecuted instantiation: mozilla::dom::Nullable<unsigned long>::Nullable(unsigned long&&)
Unexecuted instantiation: mozilla::dom::Nullable<double>::Nullable(double&&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::VRDisplayEventReason>::Nullable(mozilla::dom::VRDisplayEventReason&&)
49
50
  Nullable(Nullable<T>&& aOther)
51
    : mValue(std::move(aOther.mValue))
52
0
  {}
Unexecuted instantiation: mozilla::dom::Nullable<unsigned short>::Nullable(mozilla::dom::Nullable<unsigned short>&&)
Unexecuted instantiation: mozilla::dom::Nullable<bool>::Nullable(mozilla::dom::Nullable<bool>&&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::RTCRtpTransceiverDirection>::Nullable(mozilla::dom::Nullable<mozilla::dom::RTCRtpTransceiverDirection>&&)
53
54
  Nullable(const Nullable<T>& aOther)
55
    : mValue(aOther.mValue)
56
0
  {}
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::Nullable(mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> > const&)
Unexecuted instantiation: mozilla::dom::Nullable<double>::Nullable(mozilla::dom::Nullable<double> const&)
Unexecuted instantiation: mozilla::dom::Nullable<unsigned long>::Nullable(mozilla::dom::Nullable<unsigned long> const&)
Unexecuted instantiation: mozilla::dom::Nullable<bool>::Nullable(mozilla::dom::Nullable<bool> const&)
Unexecuted instantiation: mozilla::dom::Nullable<unsigned int>::Nullable(mozilla::dom::Nullable<unsigned int> const&)
Unexecuted instantiation: mozilla::dom::Nullable<unsigned short>::Nullable(mozilla::dom::Nullable<unsigned short> const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::Transport> >::Nullable(mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::Transport> > const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::PersistenceType>::Nullable(mozilla::dom::Nullable<mozilla::dom::quota::PersistenceType> const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::Client::Type>::Nullable(mozilla::dom::Nullable<mozilla::dom::quota::Client::Type> const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::PaymentShippingType>::Nullable(mozilla::dom::Nullable<mozilla::dom::PaymentShippingType> const&)
57
58
  void operator=(const Nullable<T>& aOther)
59
0
  {
60
0
    mValue = aOther.mValue;
61
0
  }
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::PersistenceType>::operator=(mozilla::dom::Nullable<mozilla::dom::quota::PersistenceType> const&)
Unexecuted instantiation: mozilla::dom::Nullable<double>::operator=(mozilla::dom::Nullable<double> const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::operator=(mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> > const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::AttributeNameValue> >::operator=(mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::AttributeNameValue> > const&)
Unexecuted instantiation: mozilla::dom::Nullable<unsigned short>::operator=(mozilla::dom::Nullable<unsigned short> const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::MozContentPolicyType> >::operator=(mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::MozContentPolicyType> > const&)
Unexecuted instantiation: mozilla::dom::Nullable<unsigned int>::operator=(mozilla::dom::Nullable<unsigned int> const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningVideoTrackOrAudioTrackOrTextTrack>::operator=(mozilla::dom::Nullable<mozilla::dom::OwningVideoTrackOrAudioTrackOrTextTrack> const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::OwningMatchGlobOrString> >::operator=(mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::OwningMatchGlobOrString> > const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningMatchPatternSetOrStringSequence>::operator=(mozilla::dom::Nullable<mozilla::dom::OwningMatchPatternSetOrStringSequence> const&)
Unexecuted instantiation: mozilla::dom::Nullable<unsigned long>::operator=(mozilla::dom::Nullable<unsigned long> const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningStringOrStringSequence>::operator=(mozilla::dom::Nullable<mozilla::dom::OwningStringOrStringSequence> const&)
Unexecuted instantiation: mozilla::dom::Nullable<bool>::operator=(mozilla::dom::Nullable<bool> const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::PaymentShippingType>::operator=(mozilla::dom::Nullable<mozilla::dom::PaymentShippingType> const&)
62
63
  void SetValue(const T& aArgs)
64
0
  {
65
0
    mValue.reset();
66
0
    mValue.emplace(aArgs);
67
0
  }
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<RefPtr<mozilla::extensions::MatchGlob> > >::SetValue(nsTArray<RefPtr<mozilla::extensions::MatchGlob> > const&)
Unexecuted instantiation: mozilla::dom::Nullable<double>::SetValue(double const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::SetValue(mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> const&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::PersistenceType>::SetValue(mozilla::dom::quota::PersistenceType const&)
Unexecuted instantiation: mozilla::dom::Nullable<bool>::SetValue(bool const&)
Unexecuted instantiation: mozilla::dom::Nullable<unsigned short>::SetValue(unsigned short const&)
Unexecuted instantiation: mozilla::dom::Nullable<unsigned long>::SetValue(unsigned long const&)
68
69
  void SetValue(T&& aArgs)
70
0
  {
71
0
    mValue.reset();
72
0
    mValue.emplace(std::move(aArgs));
73
0
  }
Unexecuted instantiation: mozilla::dom::Nullable<double>::SetValue(double&&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::SetValue(mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>&&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::PersistenceType>::SetValue(mozilla::dom::quota::PersistenceType&&)
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::MozProxyInfo>::SetValue(mozilla::dom::MozProxyInfo&&)
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<unsigned long> >::SetValue(nsTArray<unsigned long>&&)
74
75
  // For cases when |T| is some type with nontrivial copy behavior, we may want
76
  // to get a reference to our internal copy of T and work with it directly
77
  // instead of relying on the copying version of SetValue().
78
0
  T& SetValue() {
79
0
    if (mValue.isNothing()) {
80
0
      mValue.emplace();
81
0
    }
82
0
    return mValue.ref();
83
0
  }
Unexecuted instantiation: mozilla::dom::Nullable<double>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::ElementOrCSSPseudoElement>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningElementOrCSSPseudoElement>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningBlobOrDirectoryOrUSVString>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::WindowProxyOrMessagePortOrServiceWorker>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningWindowProxyOrMessagePortOrServiceWorker>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::MutationObservingInfo>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<bool>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<int>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<unsigned int>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::AttributeNameValue> >::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::TypedArray<unsigned char, &js::UnwrapArrayBuffer, &(JS_GetArrayBufferData(JSObject*, bool*, JS::AutoRequireNoGC const&)), &js::GetArrayBufferLengthAndData, &(JS_NewArrayBuffer(JSContext*, unsigned int))> >::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::BlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<unsigned long>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningArrayBufferViewOrArrayBufferOrString>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningArrayBufferViewOrArrayBuffer>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::RTCIceCandidateInitOrRTCIceCandidate>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::BlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrReadableStreamOrUSVString>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<unsigned short>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::RTCRtpTransceiverDirection>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<short>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::MozContentPolicyType> >::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningVideoTrackOrAudioTrackOrTextTrack>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::Transport> >::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::TypedArray<float, &js::UnwrapFloat32Array, &(JS_GetFloat32ArrayData(JSObject*, bool*, JS::AutoRequireNoGC const&)), &js::GetFloat32ArrayLengthAndData, &(JS_NewFloat32Array(JSContext*, unsigned int))> >::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::ArrayBufferView_base<&js::UnwrapArrayBufferView, &js::GetArrayBufferViewLengthAndData, &(JS_GetArrayBufferViewType(JSObject*))> >::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::OwningMatchGlobOrString> >::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningMatchPatternSetOrStringSequence>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<nsTString<char16_t> > >::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::DocumentOrBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningClientOrServiceWorkerOrMessagePort>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Date>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::HTMLElementOrLong>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningStringOrStringSequence>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningHTMLCanvasElementOrOffscreenCanvas>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::WebGLContextAttributes>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<nsTString<char16_t> > >::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<RefPtr<mozilla::WebGLShader> > >::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<unsigned int> >::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningNodeOrHTMLCollection>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningRadioNodeListOrElement>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::AutocompleteInfo>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningIDBObjectStoreOrIDBIndexOrIDBCursor>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::InspectorRGBATuple>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::extensions::MatchGlobSet>::SetValue()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::MozFrameAncestorInfo> >::SetValue()
84
85
0
  void SetNull() {
86
0
    mValue.reset();
87
0
  }
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<RefPtr<mozilla::extensions::MatchGlob> > >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<double>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningElementOrCSSPseudoElement>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningBlobOrDirectoryOrUSVString>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<bool>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<int>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<unsigned int>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::ElementOrCSSPseudoElement>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::AttributeNameValue> >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::TypedArray<unsigned char, &js::UnwrapArrayBuffer, &(JS_GetArrayBufferData(JSObject*, bool*, JS::AutoRequireNoGC const&)), &js::GetArrayBufferLengthAndData, &(JS_NewArrayBuffer(JSContext*, unsigned int))> >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::WindowProxyOrMessagePortOrServiceWorker>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningWindowProxyOrMessagePortOrServiceWorker>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::BlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<unsigned long>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningArrayBufferViewOrArrayBufferOrString>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningArrayBufferViewOrArrayBuffer>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::RTCIceCandidateInitOrRTCIceCandidate>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::BlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrReadableStreamOrUSVString>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<unsigned short>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::RTCRtpTransceiverDirection>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<short>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::MozContentPolicyType> >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningVideoTrackOrAudioTrackOrTextTrack>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::Transport> >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::TypedArray<float, &js::UnwrapFloat32Array, &(JS_GetFloat32ArrayData(JSObject*, bool*, JS::AutoRequireNoGC const&)), &js::GetFloat32ArrayLengthAndData, &(JS_NewFloat32Array(JSContext*, unsigned int))> >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::ArrayBufferView_base<&js::UnwrapArrayBufferView, &js::GetArrayBufferViewLengthAndData, &(JS_GetArrayBufferViewType(JSObject*))> >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::OwningMatchGlobOrString> >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningMatchPatternSetOrStringSequence>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<nsTString<char16_t> > >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::DocumentOrBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningClientOrServiceWorkerOrMessagePort>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Date>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::HTMLElementOrLong>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningStringOrStringSequence>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<unsigned int> >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningHTMLCanvasElementOrOffscreenCanvas>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::WebGLContextAttributes>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<nsTString<char16_t> > >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<RefPtr<mozilla::WebGLShader> > >::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningNodeOrHTMLCollection>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::AutocompleteInfo>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningIDBObjectStoreOrIDBIndexOrIDBCursor>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::InspectorRGBATuple>::SetNull()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::MozFrameAncestorInfo> >::SetNull()
88
89
0
  const T& Value() const {
90
0
    return mValue.ref();
91
0
  }
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<double>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::extensions::MatchGlobSet>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::ElementOrCSSPseudoElement>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::BlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<short>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<bool>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<int>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<unsigned int>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::AttributeNameValue> >::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::TypedArray<unsigned char, &js::UnwrapArrayBuffer, &(JS_GetArrayBufferData(JSObject*, bool*, JS::AutoRequireNoGC const&)), &js::GetArrayBufferLengthAndData, &(JS_NewArrayBuffer(JSContext*, unsigned int))> >::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningWindowProxyOrMessagePortOrServiceWorker>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<unsigned long>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningArrayBufferViewOrArrayBufferOrString>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningArrayBufferViewOrArrayBuffer>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<unsigned short>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::RTCIceCandidateInitOrRTCIceCandidate>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::MozContentPolicyType> >::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningVideoTrackOrAudioTrackOrTextTrack>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::Transport> >::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::ArrayBufferView_base<&js::UnwrapArrayBufferView, &js::GetArrayBufferViewLengthAndData, &(JS_GetArrayBufferViewType(JSObject*))> >::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::OwningMatchGlobOrString> >::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningMatchPatternSetOrStringSequence>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<nsTString<char16_t> > >::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningClientOrServiceWorkerOrMessagePort>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningStringOrStringSequence>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::WindowProxyOrMessagePortOrServiceWorker>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::BlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrReadableStreamOrUSVString>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::TypedArray<float, &js::UnwrapFloat32Array, &(JS_GetFloat32ArrayData(JSObject*, bool*, JS::AutoRequireNoGC const&)), &js::GetFloat32ArrayLengthAndData, &(JS_NewFloat32Array(JSContext*, unsigned int))> >::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Date>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::HTMLElementOrLong>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::PersistenceType>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::Client::Type>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::DocumentOrBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::Value() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<nsTString<char16_t> > >::Value() const
92
93
0
  T& Value() {
94
0
    return mValue.ref();
95
0
  }
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::OwningMatchGlobOrString> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningMatchPatternSetOrStringSequence>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<JS::Value> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningClientOrServiceWorkerOrMessagePort>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningWindowProxyOrMessagePortOrServiceWorker>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningVideoTrackOrAudioTrackOrTextTrack>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<double>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Record<nsTString<char16_t>, JS::Value> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::AttributeNameValue> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::L10nElement> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<bool>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<int>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<unsigned int>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::OwningArrayBufferViewOrArrayBufferOrBlobOrUSVString> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<JSObject*> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningElementOrCSSPseudoElement>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::TypedArray<unsigned char, &js::UnwrapArrayBuffer, &(JS_GetArrayBufferData(JSObject*, bool*, JS::AutoRequireNoGC const&)), &js::GetArrayBufferLengthAndData, &(JS_NewArrayBuffer(JSContext*, unsigned int))> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<nsTArray<JS::Value> > >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::MutationObservingInfo>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::PaymentShippingType>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::PaymentMethodData> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningArrayBufferViewOrArrayBufferOrString>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningArrayBufferViewOrArrayBuffer>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<unsigned short>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::RTCRtpTransceiverDirection>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::BlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrReadableStreamOrUSVString>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<short>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::MozProxyInfo>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::MozFrameAncestorInfo> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::VRDisplayEventReason>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::TypedArray<float, &js::UnwrapFloat32Array, &(JS_GetFloat32ArrayData(JSObject*, bool*, JS::AutoRequireNoGC const&)), &js::GetFloat32ArrayLengthAndData, &(JS_NewFloat32Array(JSContext*, unsigned int))> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<unsigned long>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<RefPtr<mozilla::extensions::MatchGlob> > >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::ArrayBufferView_base<&js::UnwrapArrayBufferView, &js::GetArrayBufferViewLengthAndData, &(JS_GetArrayBufferViewType(JSObject*))> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<unsigned int> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::WebGLContextAttributes>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<nsTString<char16_t> > >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<RefPtr<mozilla::WebGLShader> > >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningHTMLCanvasElementOrOffscreenCanvas>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::L10nKey> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<unsigned long> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningBlobOrDirectoryOrUSVString>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningNodeOrHTMLCollection>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::AutocompleteInfo>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Date>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningRadioNodeListOrElement>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningIDBObjectStoreOrIDBIndexOrIDBCursor>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::InspectorRGBATuple>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::PersistenceType>::Value()
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::ProfileTimelineMarker> >::Value()
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::extensions::MatchGlobSet>::Value()
96
97
0
  bool IsNull() const {
98
0
    return mValue.isNothing();
99
0
  }
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<double>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::OwningMatchGlobOrString> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningMatchPatternSetOrStringSequence>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::extensions::MatchGlobSet>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<JS::Value> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningClientOrServiceWorkerOrMessagePort>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningWindowProxyOrMessagePortOrServiceWorker>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningVideoTrackOrAudioTrackOrTextTrack>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Record<nsTString<char16_t>, JS::Value> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::ElementOrCSSPseudoElement>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::BlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<short>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::AttributeNameValue> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::L10nElement> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<bool>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<int>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<unsigned int>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::OwningArrayBufferViewOrArrayBufferOrBlobOrUSVString> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<JSObject*> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningElementOrCSSPseudoElement>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::TypedArray<unsigned char, &js::UnwrapArrayBuffer, &(JS_GetArrayBufferData(JSObject*, bool*, JS::AutoRequireNoGC const&)), &js::GetArrayBufferLengthAndData, &(JS_NewArrayBuffer(JSContext*, unsigned int))> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<nsTArray<JS::Value> > >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::MutationObservingInfo>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<unsigned long>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::PaymentShippingType>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::PaymentMethodData> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningArrayBufferViewOrArrayBufferOrString>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningArrayBufferViewOrArrayBuffer>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::RTCRtpTransceiverDirection>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<unsigned short>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::RTCIceCandidateInitOrRTCIceCandidate>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::MozProxyInfo>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::MozFrameAncestorInfo> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::MozContentPolicyType> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::Transport> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::VRDisplayEventReason>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::TypedArray<float, &js::UnwrapFloat32Array, &(JS_GetFloat32ArrayData(JSObject*, bool*, JS::AutoRequireNoGC const&)), &js::GetFloat32ArrayLengthAndData, &(JS_NewFloat32Array(JSContext*, unsigned int))> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<RefPtr<mozilla::extensions::MatchGlob> > >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::ArrayBufferView_base<&js::UnwrapArrayBufferView, &js::GetArrayBufferViewLengthAndData, &(JS_GetArrayBufferViewType(JSObject*))> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<unsigned int> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::WebGLContextAttributes>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<nsTString<char16_t> > >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<RefPtr<mozilla::WebGLShader> > >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningHTMLCanvasElementOrOffscreenCanvas>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Sequence<nsTString<char16_t> > >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::L10nKey> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<unsigned long> >::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningBlobOrDirectoryOrUSVString>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningNodeOrHTMLCollection>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::AutocompleteInfo>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::Date>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningRadioNodeListOrElement>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningIDBObjectStoreOrIDBIndexOrIDBCursor>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::InspectorRGBATuple>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::OwningStringOrStringSequence>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::WindowProxyOrMessagePortOrServiceWorker>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::BlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrReadableStreamOrUSVString>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::HTMLElementOrLong>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::PersistenceType>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::quota::Client::Type>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::dom::DocumentOrBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>::IsNull() const
Unexecuted instantiation: mozilla::dom::Nullable<nsTArray<mozilla::dom::ProfileTimelineMarker> >::IsNull() const
100
101
  bool Equals(const Nullable<T>& aOtherNullable) const
102
0
  {
103
0
    return mValue == aOtherNullable.mValue;
104
0
  }
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::Equals(mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> > const&) const
Unexecuted instantiation: mozilla::dom::Nullable<double>::Equals(mozilla::dom::Nullable<double> const&) const
105
106
  bool operator==(const Nullable<T>& aOtherNullable) const
107
0
  {
108
0
    return Equals(aOtherNullable);
109
0
  }
110
111
  bool operator!=(const Nullable<T>& aOtherNullable) const
112
0
  {
113
0
    return !Equals(aOtherNullable);
114
0
  }
Unexecuted instantiation: mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> >::operator!=(mozilla::dom::Nullable<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> > const&) const
Unexecuted instantiation: mozilla::dom::Nullable<double>::operator!=(mozilla::dom::Nullable<double> const&) const
115
116
  friend std::ostream& operator<<(std::ostream& aStream,
117
                                  const Nullable& aNullable) {
118
    return aStream << aNullable.mValue;
119
  }
120
};
121
122
123
template<typename T>
124
void
125
ImplCycleCollectionTraverse(nsCycleCollectionTraversalCallback& aCallback,
126
                            Nullable<T>& aNullable,
127
                            const char* aName,
128
                            uint32_t aFlags = 0)
129
0
{
130
0
  if (!aNullable.IsNull()) {
131
0
    ImplCycleCollectionTraverse(aCallback, aNullable.Value(), aName, aFlags);
132
0
  }
133
0
}
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionTraverse<mozilla::dom::Sequence<mozilla::dom::OwningMatchGlobOrString> >(nsCycleCollectionTraversalCallback&, mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::OwningMatchGlobOrString> >&, char const*, unsigned int)
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionTraverse<mozilla::dom::OwningMatchPatternSetOrStringSequence>(nsCycleCollectionTraversalCallback&, mozilla::dom::Nullable<mozilla::dom::OwningMatchPatternSetOrStringSequence>&, char const*, unsigned int)
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionTraverse<mozilla::dom::OwningBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>(nsCycleCollectionTraversalCallback&, mozilla::dom::Nullable<mozilla::dom::OwningBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>&, char const*, unsigned int)
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionTraverse<mozilla::dom::OwningClientOrServiceWorkerOrMessagePort>(nsCycleCollectionTraversalCallback&, mozilla::dom::Nullable<mozilla::dom::OwningClientOrServiceWorkerOrMessagePort>&, char const*, unsigned int)
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionTraverse<mozilla::dom::OwningWindowProxyOrMessagePortOrServiceWorker>(nsCycleCollectionTraversalCallback&, mozilla::dom::Nullable<mozilla::dom::OwningWindowProxyOrMessagePortOrServiceWorker>&, char const*, unsigned int)
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionTraverse<mozilla::dom::OwningVideoTrackOrAudioTrackOrTextTrack>(nsCycleCollectionTraversalCallback&, mozilla::dom::Nullable<mozilla::dom::OwningVideoTrackOrAudioTrackOrTextTrack>&, char const*, unsigned int)
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionTraverse<mozilla::extensions::MatchGlobSet>(nsCycleCollectionTraversalCallback&, mozilla::dom::Nullable<mozilla::extensions::MatchGlobSet>&, char const*, unsigned int)
134
135
template<typename T>
136
void
137
ImplCycleCollectionUnlink(Nullable<T>& aNullable)
138
0
{
139
0
  if (!aNullable.IsNull()) {
140
0
    ImplCycleCollectionUnlink(aNullable.Value());
141
0
  }
142
0
}
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionUnlink<mozilla::dom::Sequence<mozilla::dom::OwningMatchGlobOrString> >(mozilla::dom::Nullable<mozilla::dom::Sequence<mozilla::dom::OwningMatchGlobOrString> >&)
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionUnlink<mozilla::dom::OwningMatchPatternSetOrStringSequence>(mozilla::dom::Nullable<mozilla::dom::OwningMatchPatternSetOrStringSequence>&)
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionUnlink<mozilla::dom::OwningBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>(mozilla::dom::Nullable<mozilla::dom::OwningBlobOrArrayBufferViewOrArrayBufferOrFormDataOrURLSearchParamsOrUSVString>&)
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionUnlink<mozilla::dom::OwningClientOrServiceWorkerOrMessagePort>(mozilla::dom::Nullable<mozilla::dom::OwningClientOrServiceWorkerOrMessagePort>&)
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionUnlink<mozilla::dom::OwningWindowProxyOrMessagePortOrServiceWorker>(mozilla::dom::Nullable<mozilla::dom::OwningWindowProxyOrMessagePortOrServiceWorker>&)
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionUnlink<mozilla::dom::OwningVideoTrackOrAudioTrackOrTextTrack>(mozilla::dom::Nullable<mozilla::dom::OwningVideoTrackOrAudioTrackOrTextTrack>&)
Unexecuted instantiation: void mozilla::dom::ImplCycleCollectionUnlink<mozilla::extensions::MatchGlobSet>(mozilla::dom::Nullable<mozilla::extensions::MatchGlobSet>&)
143
144
} // namespace dom
145
} // namespace mozilla
146
147
#endif /* mozilla_dom_Nullable_h */