#include "content/services/auction_worklet/webidl_compat.h"
#include <cmath>
#include <initializer_list>
#include <memory>
#include <string_view>
#include "base/check.h"
#include "base/strings/strcat.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "content/services/auction_worklet/auction_v8_helper.h"
#include "gin/converter.h"
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "v8/include/v8-context.h"
#include "v8/include/v8-exception.h"
#include "v8/include/v8-external.h"
#include "v8/include/v8-function.h"
ElementsAre;
Pair;
namespace auction_worklet {
class WebIDLCompatTest : public testing::Test { … };
TEST_F(WebIDLCompatTest, StandaloneDouble) { … }
TEST_F(WebIDLCompatTest, StandaloneUnrestrictedDouble) { … }
TEST_F(WebIDLCompatTest, StandaloneBool) { … }
TEST_F(WebIDLCompatTest, StandaloneString) { … }
TEST_F(WebIDLCompatTest, StandaloneString16) { … }
TEST_F(WebIDLCompatTest, StandaloneBigInt) { … }
TEST_F(WebIDLCompatTest, StandaloneLong) { … }
TEST_F(WebIDLCompatTest, StandaloneUnsignedLong) { … }
TEST_F(WebIDLCompatTest, SequenceDetection) { … }
TEST_F(WebIDLCompatTest, StandaloneSequence) { … }
TEST_F(WebIDLCompatTest, BigIntOrLong) { … }
TEST_F(WebIDLCompatTest, StandaloneAny) { … }
TEST_F(WebIDLCompatTest, PropagateErrorsToV8Success) { … }
TEST_F(WebIDLCompatTest, PropagateErrorsToV8Timeout) { … }
TEST_F(WebIDLCompatTest, PropagateErrorsToV8ErrorMessage) { … }
TEST_F(WebIDLCompatTest, PropagateErrorsToV8Exception) { … }
TEST_F(WebIDLCompatTest, RecordBasic) { … }
TEST_F(WebIDLCompatTest, RecordArray) { … }
TEST_F(WebIDLCompatTest, RecordNonObject) { … }
TEST_F(WebIDLCompatTest, RecordGetOwnPropertyNamesFailure) { … }
TEST_F(WebIDLCompatTest, RecordGetFieldFailure) { … }
TEST_F(WebIDLCompatTest, RecordGetOwnPropertyDescriptorFailure) { … }
TEST_F(WebIDLCompatTest, RecordSkips) { … }
TEST_F(WebIDLCompatTest, RecordKeyConvertFailure) { … }
TEST_F(WebIDLCompatTest, RecordKeyConvertFailureOrder) { … }
TEST_F(WebIDLCompatTest, RecordValConvertFailure) { … }
TEST_F(WebIDLCompatTest, RecordGetFailue) { … }
TEST_F(WebIDLCompatTest, RecordValidUTF16) { … }
TEST_F(WebIDLCompatTest, RecordInvalidUTF16Key) { … }
TEST_F(WebIDLCompatTest, RecordInvalidUTF16Val) { … }
TEST_F(WebIDLCompatTest, UndefinedEmptyDict) { … }
TEST_F(WebIDLCompatTest, NullEmptyDict) { … }
TEST_F(WebIDLCompatTest, OptionalOrRequired) { … }
TEST_F(WebIDLCompatTest, NullUndefinedValues) { … }
TEST_F(WebIDLCompatTest, NotDict) { … }
TEST_F(WebIDLCompatTest, ErrorLatch) { … }
TEST_F(WebIDLCompatTest, Double) { … }
TEST_F(WebIDLCompatTest, UnrestrictedDouble) { … }
TEST_F(WebIDLCompatTest, DoubleCoercion) { … }
TEST_F(WebIDLCompatTest, DoubleCoercionNonTermination) { … }
TEST_F(WebIDLCompatTest, DoubleCoercionResultNotFinite) { … }
TEST_F(WebIDLCompatTest, Boolean) { … }
TEST_F(WebIDLCompatTest, String) { … }
TEST_F(WebIDLCompatTest, StringCoercion) { … }
TEST_F(WebIDLCompatTest, StringCoercionNonTermination) { … }
TEST_F(WebIDLCompatTest, FieldAccessThrows) { … }
TEST_F(WebIDLCompatTest, FieldAccessNonTermination) { … }
TEST_F(WebIDLCompatTest, Sequence) { … }
TEST_F(WebIDLCompatTest, EmptySequence) { … }
TEST_F(WebIDLCompatTest, SeqItemError) { … }
TEST_F(WebIDLCompatTest, SeqItemErrorPropagation) { … }
TEST_F(WebIDLCompatTest, SeqItemTimeoutPropagation) { … }
TEST_F(WebIDLCompatTest, SequenceSimpleIter) { … }
TEST_F(WebIDLCompatTest, SequenceNonObj) { … }
TEST_F(WebIDLCompatTest, SequenceNonIter) { … }
TEST_F(WebIDLCompatTest, SequenceNonIter2) { … }
TEST_F(WebIDLCompatTest, SequenceNonIter3) { … }
TEST_F(WebIDLCompatTest, SequenceNonIter4) { … }
TEST_F(WebIDLCompatTest, SequenceNonIter5) { … }
TEST_F(WebIDLCompatTest, SequenceNonIter6) { … }
TEST_F(WebIDLCompatTest, SequenceNonIter7) { … }
TEST_F(WebIDLCompatTest, SequenceNonIter8) { … }
TEST_F(WebIDLCompatTest, SequenceInfiniteIter) { … }
TEST_F(WebIDLCompatTest, SequenceNonTermIter) { … }
TEST_F(WebIDLCompatTest, SequenceUnsetValueOk) { … }
TEST_F(WebIDLCompatTest, ArgsConverter) { … }
TEST_F(WebIDLCompatTest, ArgsConverter2) { … }
TEST_F(WebIDLCompatTest, ArgsConverter3) { … }
TEST_F(WebIDLCompatTest, ArgsConverter4) { … }
TEST_F(WebIDLCompatTest, ArgsConverter5) { … }
TEST_F(WebIDLCompatTest, ArgsConverter6) { … }
}