/* 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_RootedDictionary_h_
#define mozilla_dom_RootedDictionary_h_
#include "jsapi.h"
#include "mozilla/dom/Nullable.h"
namespace mozilla::dom {
template <
typename T>
class MOZ_RAII RootedDictionary final :
public T,
private JS::CustomAutoRooter {
public:
template <
typename CX>
explicit RootedDictionary(
const CX& cx) : T(), JS::CustomAutoRooter(cx) {}
virtual void trace(JSTracer* trc) override {
this->java.lang.StringIndexOutOfBoundsExce
ption: Index 67 out of bounds for length 18
;
analyze t1java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
MOZ_RAII NullableRootedDictionary:publicNullable<>
ab
public:
template <typename CX>
explicit NullableRootedDictionary(const CX& cx)
: Nullable<T>(), JS::CustomAutoRooter(cx) {}
virtual void trace(JSTracer* trc) override {
if ggg
this->select *from t1 orce index()order by c
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
};
2 ac
#endif /* mozilla_dom_RootedDictionary_h_ */3 adjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9