-
-
Save anonymous/675885df71053e02276afd2691636fcf to your computer and use it in GitHub Desktop.
./test-report.sh | tee test-report.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILE: tests/003-V8ObjectTemplate_recursive_chain.diff | |
001+ # | |
001- V8\Exceptions\GenericException: Can't set: recursion detected | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/003-V8ObjectTemplate_recursive_chain.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/003-V8ObjectTemplate_recursive_global.diff | |
001+ # | |
001- V8\Exceptions\GenericException: Can't set: recursion detected | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/003-V8ObjectTemplate_recursive_global.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/003-V8ObjectTemplate_recursive_self.diff | |
001+ # | |
001- V8\Exceptions\GenericException: Can't set: recursion detected | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/003-V8ObjectTemplate_recursive_self.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/003-V8ObjectTemplate_recursive_tree.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
001- V8\Exceptions\GenericException: Can't set: recursion detected | |
002- V8\Exceptions\GenericException: Can't set: recursion detected | |
003- V8\Exceptions\GenericException: Can't set: recursion detected | |
004+ # | |
005+ Illegal instruction (core dumped)\n | |
FILE: tests/003-V8ObjectTemplate_recursive_tree.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/004-ICU-Intl_DateTimeFormat.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- 12/20/2012 | |
002- 20/12/2012 | |
003- 2012. 12. 20. | |
004- ٢٠/١٢/٢٠١٢ | |
005- 平成24/12/20 | |
006- 20/12/2012 | |
007+ Termsig=4 | |
008- Donnerstag, 20. Dezember 2012 | |
009- Thursday, December 20, 2012, GMT | |
010- 3:00:00 am GMT | |
011- 12/20/2012, 03:00:00 | |
012- | |
013- Wednesday, December 19, 2012 | |
014- jeudi 20 décembre 2012 | |
015- Donnerstag, 20. Dezember 2012\n | |
FILE: tests/004-ICU-Intl_DateTimeFormat.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/004-ICU-Intl_NumberFormat.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- 123.456,789 | |
002- ١٢٣٬٤٥٦٫٧٨٩ | |
003- 1,23,456.789 | |
004- 一二三,四五六.七八九 | |
005- 123.456,789 | |
007+ Termsig=4 | |
007- 123.456,79 € | |
008- ¥123,457 | |
009- 1,23,000\n | |
FILE: tests/004-ICU-Intl_NumberFormat.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/005-V8FunctionTemplate_external_memory.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Adjusted external memory size by default: 0 | |
002- After adjusting from zero to 1kb: 1024 | |
003- After adjusting from 1kb to 2kb: 2048 | |
004- After adjusting down from 2kb to 1kb: 1024 | |
005- After adjusting down to more that was adjusted initially: 0 | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/005-V8FunctionTemplate_external_memory.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/005-V8ObjectTemplate_external_memory.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Adjusted external memory size by default: 0 | |
002- After adjusting from zero to 1kb: 1024 | |
003- After adjusting from 1kb to 2kb: 2048 | |
004- After adjusting down from 2kb to 1kb: 1024 | |
005- After adjusting down to more that was adjusted initially: 0 | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/005-V8ObjectTemplate_external_memory.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/005-V8ObjectValue_external_memory.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Adjusted external memory size by default: 0 | |
002- After adjusting from zero to 1kb: 1024 | |
003- After adjusting from 1kb to 2kb: 2048 | |
004- After adjusting down from 2kb to 1kb: 1024 | |
005- After adjusting down to more that was adjusted initially: 0 | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/005-V8ObjectValue_external_memory.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8ArrayObject.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\ArrayObject)#6 (2) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- ["context":"V8\ObjectValue":private]=> | |
018- object(V8\Context)#5 (4) { | |
019- ["isolate":"V8\Context":private]=> | |
020- object(V8\Isolate)#3 (5) { | |
021- ["snapshot":"V8\Isolate":private]=> | |
022- NULL | |
023- ["time_limit":"V8\Isolate":private]=> | |
024- float(0) | |
025- ["time_limit_hit":"V8\Isolate":private]=> | |
026- bool(false) | |
027- ["memory_limit":"V8\Isolate":private]=> | |
028- int(0) | |
029- ["memory_limit_hit":"V8\Isolate":private]=> | |
030- bool(false) | |
031- } | |
032- ["extensions":"V8\Context":private]=> | |
033- array(0) { | |
034- } | |
035- ["global_template":"V8\Context":private]=> | |
036- object(V8\ObjectTemplate)#4 (1) { | |
037- ["isolate":"V8\Template":private]=> | |
038- object(V8\Isolate)#3 (5) { | |
039- ["snapshot":"V8\Isolate":private]=> | |
040- NULL | |
041- ["time_limit":"V8\Isolate":private]=> | |
042- float(0) | |
043- ["time_limit_hit":"V8\Isolate":private]=> | |
044- bool(false) | |
045- ["memory_limit":"V8\Isolate":private]=> | |
046- int(0) | |
047- ["memory_limit_hit":"V8\Isolate":private]=> | |
048- bool(false) | |
049- } | |
050- } | |
051- ["global_object":"V8\Context":private]=> | |
052- NULL | |
053- } | |
054- } | |
055- | |
056- | |
057- ArrayObject extends ObjectValue: ok | |
058- | |
059- Accessors: | |
060- ---------- | |
061- V8\ArrayObject::GetIsolate() matches expected value | |
062- V8\ArrayObject::GetContext() matches expected value | |
063- V8\ArrayObject::CreationContext() matches expected value | |
064- | |
065- | |
066- Converters: | |
067- ----------- | |
068- V8\ArrayObject(V8\Value)->ToBoolean(): | |
069- object(V8\BooleanValue)#98 (1) { | |
070- ["isolate":"V8\Value":private]=> | |
071- object(V8\Isolate)#3 (5) { | |
072- ["snapshot":"V8\Isolate":private]=> | |
073- NULL | |
074- ["time_limit":"V8\Isolate":private]=> | |
075- float(0) | |
076- ["time_limit_hit":"V8\Isolate":private]=> | |
077- bool(false) | |
078- ["memory_limit":"V8\Isolate":private]=> | |
079- int(0) | |
080- ["memory_limit_hit":"V8\Isolate":private]=> | |
081- bool(false) | |
082- } | |
083- } | |
084- V8\ArrayObject(V8\Value)->ToNumber(): | |
085- object(V8\NumberValue)#98 (1) { | |
086- ["isolate":"V8\Value":private]=> | |
087- object(V8\Isolate)#3 (5) { | |
088- ["snapshot":"V8\Isolate":private]=> | |
089- NULL | |
090- ["time_limit":"V8\Isolate":private]=> | |
091- float(0) | |
092- ["time_limit_hit":"V8\Isolate":private]=> | |
093- bool(false) | |
094- ["memory_limit":"V8\Isolate":private]=> | |
095- int(0) | |
096- ["memory_limit_hit":"V8\Isolate":private]=> | |
097- bool(false) | |
098- } | |
099- } | |
100- V8\ArrayObject(V8\Value)->ToString(): | |
101- object(V8\StringValue)#98 (1) { | |
102- ["isolate":"V8\Value":private]=> | |
103- object(V8\Isolate)#3 (5) { | |
104- ["snapshot":"V8\Isolate":private]=> | |
105- NULL | |
106- ["time_limit":"V8\Isolate":private]=> | |
107- float(0) | |
108- ["time_limit_hit":"V8\Isolate":private]=> | |
109- bool(false) | |
110- ["memory_limit":"V8\Isolate":private]=> | |
111- int(0) | |
112- ["memory_limit_hit":"V8\Isolate":private]=> | |
113- bool(false) | |
114- } | |
115- } | |
116- V8\ArrayObject(V8\Value)->ToDetailString(): | |
117- object(V8\StringValue)#98 (1) { | |
118- ["isolate":"V8\Value":private]=> | |
119- object(V8\Isolate)#3 (5) { | |
120- ["snapshot":"V8\Isolate":private]=> | |
121- NULL | |
122- ["time_limit":"V8\Isolate":private]=> | |
123- float(0) | |
124- ["time_limit_hit":"V8\Isolate":private]=> | |
125- bool(false) | |
126- ["memory_limit":"V8\Isolate":private]=> | |
127- int(0) | |
128- ["memory_limit_hit":"V8\Isolate":private]=> | |
129- bool(false) | |
130- } | |
131- } | |
132- V8\ArrayObject(V8\Value)->ToObject(): | |
133- object(V8\ArrayObject)#6 (2) { | |
134- ["isolate":"V8\Value":private]=> | |
135- object(V8\Isolate)#3 (5) { | |
136- ["snapshot":"V8\Isolate":private]=> | |
137- NULL | |
138- ["time_limit":"V8\Isolate":private]=> | |
139- float(0) | |
140- ["time_limit_hit":"V8\Isolate":private]=> | |
141- bool(false) | |
142- ["memory_limit":"V8\Isolate":private]=> | |
143- int(0) | |
144- ["memory_limit_hit":"V8\Isolate":private]=> | |
145- bool(false) | |
146- } | |
147- ["context":"V8\ObjectValue":private]=> | |
148- object(V8\Context)#5 (4) { | |
149- ["isolate":"V8\Context":private]=> | |
150- object(V8\Isolate)#3 (5) { | |
151- ["snapshot":"V8\Isolate":private]=> | |
152- NULL | |
153- ["time_limit":"V8\Isolate":private]=> | |
154- float(0) | |
155- ["time_limit_hit":"V8\Isolate":private]=> | |
156- bool(false) | |
157- ["memory_limit":"V8\Isolate":private]=> | |
158- int(0) | |
159- ["memory_limit_hit":"V8\Isolate":private]=> | |
160- bool(false) | |
161- } | |
162- ["extensions":"V8\Context":private]=> | |
163- array(0) { | |
164- } | |
165- ["global_template":"V8\Context":private]=> | |
166- object(V8\ObjectTemplate)#4 (1) { | |
167- ["isolate":"V8\Template":private]=> | |
168- object(V8\Isolate)#3 (5) { | |
169- ["snapshot":"V8\Isolate":private]=> | |
170- NULL | |
171- ["time_limit":"V8\Isolate":private]=> | |
172- float(0) | |
173- ["time_limit_hit":"V8\Isolate":private]=> | |
174- bool(false) | |
175- ["memory_limit":"V8\Isolate":private]=> | |
176- int(0) | |
177- ["memory_limit_hit":"V8\Isolate":private]=> | |
178- bool(false) | |
179- } | |
180- } | |
181- ["global_object":"V8\Context":private]=> | |
182- NULL | |
183- } | |
184- } | |
185- V8\ArrayObject(V8\Value)->ToInteger(): | |
186- object(V8\NumberValue)#98 (1) { | |
187- ["isolate":"V8\Value":private]=> | |
188- object(V8\Isolate)#3 (5) { | |
189- ["snapshot":"V8\Isolate":private]=> | |
190- NULL | |
191- ["time_limit":"V8\Isolate":private]=> | |
192- float(0) | |
193- ["time_limit_hit":"V8\Isolate":private]=> | |
194- bool(false) | |
195- ["memory_limit":"V8\Isolate":private]=> | |
196- int(0) | |
197- ["memory_limit_hit":"V8\Isolate":private]=> | |
198- bool(false) | |
199- } | |
200- } | |
201- V8\ArrayObject(V8\Value)->ToUint32(): | |
202- object(V8\NumberValue)#98 (1) { | |
203- ["isolate":"V8\Value":private]=> | |
204- object(V8\Isolate)#3 (5) { | |
205- ["snapshot":"V8\Isolate":private]=> | |
206- NULL | |
207- ["time_limit":"V8\Isolate":private]=> | |
208- float(0) | |
209- ["time_limit_hit":"V8\Isolate":private]=> | |
210- bool(false) | |
211- ["memory_limit":"V8\Isolate":private]=> | |
212- int(0) | |
213- ["memory_limit_hit":"V8\Isolate":private]=> | |
214- bool(false) | |
215- } | |
216- } | |
217- V8\ArrayObject(V8\Value)->ToInt32(): | |
218- object(V8\NumberValue)#98 (1) { | |
219- ["isolate":"V8\Value":private]=> | |
220- object(V8\Isolate)#3 (5) { | |
221- ["snapshot":"V8\Isolate":private]=> | |
222- NULL | |
223- ["time_limit":"V8\Isolate":private]=> | |
224- float(0) | |
225- ["time_limit_hit":"V8\Isolate":private]=> | |
226- bool(false) | |
227- ["memory_limit":"V8\Isolate":private]=> | |
228- int(0) | |
229- ["memory_limit_hit":"V8\Isolate":private]=> | |
230- bool(false) | |
231- } | |
232- } | |
233- V8\ArrayObject(V8\Value)->ToArrayIndex(): V8\Exceptions\GenericException: Failed to convert | |
234- | |
235- | |
236- typeof arr: object | |
237- arr: [first, second, third] | |
238- arr.length: 3 | |
239- arr[0]: first | |
240- arr.test: property | |
241- arr.slice(1): [second, third]\n | |
FILE: tests/V8ArrayObject.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8ArrayObject_Length.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
001- 3 | |
002- 5 | |
003- 7 | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/V8ArrayObject_Length.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Boolean.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\BooleanValue)#2 (1) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#1 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- } | |
018- | |
019- | |
020- BooleanValue extends PrimitiveValue: ok | |
021- | |
022- Accessors: | |
023- ---------- | |
024- V8\BooleanValue::GetIsolate() matches expected value | |
025- V8\BooleanValue->Value(): bool(true) | |
026- | |
027- | |
028- Checkers: | |
029- --------- | |
030- V8\BooleanValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(7) "boolean" | |
031- | |
032- V8\BooleanValue(V8\Value)->IsUndefined(): bool(false) | |
033- V8\BooleanValue(V8\Value)->IsNull(): bool(false) | |
034- V8\BooleanValue(V8\Value)->IsTrue(): bool(true) | |
035- V8\BooleanValue(V8\Value)->IsFalse(): bool(false) | |
036- V8\BooleanValue(V8\Value)->IsName(): bool(false) | |
037- V8\BooleanValue(V8\Value)->IsString(): bool(false) | |
038- V8\BooleanValue(V8\Value)->IsSymbol(): bool(false) | |
039- V8\BooleanValue(V8\Value)->IsFunction(): bool(false) | |
040- V8\BooleanValue(V8\Value)->IsArray(): bool(false) | |
041- V8\BooleanValue(V8\Value)->IsObject(): bool(false) | |
042- V8\BooleanValue(V8\Value)->IsBoolean(): bool(true) | |
043- V8\BooleanValue(V8\Value)->IsNumber(): bool(false) | |
044- V8\BooleanValue(V8\Value)->IsInt32(): bool(false) | |
045- V8\BooleanValue(V8\Value)->IsUint32(): bool(false) | |
046- V8\BooleanValue(V8\Value)->IsDate(): bool(false) | |
047- V8\BooleanValue(V8\Value)->IsArgumentsObject(): bool(false) | |
048- V8\BooleanValue(V8\Value)->IsBooleanObject(): bool(false) | |
049- V8\BooleanValue(V8\Value)->IsNumberObject(): bool(false) | |
050- V8\BooleanValue(V8\Value)->IsStringObject(): bool(false) | |
051- V8\BooleanValue(V8\Value)->IsSymbolObject(): bool(false) | |
052- V8\BooleanValue(V8\Value)->IsNativeError(): bool(false) | |
053- V8\BooleanValue(V8\Value)->IsRegExp(): bool(false) | |
054- | |
055- | |
056- Primitive converters: | |
057- --------------------- | |
058- V8\BooleanValue(V8\Value)->BooleanValue(): bool(true) | |
059- V8\BooleanValue(V8\Value)->NumberValue(): float(1) | |
060- | |
061- | |
062- V8\BooleanValue::ToString() converting: | |
063- --------------------------------------- | |
064- string(4) "true"\n | |
FILE: tests/V8Boolean.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8BooleanObject.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\BooleanObject)#8 (2) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- ["context":"V8\ObjectValue":private]=> | |
018- object(V8\Context)#7 (4) { | |
019- ["isolate":"V8\Context":private]=> | |
020- object(V8\Isolate)#3 (5) { | |
021- ["snapshot":"V8\Isolate":private]=> | |
022- NULL | |
023- ["time_limit":"V8\Isolate":private]=> | |
024- float(0) | |
025- ["time_limit_hit":"V8\Isolate":private]=> | |
026- bool(false) | |
027- ["memory_limit":"V8\Isolate":private]=> | |
028- int(0) | |
029- ["memory_limit_hit":"V8\Isolate":private]=> | |
030- bool(false) | |
031- } | |
032- ["extensions":"V8\Context":private]=> | |
033- array(0) { | |
034- } | |
035- ["global_template":"V8\Context":private]=> | |
036- object(V8\ObjectTemplate)#4 (1) { | |
037- ["isolate":"V8\Template":private]=> | |
038- object(V8\Isolate)#3 (5) { | |
039- ["snapshot":"V8\Isolate":private]=> | |
040- NULL | |
041- ["time_limit":"V8\Isolate":private]=> | |
042- float(0) | |
043- ["time_limit_hit":"V8\Isolate":private]=> | |
044- bool(false) | |
045- ["memory_limit":"V8\Isolate":private]=> | |
046- int(0) | |
047- ["memory_limit_hit":"V8\Isolate":private]=> | |
048- bool(false) | |
049- } | |
050- } | |
051- ["global_object":"V8\Context":private]=> | |
052- NULL | |
053- } | |
054- } | |
055- | |
056- | |
057- BooleanObject extends ObjectValue: ok | |
058- | |
059- Getters: | |
060- -------- | |
061- V8\BooleanObject->ValueOf(): bool(true) | |
062- | |
063- | |
064- Checkers: | |
065- --------- | |
066- V8\BooleanObject(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
067- | |
068- V8\BooleanObject(V8\ObjectValue)->IsCallable(): bool(false) | |
069- V8\BooleanObject(V8\ObjectValue)->IsConstructor(): bool(false) | |
070- V8\BooleanObject(V8\Value)->IsUndefined(): bool(false) | |
071- V8\BooleanObject(V8\Value)->IsNull(): bool(false) | |
072- V8\BooleanObject(V8\Value)->IsTrue(): bool(false) | |
073- V8\BooleanObject(V8\Value)->IsFalse(): bool(false) | |
074- V8\BooleanObject(V8\Value)->IsName(): bool(false) | |
075- V8\BooleanObject(V8\Value)->IsString(): bool(false) | |
076- V8\BooleanObject(V8\Value)->IsSymbol(): bool(false) | |
077- V8\BooleanObject(V8\Value)->IsFunction(): bool(false) | |
078- V8\BooleanObject(V8\Value)->IsArray(): bool(false) | |
079- V8\BooleanObject(V8\Value)->IsObject(): bool(true) | |
080- V8\BooleanObject(V8\Value)->IsBoolean(): bool(false) | |
081- V8\BooleanObject(V8\Value)->IsNumber(): bool(false) | |
082- V8\BooleanObject(V8\Value)->IsInt32(): bool(false) | |
083- V8\BooleanObject(V8\Value)->IsUint32(): bool(false) | |
084- V8\BooleanObject(V8\Value)->IsDate(): bool(false) | |
085- V8\BooleanObject(V8\Value)->IsArgumentsObject(): bool(false) | |
086- V8\BooleanObject(V8\Value)->IsBooleanObject(): bool(true) | |
087- V8\BooleanObject(V8\Value)->IsNumberObject(): bool(false) | |
088- V8\BooleanObject(V8\Value)->IsStringObject(): bool(false) | |
089- V8\BooleanObject(V8\Value)->IsSymbolObject(): bool(false) | |
090- V8\BooleanObject(V8\Value)->IsNativeError(): bool(false) | |
091- V8\BooleanObject(V8\Value)->IsRegExp(): bool(false) | |
092- | |
093- | |
094- val: true | |
095- typeof val: object | |
096- | |
097- | |
098- Checkers on boxed from script: | |
099- ------------------------------ | |
100- V8\BooleanObject(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
101- | |
102- V8\BooleanObject(V8\ObjectValue)->IsCallable(): bool(false) | |
103- V8\BooleanObject(V8\ObjectValue)->IsConstructor(): bool(false) | |
104- V8\BooleanObject(V8\Value)->IsUndefined(): bool(false) | |
105- V8\BooleanObject(V8\Value)->IsNull(): bool(false) | |
106- V8\BooleanObject(V8\Value)->IsTrue(): bool(false) | |
107- V8\BooleanObject(V8\Value)->IsFalse(): bool(false) | |
108- V8\BooleanObject(V8\Value)->IsName(): bool(false) | |
109- V8\BooleanObject(V8\Value)->IsString(): bool(false) | |
110- V8\BooleanObject(V8\Value)->IsSymbol(): bool(false) | |
111- V8\BooleanObject(V8\Value)->IsFunction(): bool(false) | |
112- V8\BooleanObject(V8\Value)->IsArray(): bool(false) | |
113- V8\BooleanObject(V8\Value)->IsObject(): bool(true) | |
114- V8\BooleanObject(V8\Value)->IsBoolean(): bool(false) | |
115- V8\BooleanObject(V8\Value)->IsNumber(): bool(false) | |
116- V8\BooleanObject(V8\Value)->IsInt32(): bool(false) | |
117- V8\BooleanObject(V8\Value)->IsUint32(): bool(false) | |
118- V8\BooleanObject(V8\Value)->IsDate(): bool(false) | |
119- V8\BooleanObject(V8\Value)->IsArgumentsObject(): bool(false) | |
120- V8\BooleanObject(V8\Value)->IsBooleanObject(): bool(true) | |
121- V8\BooleanObject(V8\Value)->IsNumberObject(): bool(false) | |
122- V8\BooleanObject(V8\Value)->IsStringObject(): bool(false) | |
123- V8\BooleanObject(V8\Value)->IsSymbolObject(): bool(false) | |
124- V8\BooleanObject(V8\Value)->IsNativeError(): bool(false) | |
125- V8\BooleanObject(V8\Value)->IsRegExp(): bool(false)\n | |
FILE: tests/V8BooleanObject.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Context.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- ErrorException: Extensions are not supported yet | |
002- Estimated memory usage size by this context: int(%d) | |
003- V8\Context::GlobalObject() result is instance of V8\ObjectValue | |
004- CHECK $global->SameValue($context->GlobalObject()): OK | |
005- V8\Context::IsCodeGenerationFromStringsAllowed() matches expected value | |
006- Code generation allowed: ok | |
007- Code generation is not allowed: ok | |
008- V8\Context::IsCodeGenerationFromStringsAllowed() matches expected false | |
009- eval("1+1"): V8\Exceptions\TryCatchException: EvalError: Code generation from strings disallowed for this context | |
010- eval("2+2"): V8\Exceptions\TryCatchException: EvalError: Whoa! Nope. No eval this time, sorry. | |
011- Estimated memory usage size by this context: int(%d)\n | |
FILE: tests/V8Context.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Context_GlobalObject.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- V8\Context::GlobalObject() result is instance of V8\ObjectValue | |
002- Global object on repeatable calls is the same: ok | |
003- Global object on repeatable calls holds extra props: ok | |
004- V8\Context::GlobalObject() result is instance of V8\ObjectValue | |
005- Global object passed from one context to another is the same | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/V8Context_GlobalObject.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Context_weakness.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
001- We are done for now | |
002- EOF | |
003- Context dies now | |
004+ # | |
005+ Illegal instruction (core dumped)\n | |
FILE: tests/V8Context_weakness.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Data.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\Data)#2 (0) { | |
004- } | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/V8Data.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8DateObject.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\DateObject)#8 (2) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- ["context":"V8\ObjectValue":private]=> | |
018- object(V8\Context)#7 (4) { | |
019- ["isolate":"V8\Context":private]=> | |
020- object(V8\Isolate)#3 (5) { | |
021- ["snapshot":"V8\Isolate":private]=> | |
022- NULL | |
023- ["time_limit":"V8\Isolate":private]=> | |
024- float(0) | |
025- ["time_limit_hit":"V8\Isolate":private]=> | |
026- bool(false) | |
027- ["memory_limit":"V8\Isolate":private]=> | |
028- int(0) | |
029- ["memory_limit_hit":"V8\Isolate":private]=> | |
030- bool(false) | |
031- } | |
032- ["extensions":"V8\Context":private]=> | |
033- array(0) { | |
034- } | |
035- ["global_template":"V8\Context":private]=> | |
036- object(V8\ObjectTemplate)#4 (1) { | |
037- ["isolate":"V8\Template":private]=> | |
038- object(V8\Isolate)#3 (5) { | |
039- ["snapshot":"V8\Isolate":private]=> | |
040- NULL | |
041- ["time_limit":"V8\Isolate":private]=> | |
042- float(0) | |
043- ["time_limit_hit":"V8\Isolate":private]=> | |
044- bool(false) | |
045- ["memory_limit":"V8\Isolate":private]=> | |
046- int(0) | |
047- ["memory_limit_hit":"V8\Isolate":private]=> | |
048- bool(false) | |
049- } | |
050- } | |
051- ["global_object":"V8\Context":private]=> | |
052- NULL | |
053- } | |
054- } | |
055- | |
056- | |
057- DateObject extends ObjectValue: ok | |
058- | |
059- Getters: | |
060- -------- | |
061- V8\DateObject->ValueOf(): float(1445444940000) | |
062- | |
063- | |
064- Checkers: | |
065- --------- | |
066- V8\DateObject(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
067- | |
068- V8\DateObject(V8\ObjectValue)->IsCallable(): bool(false) | |
069- V8\DateObject(V8\ObjectValue)->IsConstructor(): bool(false) | |
070- V8\DateObject(V8\Value)->IsUndefined(): bool(false) | |
071- V8\DateObject(V8\Value)->IsNull(): bool(false) | |
072- V8\DateObject(V8\Value)->IsTrue(): bool(false) | |
073- V8\DateObject(V8\Value)->IsFalse(): bool(false) | |
074- V8\DateObject(V8\Value)->IsName(): bool(false) | |
075- V8\DateObject(V8\Value)->IsString(): bool(false) | |
076- V8\DateObject(V8\Value)->IsSymbol(): bool(false) | |
077- V8\DateObject(V8\Value)->IsFunction(): bool(false) | |
078- V8\DateObject(V8\Value)->IsArray(): bool(false) | |
079- V8\DateObject(V8\Value)->IsObject(): bool(true) | |
080- V8\DateObject(V8\Value)->IsBoolean(): bool(false) | |
081- V8\DateObject(V8\Value)->IsNumber(): bool(false) | |
082- V8\DateObject(V8\Value)->IsInt32(): bool(false) | |
083- V8\DateObject(V8\Value)->IsUint32(): bool(false) | |
084- V8\DateObject(V8\Value)->IsDate(): bool(true) | |
085- V8\DateObject(V8\Value)->IsArgumentsObject(): bool(false) | |
086- V8\DateObject(V8\Value)->IsBooleanObject(): bool(false) | |
087- V8\DateObject(V8\Value)->IsNumberObject(): bool(false) | |
088- V8\DateObject(V8\Value)->IsStringObject(): bool(false) | |
089- V8\DateObject(V8\Value)->IsSymbolObject(): bool(false) | |
090- V8\DateObject(V8\Value)->IsNativeError(): bool(false) | |
091- V8\DateObject(V8\Value)->IsRegExp(): bool(false) | |
092- | |
093- | |
094- val: Wed Oct 21 2015 16:29:00 GMT+0000 (UTC) | |
095- typeof val: object | |
096- | |
097- | |
098- Returned value should be the same: | |
099- ---------------------------------- | |
100- Expected value is identical to actual value | |
101- | |
102- | |
103- Timezone change (with notification to v8): | |
104- ------------------------------------------ | |
105- val: Wed Oct 21 2015 09:29:00 GMT-0700 (PDT) | |
106- typeof val: object | |
107- Expected 1445444940000.0 value is identical to actual value 1445444940000.0 | |
108- | |
109- | |
110- Timezone change (without notification to v8): | |
111- --------------------------------------------- | |
112- val: Wed Oct 21 2015 09:29:00 GMT-0700 (EDT) | |
113- typeof val: object | |
114- Expected 1445444940000.0 value is identical to actual value 1445444940000.0\n | |
FILE: tests/V8DateObject.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Exception_CreateMessage.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Can create message when out of context: ok | |
003- exception: '[object Object]' | |
007+ Termsig=4 | |
004- exception.stack: <undefined> | |
005- | |
006- Exception passed: ok | |
007- | |
008- Message created from thrown value: | |
009- ---------------------------------- | |
010- V8\Message->Get(): string(18) "Uncaught #<Object>" | |
011- V8\Message->GetSourceLine(): string(24) " test(exception);" | |
012- V8\Message->GetScriptOrigin(): | |
013- object(V8\ScriptOrigin)#22 (6) { | |
014- ["resource_name":"V8\ScriptOrigin":private]=> | |
015- string(7) "test.js" | |
016- ["resource_line_offset":"V8\ScriptOrigin":private]=> | |
017- int(0) | |
018- ["resource_column_offset":"V8\ScriptOrigin":private]=> | |
019- int(0) | |
020- ["options":"V8\ScriptOrigin":private]=> | |
021- object(V8\ScriptOriginOptions)#18 (2) { | |
022- ["is_shared_cross_origin":"V8\ScriptOriginOptions":private]=> | |
023- bool(false) | |
024- ["is_opaque":"V8\ScriptOriginOptions":private]=> | |
025- bool(false) | |
026- } | |
027- ["script_id":"V8\ScriptOrigin":private]=> | |
028- int(%d) | |
029- ["source_map_url":"V8\ScriptOrigin":private]=> | |
030- string(0) "" | |
031- } | |
032- V8\Message->GetScriptResourceName(): string(7) "test.js" | |
033- V8\Message->GetStackTrace(): NULL | |
034- V8\Message->GetLineNumber(): int(11) | |
035- V8\Message->GetStartPosition(): int(227) | |
036- V8\Message->GetEndPosition(): int(228) | |
037- V8\Message->GetStartColumn(): int(8) | |
038- V8\Message->GetEndColumn(): int(9) | |
039- V8\Message->IsSharedCrossOrigin(): bool(false) | |
040- V8\Message->IsOpaque(): bool(false) | |
041- | |
042- Message created from created value: | |
043- ----------------------------------- | |
044- V8\Message->Get(): string(13) "Uncaught test" | |
045- V8\Message->GetSourceLine(): string(24) " test(exception);" | |
046- V8\Message->GetScriptOrigin(): | |
047- object(V8\ScriptOrigin)#36 (6) { | |
048- ["resource_name":"V8\ScriptOrigin":private]=> | |
049- string(7) "test.js" | |
050- ["resource_line_offset":"V8\ScriptOrigin":private]=> | |
051- int(0) | |
052- ["resource_column_offset":"V8\ScriptOrigin":private]=> | |
053- int(0) | |
054- ["options":"V8\ScriptOrigin":private]=> | |
055- object(V8\ScriptOriginOptions)#35 (2) { | |
056- ["is_shared_cross_origin":"V8\ScriptOriginOptions":private]=> | |
057- bool(false) | |
058- ["is_opaque":"V8\ScriptOriginOptions":private]=> | |
059- bool(false) | |
060- } | |
061- ["script_id":"V8\ScriptOrigin":private]=> | |
062- int(%d) | |
063- ["source_map_url":"V8\ScriptOrigin":private]=> | |
064- string(0) "" | |
065- } | |
066- V8\Message->GetScriptResourceName(): string(7) "test.js" | |
067- V8\Message->GetStackTrace(): NULL | |
068- V8\Message->GetLineNumber(): int(11) | |
069- V8\Message->GetStartPosition(): int(227) | |
070- V8\Message->GetEndPosition(): int(228) | |
071- V8\Message->GetStartColumn(): int(8) | |
072- V8\Message->GetEndColumn(): int(9) | |
073- V8\Message->IsSharedCrossOrigin(): bool(false) | |
074- V8\Message->IsOpaque(): bool(false) | |
075- | |
076- | |
077- Checks on V8\ObjectValue: | |
078- ------------------------- | |
079- V8\ObjectValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
080- | |
081- V8\ObjectValue->IsCallable(): bool(false) | |
082- V8\ObjectValue->IsConstructor(): bool(false) | |
083- V8\ObjectValue(V8\Value)->IsUndefined(): bool(false) | |
084- V8\ObjectValue(V8\Value)->IsNull(): bool(false) | |
085- V8\ObjectValue(V8\Value)->IsTrue(): bool(false) | |
086- V8\ObjectValue(V8\Value)->IsFalse(): bool(false) | |
087- V8\ObjectValue(V8\Value)->IsName(): bool(false) | |
088- V8\ObjectValue(V8\Value)->IsString(): bool(false) | |
089- V8\ObjectValue(V8\Value)->IsSymbol(): bool(false) | |
090- V8\ObjectValue(V8\Value)->IsFunction(): bool(false) | |
091- V8\ObjectValue(V8\Value)->IsArray(): bool(false) | |
092- V8\ObjectValue(V8\Value)->IsObject(): bool(true) | |
093- V8\ObjectValue(V8\Value)->IsBoolean(): bool(false) | |
094- V8\ObjectValue(V8\Value)->IsNumber(): bool(false) | |
095- V8\ObjectValue(V8\Value)->IsInt32(): bool(false) | |
096- V8\ObjectValue(V8\Value)->IsUint32(): bool(false) | |
097- V8\ObjectValue(V8\Value)->IsDate(): bool(false) | |
098- V8\ObjectValue(V8\Value)->IsArgumentsObject(): bool(false) | |
099- V8\ObjectValue(V8\Value)->IsBooleanObject(): bool(false) | |
100- V8\ObjectValue(V8\Value)->IsNumberObject(): bool(false) | |
101- V8\ObjectValue(V8\Value)->IsStringObject(): bool(false) | |
102- V8\ObjectValue(V8\Value)->IsSymbolObject(): bool(false) | |
103- V8\ObjectValue(V8\Value)->IsNativeError(): bool(false) | |
104- V8\ObjectValue(V8\Value)->IsRegExp(): bool(false) | |
105- | |
106- | |
107- EOF\n | |
FILE: tests/V8Exception_CreateMessage.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Exception_Error.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Can create error when out of context: ok | |
002- | |
003- CHECK_NE: OK | |
004- CHECK !$value1->Equals($context, $value2): OK | |
005- CHECK !$value2->Equals($context, $value1): OK | |
006- CHECK !$value1->StrictEquals($value2): OK | |
007- CHECK !$value2->StrictEquals($value1): OK | |
008- CHECK !$value1->SameValue($value2): OK | |
009- CHECK !$value2->SameValue($value1): OK | |
010- | |
011- e(): V8\Exceptions\TryCatchException: Error: exception | |
012- e("test"): V8\Exceptions\TryCatchException: Error: test | |
013- | |
014- exception: 'Error: foo' | |
015- exception.stack: Error: foo | |
016- at test.js:5:9 | |
017- | |
018- Checks on V8\ObjectValue: | |
019- ------------------------- | |
020- V8\ObjectValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
021- | |
022- V8\ObjectValue->IsCallable(): bool(false) | |
023- V8\ObjectValue->IsConstructor(): bool(false) | |
024- V8\ObjectValue(V8\Value)->IsUndefined(): bool(false) | |
025- V8\ObjectValue(V8\Value)->IsNull(): bool(false) | |
026- V8\ObjectValue(V8\Value)->IsTrue(): bool(false) | |
027- V8\ObjectValue(V8\Value)->IsFalse(): bool(false) | |
028- V8\ObjectValue(V8\Value)->IsName(): bool(false) | |
029- V8\ObjectValue(V8\Value)->IsString(): bool(false) | |
030- V8\ObjectValue(V8\Value)->IsSymbol(): bool(false) | |
031- V8\ObjectValue(V8\Value)->IsFunction(): bool(false) | |
032- V8\ObjectValue(V8\Value)->IsArray(): bool(false) | |
033- V8\ObjectValue(V8\Value)->IsObject(): bool(true) | |
034- V8\ObjectValue(V8\Value)->IsBoolean(): bool(false) | |
035- V8\ObjectValue(V8\Value)->IsNumber(): bool(false) | |
036- V8\ObjectValue(V8\Value)->IsInt32(): bool(false) | |
037- V8\ObjectValue(V8\Value)->IsUint32(): bool(false) | |
038- V8\ObjectValue(V8\Value)->IsDate(): bool(false) | |
039- V8\ObjectValue(V8\Value)->IsArgumentsObject(): bool(false) | |
040- V8\ObjectValue(V8\Value)->IsBooleanObject(): bool(false) | |
041- V8\ObjectValue(V8\Value)->IsNumberObject(): bool(false) | |
042- V8\ObjectValue(V8\Value)->IsStringObject(): bool(false) | |
043- V8\ObjectValue(V8\Value)->IsSymbolObject(): bool(false) | |
044- V8\ObjectValue(V8\Value)->IsNativeError(): bool(true) | |
045- V8\ObjectValue(V8\Value)->IsRegExp(): bool(false)\n | |
FILE: tests/V8Exception_Error.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Exception_GetStackTrace.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Can get stack trace when out of context: ok | |
003- exception: 'Error: test' | |
007+ Termsig=4 | |
004- exception.stack: Error: test | |
005- at test.js:5:15 | |
006- | |
007- Exception passed: ok | |
008- | |
009- Stack trace created from thrown value is null when capturing stack trace disabled: ok | |
010- | |
011- | |
012- exception: 'Error: test' | |
013- exception.stack: Error: test | |
014- at test.js:5:15 | |
015- | |
016- Exception passed: ok | |
017- | |
018- Stack trace created from thrown value: | |
019- -------------------------------------- | |
020- V8\StackTrace->getFrames(): | |
021- array(1) { | |
022- [0]=> | |
023- object(V8\StackFrame)#20 (8) { | |
024- ["line_number":"V8\StackFrame":private]=> | |
025- int(5) | |
026- ["column":"V8\StackFrame":private]=> | |
027- int(15) | |
028- ["script_id":"V8\StackFrame":private]=> | |
029- int(0) | |
030- ["script_name":"V8\StackFrame":private]=> | |
031- string(7) "test.js" | |
032- ["script_name_or_source_url":"V8\StackFrame":private]=> | |
033- string(0) "" | |
034- ["function_name":"V8\StackFrame":private]=> | |
035- string(0) "" | |
036- ["is_eval":"V8\StackFrame":private]=> | |
037- int(0) | |
038- ["is_constructor":"V8\StackFrame":private]=> | |
039- int(0) | |
040- } | |
041- } | |
042- V8\StackTrace->GetFrameCount(): int(1) | |
043- V8\StackTrace->AsArray(): | |
044- object(V8\ArrayObject)#18 (2) { | |
045- ["isolate":"V8\Value":private]=> | |
046- object(V8\Isolate)#3 (5) { | |
047- ["snapshot":"V8\Isolate":private]=> | |
048- NULL | |
049- ["time_limit":"V8\Isolate":private]=> | |
050- float(0) | |
051- ["time_limit_hit":"V8\Isolate":private]=> | |
052- bool(false) | |
053- ["memory_limit":"V8\Isolate":private]=> | |
054- int(0) | |
055- ["memory_limit_hit":"V8\Isolate":private]=> | |
056- bool(false) | |
057- } | |
058- ["context":"V8\ObjectValue":private]=> | |
059- object(V8\Context)#8 (4) { | |
060- ["isolate":"V8\Context":private]=> | |
061- object(V8\Isolate)#3 (5) { | |
062- ["snapshot":"V8\Isolate":private]=> | |
063- NULL | |
064- ["time_limit":"V8\Isolate":private]=> | |
065- float(0) | |
066- ["time_limit_hit":"V8\Isolate":private]=> | |
067- bool(false) | |
068- ["memory_limit":"V8\Isolate":private]=> | |
069- int(0) | |
070- ["memory_limit_hit":"V8\Isolate":private]=> | |
071- bool(false) | |
072- } | |
073- ["extensions":"V8\Context":private]=> | |
074- array(0) { | |
075- } | |
076- ["global_template":"V8\Context":private]=> | |
077- object(V8\ObjectTemplate)#7 (1) { | |
078- ["isolate":"V8\Template":private]=> | |
079- object(V8\Isolate)#3 (5) { | |
080- ["snapshot":"V8\Isolate":private]=> | |
081- NULL | |
082- ["time_limit":"V8\Isolate":private]=> | |
083- float(0) | |
084- ["time_limit_hit":"V8\Isolate":private]=> | |
085- bool(false) | |
086- ["memory_limit":"V8\Isolate":private]=> | |
087- int(0) | |
088- ["memory_limit_hit":"V8\Isolate":private]=> | |
089- bool(false) | |
090- } | |
091- } | |
092- ["global_object":"V8\Context":private]=> | |
093- NULL | |
094- } | |
095- } | |
096- | |
097- Stack trace created from manually created value is null: ok\n | |
FILE: tests/V8Exception_GetStackTrace.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Exception_RangeError.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Can create error when out of context: ok | |
002- | |
003- CHECK_NE: OK | |
004- CHECK !$value1->Equals($context, $value2): OK | |
005- CHECK !$value2->Equals($context, $value1): OK | |
006- CHECK !$value1->StrictEquals($value2): OK | |
007- CHECK !$value2->StrictEquals($value1): OK | |
008- CHECK !$value1->SameValue($value2): OK | |
009- CHECK !$value2->SameValue($value1): OK | |
010- | |
011- e(): V8\Exceptions\TryCatchException: RangeError: exception | |
012- e("test"): V8\Exceptions\TryCatchException: RangeError: test | |
013- | |
014- exception: 'RangeError: foo' | |
015- exception.stack: RangeError: foo | |
016- at test.js:5:9 | |
017- | |
018- Checks on V8\ObjectValue: | |
019- ------------------------- | |
020- V8\ObjectValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
021- | |
022- V8\ObjectValue->IsCallable(): bool(false) | |
023- V8\ObjectValue->IsConstructor(): bool(false) | |
024- V8\ObjectValue(V8\Value)->IsUndefined(): bool(false) | |
025- V8\ObjectValue(V8\Value)->IsNull(): bool(false) | |
026- V8\ObjectValue(V8\Value)->IsTrue(): bool(false) | |
027- V8\ObjectValue(V8\Value)->IsFalse(): bool(false) | |
028- V8\ObjectValue(V8\Value)->IsName(): bool(false) | |
029- V8\ObjectValue(V8\Value)->IsString(): bool(false) | |
030- V8\ObjectValue(V8\Value)->IsSymbol(): bool(false) | |
031- V8\ObjectValue(V8\Value)->IsFunction(): bool(false) | |
032- V8\ObjectValue(V8\Value)->IsArray(): bool(false) | |
033- V8\ObjectValue(V8\Value)->IsObject(): bool(true) | |
034- V8\ObjectValue(V8\Value)->IsBoolean(): bool(false) | |
035- V8\ObjectValue(V8\Value)->IsNumber(): bool(false) | |
036- V8\ObjectValue(V8\Value)->IsInt32(): bool(false) | |
037- V8\ObjectValue(V8\Value)->IsUint32(): bool(false) | |
038- V8\ObjectValue(V8\Value)->IsDate(): bool(false) | |
039- V8\ObjectValue(V8\Value)->IsArgumentsObject(): bool(false) | |
040- V8\ObjectValue(V8\Value)->IsBooleanObject(): bool(false) | |
041- V8\ObjectValue(V8\Value)->IsNumberObject(): bool(false) | |
042- V8\ObjectValue(V8\Value)->IsStringObject(): bool(false) | |
043- V8\ObjectValue(V8\Value)->IsSymbolObject(): bool(false) | |
044- V8\ObjectValue(V8\Value)->IsNativeError(): bool(true) | |
045- V8\ObjectValue(V8\Value)->IsRegExp(): bool(false)\n | |
FILE: tests/V8Exception_RangeError.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Exception_ReferenceError.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Can create error when out of context: ok | |
003- CHECK_NE: OK | |
007+ Termsig=4 | |
004- CHECK !$value1->Equals($context, $value2): OK | |
005- CHECK !$value2->Equals($context, $value1): OK | |
006- CHECK !$value1->StrictEquals($value2): OK | |
007- CHECK !$value2->StrictEquals($value1): OK | |
008- CHECK !$value1->SameValue($value2): OK | |
009- CHECK !$value2->SameValue($value1): OK | |
010- | |
011- e(): V8\Exceptions\TryCatchException: ReferenceError: exception | |
012- e("test"): V8\Exceptions\TryCatchException: ReferenceError: test | |
013- | |
014- exception: 'ReferenceError: foo' | |
015- exception.stack: ReferenceError: foo | |
016- at test.js:5:9 | |
017- | |
018- Checks on V8\ObjectValue: | |
019- ------------------------- | |
020- V8\ObjectValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
021- | |
022- V8\ObjectValue->IsCallable(): bool(false) | |
023- V8\ObjectValue->IsConstructor(): bool(false) | |
024- V8\ObjectValue(V8\Value)->IsUndefined(): bool(false) | |
025- V8\ObjectValue(V8\Value)->IsNull(): bool(false) | |
026- V8\ObjectValue(V8\Value)->IsTrue(): bool(false) | |
027- V8\ObjectValue(V8\Value)->IsFalse(): bool(false) | |
028- V8\ObjectValue(V8\Value)->IsName(): bool(false) | |
029- V8\ObjectValue(V8\Value)->IsString(): bool(false) | |
030- V8\ObjectValue(V8\Value)->IsSymbol(): bool(false) | |
031- V8\ObjectValue(V8\Value)->IsFunction(): bool(false) | |
032- V8\ObjectValue(V8\Value)->IsArray(): bool(false) | |
033- V8\ObjectValue(V8\Value)->IsObject(): bool(true) | |
034- V8\ObjectValue(V8\Value)->IsBoolean(): bool(false) | |
035- V8\ObjectValue(V8\Value)->IsNumber(): bool(false) | |
036- V8\ObjectValue(V8\Value)->IsInt32(): bool(false) | |
037- V8\ObjectValue(V8\Value)->IsUint32(): bool(false) | |
038- V8\ObjectValue(V8\Value)->IsDate(): bool(false) | |
039- V8\ObjectValue(V8\Value)->IsArgumentsObject(): bool(false) | |
040- V8\ObjectValue(V8\Value)->IsBooleanObject(): bool(false) | |
041- V8\ObjectValue(V8\Value)->IsNumberObject(): bool(false) | |
042- V8\ObjectValue(V8\Value)->IsStringObject(): bool(false) | |
043- V8\ObjectValue(V8\Value)->IsSymbolObject(): bool(false) | |
044- V8\ObjectValue(V8\Value)->IsNativeError(): bool(true) | |
045- V8\ObjectValue(V8\Value)->IsRegExp(): bool(false)\n | |
FILE: tests/V8Exception_ReferenceError.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Exception_SyntaxError.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Can create error when out of context: ok | |
002- | |
003- CHECK_NE: OK | |
004- CHECK !$value1->Equals($context, $value2): OK | |
005- CHECK !$value2->Equals($context, $value1): OK | |
006- CHECK !$value1->StrictEquals($value2): OK | |
007- CHECK !$value2->StrictEquals($value1): OK | |
008- CHECK !$value1->SameValue($value2): OK | |
009- CHECK !$value2->SameValue($value1): OK | |
010- | |
011- e(): V8\Exceptions\TryCatchException: SyntaxError: exception | |
012- e("test"): V8\Exceptions\TryCatchException: SyntaxError: test | |
013- | |
014- exception: 'SyntaxError: foo' | |
015- exception.stack: SyntaxError: foo | |
016- at test.js:5:9 | |
017- | |
018- Checks on V8\ObjectValue: | |
019- ------------------------- | |
020- V8\ObjectValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
021- | |
022- V8\ObjectValue->IsCallable(): bool(false) | |
023- V8\ObjectValue->IsConstructor(): bool(false) | |
024- V8\ObjectValue(V8\Value)->IsUndefined(): bool(false) | |
025- V8\ObjectValue(V8\Value)->IsNull(): bool(false) | |
026- V8\ObjectValue(V8\Value)->IsTrue(): bool(false) | |
027- V8\ObjectValue(V8\Value)->IsFalse(): bool(false) | |
028- V8\ObjectValue(V8\Value)->IsName(): bool(false) | |
029- V8\ObjectValue(V8\Value)->IsString(): bool(false) | |
030- V8\ObjectValue(V8\Value)->IsSymbol(): bool(false) | |
031- V8\ObjectValue(V8\Value)->IsFunction(): bool(false) | |
032- V8\ObjectValue(V8\Value)->IsArray(): bool(false) | |
033- V8\ObjectValue(V8\Value)->IsObject(): bool(true) | |
034- V8\ObjectValue(V8\Value)->IsBoolean(): bool(false) | |
035- V8\ObjectValue(V8\Value)->IsNumber(): bool(false) | |
036- V8\ObjectValue(V8\Value)->IsInt32(): bool(false) | |
037- V8\ObjectValue(V8\Value)->IsUint32(): bool(false) | |
038- V8\ObjectValue(V8\Value)->IsDate(): bool(false) | |
039- V8\ObjectValue(V8\Value)->IsArgumentsObject(): bool(false) | |
040- V8\ObjectValue(V8\Value)->IsBooleanObject(): bool(false) | |
041- V8\ObjectValue(V8\Value)->IsNumberObject(): bool(false) | |
042- V8\ObjectValue(V8\Value)->IsStringObject(): bool(false) | |
043- V8\ObjectValue(V8\Value)->IsSymbolObject(): bool(false) | |
044- V8\ObjectValue(V8\Value)->IsNativeError(): bool(true) | |
045- V8\ObjectValue(V8\Value)->IsRegExp(): bool(false)\n | |
FILE: tests/V8Exception_SyntaxError.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Exception_TypeError.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Can create error when out of context: ok | |
003- CHECK_NE: OK | |
007+ Termsig=4 | |
004- CHECK !$value1->Equals($context, $value2): OK | |
005- CHECK !$value2->Equals($context, $value1): OK | |
006- CHECK !$value1->StrictEquals($value2): OK | |
007- CHECK !$value2->StrictEquals($value1): OK | |
008- CHECK !$value1->SameValue($value2): OK | |
009- CHECK !$value2->SameValue($value1): OK | |
010- | |
011- e(): V8\Exceptions\TryCatchException: TypeError: exception | |
012- e("test"): V8\Exceptions\TryCatchException: TypeError: test | |
013- | |
014- exception: 'TypeError: foo' | |
015- exception.stack: TypeError: foo | |
016- at test.js:5:9 | |
017- | |
018- Checks on V8\ObjectValue: | |
019- ------------------------- | |
020- V8\ObjectValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
021- | |
022- V8\ObjectValue->IsCallable(): bool(false) | |
023- V8\ObjectValue->IsConstructor(): bool(false) | |
024- V8\ObjectValue(V8\Value)->IsUndefined(): bool(false) | |
025- V8\ObjectValue(V8\Value)->IsNull(): bool(false) | |
026- V8\ObjectValue(V8\Value)->IsTrue(): bool(false) | |
027- V8\ObjectValue(V8\Value)->IsFalse(): bool(false) | |
028- V8\ObjectValue(V8\Value)->IsName(): bool(false) | |
029- V8\ObjectValue(V8\Value)->IsString(): bool(false) | |
030- V8\ObjectValue(V8\Value)->IsSymbol(): bool(false) | |
031- V8\ObjectValue(V8\Value)->IsFunction(): bool(false) | |
032- V8\ObjectValue(V8\Value)->IsArray(): bool(false) | |
033- V8\ObjectValue(V8\Value)->IsObject(): bool(true) | |
034- V8\ObjectValue(V8\Value)->IsBoolean(): bool(false) | |
035- V8\ObjectValue(V8\Value)->IsNumber(): bool(false) | |
036- V8\ObjectValue(V8\Value)->IsInt32(): bool(false) | |
037- V8\ObjectValue(V8\Value)->IsUint32(): bool(false) | |
038- V8\ObjectValue(V8\Value)->IsDate(): bool(false) | |
039- V8\ObjectValue(V8\Value)->IsArgumentsObject(): bool(false) | |
040- V8\ObjectValue(V8\Value)->IsBooleanObject(): bool(false) | |
041- V8\ObjectValue(V8\Value)->IsNumberObject(): bool(false) | |
042- V8\ObjectValue(V8\Value)->IsStringObject(): bool(false) | |
043- V8\ObjectValue(V8\Value)->IsSymbolObject(): bool(false) | |
044- V8\ObjectValue(V8\Value)->IsNativeError(): bool(true) | |
045- V8\ObjectValue(V8\Value)->IsRegExp(): bool(false)\n | |
FILE: tests/V8Exception_TypeError.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8ExceptionsTryCatchException.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\Exceptions\TryCatchException)#5 (10) { | |
004- ["message":protected]=> | |
005- string(0) "" | |
006- ["string":"Exception":private]=> | |
007- string(0) "" | |
008- ["code":protected]=> | |
009- int(0) | |
010- ["file":protected]=> | |
011- string(%d) "%s/V8ExceptionsTryCatchException.php" | |
012- ["line":protected]=> | |
013- int(11) | |
014- ["trace":"Exception":private]=> | |
015- array(0) { | |
016- } | |
017- ["previous":"Exception":private]=> | |
018- NULL | |
019- ["isolate":"V8\Exceptions\TryCatchException":private]=> | |
020- object(V8\Isolate)#2 (5) { | |
021- ["snapshot":"V8\Isolate":private]=> | |
022- NULL | |
023- ["time_limit":"V8\Isolate":private]=> | |
024- float(0) | |
025- ["time_limit_hit":"V8\Isolate":private]=> | |
026- bool(false) | |
027- ["memory_limit":"V8\Isolate":private]=> | |
028- int(0) | |
029- ["memory_limit_hit":"V8\Isolate":private]=> | |
030- bool(false) | |
031- } | |
032- ["context":"V8\Exceptions\TryCatchException":private]=> | |
033- object(V8\Context)#3 (4) { | |
034- ["isolate":"V8\Context":private]=> | |
035- object(V8\Isolate)#2 (5) { | |
036- ["snapshot":"V8\Isolate":private]=> | |
037- NULL | |
038- ["time_limit":"V8\Isolate":private]=> | |
039- float(0) | |
040- ["time_limit_hit":"V8\Isolate":private]=> | |
041- bool(false) | |
042- ["memory_limit":"V8\Isolate":private]=> | |
043- int(0) | |
044- ["memory_limit_hit":"V8\Isolate":private]=> | |
045- bool(false) | |
046- } | |
047- ["extensions":"V8\Context":private]=> | |
048- NULL | |
049- ["global_template":"V8\Context":private]=> | |
050- NULL | |
051- ["global_object":"V8\Context":private]=> | |
052- NULL | |
053- } | |
054- ["try_catch":"V8\Exceptions\TryCatchException":private]=> | |
055- object(V8\TryCatch)#4 (7) { | |
056- ["isolate":"V8\TryCatch":private]=> | |
057- object(V8\Isolate)#2 (5) { | |
058- ["snapshot":"V8\Isolate":private]=> | |
059- NULL | |
060- ["time_limit":"V8\Isolate":private]=> | |
061- float(0) | |
062- ["time_limit_hit":"V8\Isolate":private]=> | |
063- bool(false) | |
064- ["memory_limit":"V8\Isolate":private]=> | |
065- int(0) | |
066- ["memory_limit_hit":"V8\Isolate":private]=> | |
067- bool(false) | |
068- } | |
069- ["context":"V8\TryCatch":private]=> | |
070- object(V8\Context)#3 (4) { | |
071- ["isolate":"V8\Context":private]=> | |
072- object(V8\Isolate)#2 (5) { | |
073- ["snapshot":"V8\Isolate":private]=> | |
074- NULL | |
075- ["time_limit":"V8\Isolate":private]=> | |
076- float(0) | |
077- ["time_limit_hit":"V8\Isolate":private]=> | |
078- bool(false) | |
079- ["memory_limit":"V8\Isolate":private]=> | |
080- int(0) | |
081- ["memory_limit_hit":"V8\Isolate":private]=> | |
082- bool(false) | |
083- } | |
084- ["extensions":"V8\Context":private]=> | |
085- NULL | |
086- ["global_template":"V8\Context":private]=> | |
087- NULL | |
088- ["global_object":"V8\Context":private]=> | |
089- NULL | |
090- } | |
091- ["exception":"V8\TryCatch":private]=> | |
092- NULL | |
093- ["stack_trace":"V8\TryCatch":private]=> | |
094- NULL | |
095- ["message":"V8\TryCatch":private]=> | |
096- NULL | |
097- ["can_continue":"V8\TryCatch":private]=> | |
098- bool(false) | |
099- ["has_terminated":"V8\TryCatch":private]=> | |
100- bool(false) | |
101- } | |
102- } | |
103- | |
104- | |
105- Accessors: | |
106- ---------- | |
107- V8\Exceptions\TryCatchException::GetIsolate() matches expected value | |
108- V8\Exceptions\TryCatchException::GetContext() matches expected value | |
109- V8\Exceptions\TryCatchException::GetTryCatch() matches expected value\n | |
FILE: tests/V8ExceptionsTryCatchException.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8FunctionCallbackInfo.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Function called | |
002- Object representation: | |
003- ---------------------- | |
004- object(V8\FunctionCallbackInfo)#13 (0) { | |
005- } | |
007+ Termsig=4 | |
007- | |
008- Original arguments number passed: ok | |
009- Callback info holds original isolate object: ok | |
010- Callback info holds original isolate object: ok | |
011- Callback info object is in context: ok | |
012- Expected value is not identical to actual value | |
013- Expected value is identical to actual value | |
014- string(11) "Script done" | |
015- | |
016- | |
017- Callback info object is out of context: ok | |
018- V8\Exceptions\GenericException: Attempt to use callback info object out of callback context | |
019- | |
020- Object representation (outside of context): | |
021- ------------------------------------------- | |
022- object(V8\FunctionCallbackInfo)#13 (0) { | |
023- } | |
024- | |
025- | |
026- We are done for now | |
027- FunctionObject dies now! | |
028- Isolate dies now!\n | |
FILE: tests/V8FunctionCallbackInfo.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8FunctionObject.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(v8Tests\TrackingDtors\FunctionObject)#6 (2) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(v8Tests\TrackingDtors\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- ["context":"V8\ObjectValue":private]=> | |
018- object(V8\Context)#5 (4) { | |
019- ["isolate":"V8\Context":private]=> | |
020- object(v8Tests\TrackingDtors\Isolate)#3 (5) { | |
021- ["snapshot":"V8\Isolate":private]=> | |
022- NULL | |
023- ["time_limit":"V8\Isolate":private]=> | |
024- float(0) | |
025- ["time_limit_hit":"V8\Isolate":private]=> | |
026- bool(false) | |
027- ["memory_limit":"V8\Isolate":private]=> | |
028- int(0) | |
029- ["memory_limit_hit":"V8\Isolate":private]=> | |
030- bool(false) | |
031- } | |
032- ["extensions":"V8\Context":private]=> | |
033- array(0) { | |
034- } | |
035- ["global_template":"V8\Context":private]=> | |
036- object(V8\ObjectTemplate)#4 (1) { | |
037- ["isolate":"V8\Template":private]=> | |
038- object(v8Tests\TrackingDtors\Isolate)#3 (5) { | |
039- ["snapshot":"V8\Isolate":private]=> | |
040- NULL | |
041- ["time_limit":"V8\Isolate":private]=> | |
042- float(0) | |
043- ["time_limit_hit":"V8\Isolate":private]=> | |
044- bool(false) | |
045- ["memory_limit":"V8\Isolate":private]=> | |
046- int(0) | |
047- ["memory_limit_hit":"V8\Isolate":private]=> | |
048- bool(false) | |
049- } | |
050- } | |
051- ["global_object":"V8\Context":private]=> | |
052- NULL | |
053- } | |
054- } | |
055- | |
056- | |
057- FunctionObject extends ObjectValue: ok | |
058- FunctionObject implements AdjustableExternalMemoryInterface: ok | |
059- | |
060- Checkers: | |
061- --------- | |
062- v8Tests\TrackingDtors\FunctionObject(V8\Value)->TypeOf(): V8\StringValue->Value(): string(8) "function" | |
063- | |
064- v8Tests\TrackingDtors\FunctionObject(V8\ObjectValue)->IsCallable(): bool(true) | |
065- v8Tests\TrackingDtors\FunctionObject(V8\ObjectValue)->IsConstructor(): bool(true) | |
066- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsUndefined(): bool(false) | |
067- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsNull(): bool(false) | |
068- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsTrue(): bool(false) | |
069- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsFalse(): bool(false) | |
070- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsName(): bool(false) | |
071- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsString(): bool(false) | |
072- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsSymbol(): bool(false) | |
073- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsFunction(): bool(true) | |
074- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsArray(): bool(false) | |
075- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsObject(): bool(true) | |
076- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsBoolean(): bool(false) | |
077- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsNumber(): bool(false) | |
078- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsInt32(): bool(false) | |
079- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsUint32(): bool(false) | |
080- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsDate(): bool(false) | |
081- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsArgumentsObject(): bool(false) | |
082- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsBooleanObject(): bool(false) | |
083- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsNumberObject(): bool(false) | |
084- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsStringObject(): bool(false) | |
085- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsSymbolObject(): bool(false) | |
086- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsNativeError(): bool(false) | |
087- v8Tests\TrackingDtors\FunctionObject(V8\Value)->IsRegExp(): bool(false) | |
088- | |
089- | |
090- Should output Hello World string | |
091- string(11) "Script done" | |
092- | |
093- v8Tests\TrackingDtors\FunctionObject(V8\FunctionObject)->GetScriptOrigin(): | |
094- object(V8\ScriptOrigin)#112 (6) { | |
095- ["resource_name":"V8\ScriptOrigin":private]=> | |
096- string(0) "" | |
097- ["resource_line_offset":"V8\ScriptOrigin":private]=> | |
098- int(0) | |
099- ["resource_column_offset":"V8\ScriptOrigin":private]=> | |
100- int(0) | |
101- ["options":"V8\ScriptOrigin":private]=> | |
102- object(V8\ScriptOriginOptions)#113 (2) { | |
103- ["is_shared_cross_origin":"V8\ScriptOriginOptions":private]=> | |
104- bool(false) | |
105- ["is_opaque":"V8\ScriptOriginOptions":private]=> | |
106- bool(false) | |
107- } | |
108- ["script_id":"V8\ScriptOrigin":private]=> | |
109- int(0) | |
110- ["source_map_url":"V8\ScriptOrigin":private]=> | |
111- string(0) "" | |
112- } | |
113- | |
114- We are done for now | |
115- FunctionObject dies now! | |
116- Isolate dies now!\n | |
FILE: tests/V8FunctionObject.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8FunctionObject_Call.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- CHECK_EQ (0, $a0->Length()): OK | |
003- CHECK_EQ (1, $a1->Length()): OK | |
007+ Termsig=4 | |
004- CHECK_EQ (1.1, $a1->Get($context, 0)->Value()): OK | |
005- | |
006- CHECK_EQ (2, $a2->Length()): OK | |
007- CHECK_EQ (2.2, $a2->Get($context, 0)->Value()): OK | |
008- CHECK_EQ (3.3, $a2->Get($context, 1)->Value()): OK | |
009- | |
010- CHECK_EQ (3, $a3->Length()): OK | |
011- CHECK_EQ (4.4, $a3->Get($context, 0)->Value()): OK | |
012- CHECK_EQ (5.5, $a3->Get($context, 1)->Value()): OK | |
013- CHECK_EQ (6.6, $a3->Get($context, 2)->Value()): OK | |
014- | |
015- CHECK_EQ (4, $a4->Length()): OK | |
016- CHECK_EQ (7.7, $a4->Get($context, 0)->Value()): OK | |
017- CHECK_EQ (8.8, $a4->Get($context, 1)->Value()): OK | |
018- CHECK_EQ (9.9, $a4->Get($context, 2)->Value()): OK | |
019- CHECK_EQ (10.11, $a4->Get($context, 3)->Value()): OK | |
020- | |
021- CHECK $r1->StrictEquals($context->GlobalObject()): OK | |
022- CHECK $r2->StrictEquals($context->GlobalObject()): OK | |
023- Value is instance of \V8\NumberObject | |
024- CHECK $r3->IsNumberObject(): OK | |
025- CHECK_EQ (42.0, $r3->ValueOf()): OK | |
026- | |
027- Value is instance of \V8\StringObject | |
028- CHECK $r4->IsStringObject(): OK | |
029- CHECK $r4->ValueOf()->StrictEquals(new \V8\StringValue($isolate, 'hello')): OK | |
030- | |
031- Value is instance of \V8\BooleanObject | |
032- CHECK $r5->IsBooleanObject(): OK | |
033- CHECK $r5->ValueOf(): OK | |
034- | |
035- CHECK $r6->IsUndefined(): OK | |
036- CHECK $r7->IsNull(): OK | |
037- CHECK $r8->StrictEquals(new \V8\NumberValue($isolate, 42)): OK | |
038- CHECK $r9->StrictEquals(new \V8\StringValue($isolate, 'hello'): OK | |
039- CHECK $r10->StrictEquals(new \V8\BooleanValue($isolate, true)): OK | |
040- | |
041- We are done for now\n | |
FILE: tests/V8FunctionObject_Call.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8FunctionObject_Call_bad_args.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
001- TypeError: Argument 3 passed to V8\FunctionObject::Call() should be array of \V8\Value objects, integer given at 0 offset | |
002- TypeError: Argument 3 passed to V8\FunctionObject::Call() should be array of \V8\Value objects, instance of stdClass given at 0 offset | |
003- V8\Exceptions\GenericException: Value is empty. Forgot to call parent::__construct()?: argument 3 passed to V8\FunctionObject::Call() at 0 offset | |
004- V8\Exceptions\GenericException: Isolates mismatch: argument 3 passed to V8\FunctionObject::Call() at 0 offset | |
005+ Illegal instruction (core dumped)\n | |
FILE: tests/V8FunctionObject_Call_bad_args.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8FunctionObject_die.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
001- going to die... | |
002- FunctionObject dies now! | |
003- Isolate dies now! | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/V8FunctionObject_die.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8FunctionObject_weakness_multiple.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- FunctionObject dies now! | |
002- Should output Hello World string | |
003- get nonexistent 1 | |
004- Should output Hello World string | |
005- get nonexistent 2 | |
006- Should output Hello World string | |
007- get nonexistent 3 | |
008- Persistent should be removed | |
009- Should output Hello World string | |
010- get nonexistent 3 | |
011- Should output Hello World string | |
012- get nonexistent 3 | |
013- Context dies now! | |
014- Context should be removed | |
015- We are done for now | |
016- Isolate dies now!\n | |
FILE: tests/V8FunctionObject_weakness_multiple.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8FunctionTemplate.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\FunctionTemplate)#5 (1) { | |
004- ["isolate":"V8\Template":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- } | |
018- | |
019- | |
020- FunctionTemplate extends Template: ok | |
021- FunctionTemplate implements AdjustableExternalMemoryInterface: ok | |
022- | |
023- Object representation: | |
024- ---------------------- | |
025- object(V8\FunctionTemplate)#5 (1) { | |
026- ["isolate":"V8\Template":private]=> | |
027- object(V8\Isolate)#3 (5) { | |
028- ["snapshot":"V8\Isolate":private]=> | |
029- NULL | |
030- ["time_limit":"V8\Isolate":private]=> | |
031- float(0) | |
032- ["time_limit_hit":"V8\Isolate":private]=> | |
033- bool(false) | |
034- ["memory_limit":"V8\Isolate":private]=> | |
035- int(0) | |
036- ["memory_limit_hit":"V8\Isolate":private]=> | |
037- bool(false) | |
038- } | |
039- } | |
040- | |
041- | |
042- Accessors: | |
043- ---------- | |
044- V8\FunctionTemplate::GetIsolate() matches expected value | |
045- | |
046- | |
047- Instance template: | |
048- ------------------ | |
049- object(V8\ObjectTemplate)#8 (1) { | |
050- ["isolate":"V8\Template":private]=> | |
051- object(V8\Isolate)#3 (5) { | |
052- ["snapshot":"V8\Isolate":private]=> | |
053- NULL | |
054- ["time_limit":"V8\Isolate":private]=> | |
055- float(0) | |
056- ["time_limit_hit":"V8\Isolate":private]=> | |
057- bool(false) | |
058- ["memory_limit":"V8\Isolate":private]=> | |
059- int(0) | |
060- ["memory_limit_hit":"V8\Isolate":private]=> | |
061- bool(false) | |
062- } | |
063- } | |
064- V8\FunctionTemplate::InstanceTemplate() doesn't match expected value | |
065- | |
066- | |
067- V8\Exceptions\GenericException: Isolates mismatch | |
068- V8\Exceptions\GenericException: Isolates mismatch | |
069- Expected value matches actual value | |
070- Expected value is not identical to actual value | |
071- Hello, world! | |
072- test [object Object] | |
073- bool(false) | |
074- string(6) "object"\n | |
FILE: tests/V8FunctionTemplate.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8FunctionTemplate_GetFunction.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- V8\FunctionObject | |
002- Function instance is the same within single context | |
003- Function instance is NOT the same between different contexts | |
004- Should output Hello World string | |
005- string(11) "Script done" | |
006- We are done for now | |
007- EOF\n | |
FILE: tests/V8FunctionTemplate_GetFunction.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8FunctionTemplate_SetCallHandler.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- TypeError: Argument 1 passed to V8\FunctionTemplate::SetCallHandler() must be callable, null given | |
003- callback test() | |
007+ Termsig=4 | |
004- V8\Exceptions\GenericException: v8::FunctionTemplate::SetCallHandler FunctionTemplate already instantiated | |
005- We are done for now | |
006- EOF\n | |
FILE: tests/V8FunctionTemplate_SetCallHandler.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8FunctionTemplate_callback_weakness.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Functions before setting as a callback: | |
002- --------------------------------------- | |
003- object(Closure)#4 (0) refcount(2){ | |
004- } | |
005- object(Closure)#5 (0) refcount(2){ | |
006- } | |
007- Functions after f1 was set as a callback: | |
008- ----------------------------------------- | |
009- object(Closure)#4 (0) refcount(3){ | |
010- } | |
011- object(Closure)#5 (0) refcount(2){ | |
012- } | |
013- Functions after f2 was set as a callback: | |
014- ----------------------------------------- | |
015- object(Closure)#4 (0) refcount(2){ | |
016- } | |
017- object(Closure)#5 (0) refcount(3){ | |
018- } | |
019- Functions after function template was destroyed: | |
020- ------------------------------------------------ | |
021- object(Closure)#4 (0) refcount(2){ | |
022- } | |
023- object(Closure)#5 (0) refcount(3){ | |
024- } | |
025- Functions after isolate was destroyed: | |
026- -------------------------------------- | |
027- object(Closure)#4 (0) refcount(2){ | |
028- } | |
029- object(Closure)#5 (0) refcount(2){ | |
030- } | |
031- We are done for now\n | |
FILE: tests/V8FunctionTemplate_callback_weakness.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8FunctionTemplate_exception_in_php.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
001- Exception: Unexpected exception | |
002- We are done for now | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/V8FunctionTemplate_exception_in_php.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8FunctionTemplate_require_implementation.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Test require() (with cache): | |
002- ---------------------------- | |
003- unchanged | |
004- changed | |
005- changed | |
006- | |
007- | |
008- Test require() (no cache): | |
009- -------------------------- | |
010- unchanged | |
011- changed | |
012- unchanged\n | |
FILE: tests/V8FunctionTemplate_require_implementation.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8FunctionTemplate_weakness.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- FunctionTemplate dies now! | |
002- Should output Hello World string | |
003- Script dies now! | |
004- Context dies now! | |
005- ObjectTemplate dies now! | |
006- Isolate dies now! | |
007- MyCallaback::__destruct | |
008- We are done for now | |
009- EOF\n | |
FILE: tests/V8FunctionTemplate_weakness.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Int32Value.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\Int32Value)#2 (1) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#1 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- } | |
018- | |
019- | |
020- Int32Value extends IntegerValue: ok | |
021- | |
022- Accessors: | |
023- ---------- | |
024- V8\Int32Value::GetIsolate() matches expected value | |
025- V8\Int32Value->Value(): int(2147483646) | |
026- | |
027- | |
028- Checkers: | |
029- --------- | |
030- V8\Int32Value(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "number" | |
031- | |
032- V8\Int32Value(V8\Value)->IsUndefined(): bool(false) | |
033- V8\Int32Value(V8\Value)->IsNull(): bool(false) | |
034- V8\Int32Value(V8\Value)->IsTrue(): bool(false) | |
035- V8\Int32Value(V8\Value)->IsFalse(): bool(false) | |
036- V8\Int32Value(V8\Value)->IsName(): bool(false) | |
037- V8\Int32Value(V8\Value)->IsString(): bool(false) | |
038- V8\Int32Value(V8\Value)->IsSymbol(): bool(false) | |
039- V8\Int32Value(V8\Value)->IsFunction(): bool(false) | |
040- V8\Int32Value(V8\Value)->IsArray(): bool(false) | |
041- V8\Int32Value(V8\Value)->IsObject(): bool(false) | |
042- V8\Int32Value(V8\Value)->IsBoolean(): bool(false) | |
043- V8\Int32Value(V8\Value)->IsNumber(): bool(true) | |
044- V8\Int32Value(V8\Value)->IsInt32(): bool(true) | |
045- V8\Int32Value(V8\Value)->IsUint32(): bool(true) | |
046- V8\Int32Value(V8\Value)->IsDate(): bool(false) | |
047- V8\Int32Value(V8\Value)->IsArgumentsObject(): bool(false) | |
048- V8\Int32Value(V8\Value)->IsBooleanObject(): bool(false) | |
049- V8\Int32Value(V8\Value)->IsNumberObject(): bool(false) | |
050- V8\Int32Value(V8\Value)->IsStringObject(): bool(false) | |
051- V8\Int32Value(V8\Value)->IsSymbolObject(): bool(false) | |
052- V8\Int32Value(V8\Value)->IsNativeError(): bool(false) | |
053- V8\Int32Value(V8\Value)->IsRegExp(): bool(false) | |
054- | |
055- | |
056- V8\Int32Value::ToString() converting: | |
057- ------------------------------------- | |
058- object(V8\StringValue)#52 (1) { | |
059- ["isolate":"V8\Value":private]=> | |
060- object(V8\Isolate)#1 (5) { | |
061- ["snapshot":"V8\Isolate":private]=> | |
062- NULL | |
063- ["time_limit":"V8\Isolate":private]=> | |
064- float(0) | |
065- ["time_limit_hit":"V8\Isolate":private]=> | |
066- bool(false) | |
067- ["memory_limit":"V8\Isolate":private]=> | |
068- int(0) | |
069- ["memory_limit_hit":"V8\Isolate":private]=> | |
070- bool(false) | |
071- } | |
072- } | |
073- string(10) "2147483646" | |
074- | |
075- | |
076- Primitive converters: | |
077- --------------------- | |
078- V8\Int32Value(V8\Value)->BooleanValue(): bool(true) | |
079- V8\Int32Value(V8\Value)->NumberValue(): float(2147483646) | |
080- | |
081- | |
082- Test negative value in constructor: | |
083- ----------------------------------- | |
084- V8\Int32Value->Value(): int(-123) | |
085- V8\Int32Value(V8\Value)->BooleanValue(): bool(true) | |
086- V8\Int32Value(V8\Value)->NumberValue(): float(-123) | |
087- | |
088- | |
089- Checkers for negative: | |
090- ---------------------- | |
091- V8\Int32Value(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "number" | |
092- | |
093- V8\Int32Value(V8\Value)->IsUndefined(): bool(false) | |
094- V8\Int32Value(V8\Value)->IsNull(): bool(false) | |
095- V8\Int32Value(V8\Value)->IsTrue(): bool(false) | |
096- V8\Int32Value(V8\Value)->IsFalse(): bool(false) | |
097- V8\Int32Value(V8\Value)->IsName(): bool(false) | |
098- V8\Int32Value(V8\Value)->IsString(): bool(false) | |
099- V8\Int32Value(V8\Value)->IsSymbol(): bool(false) | |
100- V8\Int32Value(V8\Value)->IsFunction(): bool(false) | |
101- V8\Int32Value(V8\Value)->IsArray(): bool(false) | |
102- V8\Int32Value(V8\Value)->IsObject(): bool(false) | |
103- V8\Int32Value(V8\Value)->IsBoolean(): bool(false) | |
104- V8\Int32Value(V8\Value)->IsNumber(): bool(true) | |
105- V8\Int32Value(V8\Value)->IsInt32(): bool(true) | |
106- V8\Int32Value(V8\Value)->IsUint32(): bool(false) | |
107- V8\Int32Value(V8\Value)->IsDate(): bool(false) | |
108- V8\Int32Value(V8\Value)->IsArgumentsObject(): bool(false) | |
109- V8\Int32Value(V8\Value)->IsBooleanObject(): bool(false) | |
110- V8\Int32Value(V8\Value)->IsNumberObject(): bool(false) | |
111- V8\Int32Value(V8\Value)->IsStringObject(): bool(false) | |
112- V8\Int32Value(V8\Value)->IsSymbolObject(): bool(false) | |
113- V8\Int32Value(V8\Value)->IsNativeError(): bool(false) | |
114- V8\Int32Value(V8\Value)->IsRegExp(): bool(false) | |
115- | |
116- | |
117- Int32 is same as Integer - int32, so test for out-of-range (INT32_MIN-INT32_MAX): | |
118- --------------------------------------------------------------------------------- | |
119- integer: 9223372036854775807 | |
120- V8\Exceptions\ValueException: Int32 value to set is out of range | |
121- | |
122- | |
123- integer: -9223372036854775807 | |
124- V8\Exceptions\ValueException: Int32 value to set is out of range | |
125- | |
126- | |
127- double: NAN | |
128- TypeError: Argument 2 passed to V8\Int32Value::__construct() must be of the type integer, float given | |
129- | |
130- | |
131- double: INF | |
132- TypeError: Argument 2 passed to V8\Int32Value::__construct() must be of the type integer, float given | |
133- | |
134- | |
135- double: -INF | |
136- TypeError: Argument 2 passed to V8\Int32Value::__construct() must be of the type integer, float given\n | |
FILE: tests/V8Int32Value.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8IntegerValue.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\IntegerValue)#2 (1) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#1 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- } | |
018- | |
019- | |
020- IntegerValue extends NumberValue: ok | |
021- | |
022- Accessors: | |
023- ---------- | |
024- V8\IntegerValue::GetIsolate() matches expected value | |
025- V8\IntegerValue->Value(): int(123) | |
026- | |
027- | |
028- Checkers: | |
029- --------- | |
030- V8\IntegerValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "number" | |
031- | |
032- V8\IntegerValue(V8\Value)->IsUndefined(): bool(false) | |
033- V8\IntegerValue(V8\Value)->IsNull(): bool(false) | |
034- V8\IntegerValue(V8\Value)->IsTrue(): bool(false) | |
035- V8\IntegerValue(V8\Value)->IsFalse(): bool(false) | |
036- V8\IntegerValue(V8\Value)->IsName(): bool(false) | |
037- V8\IntegerValue(V8\Value)->IsString(): bool(false) | |
038- V8\IntegerValue(V8\Value)->IsSymbol(): bool(false) | |
039- V8\IntegerValue(V8\Value)->IsFunction(): bool(false) | |
040- V8\IntegerValue(V8\Value)->IsArray(): bool(false) | |
041- V8\IntegerValue(V8\Value)->IsObject(): bool(false) | |
042- V8\IntegerValue(V8\Value)->IsBoolean(): bool(false) | |
043- V8\IntegerValue(V8\Value)->IsNumber(): bool(true) | |
044- V8\IntegerValue(V8\Value)->IsInt32(): bool(true) | |
045- V8\IntegerValue(V8\Value)->IsUint32(): bool(true) | |
046- V8\IntegerValue(V8\Value)->IsDate(): bool(false) | |
047- V8\IntegerValue(V8\Value)->IsArgumentsObject(): bool(false) | |
048- V8\IntegerValue(V8\Value)->IsBooleanObject(): bool(false) | |
049- V8\IntegerValue(V8\Value)->IsNumberObject(): bool(false) | |
050- V8\IntegerValue(V8\Value)->IsStringObject(): bool(false) | |
051- V8\IntegerValue(V8\Value)->IsSymbolObject(): bool(false) | |
052- V8\IntegerValue(V8\Value)->IsNativeError(): bool(false) | |
053- V8\IntegerValue(V8\Value)->IsRegExp(): bool(false) | |
054- | |
055- | |
056- V8\IntegerValue::ToString() converting: | |
057- --------------------------------------- | |
058- object(V8\StringValue)#52 (1) { | |
059- ["isolate":"V8\Value":private]=> | |
060- object(V8\Isolate)#1 (5) { | |
061- ["snapshot":"V8\Isolate":private]=> | |
062- NULL | |
063- ["time_limit":"V8\Isolate":private]=> | |
064- float(0) | |
065- ["time_limit_hit":"V8\Isolate":private]=> | |
066- bool(false) | |
067- ["memory_limit":"V8\Isolate":private]=> | |
068- int(0) | |
069- ["memory_limit_hit":"V8\Isolate":private]=> | |
070- bool(false) | |
071- } | |
072- } | |
073- string(3) "123" | |
074- | |
075- | |
076- Primitive converters: | |
077- --------------------- | |
078- V8\IntegerValue(V8\Value)->BooleanValue(): bool(true) | |
079- V8\IntegerValue(V8\Value)->NumberValue(): float(123) | |
080- | |
081- | |
082- Test negative value in constructor: | |
083- ----------------------------------- | |
084- V8\IntegerValue->Value(): int(-123) | |
085- V8\IntegerValue(V8\Value)->BooleanValue(): bool(true) | |
086- V8\IntegerValue(V8\Value)->NumberValue(): float(-123) | |
087- | |
088- | |
089- Checkers for negative: | |
090- ---------------------- | |
091- V8\IntegerValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "number" | |
092- | |
093- V8\IntegerValue(V8\Value)->IsUndefined(): bool(false) | |
094- V8\IntegerValue(V8\Value)->IsNull(): bool(false) | |
095- V8\IntegerValue(V8\Value)->IsTrue(): bool(false) | |
096- V8\IntegerValue(V8\Value)->IsFalse(): bool(false) | |
097- V8\IntegerValue(V8\Value)->IsName(): bool(false) | |
098- V8\IntegerValue(V8\Value)->IsString(): bool(false) | |
099- V8\IntegerValue(V8\Value)->IsSymbol(): bool(false) | |
100- V8\IntegerValue(V8\Value)->IsFunction(): bool(false) | |
101- V8\IntegerValue(V8\Value)->IsArray(): bool(false) | |
102- V8\IntegerValue(V8\Value)->IsObject(): bool(false) | |
103- V8\IntegerValue(V8\Value)->IsBoolean(): bool(false) | |
104- V8\IntegerValue(V8\Value)->IsNumber(): bool(true) | |
105- V8\IntegerValue(V8\Value)->IsInt32(): bool(true) | |
106- V8\IntegerValue(V8\Value)->IsUint32(): bool(false) | |
107- V8\IntegerValue(V8\Value)->IsDate(): bool(false) | |
108- V8\IntegerValue(V8\Value)->IsArgumentsObject(): bool(false) | |
109- V8\IntegerValue(V8\Value)->IsBooleanObject(): bool(false) | |
110- V8\IntegerValue(V8\Value)->IsNumberObject(): bool(false) | |
111- V8\IntegerValue(V8\Value)->IsStringObject(): bool(false) | |
112- V8\IntegerValue(V8\Value)->IsSymbolObject(): bool(false) | |
113- V8\IntegerValue(V8\Value)->IsNativeError(): bool(false) | |
114- V8\IntegerValue(V8\Value)->IsRegExp(): bool(false) | |
115- | |
116- | |
117- Integer is int32, so test for out-of-range (INT32_MIN-INT32_MAX): | |
118- ----------------------------------------------------------------- | |
119- integer: 9223372036854775807 | |
120- V8\Exceptions\ValueException: Integer value to set is out of range | |
121- | |
122- | |
123- integer: -9223372036854775807 | |
124- V8\Exceptions\ValueException: Integer value to set is out of range | |
125- | |
126- | |
127- double: NAN | |
128- TypeError: Argument 2 passed to V8\IntegerValue::__construct() must be of the type integer, float given | |
129- | |
130- | |
131- double: INF | |
132- TypeError: Argument 2 passed to V8\IntegerValue::__construct() must be of the type integer, float given | |
133- | |
134- | |
135- double: -INF | |
136- TypeError: Argument 2 passed to V8\IntegerValue::__construct() must be of the type integer, float given\n | |
FILE: tests/V8IntegerValue.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Isolate.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\Isolate)#2 (5) { | |
004- ["snapshot":"V8\Isolate":private]=> | |
005- NULL | |
006- ["time_limit":"V8\Isolate":private]=> | |
007- float(0) | |
008- ["time_limit_hit":"V8\Isolate":private]=> | |
009- bool(false) | |
010- ["memory_limit":"V8\Isolate":private]=> | |
011- int(0) | |
012- ["memory_limit_hit":"V8\Isolate":private]=> | |
013- bool(false) | |
014- } | |
015- | |
016- V8\Exceptions\GenericException: Not in context! | |
017- | |
018- V8\Isolate->GetHeapStatistics(): | |
019- object(V8\HeapStatistics)#29 (9) { | |
020- ["total_heap_size":"V8\HeapStatistics":private]=> | |
021- float(%d) | |
022- ["total_heap_size_executable":"V8\HeapStatistics":private]=> | |
023- float(%d) | |
024- ["total_physical_size":"V8\HeapStatistics":private]=> | |
025- float(%d) | |
026- ["total_available_size":"V8\HeapStatistics":private]=> | |
027- float(%d) | |
028- ["used_heap_size":"V8\HeapStatistics":private]=> | |
029- float(%d) | |
030- ["heap_size_limit":"V8\HeapStatistics":private]=> | |
031- float(%d) | |
032- ["malloced_memory":"V8\HeapStatistics":private]=> | |
033- float(%d) | |
034- ["peak_malloced_memory":"V8\HeapStatistics":private]=> | |
035- float(%d) | |
036- ["does_zap_garbage":"V8\HeapStatistics":private]=> | |
037- bool(false) | |
038- }\n | |
FILE: tests/V8Isolate.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Isolate_IsInUse.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
001- Isolate in use: bool(false) | |
002- Isolate in use: bool(true) | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/V8Isolate_IsInUse.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Isolate_ThrowException.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- V8\Exceptions\GenericException: Not in context! | |
002- | |
003- e(): V8\Exceptions\TryCatchException: exception | |
004- e("test"): V8\Exceptions\TryCatchException: test | |
005- | |
006- exception: 'foo' | |
007- exception.stack: <undefined> | |
008- | |
009- CHECK $res->StrictEquals(new \V8\StringValue($isolate, 'foo')): OK | |
010- | |
011- Checks on V8\StringValue: | |
012- ------------------------- | |
013- V8\StringValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "string" | |
014- | |
015- V8\StringValue->IsOneByte(): bool(true) | |
016- V8\StringValue(V8\Value)->IsUndefined(): bool(false) | |
017- V8\StringValue(V8\Value)->IsNull(): bool(false) | |
018- V8\StringValue(V8\Value)->IsTrue(): bool(false) | |
019- V8\StringValue(V8\Value)->IsFalse(): bool(false) | |
020- V8\StringValue(V8\Value)->IsName(): bool(true) | |
021- V8\StringValue(V8\Value)->IsString(): bool(true) | |
022- V8\StringValue(V8\Value)->IsSymbol(): bool(false) | |
023- V8\StringValue(V8\Value)->IsFunction(): bool(false) | |
024- V8\StringValue(V8\Value)->IsArray(): bool(false) | |
025- V8\StringValue(V8\Value)->IsObject(): bool(false) | |
026- V8\StringValue(V8\Value)->IsBoolean(): bool(false) | |
027- V8\StringValue(V8\Value)->IsNumber(): bool(false) | |
028- V8\StringValue(V8\Value)->IsInt32(): bool(false) | |
029- V8\StringValue(V8\Value)->IsUint32(): bool(false) | |
030- V8\StringValue(V8\Value)->IsDate(): bool(false) | |
031- V8\StringValue(V8\Value)->IsArgumentsObject(): bool(false) | |
032- V8\StringValue(V8\Value)->IsBooleanObject(): bool(false) | |
033- V8\StringValue(V8\Value)->IsNumberObject(): bool(false) | |
034- V8\StringValue(V8\Value)->IsStringObject(): bool(false) | |
035- V8\StringValue(V8\Value)->IsSymbolObject(): bool(false) | |
036- V8\StringValue(V8\Value)->IsNativeError(): bool(false) | |
037- V8\StringValue(V8\Value)->IsRegExp(): bool(false) | |
038- | |
039- | |
040- exception: '[object Object]' | |
041- exception.stack: <undefined> | |
042- | |
043- Checks on V8\ObjectValue: | |
044- ------------------------- | |
045- V8\ObjectValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
046- | |
047- V8\ObjectValue->IsCallable(): bool(false) | |
048- V8\ObjectValue->IsConstructor(): bool(false) | |
049- V8\ObjectValue(V8\Value)->IsUndefined(): bool(false) | |
050- V8\ObjectValue(V8\Value)->IsNull(): bool(false) | |
051- V8\ObjectValue(V8\Value)->IsTrue(): bool(false) | |
052- V8\ObjectValue(V8\Value)->IsFalse(): bool(false) | |
053- V8\ObjectValue(V8\Value)->IsName(): bool(false) | |
054- V8\ObjectValue(V8\Value)->IsString(): bool(false) | |
055- V8\ObjectValue(V8\Value)->IsSymbol(): bool(false) | |
056- V8\ObjectValue(V8\Value)->IsFunction(): bool(false) | |
057- V8\ObjectValue(V8\Value)->IsArray(): bool(false) | |
058- V8\ObjectValue(V8\Value)->IsObject(): bool(true) | |
059- V8\ObjectValue(V8\Value)->IsBoolean(): bool(false) | |
060- V8\ObjectValue(V8\Value)->IsNumber(): bool(false) | |
061- V8\ObjectValue(V8\Value)->IsInt32(): bool(false) | |
062- V8\ObjectValue(V8\Value)->IsUint32(): bool(false) | |
063- V8\ObjectValue(V8\Value)->IsDate(): bool(false) | |
064- V8\ObjectValue(V8\Value)->IsArgumentsObject(): bool(false) | |
065- V8\ObjectValue(V8\Value)->IsBooleanObject(): bool(false) | |
066- V8\ObjectValue(V8\Value)->IsNumberObject(): bool(false) | |
067- V8\ObjectValue(V8\Value)->IsStringObject(): bool(false) | |
068- V8\ObjectValue(V8\Value)->IsSymbolObject(): bool(false) | |
069- V8\ObjectValue(V8\Value)->IsNativeError(): bool(false) | |
070- V8\ObjectValue(V8\Value)->IsRegExp(): bool(false) | |
071- | |
072- | |
073- exception: 'Error' | |
074- exception.stack: Error | |
075- at test.js:5:15 | |
076- | |
077- Checks on V8\ObjectValue: | |
078- ------------------------- | |
079- V8\ObjectValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
080- | |
081- V8\ObjectValue->IsCallable(): bool(false) | |
082- V8\ObjectValue->IsConstructor(): bool(false) | |
083- V8\ObjectValue(V8\Value)->IsUndefined(): bool(false) | |
084- V8\ObjectValue(V8\Value)->IsNull(): bool(false) | |
085- V8\ObjectValue(V8\Value)->IsTrue(): bool(false) | |
086- V8\ObjectValue(V8\Value)->IsFalse(): bool(false) | |
087- V8\ObjectValue(V8\Value)->IsName(): bool(false) | |
088- V8\ObjectValue(V8\Value)->IsString(): bool(false) | |
089- V8\ObjectValue(V8\Value)->IsSymbol(): bool(false) | |
090- V8\ObjectValue(V8\Value)->IsFunction(): bool(false) | |
091- V8\ObjectValue(V8\Value)->IsArray(): bool(false) | |
092- V8\ObjectValue(V8\Value)->IsObject(): bool(true) | |
093- V8\ObjectValue(V8\Value)->IsBoolean(): bool(false) | |
094- V8\ObjectValue(V8\Value)->IsNumber(): bool(false) | |
095- V8\ObjectValue(V8\Value)->IsInt32(): bool(false) | |
096- V8\ObjectValue(V8\Value)->IsUint32(): bool(false) | |
097- V8\ObjectValue(V8\Value)->IsDate(): bool(false) | |
098- V8\ObjectValue(V8\Value)->IsArgumentsObject(): bool(false) | |
099- V8\ObjectValue(V8\Value)->IsBooleanObject(): bool(false) | |
100- V8\ObjectValue(V8\Value)->IsNumberObject(): bool(false) | |
101- V8\ObjectValue(V8\Value)->IsStringObject(): bool(false) | |
102- V8\ObjectValue(V8\Value)->IsSymbolObject(): bool(false) | |
103- V8\ObjectValue(V8\Value)->IsNativeError(): bool(true) | |
104- V8\ObjectValue(V8\Value)->IsRegExp(): bool(false)\n | |
FILE: tests/V8Isolate_ThrowException.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Isolate_gc_cyclic_ref_memleak.diff | |
001+ # | |
001- Done here for now | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/V8Isolate_gc_cyclic_ref_memleak.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Isolate_limit_memory.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Memory limit accessor report no hit: ok | |
002- Get memory limit default value is zero: ok | |
003- Get memory limit returns valid value: ok | |
004- object(V8\Isolate)#3 (5) { | |
005- ["snapshot":"V8\Isolate":private]=> | |
006- NULL | |
007- ["time_limit":"V8\Isolate":private]=> | |
008- float(0) | |
009- ["time_limit_hit":"V8\Isolate":private]=> | |
010- bool(false) | |
011- ["memory_limit":"V8\Isolate":private]=> | |
012- int(10485760) | |
013- ["memory_limit_hit":"V8\Isolate":private]=> | |
014- bool(false) | |
015- } | |
016- | |
017- V8\Exceptions\MemoryLimitException: Memory limit exceeded | |
018- script execution terminated | |
019- Get memory limit returns valid value: ok | |
020- Memory limit accessor report hit: ok | |
021- | |
022- object(V8\Isolate)#3 (5) { | |
023- ["snapshot":"V8\Isolate":private]=> | |
024- NULL | |
025- ["time_limit":"V8\Isolate":private]=> | |
026- float(0) | |
027- ["time_limit_hit":"V8\Isolate":private]=> | |
028- bool(false) | |
029- ["memory_limit":"V8\Isolate":private]=> | |
030- int(10485760) | |
031- ["memory_limit_hit":"V8\Isolate":private]=> | |
032- bool(true) | |
033- } | |
034- object(V8\HeapStatistics)#14 (9) { | |
035- ["total_heap_size":"V8\HeapStatistics":private]=> | |
036- float(%d) | |
037- ["total_heap_size_executable":"V8\HeapStatistics":private]=> | |
038- float(%d) | |
039- ["total_physical_size":"V8\HeapStatistics":private]=> | |
040- float(%d) | |
041- ["total_available_size":"V8\HeapStatistics":private]=> | |
042- float(%d) | |
043- ["used_heap_size":"V8\HeapStatistics":private]=> | |
044- float(%d) | |
045- ["heap_size_limit":"V8\HeapStatistics":private]=> | |
046- float(%d) | |
047- ["malloced_memory":"V8\HeapStatistics":private]=> | |
048- float(%d) | |
049- ["peak_malloced_memory":"V8\HeapStatistics":private]=> | |
050- float(%d) | |
051- ["does_zap_garbage":"V8\HeapStatistics":private]=> | |
052- bool(false) | |
053- }\n | |
FILE: tests/V8Isolate_limit_memory.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Isolate_limit_memory_nested.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- object(V8\Isolate)#3 (5) { | |
002- ["snapshot":"V8\Isolate":private]=> | |
003- NULL | |
004- ["time_limit":"V8\Isolate":private]=> | |
005- float(0) | |
006- ["time_limit_hit":"V8\Isolate":private]=> | |
007- bool(false) | |
008- ["memory_limit":"V8\Isolate":private]=> | |
009- int(10485760) | |
010- ["memory_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- } | |
013- | |
014- V8\Exceptions\MemoryLimitException: Memory limit exceeded | |
015- wait loop terminated | |
016- | |
017- V8\Exceptions\MemoryLimitException: Memory limit exceeded | |
018- function call terminated | |
019- | |
020- V8\Exceptions\MemoryLimitException: Memory limit exceeded | |
021- script execution terminated | |
022- | |
023- object(V8\Isolate)#3 (5) { | |
024- ["snapshot":"V8\Isolate":private]=> | |
025- NULL | |
026- ["time_limit":"V8\Isolate":private]=> | |
027- float(0) | |
028- ["time_limit_hit":"V8\Isolate":private]=> | |
029- bool(false) | |
030- ["memory_limit":"V8\Isolate":private]=> | |
031- int(10485760) | |
032- ["memory_limit_hit":"V8\Isolate":private]=> | |
033- bool(true) | |
034- }\n | |
FILE: tests/V8Isolate_limit_memory_nested.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Isolate_limit_memory_not_hit.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Memory limit accessor report no hit: ok | |
002- Get memory limit default value is zero: ok | |
003- Get memory limit returns valid value: ok | |
004- object(V8\Isolate)#3 (5) { | |
005- ["snapshot":"V8\Isolate":private]=> | |
006- NULL | |
007- ["time_limit":"V8\Isolate":private]=> | |
008- float(0) | |
009- ["time_limit_hit":"V8\Isolate":private]=> | |
010- bool(false) | |
011- ["memory_limit":"V8\Isolate":private]=> | |
012- int(10485760) | |
013- ["memory_limit_hit":"V8\Isolate":private]=> | |
014- bool(false) | |
015- } | |
016- | |
017- start | |
018- end | |
019- | |
020- float(0.%d) | |
021- Script execution time is less than 0.5 sec: ok | |
022- Get memory limit returns valid value: ok | |
023- Memory limit accessor report not hit: ok | |
024- | |
025- object(V8\Isolate)#3 (5) { | |
026- ["snapshot":"V8\Isolate":private]=> | |
027- NULL | |
028- ["time_limit":"V8\Isolate":private]=> | |
029- float(0) | |
030- ["time_limit_hit":"V8\Isolate":private]=> | |
031- bool(false) | |
032- ["memory_limit":"V8\Isolate":private]=> | |
033- int(10485760) | |
034- ["memory_limit_hit":"V8\Isolate":private]=> | |
035- bool(false) | |
036- }\n | |
FILE: tests/V8Isolate_limit_memory_not_hit.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Isolate_limit_time.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Time limit accessor report no hit: ok | |
002- Get time limit default value is zero: ok | |
003- Get time limit returns valid value: ok | |
004- object(V8\Isolate)#3 (5) { | |
005- ["snapshot":"V8\Isolate":private]=> | |
006- NULL | |
007- ["time_limit":"V8\Isolate":private]=> | |
008- float(%f) | |
009- ["time_limit_hit":"V8\Isolate":private]=> | |
010- bool(false) | |
011- ["memory_limit":"V8\Isolate":private]=> | |
012- int(0) | |
013- ["memory_limit_hit":"V8\Isolate":private]=> | |
014- bool(false) | |
015- } | |
016- | |
017- V8\Exceptions\TimeLimitException: Time limit exceeded | |
018- script execution terminated | |
019- | |
020- float(%f) | |
021- Script execution time is within specified range (%f, %f): ok | |
022- Get time limit returns valid value: ok | |
023- Time limit accessor report hit: ok | |
024- | |
025- object(V8\Isolate)#3 (5) { | |
026- ["snapshot":"V8\Isolate":private]=> | |
027- NULL | |
028- ["time_limit":"V8\Isolate":private]=> | |
029- float(%f) | |
030- ["time_limit_hit":"V8\Isolate":private]=> | |
031- bool(true) | |
032- ["memory_limit":"V8\Isolate":private]=> | |
033- int(0) | |
034- ["memory_limit_hit":"V8\Isolate":private]=> | |
035- bool(false) | |
036- }\n | |
FILE: tests/V8Isolate_limit_time.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Isolate_limit_time_nested.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- object(V8\Isolate)#2 (5) { | |
002- ["snapshot":"V8\Isolate":private]=> | |
003- NULL | |
004- ["time_limit":"V8\Isolate":private]=> | |
005- float(%f) | |
006- ["time_limit_hit":"V8\Isolate":private]=> | |
007- bool(false) | |
008- ["memory_limit":"V8\Isolate":private]=> | |
009- int(0) | |
010- ["memory_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- } | |
013- | |
014- V8\Exceptions\TimeLimitException: Time limit exceeded | |
015- wait loop terminated | |
016- | |
017- V8\Exceptions\TimeLimitException: Time limit exceeded | |
018- function call terminated | |
019- | |
020- V8\Exceptions\TimeLimitException: Time limit exceeded | |
021- script execution terminated | |
022- | |
023- float(%f) | |
024- Script execution time is within specified range (%f, %f): ok | |
025- | |
026- object(V8\Isolate)#2 (5) { | |
027- ["snapshot":"V8\Isolate":private]=> | |
028- NULL | |
029- ["time_limit":"V8\Isolate":private]=> | |
030- float(%f) | |
031- ["time_limit_hit":"V8\Isolate":private]=> | |
032- bool(true) | |
033- ["memory_limit":"V8\Isolate":private]=> | |
034- int(0) | |
035- ["memory_limit_hit":"V8\Isolate":private]=> | |
036- bool(false) | |
037- }\n | |
FILE: tests/V8Isolate_limit_time_nested.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Isolate_limit_time_not_hit.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Time limit accessor report no hit: ok | |
002- Get time limit default value is zero: ok | |
003- Get time limit returns valid value: ok | |
004- object(V8\Isolate)#3 (5) { | |
005- ["snapshot":"V8\Isolate":private]=> | |
006- NULL | |
007- ["time_limit":"V8\Isolate":private]=> | |
008- float(%f) | |
009- ["time_limit_hit":"V8\Isolate":private]=> | |
010- bool(false) | |
011- ["memory_limit":"V8\Isolate":private]=> | |
012- int(0) | |
013- ["memory_limit_hit":"V8\Isolate":private]=> | |
014- bool(false) | |
015- } | |
016- | |
017- start | |
018- end | |
019- | |
020- float(0.%d) | |
021- Script execution time is less than 0.5 sec: ok | |
022- Get time limit returns valid value: ok | |
023- Time limit accessor report not hit: ok | |
024- | |
025- object(V8\Isolate)#3 (5) { | |
026- ["snapshot":"V8\Isolate":private]=> | |
027- NULL | |
028- ["time_limit":"V8\Isolate":private]=> | |
029- float(%f) | |
030- ["time_limit_hit":"V8\Isolate":private]=> | |
031- bool(false) | |
032- ["memory_limit":"V8\Isolate":private]=> | |
033- int(0) | |
034- ["memory_limit_hit":"V8\Isolate":private]=> | |
035- bool(false) | |
036- }\n | |
FILE: tests/V8Isolate_limit_time_not_hit.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Isolate_limit_time_set_during_execution.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- object(V8\Isolate)#2 (5) { | |
002- ["snapshot":"V8\Isolate":private]=> | |
003- NULL | |
004- ["time_limit":"V8\Isolate":private]=> | |
005- float(0) | |
006- ["time_limit_hit":"V8\Isolate":private]=> | |
007- bool(false) | |
008- ["memory_limit":"V8\Isolate":private]=> | |
009- int(0) | |
010- ["memory_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- } | |
013- | |
014- V8\Exceptions\TimeLimitException: Time limit exceeded | |
015- script execution terminated | |
016- | |
017- float(%f) | |
018- Script execution time is within specified range (%f, %f): ok | |
019- | |
020- object(V8\Isolate)#2 (5) { | |
021- ["snapshot":"V8\Isolate":private]=> | |
022- NULL | |
023- ["time_limit":"V8\Isolate":private]=> | |
024- float(%f) | |
025- ["time_limit_hit":"V8\Isolate":private]=> | |
026- bool(true) | |
027- ["memory_limit":"V8\Isolate":private]=> | |
028- int(0) | |
029- ["memory_limit_hit":"V8\Isolate":private]=> | |
030- bool(false) | |
031- }\n | |
FILE: tests/V8Isolate_limit_time_set_during_execution.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Isolate_nested_termination_exceptions.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
001- wait loop terminated | |
002- function call terminated | |
003- script execution terminated | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/V8Isolate_nested_termination_exceptions.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Isolate_snapshot_support.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation (no snapshot): | |
002- ------------------------------------ | |
003- object(v8Tests\TrackingDtors\Isolate)#2 (5) { | |
004- ["snapshot":"V8\Isolate":private]=> | |
005- NULL | |
006- ["time_limit":"V8\Isolate":private]=> | |
007- float(0) | |
008- ["time_limit_hit":"V8\Isolate":private]=> | |
009- bool(false) | |
010- ["memory_limit":"V8\Isolate":private]=> | |
011- int(0) | |
012- ["memory_limit_hit":"V8\Isolate":private]=> | |
013- bool(false) | |
014- } | |
015- | |
016- | |
017- Accessors (no snapshot): | |
018- ------------------------ | |
019- v8Tests\TrackingDtors\Isolate::GetSnapshot() matches expected value | |
020- | |
021- | |
022- Context should have no test data: ok | |
023- | |
024- Isolate dies now! | |
025- | |
026- | |
027- Object representation (with snapshot): | |
028- -------------------------------------- | |
029- object(v8Tests\TrackingDtors\Isolate)#3 (5) { | |
030- ["snapshot":"V8\Isolate":private]=> | |
031- object(V8\StartupData)#2 (0) { | |
032- } | |
033- ["time_limit":"V8\Isolate":private]=> | |
034- float(0) | |
035- ["time_limit_hit":"V8\Isolate":private]=> | |
036- bool(false) | |
037- ["memory_limit":"V8\Isolate":private]=> | |
038- int(0) | |
039- ["memory_limit_hit":"V8\Isolate":private]=> | |
040- bool(false) | |
041- } | |
042- | |
043- | |
044- Accessors (with snapshot): | |
045- -------------------------- | |
046- v8Tests\TrackingDtors\Isolate::GetSnapshot() result is instance of V8\StartupData | |
047- | |
048- | |
049- Context should have test function: ok | |
050- Contexts from the same snapshot doesn't affected by each other: ok | |
051- Contexts between different isolates from the same snapshot doesn't affected by each other: ok | |
052- Deleting reference to snapshot is OK after creating Isolate instance: ok | |
053- | |
054- Isolate dies now! | |
055- Isolate dies now! | |
056- Isolate dies now! | |
057- END\n | |
FILE: tests/V8Isolate_snapshot_support.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Message.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Object representation (default): | |
002- -------------------------------- | |
003- object(V8\Message)#8 (12) { | |
004- ["message":"V8\Message":private]=> | |
005- string(7) "message" | |
006- ["script_origin":"V8\Message":private]=> | |
007- object(V8\ScriptOrigin)#4 (6) { | |
008- ["resource_name":"V8\ScriptOrigin":private]=> | |
009- string(13) "resource_name" | |
010- ["resource_line_offset":"V8\ScriptOrigin":private]=> | |
011- int(0) | |
012- ["resource_column_offset":"V8\ScriptOrigin":private]=> | |
013- int(0) | |
014- ["options":"V8\ScriptOrigin":private]=> | |
015- object(V8\ScriptOriginOptions)#5 (2) { | |
016- ["is_shared_cross_origin":"V8\ScriptOriginOptions":private]=> | |
017- bool(false) | |
018- ["is_opaque":"V8\ScriptOriginOptions":private]=> | |
019- bool(false) | |
020- } | |
021- ["script_id":"V8\ScriptOrigin":private]=> | |
022- int(0) | |
023- ["source_map_url":"V8\ScriptOrigin":private]=> | |
024- string(0) "" | |
025- } | |
026- ["source_line":"V8\Message":private]=> | |
027- string(11) "source_line" | |
028- ["resource_name":"V8\Message":private]=> | |
029- string(13) "resource_name" | |
030- ["stack_trace":"V8\Message":private]=> | |
031- object(V8\StackTrace)#6 (2) { | |
032- ["frames":"V8\StackTrace":private]=> | |
033- array(0) { | |
034- } | |
035- ["as_array":"V8\StackTrace":private]=> | |
036- object(V8\ArrayObject)#7 (2) { | |
037- ["isolate":"V8\Value":private]=> | |
038- object(V8\Isolate)#2 (5) { | |
039- ["snapshot":"V8\Isolate":private]=> | |
040- NULL | |
041- ["time_limit":"V8\Isolate":private]=> | |
042- float(0) | |
043- ["time_limit_hit":"V8\Isolate":private]=> | |
044- bool(false) | |
045- ["memory_limit":"V8\Isolate":private]=> | |
046- int(0) | |
047- ["memory_limit_hit":"V8\Isolate":private]=> | |
048- bool(false) | |
049- } | |
050- ["context":"V8\ObjectValue":private]=> | |
051- object(V8\Context)#3 (4) { | |
052- ["isolate":"V8\Context":private]=> | |
053- object(V8\Isolate)#2 (5) { | |
054- ["snapshot":"V8\Isolate":private]=> | |
055- NULL | |
056- ["time_limit":"V8\Isolate":private]=> | |
057- float(0) | |
058- ["time_limit_hit":"V8\Isolate":private]=> | |
059- bool(false) | |
060- ["memory_limit":"V8\Isolate":private]=> | |
061- int(0) | |
062- ["memory_limit_hit":"V8\Isolate":private]=> | |
063- bool(false) | |
064- } | |
065- ["extensions":"V8\Context":private]=> | |
066- NULL | |
067- ["global_template":"V8\Context":private]=> | |
068- NULL | |
069- ["global_object":"V8\Context":private]=> | |
070- NULL | |
071- } | |
072- } | |
073- } | |
074- ["line_number":"V8\Message":private]=> | |
075- int(0) | |
076- ["start_position":"V8\Message":private]=> | |
077- int(-1) | |
078- ["end_position":"V8\Message":private]=> | |
079- int(-1) | |
080- ["start_column":"V8\Message":private]=> | |
081- int(0) | |
082- ["end_column":"V8\Message":private]=> | |
083- int(0) | |
084- ["is_shared_cross_origin":"V8\Message":private]=> | |
085- bool(false) | |
086- ["is_opaque":"V8\Message":private]=> | |
087- bool(false) | |
088- } | |
089- | |
090- | |
091- Test getters (default): | |
092- ----------------------- | |
093- V8\Message::Get() matches expected 'message' | |
094- V8\Message::GetSourceLine() matches expected 'source_line' | |
095- V8\Message::GetScriptOrigin() result is instance of V8\ScriptOrigin | |
096- V8\Message::GetScriptResourceName() matches expected 'resource_name' | |
097- V8\Message::GetStackTrace() result is instance of V8\StackTrace | |
098- V8\Message::GetLineNumber() matches expected 0 | |
099- V8\Message::GetStartPosition() matches expected -1 | |
100- V8\Message::GetEndPosition() matches expected -1 | |
101- V8\Message::GetStartColumn() matches expected 0 | |
102- V8\Message::GetEndColumn() matches expected 0 | |
103- V8\Message::IsSharedCrossOrigin() matches expected false | |
104- V8\Message::IsOpaque() matches expected false | |
105- | |
106- | |
107- Object representation: | |
108- ---------------------- | |
109- object(V8\Message)#9 (12) { | |
110- ["message":"V8\Message":private]=> | |
111- string(7) "message" | |
112- ["script_origin":"V8\Message":private]=> | |
113- object(V8\ScriptOrigin)#4 (6) { | |
114- ["resource_name":"V8\ScriptOrigin":private]=> | |
115- string(13) "resource_name" | |
116- ["resource_line_offset":"V8\ScriptOrigin":private]=> | |
117- int(0) | |
118- ["resource_column_offset":"V8\ScriptOrigin":private]=> | |
119- int(0) | |
120- ["options":"V8\ScriptOrigin":private]=> | |
121- object(V8\ScriptOriginOptions)#5 (2) { | |
122- ["is_shared_cross_origin":"V8\ScriptOriginOptions":private]=> | |
123- bool(false) | |
124- ["is_opaque":"V8\ScriptOriginOptions":private]=> | |
125- bool(false) | |
126- } | |
127- ["script_id":"V8\ScriptOrigin":private]=> | |
128- int(0) | |
129- ["source_map_url":"V8\ScriptOrigin":private]=> | |
130- string(0) "" | |
131- } | |
132- ["source_line":"V8\Message":private]=> | |
133- string(11) "source_line" | |
134- ["resource_name":"V8\Message":private]=> | |
135- string(13) "resource_name" | |
136- ["stack_trace":"V8\Message":private]=> | |
137- object(V8\StackTrace)#6 (2) { | |
138- ["frames":"V8\StackTrace":private]=> | |
139- array(0) { | |
140- } | |
141- ["as_array":"V8\StackTrace":private]=> | |
142- object(V8\ArrayObject)#7 (2) { | |
143- ["isolate":"V8\Value":private]=> | |
144- object(V8\Isolate)#2 (5) { | |
145- ["snapshot":"V8\Isolate":private]=> | |
146- NULL | |
147- ["time_limit":"V8\Isolate":private]=> | |
148- float(0) | |
149- ["time_limit_hit":"V8\Isolate":private]=> | |
150- bool(false) | |
151- ["memory_limit":"V8\Isolate":private]=> | |
152- int(0) | |
153- ["memory_limit_hit":"V8\Isolate":private]=> | |
154- bool(false) | |
155- } | |
156- ["context":"V8\ObjectValue":private]=> | |
157- object(V8\Context)#3 (4) { | |
158- ["isolate":"V8\Context":private]=> | |
159- object(V8\Isolate)#2 (5) { | |
160- ["snapshot":"V8\Isolate":private]=> | |
161- NULL | |
162- ["time_limit":"V8\Isolate":private]=> | |
163- float(0) | |
164- ["time_limit_hit":"V8\Isolate":private]=> | |
165- bool(false) | |
166- ["memory_limit":"V8\Isolate":private]=> | |
167- int(0) | |
168- ["memory_limit_hit":"V8\Isolate":private]=> | |
169- bool(false) | |
170- } | |
171- ["extensions":"V8\Context":private]=> | |
172- NULL | |
173- ["global_template":"V8\Context":private]=> | |
174- NULL | |
175- ["global_object":"V8\Context":private]=> | |
176- NULL | |
177- } | |
178- } | |
179- } | |
180- ["line_number":"V8\Message":private]=> | |
181- int(1) | |
182- ["start_position":"V8\Message":private]=> | |
183- int(2) | |
184- ["end_position":"V8\Message":private]=> | |
185- int(3) | |
186- ["start_column":"V8\Message":private]=> | |
187- int(4) | |
188- ["end_column":"V8\Message":private]=> | |
189- int(5) | |
190- ["is_shared_cross_origin":"V8\Message":private]=> | |
191- bool(true) | |
192- ["is_opaque":"V8\Message":private]=> | |
193- bool(true) | |
194- } | |
195- | |
196- | |
197- Test getters: | |
198- ------------- | |
199- V8\Message::Get() matches expected 'message' | |
200- V8\Message::GetSourceLine() matches expected 'source_line' | |
201- V8\Message::GetScriptOrigin() result is instance of V8\ScriptOrigin | |
202- V8\Message::GetScriptResourceName() matches expected 'resource_name' | |
203- V8\Message::GetStackTrace() result is instance of V8\StackTrace | |
204- V8\Message::GetLineNumber() matches expected 1 | |
205- V8\Message::GetStartPosition() matches expected 2 | |
206- V8\Message::GetEndPosition() matches expected 3 | |
207- V8\Message::GetStartColumn() matches expected 4 | |
208- V8\Message::GetEndColumn() matches expected 5 | |
209- V8\Message::IsSharedCrossOrigin() matches expected true | |
210- V8\Message::IsOpaque() matches expected true\n | |
FILE: tests/V8Message.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8NameValue.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\NameValue)#4 (1) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- } | |
018- | |
019- | |
020- NameValue extends PrimitiveValue: ok | |
021- | |
022- Accessors: | |
023- ---------- | |
024- V8\NameValue::GetIsolate() matches expected value | |
025- | |
026- | |
027- Getters: | |
028- -------- | |
029- GetIdentityHash is integer: ok | |
030- | |
031- | |
032- Checks on V8\NameValue: | |
033- ----------------------- | |
034- V8\NameValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(9) "undefined" | |
035- | |
036- V8\NameValue(V8\Value)->IsUndefined(): bool(true) | |
037- V8\NameValue(V8\Value)->IsNull(): bool(false) | |
038- V8\NameValue(V8\Value)->IsTrue(): bool(false) | |
039- V8\NameValue(V8\Value)->IsFalse(): bool(false) | |
040- V8\NameValue(V8\Value)->IsName(): bool(false) | |
041- V8\NameValue(V8\Value)->IsString(): bool(false) | |
042- V8\NameValue(V8\Value)->IsSymbol(): bool(false) | |
043- V8\NameValue(V8\Value)->IsFunction(): bool(false) | |
044- V8\NameValue(V8\Value)->IsArray(): bool(false) | |
045- V8\NameValue(V8\Value)->IsObject(): bool(false) | |
046- V8\NameValue(V8\Value)->IsBoolean(): bool(false) | |
047- V8\NameValue(V8\Value)->IsNumber(): bool(false) | |
048- V8\NameValue(V8\Value)->IsInt32(): bool(false) | |
049- V8\NameValue(V8\Value)->IsUint32(): bool(false) | |
050- V8\NameValue(V8\Value)->IsDate(): bool(false) | |
051- V8\NameValue(V8\Value)->IsArgumentsObject(): bool(false) | |
052- V8\NameValue(V8\Value)->IsBooleanObject(): bool(false) | |
053- V8\NameValue(V8\Value)->IsNumberObject(): bool(false) | |
054- V8\NameValue(V8\Value)->IsStringObject(): bool(false) | |
055- V8\NameValue(V8\Value)->IsSymbolObject(): bool(false) | |
056- V8\NameValue(V8\Value)->IsNativeError(): bool(false) | |
057- V8\NameValue(V8\Value)->IsRegExp(): bool(false) | |
058- | |
059- | |
060- Primitive converters: | |
061- --------------------- | |
062- V8\NameValue(V8\Value)->BooleanValue(): bool(false) | |
063- V8\NameValue(V8\Value)->NumberValue(): float(NAN) | |
064- | |
065- | |
066- V8\NameValue::ToString() converting: | |
067- ------------------------------------ | |
068- object(V8\StringValue)#52 (1) { | |
069- ["isolate":"V8\Value":private]=> | |
070- object(V8\Isolate)#3 (5) { | |
071- ["snapshot":"V8\Isolate":private]=> | |
072- NULL | |
073- ["time_limit":"V8\Isolate":private]=> | |
074- float(0) | |
075- ["time_limit_hit":"V8\Isolate":private]=> | |
076- bool(false) | |
077- ["memory_limit":"V8\Isolate":private]=> | |
078- int(0) | |
079- ["memory_limit_hit":"V8\Isolate":private]=> | |
080- bool(false) | |
081- } | |
082- } | |
083- string(9) "undefined" | |
084- | |
085- | |
086- Checkers after ToString() converting: | |
087- ------------------------------------- | |
088- V8\NameValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(9) "undefined" | |
089- | |
090- V8\NameValue(V8\Value)->IsUndefined(): bool(true) | |
091- V8\NameValue(V8\Value)->IsNull(): bool(false) | |
092- V8\NameValue(V8\Value)->IsTrue(): bool(false) | |
093- V8\NameValue(V8\Value)->IsFalse(): bool(false) | |
094- V8\NameValue(V8\Value)->IsName(): bool(false) | |
095- V8\NameValue(V8\Value)->IsString(): bool(false) | |
096- V8\NameValue(V8\Value)->IsSymbol(): bool(false) | |
097- V8\NameValue(V8\Value)->IsFunction(): bool(false) | |
098- V8\NameValue(V8\Value)->IsArray(): bool(false) | |
099- V8\NameValue(V8\Value)->IsObject(): bool(false) | |
100- V8\NameValue(V8\Value)->IsBoolean(): bool(false) | |
101- V8\NameValue(V8\Value)->IsNumber(): bool(false) | |
102- V8\NameValue(V8\Value)->IsInt32(): bool(false) | |
103- V8\NameValue(V8\Value)->IsUint32(): bool(false) | |
104- V8\NameValue(V8\Value)->IsDate(): bool(false) | |
105- V8\NameValue(V8\Value)->IsArgumentsObject(): bool(false) | |
106- V8\NameValue(V8\Value)->IsBooleanObject(): bool(false) | |
107- V8\NameValue(V8\Value)->IsNumberObject(): bool(false) | |
108- V8\NameValue(V8\Value)->IsStringObject(): bool(false) | |
109- V8\NameValue(V8\Value)->IsSymbolObject(): bool(false) | |
110- V8\NameValue(V8\Value)->IsNativeError(): bool(false) | |
111- V8\NameValue(V8\Value)->IsRegExp(): bool(false) | |
112- | |
113- | |
114- V8\NameValue::ToObject() converting: | |
115- ------------------------------------ | |
116- V8\Exceptions\TryCatchException: TypeError: Cannot convert undefined or null to object\n | |
FILE: tests/V8NameValue.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8NullValue.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\NullValue)#2 (1) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#1 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- } | |
018- | |
019- | |
020- NullValue extends PrimitiveValue: ok | |
021- | |
022- Accessors: | |
023- ---------- | |
024- V8\NullValue::GetIsolate() matches expected value | |
025- V8\NullValue->Value(): NULL | |
026- | |
027- | |
028- Checkers: | |
029- --------- | |
030- V8\NullValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
031- | |
032- V8\NullValue(V8\Value)->IsUndefined(): bool(false) | |
033- V8\NullValue(V8\Value)->IsNull(): bool(true) | |
034- V8\NullValue(V8\Value)->IsTrue(): bool(false) | |
035- V8\NullValue(V8\Value)->IsFalse(): bool(false) | |
036- V8\NullValue(V8\Value)->IsName(): bool(false) | |
037- V8\NullValue(V8\Value)->IsString(): bool(false) | |
038- V8\NullValue(V8\Value)->IsSymbol(): bool(false) | |
039- V8\NullValue(V8\Value)->IsFunction(): bool(false) | |
040- V8\NullValue(V8\Value)->IsArray(): bool(false) | |
041- V8\NullValue(V8\Value)->IsObject(): bool(false) | |
042- V8\NullValue(V8\Value)->IsBoolean(): bool(false) | |
043- V8\NullValue(V8\Value)->IsNumber(): bool(false) | |
044- V8\NullValue(V8\Value)->IsInt32(): bool(false) | |
045- V8\NullValue(V8\Value)->IsUint32(): bool(false) | |
046- V8\NullValue(V8\Value)->IsDate(): bool(false) | |
047- V8\NullValue(V8\Value)->IsArgumentsObject(): bool(false) | |
048- V8\NullValue(V8\Value)->IsBooleanObject(): bool(false) | |
049- V8\NullValue(V8\Value)->IsNumberObject(): bool(false) | |
050- V8\NullValue(V8\Value)->IsStringObject(): bool(false) | |
051- V8\NullValue(V8\Value)->IsSymbolObject(): bool(false) | |
052- V8\NullValue(V8\Value)->IsNativeError(): bool(false) | |
053- V8\NullValue(V8\Value)->IsRegExp(): bool(false) | |
054- | |
055- | |
056- Primitive converters: | |
057- --------------------- | |
058- V8\NullValue(V8\Value)->BooleanValue(): bool(false) | |
059- V8\NullValue(V8\Value)->NumberValue(): float(0) | |
060- | |
061- | |
062- V8\NullValue::ToString() converting: | |
063- ------------------------------------ | |
064- object(V8\StringValue)#52 (1) { | |
065- ["isolate":"V8\Value":private]=> | |
066- object(V8\Isolate)#1 (5) { | |
067- ["snapshot":"V8\Isolate":private]=> | |
068- NULL | |
069- ["time_limit":"V8\Isolate":private]=> | |
070- float(0) | |
071- ["time_limit_hit":"V8\Isolate":private]=> | |
072- bool(false) | |
073- ["memory_limit":"V8\Isolate":private]=> | |
074- int(0) | |
075- ["memory_limit_hit":"V8\Isolate":private]=> | |
076- bool(false) | |
077- } | |
078- } | |
079- string(4) "null"\n | |
FILE: tests/V8NullValue.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8NumberObject.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\NumberObject)#8 (2) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- ["context":"V8\ObjectValue":private]=> | |
018- object(V8\Context)#7 (4) { | |
019- ["isolate":"V8\Context":private]=> | |
020- object(V8\Isolate)#3 (5) { | |
021- ["snapshot":"V8\Isolate":private]=> | |
022- NULL | |
023- ["time_limit":"V8\Isolate":private]=> | |
024- float(0) | |
025- ["time_limit_hit":"V8\Isolate":private]=> | |
026- bool(false) | |
027- ["memory_limit":"V8\Isolate":private]=> | |
028- int(0) | |
029- ["memory_limit_hit":"V8\Isolate":private]=> | |
030- bool(false) | |
031- } | |
032- ["extensions":"V8\Context":private]=> | |
033- array(0) { | |
034- } | |
035- ["global_template":"V8\Context":private]=> | |
036- object(V8\ObjectTemplate)#4 (1) { | |
037- ["isolate":"V8\Template":private]=> | |
038- object(V8\Isolate)#3 (5) { | |
039- ["snapshot":"V8\Isolate":private]=> | |
040- NULL | |
041- ["time_limit":"V8\Isolate":private]=> | |
042- float(0) | |
043- ["time_limit_hit":"V8\Isolate":private]=> | |
044- bool(false) | |
045- ["memory_limit":"V8\Isolate":private]=> | |
046- int(0) | |
047- ["memory_limit_hit":"V8\Isolate":private]=> | |
048- bool(false) | |
049- } | |
050- } | |
051- ["global_object":"V8\Context":private]=> | |
052- NULL | |
053- } | |
054- } | |
055- | |
056- | |
057- NumberObject extends ObjectValue: ok | |
058- | |
059- Getters: | |
060- -------- | |
061- V8\NumberObject->ValueOf(): float(42.12) | |
062- | |
063- | |
064- Checkers: | |
065- --------- | |
066- V8\NumberObject(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
067- | |
068- V8\NumberObject(V8\ObjectValue)->IsCallable(): bool(false) | |
069- V8\NumberObject(V8\ObjectValue)->IsConstructor(): bool(false) | |
070- V8\NumberObject(V8\Value)->IsUndefined(): bool(false) | |
071- V8\NumberObject(V8\Value)->IsNull(): bool(false) | |
072- V8\NumberObject(V8\Value)->IsTrue(): bool(false) | |
073- V8\NumberObject(V8\Value)->IsFalse(): bool(false) | |
074- V8\NumberObject(V8\Value)->IsName(): bool(false) | |
075- V8\NumberObject(V8\Value)->IsString(): bool(false) | |
076- V8\NumberObject(V8\Value)->IsSymbol(): bool(false) | |
077- V8\NumberObject(V8\Value)->IsFunction(): bool(false) | |
078- V8\NumberObject(V8\Value)->IsArray(): bool(false) | |
079- V8\NumberObject(V8\Value)->IsObject(): bool(true) | |
080- V8\NumberObject(V8\Value)->IsBoolean(): bool(false) | |
081- V8\NumberObject(V8\Value)->IsNumber(): bool(false) | |
082- V8\NumberObject(V8\Value)->IsInt32(): bool(false) | |
083- V8\NumberObject(V8\Value)->IsUint32(): bool(false) | |
084- V8\NumberObject(V8\Value)->IsDate(): bool(false) | |
085- V8\NumberObject(V8\Value)->IsArgumentsObject(): bool(false) | |
086- V8\NumberObject(V8\Value)->IsBooleanObject(): bool(false) | |
087- V8\NumberObject(V8\Value)->IsNumberObject(): bool(true) | |
088- V8\NumberObject(V8\Value)->IsStringObject(): bool(false) | |
089- V8\NumberObject(V8\Value)->IsSymbolObject(): bool(false) | |
090- V8\NumberObject(V8\Value)->IsNativeError(): bool(false) | |
091- V8\NumberObject(V8\Value)->IsRegExp(): bool(false) | |
092- | |
093- | |
094- val: 42.12 | |
095- typeof val: object | |
096- | |
097- | |
098- Returned value should be the same: | |
099- ---------------------------------- | |
100- Expected value is identical to actual value | |
101- | |
102- | |
103- Checkers on boxed from script: | |
104- ------------------------------ | |
105- V8\NumberObject(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
106- | |
107- V8\NumberObject(V8\ObjectValue)->IsCallable(): bool(false) | |
108- V8\NumberObject(V8\ObjectValue)->IsConstructor(): bool(false) | |
109- V8\NumberObject(V8\Value)->IsUndefined(): bool(false) | |
110- V8\NumberObject(V8\Value)->IsNull(): bool(false) | |
111- V8\NumberObject(V8\Value)->IsTrue(): bool(false) | |
112- V8\NumberObject(V8\Value)->IsFalse(): bool(false) | |
113- V8\NumberObject(V8\Value)->IsName(): bool(false) | |
114- V8\NumberObject(V8\Value)->IsString(): bool(false) | |
115- V8\NumberObject(V8\Value)->IsSymbol(): bool(false) | |
116- V8\NumberObject(V8\Value)->IsFunction(): bool(false) | |
117- V8\NumberObject(V8\Value)->IsArray(): bool(false) | |
118- V8\NumberObject(V8\Value)->IsObject(): bool(true) | |
119- V8\NumberObject(V8\Value)->IsBoolean(): bool(false) | |
120- V8\NumberObject(V8\Value)->IsNumber(): bool(false) | |
121- V8\NumberObject(V8\Value)->IsInt32(): bool(false) | |
122- V8\NumberObject(V8\Value)->IsUint32(): bool(false) | |
123- V8\NumberObject(V8\Value)->IsDate(): bool(false) | |
124- V8\NumberObject(V8\Value)->IsArgumentsObject(): bool(false) | |
125- V8\NumberObject(V8\Value)->IsBooleanObject(): bool(false) | |
126- V8\NumberObject(V8\Value)->IsNumberObject(): bool(true) | |
127- V8\NumberObject(V8\Value)->IsStringObject(): bool(false) | |
128- V8\NumberObject(V8\Value)->IsSymbolObject(): bool(false) | |
129- V8\NumberObject(V8\Value)->IsNativeError(): bool(false) | |
130- V8\NumberObject(V8\Value)->IsRegExp(): bool(false)\n | |
FILE: tests/V8NumberObject.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8NumberValue.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\NumberValue)#4 (1) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- } | |
018- | |
019- | |
020- NumberValue extends PrimitiveValue: ok | |
021- | |
022- Accessors: | |
023- ---------- | |
024- V8\NumberValue::GetIsolate() matches expected value | |
025- V8\NumberValue->Value(): float(123.456) | |
026- | |
027- | |
028- Checkers: | |
029- --------- | |
030- V8\NumberValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "number" | |
031- | |
032- V8\NumberValue(V8\Value)->IsUndefined(): bool(false) | |
033- V8\NumberValue(V8\Value)->IsNull(): bool(false) | |
034- V8\NumberValue(V8\Value)->IsTrue(): bool(false) | |
035- V8\NumberValue(V8\Value)->IsFalse(): bool(false) | |
036- V8\NumberValue(V8\Value)->IsName(): bool(false) | |
037- V8\NumberValue(V8\Value)->IsString(): bool(false) | |
038- V8\NumberValue(V8\Value)->IsSymbol(): bool(false) | |
039- V8\NumberValue(V8\Value)->IsFunction(): bool(false) | |
040- V8\NumberValue(V8\Value)->IsArray(): bool(false) | |
041- V8\NumberValue(V8\Value)->IsObject(): bool(false) | |
042- V8\NumberValue(V8\Value)->IsBoolean(): bool(false) | |
043- V8\NumberValue(V8\Value)->IsNumber(): bool(true) | |
044- V8\NumberValue(V8\Value)->IsInt32(): bool(false) | |
045- V8\NumberValue(V8\Value)->IsUint32(): bool(false) | |
046- V8\NumberValue(V8\Value)->IsDate(): bool(false) | |
047- V8\NumberValue(V8\Value)->IsArgumentsObject(): bool(false) | |
048- V8\NumberValue(V8\Value)->IsBooleanObject(): bool(false) | |
049- V8\NumberValue(V8\Value)->IsNumberObject(): bool(false) | |
050- V8\NumberValue(V8\Value)->IsStringObject(): bool(false) | |
051- V8\NumberValue(V8\Value)->IsSymbolObject(): bool(false) | |
052- V8\NumberValue(V8\Value)->IsNativeError(): bool(false) | |
053- V8\NumberValue(V8\Value)->IsRegExp(): bool(false) | |
054- | |
055- | |
056- V8\NumberValue::ToString() converting: | |
057- -------------------------------------- | |
058- object(V8\StringValue)#52 (1) { | |
059- ["isolate":"V8\Value":private]=> | |
060- object(V8\Isolate)#3 (5) { | |
061- ["snapshot":"V8\Isolate":private]=> | |
062- NULL | |
063- ["time_limit":"V8\Isolate":private]=> | |
064- float(0) | |
065- ["time_limit_hit":"V8\Isolate":private]=> | |
066- bool(false) | |
067- ["memory_limit":"V8\Isolate":private]=> | |
068- int(0) | |
069- ["memory_limit_hit":"V8\Isolate":private]=> | |
070- bool(false) | |
071- } | |
072- } | |
073- string(7) "123.456" | |
074- | |
075- | |
076- Primitive converters: | |
077- --------------------- | |
078- V8\NumberValue(V8\Value)->BooleanValue(): bool(true) | |
079- V8\NumberValue(V8\Value)->NumberValue(): float(123.456) | |
080- | |
081- | |
082- Test negative value in constructor: | |
083- ----------------------------------- | |
084- V8\NumberValue->Value(): float(-123.456) | |
085- V8\NumberValue(V8\Value)->BooleanValue(): bool(true) | |
086- V8\NumberValue(V8\Value)->NumberValue(): float(-123.456) | |
087- | |
088- | |
089- Test non-standard constructor values: | |
090- ------------------------------------- | |
091- TypeError: Argument 2 passed to V8\NumberValue::__construct() must be of the type float, null given | |
092- | |
093- | |
094- boolean: true | |
095- V8\NumberValue->Value(): float(1) | |
096- V8\NumberValue(V8\Value)->BooleanValue(): bool(true) | |
097- V8\NumberValue(V8\Value)->NumberValue(): float(1) | |
098- | |
099- | |
100- boolean: false | |
101- V8\NumberValue->Value(): float(0) | |
102- V8\NumberValue(V8\Value)->BooleanValue(): bool(false) | |
103- V8\NumberValue(V8\Value)->NumberValue(): float(0) | |
104- | |
105- | |
106- double: NAN | |
107- V8\NumberValue->Value(): float(NAN) | |
108- V8\NumberValue(V8\Value)->BooleanValue(): bool(false) | |
109- V8\NumberValue(V8\Value)->NumberValue(): float(NAN) | |
110- | |
111- | |
112- double: INF | |
113- V8\NumberValue->Value(): float(INF) | |
114- V8\NumberValue(V8\Value)->BooleanValue(): bool(true) | |
115- V8\NumberValue(V8\Value)->NumberValue(): float(INF) | |
116- | |
117- | |
118- double: -INF | |
119- V8\NumberValue->Value(): float(-INF) | |
120- V8\NumberValue(V8\Value)->BooleanValue(): bool(true) | |
121- V8\NumberValue(V8\Value)->NumberValue(): float(-INF)\n | |
FILE: tests/V8NumberValue.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8ObjectTemplate.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\ObjectTemplate)#4 (1) { | |
004- ["isolate":"V8\Template":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- } | |
018- | |
019- | |
020- ObjectTemplate extends Template: ok | |
021- ObjectTemplate implements AdjustableExternalMemoryInterface: ok | |
022- | |
023- Accessors: | |
024- ---------- | |
025- V8\ObjectTemplate::GetIsolate() matches expected value | |
026- | |
027- ObjectTemplate instance has name from constructor: ok\n | |
FILE: tests/V8ObjectTemplate.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8ObjectTemplate_Set.diff | |
001+ # | |
001- Done here for now | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped)\n | |
FILE: tests/V8ObjectTemplate_Set.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8ObjectTemplate_SetCallAsFunctionHandler.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- typeof func: function | |
002- func: function func() { [native code] } | |
003- func(): [object Object] | |
005- typeof test: function | |
007+ Termsig=4 | |
006- test: [object Object] | |
007- should pass | |
008- test(): done | |
009- | |
010- typeof test2: object | |
011- test2: [object Object] | |
012- TypeError: test2 is not a function\n | |
FILE: tests/V8ObjectTemplate_SetCallAsFunctionHandler.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8ObjectTemplate_SetHandlerForIndexedProperty.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- I am indexed query for 0! | |
002- "0" in test: true | |
003- I am indexed query for 0! | |
004- 0 in test: true | |
005- I am indexed query for 1! | |
006- "1" in test: false | |
007- I am indexed query for 1! | |
008- 1 in test: false | |
009- I am indexed setter for 0! | |
010- test[0] = 42: 42 | |
011- I am indexed getter for 0! | |
012- test[0]: 21 | |
013- I am indexed deleter for 0! | |
014- delete test[0]: true | |
015- I am indexed getter for 0! | |
016- test[0]: 21 | |
017- I am indexed enumerator! | |
018- I am indexed query for 0! | |
019- I am indexed getter for 0! | |
020- test[0]: 21 | |
021- I am indexed query for 1! | |
022- I am indexed query for 2! | |
023- I am indexed getter for 2! | |
024- test[2]: 21 | |
025- I am indexed query for 3! | |
026- I am indexed getter for 3! | |
027- test[3]: 21 | |
028- I am indexed query for 4! | |
029- I am indexed getter for 4! | |
030- test[4]: 21 | |
031- I am indexed query for 5! | |
032- I am indexed getter for 5! | |
033- test[5]: 21 | |
034- I am indexed query for 6! | |
035- I am indexed getter for 6! | |
036- test[6]: 21 | |
037- I am indexed query for 7! | |
038- I am indexed getter for 7! | |
039- test[7]: 21 | |
040- I am indexed query for 8! | |
041- I am indexed getter for 8! | |
042- test[8]: 21 | |
043- I am indexed query for 9! | |
044- I am indexed getter for 9! | |
045- test[9]: 21\n | |
FILE: tests/V8ObjectTemplate_SetHandlerForIndexedProperty.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8ObjectTemplate_SetHandlerForNamedProperty.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- I am named query for foo! | |
002- "foo" in test: true | |
003- I am named query for bar! | |
004- "bar" in test: true | |
005- I am named getter for foo! | |
006- test.foo: 100 | |
007- I am named setter for foo! | |
008- test.foo = 42: 42 | |
009- I am named getter for foo! | |
010- test.foo: 21 | |
011- I am named deleter for foo! | |
012- delete test.foo: true | |
013- I am named query for foo! | |
014- "foo" in test: true | |
015- I am named enumerator! | |
016- I am named query for test-a! | |
017- I am named getter for test-a! | |
018- test[test-a]: 21 | |
019- I am named query for test-b! | |
020- I am named getter for test-b! | |
021- test[test-b]: 21 | |
022- I am named query for test-c! | |
023- I am named getter for test-c! | |
024- test[test-c]: 21 | |
025- I am named query for test-d! | |
026- I am named getter for test-d! | |
027- test[test-d]: 21 | |
028- I am named query for test-e! | |
029- I am named getter for test-e! | |
030- test[test-e]: 21 | |
031- I am named query for test-f! | |
032- I am named getter for test-f! | |
033- test[test-f]: 21 | |
034- I am named query for test-g! | |
035- I am named getter for test-g! | |
036- test[test-g]: 21 | |
037- I am named query for test-h! | |
038- I am named getter for test-h! | |
039- test[test-h]: 21 | |
040- I am named query for test-i! | |
041- I am named getter for test-i! | |
042- test[test-i]: 21 | |
043- I am named query for test-j! | |
044- I am named getter for test-j! | |
045- test[test-j]: 21\n | |
FILE: tests/V8ObjectTemplate_SetHandlerForNamedProperty.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8ObjectTemplate_SetHandler_both.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- I am named query for foo! | |
002- "foo" in test: true | |
003- I am named query for bar! | |
004- "bar" in test: true | |
005- I am named getter for foo! | |
006- test.foo: 100 | |
007- I am named setter for foo! | |
008- test.foo = 42: 42 | |
009- I am named getter for foo! | |
010- test.foo: 21 | |
011- I am named deleter for foo! | |
012- delete test.foo: true | |
013- I am named query for foo! | |
014- "foo" in test: true | |
015- I am indexed enumerator! | |
016- I am named enumerator! | |
017- I am named query for test-a! | |
018- I am named getter for test-a! | |
019- test[test-a]: 21 | |
020- I am named query for test-b! | |
021- I am named getter for test-b! | |
022- test[test-b]: 21 | |
023- I am named query for test-c! | |
024- I am named getter for test-c! | |
025- test[test-c]: 21 | |
026- I am named query for test-d! | |
027- I am named getter for test-d! | |
028- test[test-d]: 21 | |
029- I am named query for test-e! | |
030- I am named getter for test-e! | |
031- test[test-e]: 21 | |
032- I am named query for test-f! | |
033- I am named getter for test-f! | |
034- test[test-f]: 21 | |
035- I am named query for test-g! | |
036- I am named getter for test-g! | |
037- test[test-g]: 21 | |
038- I am named query for test-h! | |
039- I am named getter for test-h! | |
040- test[test-h]: 21 | |
041- I am named query for test-i! | |
042- I am named getter for test-i! | |
043- test[test-i]: 21 | |
044- I am named query for test-j! | |
045- I am named getter for test-j! | |
046- test[test-j]: 21 | |
047- | |
048- | |
049- I am indexed query for 0! | |
050- "0" in test: true | |
051- I am indexed query for 0! | |
052- 0 in test: true | |
053- I am indexed query for 1! | |
054- "1" in test: false | |
055- I am indexed query for 1! | |
056- 1 in test: false | |
057- I am indexed setter for 0! | |
058- test[0] = 42: 42 | |
059- I am indexed getter for 0! | |
060- test[0]: 21 | |
061- I am indexed deleter for 0! | |
062- delete test[0]: true | |
063- I am indexed getter for 0! | |
064- test[0]: 21 | |
065- I am indexed enumerator! | |
066- I am named enumerator! | |
067- I am indexed query for 0! | |
068- I am indexed getter for 0! | |
069- test[0]: 21 | |
070- I am indexed query for 1! | |
071- I am indexed query for 2! | |
072- I am indexed getter for 2! | |
073- test[2]: 21 | |
074- I am indexed query for 3! | |
075- I am indexed getter for 3! | |
076- test[3]: 21 | |
077- I am indexed query for 4! | |
078- I am indexed getter for 4! | |
079- test[4]: 21 | |
080- I am indexed query for 5! | |
081- I am indexed getter for 5! | |
082- test[5]: 21 | |
083- I am indexed query for 6! | |
084- I am indexed getter for 6! | |
085- test[6]: 21 | |
086- I am indexed query for 7! | |
087- I am indexed getter for 7! | |
088- test[7]: 21 | |
089- I am indexed query for 8! | |
090- I am indexed getter for 8! | |
091- test[8]: 21 | |
092- I am indexed query for 9! | |
093- I am indexed getter for 9! | |
094- test[9]: 21\n | |
FILE: tests/V8ObjectTemplate_SetHandler_both.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8ObjectValue.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\ObjectValue)#6 (2) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- ["context":"V8\ObjectValue":private]=> | |
018- object(V8\Context)#5 (4) { | |
019- ["isolate":"V8\Context":private]=> | |
020- object(V8\Isolate)#3 (5) { | |
021- ["snapshot":"V8\Isolate":private]=> | |
022- NULL | |
023- ["time_limit":"V8\Isolate":private]=> | |
024- float(0) | |
025- ["time_limit_hit":"V8\Isolate":private]=> | |
026- bool(false) | |
027- ["memory_limit":"V8\Isolate":private]=> | |
028- int(0) | |
029- ["memory_limit_hit":"V8\Isolate":private]=> | |
030- bool(false) | |
031- } | |
032- ["extensions":"V8\Context":private]=> | |
033- array(0) { | |
034- } | |
035- ["global_template":"V8\Context":private]=> | |
036- object(V8\ObjectTemplate)#4 (1) { | |
037- ["isolate":"V8\Template":private]=> | |
038- object(V8\Isolate)#3 (5) { | |
039- ["snapshot":"V8\Isolate":private]=> | |
040- NULL | |
041- ["time_limit":"V8\Isolate":private]=> | |
042- float(0) | |
043- ["time_limit_hit":"V8\Isolate":private]=> | |
044- bool(false) | |
045- ["memory_limit":"V8\Isolate":private]=> | |
046- int(0) | |
047- ["memory_limit_hit":"V8\Isolate":private]=> | |
048- bool(false) | |
049- } | |
050- } | |
051- ["global_object":"V8\Context":private]=> | |
052- NULL | |
053- } | |
054- } | |
055- | |
056- | |
057- ObjectValue extends Value: ok | |
058- ObjectValue does not extend PrimitiveValue: ok | |
059- ObjectValue implements AdjustableExternalMemoryInterface: ok | |
060- | |
061- Accessors: | |
062- ---------- | |
063- V8\ObjectValue::GetIsolate() matches expected value | |
064- V8\ObjectValue::GetContext() matches expected value | |
065- V8\ObjectValue::CreationContext() matches expected value | |
066- | |
067- | |
068- Getters: | |
069- -------- | |
070- GetIdentityHash is integer: ok | |
071- | |
072- | |
073- Checkers: | |
074- --------- | |
075- V8\ObjectValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
076- | |
077- V8\ObjectValue->IsCallable(): bool(false) | |
078- V8\ObjectValue->IsConstructor(): bool(false) | |
079- V8\ObjectValue(V8\Value)->IsUndefined(): bool(false) | |
080- V8\ObjectValue(V8\Value)->IsNull(): bool(false) | |
081- V8\ObjectValue(V8\Value)->IsTrue(): bool(false) | |
082- V8\ObjectValue(V8\Value)->IsFalse(): bool(false) | |
083- V8\ObjectValue(V8\Value)->IsName(): bool(false) | |
084- V8\ObjectValue(V8\Value)->IsString(): bool(false) | |
085- V8\ObjectValue(V8\Value)->IsSymbol(): bool(false) | |
086- V8\ObjectValue(V8\Value)->IsFunction(): bool(false) | |
087- V8\ObjectValue(V8\Value)->IsArray(): bool(false) | |
088- V8\ObjectValue(V8\Value)->IsObject(): bool(true) | |
089- V8\ObjectValue(V8\Value)->IsBoolean(): bool(false) | |
090- V8\ObjectValue(V8\Value)->IsNumber(): bool(false) | |
091- V8\ObjectValue(V8\Value)->IsInt32(): bool(false) | |
092- V8\ObjectValue(V8\Value)->IsUint32(): bool(false) | |
093- V8\ObjectValue(V8\Value)->IsDate(): bool(false) | |
094- V8\ObjectValue(V8\Value)->IsArgumentsObject(): bool(false) | |
095- V8\ObjectValue(V8\Value)->IsBooleanObject(): bool(false) | |
096- V8\ObjectValue(V8\Value)->IsNumberObject(): bool(false) | |
097- V8\ObjectValue(V8\Value)->IsStringObject(): bool(false) | |
098- V8\ObjectValue(V8\Value)->IsSymbolObject(): bool(false) | |
099- V8\ObjectValue(V8\Value)->IsNativeError(): bool(false) | |
100- V8\ObjectValue(V8\Value)->IsRegExp(): bool(false) | |
101- | |
102- | |
103- Converters: | |
104- ----------- | |
105- V8\ObjectValue(V8\Value)->ToBoolean(): | |
106- object(V8\BooleanValue)#95 (1) { | |
107- ["isolate":"V8\Value":private]=> | |
108- object(V8\Isolate)#3 (5) { | |
109- ["snapshot":"V8\Isolate":private]=> | |
110- NULL | |
111- ["time_limit":"V8\Isolate":private]=> | |
112- float(0) | |
113- ["time_limit_hit":"V8\Isolate":private]=> | |
114- bool(false) | |
115- ["memory_limit":"V8\Isolate":private]=> | |
116- int(0) | |
117- ["memory_limit_hit":"V8\Isolate":private]=> | |
118- bool(false) | |
119- } | |
120- } | |
121- V8\ObjectValue(V8\Value)->ToNumber(): | |
122- object(V8\NumberValue)#95 (1) { | |
123- ["isolate":"V8\Value":private]=> | |
124- object(V8\Isolate)#3 (5) { | |
125- ["snapshot":"V8\Isolate":private]=> | |
126- NULL | |
127- ["time_limit":"V8\Isolate":private]=> | |
128- float(0) | |
129- ["time_limit_hit":"V8\Isolate":private]=> | |
130- bool(false) | |
131- ["memory_limit":"V8\Isolate":private]=> | |
132- int(0) | |
133- ["memory_limit_hit":"V8\Isolate":private]=> | |
134- bool(false) | |
135- } | |
136- } | |
137- V8\ObjectValue(V8\Value)->ToString(): | |
138- object(V8\StringValue)#95 (1) { | |
139- ["isolate":"V8\Value":private]=> | |
140- object(V8\Isolate)#3 (5) { | |
141- ["snapshot":"V8\Isolate":private]=> | |
142- NULL | |
143- ["time_limit":"V8\Isolate":private]=> | |
144- float(0) | |
145- ["time_limit_hit":"V8\Isolate":private]=> | |
146- bool(false) | |
147- ["memory_limit":"V8\Isolate":private]=> | |
148- int(0) | |
149- ["memory_limit_hit":"V8\Isolate":private]=> | |
150- bool(false) | |
151- } | |
152- } | |
153- V8\ObjectValue(V8\Value)->ToDetailString(): | |
154- object(V8\StringValue)#95 (1) { | |
155- ["isolate":"V8\Value":private]=> | |
156- object(V8\Isolate)#3 (5) { | |
157- ["snapshot":"V8\Isolate":private]=> | |
158- NULL | |
159- ["time_limit":"V8\Isolate":private]=> | |
160- float(0) | |
161- ["time_limit_hit":"V8\Isolate":private]=> | |
162- bool(false) | |
163- ["memory_limit":"V8\Isolate":private]=> | |
164- int(0) | |
165- ["memory_limit_hit":"V8\Isolate":private]=> | |
166- bool(false) | |
167- } | |
168- } | |
169- V8\ObjectValue(V8\Value)->ToObject(): | |
170- object(V8\ObjectValue)#6 (2) { | |
171- ["isolate":"V8\Value":private]=> | |
172- object(V8\Isolate)#3 (5) { | |
173- ["snapshot":"V8\Isolate":private]=> | |
174- NULL | |
175- ["time_limit":"V8\Isolate":private]=> | |
176- float(0) | |
177- ["time_limit_hit":"V8\Isolate":private]=> | |
178- bool(false) | |
179- ["memory_limit":"V8\Isolate":private]=> | |
180- int(0) | |
181- ["memory_limit_hit":"V8\Isolate":private]=> | |
182- bool(false) | |
183- } | |
184- ["context":"V8\ObjectValue":private]=> | |
185- object(V8\Context)#5 (4) { | |
186- ["isolate":"V8\Context":private]=> | |
187- object(V8\Isolate)#3 (5) { | |
188- ["snapshot":"V8\Isolate":private]=> | |
189- NULL | |
190- ["time_limit":"V8\Isolate":private]=> | |
191- float(0) | |
192- ["time_limit_hit":"V8\Isolate":private]=> | |
193- bool(false) | |
194- ["memory_limit":"V8\Isolate":private]=> | |
195- int(0) | |
196- ["memory_limit_hit":"V8\Isolate":private]=> | |
197- bool(false) | |
198- } | |
199- ["extensions":"V8\Context":private]=> | |
200- array(0) { | |
201- } | |
202- ["global_template":"V8\Context":private]=> | |
203- object(V8\ObjectTemplate)#4 (1) { | |
204- ["isolate":"V8\Template":private]=> | |
205- object(V8\Isolate)#3 (5) { | |
206- ["snapshot":"V8\Isolate":private]=> | |
207- NULL | |
208- ["time_limit":"V8\Isolate":private]=> | |
209- float(0) | |
210- ["time_limit_hit":"V8\Isolate":private]=> | |
211- bool(false) | |
212- ["memory_limit":"V8\Isolate":private]=> | |
213- int(0) | |
214- ["memory_limit_hit":"V8\Isolate":private]=> | |
215- bool(false) | |
216- } | |
217- } | |
218- ["global_object":"V8\Context":private]=> | |
219- NULL | |
220- } | |
221- } | |
222- V8\ObjectValue(V8\Value)->ToInteger(): | |
223- object(V8\NumberValue)#95 (1) { | |
224- ["isolate":"V8\Value":private]=> | |
225- object(V8\Isolate)#3 (5) { | |
226- ["snapshot":"V8\Isolate":private]=> | |
227- NULL | |
228- ["time_limit":"V8\Isolate":private]=> | |
229- float(0) | |
230- ["time_limit_hit":"V8\Isolate":private]=> | |
231- bool(false) | |
232- ["memory_limit":"V8\Isolate":private]=> | |
233- int(0) | |
234- ["memory_limit_hit":"V8\Isolate":private]=> | |
235- bool(false) | |
236- } | |
237- } | |
238- V8\ObjectValue(V8\Value)->ToUint32(): | |
239- object(V8\NumberValue)#95 (1) { | |
240- ["isolate":"V8\Value":private]=> | |
241- object(V8\Isolate)#3 (5) { | |
242- ["snapshot":"V8\Isolate":private]=> | |
243- NULL | |
244- ["time_limit":"V8\Isolate":private]=> | |
245- float(0) | |
246- ["time_limit_hit":"V8\Isolate":private]=> | |
247- bool(false) | |
248- ["memory_limit":"V8\Isolate":private]=> | |
249- int(0) | |
250- ["memory_limit_hit":"V8\Isolate":private]=> | |
251- bool(false) | |
252- } | |
253- } | |
254- V8\ObjectValue(V8\Value)->ToInt32(): | |
255- object(V8\NumberValue)#95 (1) { | |
256- ["isolate":"V8\Value":private]=> | |
257- object(V8\Isolate)#3 (5) { | |
258- ["snapshot":"V8\Isolate":private]=> | |
259- NULL | |
260- ["time_limit":"V8\Isolate":private]=> | |
261- float(0) | |
262- ["time_limit_hit":"V8\Isolate":private]=> | |
263- bool(false) | |
264- ["memory_limit":"V8\Isolate":private]=> | |
265- int(0) | |
266- ["memory_limit_hit":"V8\Isolate":private]=> | |
267- bool(false) | |
268- } | |
269- } | |
270- V8\ObjectValue(V8\Value)->ToArrayIndex(): V8\Exceptions\GenericException: Failed to convert\n | |
FILE: tests/V8ObjectValue.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8ObjectValue_Get.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
001- Value is instance of \V8\StringValue | |
002- Value is instance of \V8\FunctionObject | |
003- Expected value is identical to actual value | |
004- Expected value is identical to actual value | |
005+ Illegal instruction (core dumped)\n | |
FILE: tests/V8ObjectValue_Get.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8ObjectValue_IsArgumentsObject.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
001- CHECK $arguments_object->IsArgumentsObject(): OK | |
002- CHECK !$array->IsArgumentsObject(): OK | |
003- CHECK !$object->IsArgumentsObject(): OK | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/V8ObjectValue_IsArgumentsObject.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8ObjectValue_IsNativeError.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
001- CHECK $syntax_error->IsNativeError(): OK | |
002- CHECK !$not_error->IsNativeError(): OK | |
003- CHECK !$not_object->IsNativeError(): OK | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/V8ObjectValue_IsNativeError.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8ObjectValue_SetAccessor.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Userland getter on property test called, value is foo | |
002- foo | |
003- Userland setter on property test called with bar, value is foo | |
004- Userland getter on property test called, value is bar | |
005- bar | |
006- string(11) "Script done"\n | |
FILE: tests/V8ObjectValue_SetAccessor.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8ObjectValue_SetIntegrityLevel.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- false | |
002- false | |
003- 42 | |
004- <undefined> | |
005- foo | |
006- bar | |
007+ Termsig=4 | |
008- true | |
009- true | |
010- 42 | |
011- <undefined> | |
012- 42 | |
013- <undefined> | |
014- | |
015- false | |
016- true | |
017- 42 | |
018- <undefined> | |
019- foo | |
020- <undefined>\n | |
FILE: tests/V8ObjectValue_SetIntegrityLevel.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8PrimitiveValue.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\PrimitiveValue)#4 (1) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- } | |
018- | |
019- | |
020- PrimitiveValue extends Value: ok | |
021- | |
022- Accessors: | |
023- ---------- | |
024- V8\PrimitiveValue::GetIsolate() matches expected value | |
025- | |
026- | |
027- Checks on V8\PrimitiveValue: | |
028- ---------------------------- | |
029- V8\PrimitiveValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(9) "undefined" | |
030- | |
031- V8\PrimitiveValue(V8\Value)->IsUndefined(): bool(true) | |
032- V8\PrimitiveValue(V8\Value)->IsNull(): bool(false) | |
033- V8\PrimitiveValue(V8\Value)->IsTrue(): bool(false) | |
034- V8\PrimitiveValue(V8\Value)->IsFalse(): bool(false) | |
035- V8\PrimitiveValue(V8\Value)->IsName(): bool(false) | |
036- V8\PrimitiveValue(V8\Value)->IsString(): bool(false) | |
037- V8\PrimitiveValue(V8\Value)->IsSymbol(): bool(false) | |
038- V8\PrimitiveValue(V8\Value)->IsFunction(): bool(false) | |
039- V8\PrimitiveValue(V8\Value)->IsArray(): bool(false) | |
040- V8\PrimitiveValue(V8\Value)->IsObject(): bool(false) | |
041- V8\PrimitiveValue(V8\Value)->IsBoolean(): bool(false) | |
042- V8\PrimitiveValue(V8\Value)->IsNumber(): bool(false) | |
043- V8\PrimitiveValue(V8\Value)->IsInt32(): bool(false) | |
044- V8\PrimitiveValue(V8\Value)->IsUint32(): bool(false) | |
045- V8\PrimitiveValue(V8\Value)->IsDate(): bool(false) | |
046- V8\PrimitiveValue(V8\Value)->IsArgumentsObject(): bool(false) | |
047- V8\PrimitiveValue(V8\Value)->IsBooleanObject(): bool(false) | |
048- V8\PrimitiveValue(V8\Value)->IsNumberObject(): bool(false) | |
049- V8\PrimitiveValue(V8\Value)->IsStringObject(): bool(false) | |
050- V8\PrimitiveValue(V8\Value)->IsSymbolObject(): bool(false) | |
051- V8\PrimitiveValue(V8\Value)->IsNativeError(): bool(false) | |
052- V8\PrimitiveValue(V8\Value)->IsRegExp(): bool(false) | |
053- | |
054- | |
055- Primitive converters: | |
056- --------------------- | |
057- V8\PrimitiveValue(V8\Value)->BooleanValue(): bool(false) | |
058- V8\PrimitiveValue(V8\Value)->NumberValue(): float(NAN) | |
059- | |
060- | |
061- V8\PrimitiveValue::ToString() converting: | |
062- ----------------------------------------- | |
063- object(V8\StringValue)#51 (1) { | |
064- ["isolate":"V8\Value":private]=> | |
065- object(V8\Isolate)#3 (5) { | |
066- ["snapshot":"V8\Isolate":private]=> | |
067- NULL | |
068- ["time_limit":"V8\Isolate":private]=> | |
069- float(0) | |
070- ["time_limit_hit":"V8\Isolate":private]=> | |
071- bool(false) | |
072- ["memory_limit":"V8\Isolate":private]=> | |
073- int(0) | |
074- ["memory_limit_hit":"V8\Isolate":private]=> | |
075- bool(false) | |
076- } | |
077- } | |
078- string(9) "undefined" | |
079- | |
080- | |
081- Checkers after ToString() converting: | |
082- ------------------------------------- | |
083- V8\PrimitiveValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(9) "undefined" | |
084- | |
085- V8\PrimitiveValue(V8\Value)->IsUndefined(): bool(true) | |
086- V8\PrimitiveValue(V8\Value)->IsNull(): bool(false) | |
087- V8\PrimitiveValue(V8\Value)->IsTrue(): bool(false) | |
088- V8\PrimitiveValue(V8\Value)->IsFalse(): bool(false) | |
089- V8\PrimitiveValue(V8\Value)->IsName(): bool(false) | |
090- V8\PrimitiveValue(V8\Value)->IsString(): bool(false) | |
091- V8\PrimitiveValue(V8\Value)->IsSymbol(): bool(false) | |
092- V8\PrimitiveValue(V8\Value)->IsFunction(): bool(false) | |
093- V8\PrimitiveValue(V8\Value)->IsArray(): bool(false) | |
094- V8\PrimitiveValue(V8\Value)->IsObject(): bool(false) | |
095- V8\PrimitiveValue(V8\Value)->IsBoolean(): bool(false) | |
096- V8\PrimitiveValue(V8\Value)->IsNumber(): bool(false) | |
097- V8\PrimitiveValue(V8\Value)->IsInt32(): bool(false) | |
098- V8\PrimitiveValue(V8\Value)->IsUint32(): bool(false) | |
099- V8\PrimitiveValue(V8\Value)->IsDate(): bool(false) | |
100- V8\PrimitiveValue(V8\Value)->IsArgumentsObject(): bool(false) | |
101- V8\PrimitiveValue(V8\Value)->IsBooleanObject(): bool(false) | |
102- V8\PrimitiveValue(V8\Value)->IsNumberObject(): bool(false) | |
103- V8\PrimitiveValue(V8\Value)->IsStringObject(): bool(false) | |
104- V8\PrimitiveValue(V8\Value)->IsSymbolObject(): bool(false) | |
105- V8\PrimitiveValue(V8\Value)->IsNativeError(): bool(false) | |
106- V8\PrimitiveValue(V8\Value)->IsRegExp(): bool(false) | |
107- | |
108- | |
109- V8\PrimitiveValue::ToObject() converting: | |
110- ----------------------------------------- | |
111- V8\Exceptions\TryCatchException: TypeError: Cannot convert undefined or null to object\n | |
FILE: tests/V8PrimitiveValue.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8RegExpObject.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\RegExpObject)#8 (2) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- ["context":"V8\ObjectValue":private]=> | |
018- object(V8\Context)#7 (4) { | |
019- ["isolate":"V8\Context":private]=> | |
020- object(V8\Isolate)#3 (5) { | |
021- ["snapshot":"V8\Isolate":private]=> | |
022- NULL | |
023- ["time_limit":"V8\Isolate":private]=> | |
024- float(0) | |
025- ["time_limit_hit":"V8\Isolate":private]=> | |
026- bool(false) | |
027- ["memory_limit":"V8\Isolate":private]=> | |
028- int(0) | |
029- ["memory_limit_hit":"V8\Isolate":private]=> | |
030- bool(false) | |
031- } | |
032- ["extensions":"V8\Context":private]=> | |
033- array(0) { | |
034- } | |
035- ["global_template":"V8\Context":private]=> | |
036- object(V8\ObjectTemplate)#4 (1) { | |
037- ["isolate":"V8\Template":private]=> | |
038- object(V8\Isolate)#3 (5) { | |
039- ["snapshot":"V8\Isolate":private]=> | |
040- NULL | |
041- ["time_limit":"V8\Isolate":private]=> | |
042- float(0) | |
043- ["time_limit_hit":"V8\Isolate":private]=> | |
044- bool(false) | |
045- ["memory_limit":"V8\Isolate":private]=> | |
046- int(0) | |
047- ["memory_limit_hit":"V8\Isolate":private]=> | |
048- bool(false) | |
049- } | |
050- } | |
051- ["global_object":"V8\Context":private]=> | |
052- NULL | |
053- } | |
054- } | |
055- | |
056- | |
057- RegExpObject extends ObjectValue: ok | |
058- | |
059- Getters: | |
060- -------- | |
061- V8\RegExpObject->GetSource()->Value(): string(21) "([a-z]{1,4})-([0-9]+)" | |
062- V8\RegExpObject->GetFlags(): int(2) | |
063- | |
064- | |
065- Checkers: | |
066- --------- | |
067- V8\RegExpObject(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
068- | |
069- V8\RegExpObject(V8\ObjectValue)->IsCallable(): bool(false) | |
070- V8\RegExpObject(V8\ObjectValue)->IsConstructor(): bool(false) | |
071- V8\RegExpObject(V8\Value)->IsUndefined(): bool(false) | |
072- V8\RegExpObject(V8\Value)->IsNull(): bool(false) | |
073- V8\RegExpObject(V8\Value)->IsTrue(): bool(false) | |
074- V8\RegExpObject(V8\Value)->IsFalse(): bool(false) | |
075- V8\RegExpObject(V8\Value)->IsName(): bool(false) | |
076- V8\RegExpObject(V8\Value)->IsString(): bool(false) | |
077- V8\RegExpObject(V8\Value)->IsSymbol(): bool(false) | |
078- V8\RegExpObject(V8\Value)->IsFunction(): bool(false) | |
079- V8\RegExpObject(V8\Value)->IsArray(): bool(false) | |
080- V8\RegExpObject(V8\Value)->IsObject(): bool(true) | |
081- V8\RegExpObject(V8\Value)->IsBoolean(): bool(false) | |
082- V8\RegExpObject(V8\Value)->IsNumber(): bool(false) | |
083- V8\RegExpObject(V8\Value)->IsInt32(): bool(false) | |
084- V8\RegExpObject(V8\Value)->IsUint32(): bool(false) | |
085- V8\RegExpObject(V8\Value)->IsDate(): bool(false) | |
086- V8\RegExpObject(V8\Value)->IsArgumentsObject(): bool(false) | |
087- V8\RegExpObject(V8\Value)->IsBooleanObject(): bool(false) | |
088- V8\RegExpObject(V8\Value)->IsNumberObject(): bool(false) | |
089- V8\RegExpObject(V8\Value)->IsStringObject(): bool(false) | |
090- V8\RegExpObject(V8\Value)->IsSymbolObject(): bool(false) | |
091- V8\RegExpObject(V8\Value)->IsNativeError(): bool(false) | |
092- V8\RegExpObject(V8\Value)->IsRegExp(): bool(true) | |
093- | |
094- | |
095- val: /([a-z]{1,4})-([0-9]+)/i | |
096- typeof val: object | |
097- "test-1".replace(val, "$2-$1"): 1-test | |
098- | |
099- | |
100- Returned value should be the same: | |
101- ---------------------------------- | |
102- Expected value is identical to actual value\n | |
FILE: tests/V8RegExpObject.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8ReturnValue.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Function called | |
002- Return value holds original isolate object: ok | |
003- Return value holds original context object: ok | |
004- Return value holds no value: ok | |
005- string(11) "Script done" | |
007+ Termsig=4 | |
007- | |
008- Return value holds no value: ok | |
009- Return value was set and holds proper value: ok | |
010- Returns undefined: ok | |
011- Return value holds no value: ok | |
012- Return value was set and holds proper value: ok | |
013- Returns null: ok | |
014- Return value holds no value: ok | |
015- Return value was set and holds proper value: ok | |
016- Returns boolean: ok | |
017- Return value holds no value: ok | |
018- Return value was set and holds proper value: ok | |
019- Returns integer: ok | |
020- Return value holds no value: ok | |
021- Return value was set and holds proper value: ok | |
022- Returns float: ok | |
023- Returns float: float(9.2233720368548E+18) | |
024- | |
025- We are done for now | |
026- FunctionObject dies now! | |
027- Isolate dies now!\n | |
FILE: tests/V8ReturnValue.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8ReturnValue_context.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\ReturnValue)#14 (0) { | |
004- } | |
005- | |
006- | |
007- Return value object is in context: ok | |
008- Return value holds original isolate object: ok | |
009- Return value holds original isolate object: ok | |
010- Return value holds no value: ok | |
011- Return value holds value: 42 | |
012- | |
013- | |
014- Return value object is out of context: ok | |
015- V8\Exceptions\GenericException: Attempt to use return value out of calling function context | |
016- | |
017- Object representation (outside of context): | |
018- ------------------------------------------- | |
019- object(V8\ReturnValue)#14 (0) { | |
020- }\n | |
FILE: tests/V8ReturnValue_context.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Script.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- object(V8\Script)#7 (4) { | |
002- ["isolate":"V8\Script":private]=> | |
003- object(V8\Isolate)#3 (5) { | |
004- ["snapshot":"V8\Isolate":private]=> | |
005- NULL | |
006- ["time_limit":"V8\Isolate":private]=> | |
007- float(0) | |
008- ["time_limit_hit":"V8\Isolate":private]=> | |
009- bool(false) | |
010- ["memory_limit":"V8\Isolate":private]=> | |
011- int(0) | |
012- ["memory_limit_hit":"V8\Isolate":private]=> | |
013- bool(false) | |
014- } | |
015- ["context":"V8\Script":private]=> | |
016- object(V8\Context)#6 (4) { | |
017- ["isolate":"V8\Context":private]=> | |
018- object(V8\Isolate)#3 (5) { | |
019- ["snapshot":"V8\Isolate":private]=> | |
020- NULL | |
021- ["time_limit":"V8\Isolate":private]=> | |
022- float(0) | |
023- ["time_limit_hit":"V8\Isolate":private]=> | |
024- bool(false) | |
025- ["memory_limit":"V8\Isolate":private]=> | |
026- int(0) | |
027- ["memory_limit_hit":"V8\Isolate":private]=> | |
028- bool(false) | |
029- } | |
030- ["extensions":"V8\Context":private]=> | |
031- array(0) { | |
032- } | |
033- ["global_template":"V8\Context":private]=> | |
034- object(V8\ObjectTemplate)#4 (1) { | |
035- ["isolate":"V8\Template":private]=> | |
036- object(V8\Isolate)#3 (5) { | |
037- ["snapshot":"V8\Isolate":private]=> | |
038- NULL | |
039- ["time_limit":"V8\Isolate":private]=> | |
040- float(0) | |
041- ["time_limit_hit":"V8\Isolate":private]=> | |
042- bool(false) | |
043- ["memory_limit":"V8\Isolate":private]=> | |
044- int(0) | |
045- ["memory_limit_hit":"V8\Isolate":private]=> | |
046- bool(false) | |
047- } | |
048- } | |
049- ["global_object":"V8\Context":private]=> | |
050- NULL | |
051- } | |
052- ["source":"V8\Script":private]=> | |
053- object(V8\StringValue)#8 (1) { | |
054- ["isolate":"V8\Value":private]=> | |
055- object(V8\Isolate)#3 (5) { | |
056- ["snapshot":"V8\Isolate":private]=> | |
057- NULL | |
058- ["time_limit":"V8\Isolate":private]=> | |
059- float(0) | |
060- ["time_limit_hit":"V8\Isolate":private]=> | |
061- bool(false) | |
062- ["memory_limit":"V8\Isolate":private]=> | |
063- int(0) | |
064- ["memory_limit_hit":"V8\Isolate":private]=> | |
065- bool(false) | |
066- } | |
067- } | |
068- ["origin":"V8\Script":private]=> | |
069- object(V8\ScriptOrigin)#9 (6) { | |
070- ["resource_name":"V8\ScriptOrigin":private]=> | |
071- string(7) "test.js" | |
072- ["resource_line_offset":"V8\ScriptOrigin":private]=> | |
073- int(0) | |
074- ["resource_column_offset":"V8\ScriptOrigin":private]=> | |
075- int(0) | |
076- ["options":"V8\ScriptOrigin":private]=> | |
077- object(V8\ScriptOriginOptions)#10 (2) { | |
078- ["is_shared_cross_origin":"V8\ScriptOriginOptions":private]=> | |
079- bool(false) | |
080- ["is_opaque":"V8\ScriptOriginOptions":private]=> | |
081- bool(false) | |
082- } | |
083- ["script_id":"V8\ScriptOrigin":private]=> | |
084- int(0) | |
085- ["source_map_url":"V8\ScriptOrigin":private]=> | |
086- string(0) "" | |
087- } | |
088- } | |
089- Accessors: | |
090- ---------- | |
091- V8\Script::GetContext() matches expected value | |
092- | |
093- | |
094- Script result accessors: | |
095- ------------------------ | |
096- V8\StringValue::GetIsolate() matches expected value | |
097- | |
098- | |
099- Checkers: | |
100- --------- | |
101- V8\StringValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "string" | |
102- | |
103- V8\StringValue->IsOneByte(): bool(true) | |
104- V8\StringValue(V8\Value)->IsUndefined(): bool(false) | |
105- V8\StringValue(V8\Value)->IsNull(): bool(false) | |
106- V8\StringValue(V8\Value)->IsTrue(): bool(false) | |
107- V8\StringValue(V8\Value)->IsFalse(): bool(false) | |
108- V8\StringValue(V8\Value)->IsName(): bool(true) | |
109- V8\StringValue(V8\Value)->IsString(): bool(true) | |
110- V8\StringValue(V8\Value)->IsSymbol(): bool(false) | |
111- V8\StringValue(V8\Value)->IsFunction(): bool(false) | |
112- V8\StringValue(V8\Value)->IsArray(): bool(false) | |
113- V8\StringValue(V8\Value)->IsObject(): bool(false) | |
114- V8\StringValue(V8\Value)->IsBoolean(): bool(false) | |
115- V8\StringValue(V8\Value)->IsNumber(): bool(false) | |
116- V8\StringValue(V8\Value)->IsInt32(): bool(false) | |
117- V8\StringValue(V8\Value)->IsUint32(): bool(false) | |
118- V8\StringValue(V8\Value)->IsDate(): bool(false) | |
119- V8\StringValue(V8\Value)->IsArgumentsObject(): bool(false) | |
120- V8\StringValue(V8\Value)->IsBooleanObject(): bool(false) | |
121- V8\StringValue(V8\Value)->IsNumberObject(): bool(false) | |
122- V8\StringValue(V8\Value)->IsStringObject(): bool(false) | |
123- V8\StringValue(V8\Value)->IsSymbolObject(): bool(false) | |
124- V8\StringValue(V8\Value)->IsNativeError(): bool(false) | |
125- V8\StringValue(V8\Value)->IsRegExp(): bool(false)\n | |
FILE: tests/V8Script.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Script_Run.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Checks on V8\StringValue: | |
002- ------------------------- | |
003- V8\StringValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "string" | |
005- V8\StringValue->IsOneByte(): bool(true) | |
007+ Termsig=4 | |
006- V8\StringValue(V8\Value)->IsUndefined(): bool(false) | |
007- V8\StringValue(V8\Value)->IsNull(): bool(false) | |
008- V8\StringValue(V8\Value)->IsTrue(): bool(false) | |
009- V8\StringValue(V8\Value)->IsFalse(): bool(false) | |
010- V8\StringValue(V8\Value)->IsName(): bool(true) | |
011- V8\StringValue(V8\Value)->IsString(): bool(true) | |
012- V8\StringValue(V8\Value)->IsSymbol(): bool(false) | |
013- V8\StringValue(V8\Value)->IsFunction(): bool(false) | |
014- V8\StringValue(V8\Value)->IsArray(): bool(false) | |
015- V8\StringValue(V8\Value)->IsObject(): bool(false) | |
016- V8\StringValue(V8\Value)->IsBoolean(): bool(false) | |
017- V8\StringValue(V8\Value)->IsNumber(): bool(false) | |
018- V8\StringValue(V8\Value)->IsInt32(): bool(false) | |
019- V8\StringValue(V8\Value)->IsUint32(): bool(false) | |
020- V8\StringValue(V8\Value)->IsDate(): bool(false) | |
021- V8\StringValue(V8\Value)->IsArgumentsObject(): bool(false) | |
022- V8\StringValue(V8\Value)->IsBooleanObject(): bool(false) | |
023- V8\StringValue(V8\Value)->IsNumberObject(): bool(false) | |
024- V8\StringValue(V8\Value)->IsStringObject(): bool(false) | |
025- V8\StringValue(V8\Value)->IsSymbolObject(): bool(false) | |
026- V8\StringValue(V8\Value)->IsNativeError(): bool(false) | |
027- V8\StringValue(V8\Value)->IsRegExp(): bool(false) | |
028- | |
029- | |
030- string(25) "TEST VALUE 111, confirmed" | |
031- | |
032- | |
033- Scalar: | |
034- ------- | |
035- Expected 123.0 value is identical to actual value 123.0 | |
036- Expected value is not identical to actual value | |
037- | |
038- | |
039- Object: | |
040- ------- | |
041- Expected value is identical to actual value\n | |
FILE: tests/V8Script_Run.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Script_exit_during_script_execution.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- FunctionTemplate dies now! | |
002- before exit | |
003- Going to exit | |
004- Doing shutdown | |
005- Isolate dies now! | |
006- ObjectTemplate dies now! | |
007- Context dies now! | |
008- Script dies now!\n | |
FILE: tests/V8Script_exit_during_script_execution.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Script_terminate_script_execution.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- before terminate | |
002- Going to terminate | |
003- wait loop terminated | |
004- V8\Exceptions\TerminationException: Execution terminated | |
005- Shutdown took: %fsec | |
006- Shutdown is less than 1sec: yes | |
007- Isolate dies now! | |
008- Done here | |
009- EOF\n | |
FILE: tests/V8Script_terminate_script_execution.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8StackTrace.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\StackTrace)#8 (2) { | |
004- ["frames":"V8\StackTrace":private]=> | |
005- array(2) { | |
006- [0]=> | |
007- object(V8\StackFrame)#6 (8) { | |
008- ["line_number":"V8\StackFrame":private]=> | |
009- int(1) | |
010- ["column":"V8\StackFrame":private]=> | |
011- int(0) | |
012- ["script_id":"V8\StackFrame":private]=> | |
013- int(0) | |
014- ["script_name":"V8\StackFrame":private]=> | |
015- string(0) "" | |
016- ["script_name_or_source_url":"V8\StackFrame":private]=> | |
017- string(0) "" | |
018- ["function_name":"V8\StackFrame":private]=> | |
019- string(0) "" | |
020- ["is_eval":"V8\StackFrame":private]=> | |
021- bool(false) | |
022- ["is_constructor":"V8\StackFrame":private]=> | |
023- bool(false) | |
024- } | |
025- [1]=> | |
026- object(V8\StackFrame)#7 (8) { | |
027- ["line_number":"V8\StackFrame":private]=> | |
028- int(2) | |
029- ["column":"V8\StackFrame":private]=> | |
030- int(0) | |
031- ["script_id":"V8\StackFrame":private]=> | |
032- int(0) | |
033- ["script_name":"V8\StackFrame":private]=> | |
034- string(0) "" | |
035- ["script_name_or_source_url":"V8\StackFrame":private]=> | |
036- string(0) "" | |
037- ["function_name":"V8\StackFrame":private]=> | |
038- string(0) "" | |
039- ["is_eval":"V8\StackFrame":private]=> | |
040- bool(false) | |
041- ["is_constructor":"V8\StackFrame":private]=> | |
042- bool(false) | |
043- } | |
044- } | |
045- ["as_array":"V8\StackTrace":private]=> | |
046- object(V8\ArrayObject)#5 (2) { | |
047- ["isolate":"V8\Value":private]=> | |
048- object(v8Tests\TrackingDtors\Isolate)#3 (5) { | |
049- ["snapshot":"V8\Isolate":private]=> | |
050- NULL | |
051- ["time_limit":"V8\Isolate":private]=> | |
052- float(0) | |
053- ["time_limit_hit":"V8\Isolate":private]=> | |
054- bool(false) | |
055- ["memory_limit":"V8\Isolate":private]=> | |
056- int(0) | |
057- ["memory_limit_hit":"V8\Isolate":private]=> | |
058- bool(false) | |
059- } | |
060- ["context":"V8\ObjectValue":private]=> | |
061- object(v8Tests\TrackingDtors\Context)#4 (4) { | |
062- ["isolate":"V8\Context":private]=> | |
063- object(v8Tests\TrackingDtors\Isolate)#3 (5) { | |
064- ["snapshot":"V8\Isolate":private]=> | |
065- NULL | |
066- ["time_limit":"V8\Isolate":private]=> | |
067- float(0) | |
068- ["time_limit_hit":"V8\Isolate":private]=> | |
069- bool(false) | |
070- ["memory_limit":"V8\Isolate":private]=> | |
071- int(0) | |
072- ["memory_limit_hit":"V8\Isolate":private]=> | |
073- bool(false) | |
074- } | |
075- ["extensions":"V8\Context":private]=> | |
076- NULL | |
077- ["global_template":"V8\Context":private]=> | |
078- NULL | |
079- ["global_object":"V8\Context":private]=> | |
080- NULL | |
081- } | |
082- } | |
083- } | |
084- | |
085- | |
086- Class constants: | |
087- ---------------- | |
088- V8\StackTrace::MIN_FRAME_LIMIT = 0 | |
089- V8\StackTrace::MAX_FRAME_LIMIT = 1000 | |
090- | |
091- | |
092- Test getters: | |
093- ------------- | |
094- V8\StackTrace::GetFrames() matches expected value | |
095- V8\StackTrace::GetFrame() matches expected value | |
096- V8\StackTrace::GetFrameCount() matches expected 2 | |
097- V8\StackTrace::AsArray() result is instance of V8\ArrayObject | |
098- | |
099- | |
100- Context dies now! | |
101- Isolate dies now! | |
102- END\n | |
FILE: tests/V8StackTrace.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8StackTrace_CurrentStackTrace.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- totally 0 frames: | |
002- [ | |
003- ] | |
005- totally 1 frames: | |
007+ Termsig=4 | |
006- [ | |
007- {"column":17,"lineNumber":14,"scriptName":"test.js","scriptNameOrSourceURL":"test.js","isEval":false,"functionName":"get_trace","isConstructor":false} | |
008- ] | |
009- | |
010- totally 2 frames: | |
011- [ | |
012- {"column":17,"lineNumber":14,"scriptId":%d} | |
013- {"column":1,"lineNumber":46,"scriptId":%d} | |
014- ] | |
015- | |
016- totally 1 frames: | |
017- [ | |
018- {"column":17,"lineNumber":14,"scriptId":%d,"scriptName":"test.js","scriptNameOrSourceURL":"test.js","isEval":false,"functionName":"get_trace","isConstructor":false} | |
019- ] | |
020- | |
021- totally 10 frames: | |
022- [ | |
023- {"column":17,"lineNumber":14,"scriptName":"test.js","functionName":"get_trace"} | |
024- {"column":12,"lineNumber":28,"scriptName":"test.js","functionName":"recursive_get_trace"} | |
025- {"column":16,"lineNumber":25,"scriptName":"test.js","functionName":"recursive_get_trace"} | |
026- {"column":16,"lineNumber":25,"scriptName":"test.js","functionName":"recursive_get_trace"} | |
027- {"column":16,"lineNumber":25,"scriptName":"test.js","functionName":"recursive_get_trace"} | |
028- {"column":16,"lineNumber":25,"scriptName":"test.js","functionName":"recursive_get_trace"} | |
029- {"column":16,"lineNumber":25,"scriptName":"test.js","functionName":"recursive_get_trace"} | |
030- {"column":16,"lineNumber":25,"scriptName":"test.js","functionName":"recursive_get_trace"} | |
031- {"column":16,"lineNumber":25,"scriptName":"test.js","functionName":"recursive_get_trace"} | |
032- {"column":16,"lineNumber":25,"scriptName":"test.js","functionName":"recursive_get_trace"} | |
033- ] | |
034- | |
035- totally 2 frames: | |
036- [ | |
037- {"column":17,"lineNumber":14,"scriptId":%d,"scriptName":"test.js","scriptNameOrSourceURL":"test.js","isEval":false,"functionName":"get_trace","isConstructor":false} | |
038- {"column":1,"lineNumber":53,"scriptId":%d,"scriptName":"test.js","scriptNameOrSourceURL":"test.js","isEval":false,"functionName":"","isConstructor":false} | |
039- ] | |
040- | |
041- JS-land stack trace: | |
042- Error | |
043- at stackTrace (test.js:58:15) | |
044- at test.js:64:7 | |
045- | |
046- Script dies now! | |
047- FunctionTemplate dies now! | |
048- Context dies now! | |
049- ObjectTemplate dies now! | |
050- Isolate dies now! | |
051- END\n | |
FILE: tests/V8StackTrace_CurrentStackTrace.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8StartupData_CreateFromSource.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\StartupData)#2 (0) { | |
004- } | |
006- | |
007+ Termsig=4 | |
007- Snapshot blob is large binary string: ok | |
008- Snapshot raw_size is the same as binary_string length: ok | |
009- Snapshot raw_size is the same as binary_string length: ok | |
010- Context global is affected by snapshot blob: ok\n | |
FILE: tests/V8StartupData_CreateFromSource.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8StringObject.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\StringObject)#6 (2) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- ["context":"V8\ObjectValue":private]=> | |
018- object(V8\Context)#5 (4) { | |
019- ["isolate":"V8\Context":private]=> | |
020- object(V8\Isolate)#3 (5) { | |
021- ["snapshot":"V8\Isolate":private]=> | |
022- NULL | |
023- ["time_limit":"V8\Isolate":private]=> | |
024- float(0) | |
025- ["time_limit_hit":"V8\Isolate":private]=> | |
026- bool(false) | |
027- ["memory_limit":"V8\Isolate":private]=> | |
028- int(0) | |
029- ["memory_limit_hit":"V8\Isolate":private]=> | |
030- bool(false) | |
031- } | |
032- ["extensions":"V8\Context":private]=> | |
033- array(0) { | |
034- } | |
035- ["global_template":"V8\Context":private]=> | |
036- object(V8\ObjectTemplate)#4 (1) { | |
037- ["isolate":"V8\Template":private]=> | |
038- object(V8\Isolate)#3 (5) { | |
039- ["snapshot":"V8\Isolate":private]=> | |
040- NULL | |
041- ["time_limit":"V8\Isolate":private]=> | |
042- float(0) | |
043- ["time_limit_hit":"V8\Isolate":private]=> | |
044- bool(false) | |
045- ["memory_limit":"V8\Isolate":private]=> | |
046- int(0) | |
047- ["memory_limit_hit":"V8\Isolate":private]=> | |
048- bool(false) | |
049- } | |
050- } | |
051- ["global_object":"V8\Context":private]=> | |
052- NULL | |
053- } | |
054- } | |
055- | |
056- | |
057- StringObject extends ObjectValue: ok | |
058- | |
059- Getters: | |
060- -------- | |
061- V8\StringObject->ValueOf(): | |
062- object(V8\StringValue)#98 (1) { | |
063- ["isolate":"V8\Value":private]=> | |
064- object(V8\Isolate)#3 (5) { | |
065- ["snapshot":"V8\Isolate":private]=> | |
066- NULL | |
067- ["time_limit":"V8\Isolate":private]=> | |
068- float(0) | |
069- ["time_limit_hit":"V8\Isolate":private]=> | |
070- bool(false) | |
071- ["memory_limit":"V8\Isolate":private]=> | |
072- int(0) | |
073- ["memory_limit_hit":"V8\Isolate":private]=> | |
074- bool(false) | |
075- } | |
076- } | |
077- V8\StringValue->Value(): string(11) "test string" | |
078- | |
079- | |
080- Checkers: | |
081- --------- | |
082- V8\StringObject(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
083- | |
084- V8\StringObject(V8\ObjectValue)->IsCallable(): bool(false) | |
085- V8\StringObject(V8\ObjectValue)->IsConstructor(): bool(false) | |
086- V8\StringObject(V8\Value)->IsUndefined(): bool(false) | |
087- V8\StringObject(V8\Value)->IsNull(): bool(false) | |
088- V8\StringObject(V8\Value)->IsTrue(): bool(false) | |
089- V8\StringObject(V8\Value)->IsFalse(): bool(false) | |
090- V8\StringObject(V8\Value)->IsName(): bool(false) | |
091- V8\StringObject(V8\Value)->IsString(): bool(false) | |
092- V8\StringObject(V8\Value)->IsSymbol(): bool(false) | |
093- V8\StringObject(V8\Value)->IsFunction(): bool(false) | |
094- V8\StringObject(V8\Value)->IsArray(): bool(false) | |
095- V8\StringObject(V8\Value)->IsObject(): bool(true) | |
096- V8\StringObject(V8\Value)->IsBoolean(): bool(false) | |
097- V8\StringObject(V8\Value)->IsNumber(): bool(false) | |
098- V8\StringObject(V8\Value)->IsInt32(): bool(false) | |
099- V8\StringObject(V8\Value)->IsUint32(): bool(false) | |
100- V8\StringObject(V8\Value)->IsDate(): bool(false) | |
101- V8\StringObject(V8\Value)->IsArgumentsObject(): bool(false) | |
102- V8\StringObject(V8\Value)->IsBooleanObject(): bool(false) | |
103- V8\StringObject(V8\Value)->IsNumberObject(): bool(false) | |
104- V8\StringObject(V8\Value)->IsStringObject(): bool(true) | |
105- V8\StringObject(V8\Value)->IsSymbolObject(): bool(false) | |
106- V8\StringObject(V8\Value)->IsNativeError(): bool(false) | |
107- V8\StringObject(V8\Value)->IsRegExp(): bool(false) | |
108- | |
109- | |
110- val: test string | |
111- typeof val: object | |
112- | |
113- | |
114- Returned value should be the same: | |
115- ---------------------------------- | |
116- Expected value is identical to actual value | |
117- | |
118- | |
119- Checkers on boxed from script: | |
120- ------------------------------ | |
121- V8\StringObject(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
122- | |
123- V8\StringObject(V8\ObjectValue)->IsCallable(): bool(false) | |
124- V8\StringObject(V8\ObjectValue)->IsConstructor(): bool(false) | |
125- V8\StringObject(V8\Value)->IsUndefined(): bool(false) | |
126- V8\StringObject(V8\Value)->IsNull(): bool(false) | |
127- V8\StringObject(V8\Value)->IsTrue(): bool(false) | |
128- V8\StringObject(V8\Value)->IsFalse(): bool(false) | |
129- V8\StringObject(V8\Value)->IsName(): bool(false) | |
130- V8\StringObject(V8\Value)->IsString(): bool(false) | |
131- V8\StringObject(V8\Value)->IsSymbol(): bool(false) | |
132- V8\StringObject(V8\Value)->IsFunction(): bool(false) | |
133- V8\StringObject(V8\Value)->IsArray(): bool(false) | |
134- V8\StringObject(V8\Value)->IsObject(): bool(true) | |
135- V8\StringObject(V8\Value)->IsBoolean(): bool(false) | |
136- V8\StringObject(V8\Value)->IsNumber(): bool(false) | |
137- V8\StringObject(V8\Value)->IsInt32(): bool(false) | |
138- V8\StringObject(V8\Value)->IsUint32(): bool(false) | |
139- V8\StringObject(V8\Value)->IsDate(): bool(false) | |
140- V8\StringObject(V8\Value)->IsArgumentsObject(): bool(false) | |
141- V8\StringObject(V8\Value)->IsBooleanObject(): bool(false) | |
142- V8\StringObject(V8\Value)->IsNumberObject(): bool(false) | |
143- V8\StringObject(V8\Value)->IsStringObject(): bool(true) | |
144- V8\StringObject(V8\Value)->IsSymbolObject(): bool(false) | |
145- V8\StringObject(V8\Value)->IsNativeError(): bool(false) | |
146- V8\StringObject(V8\Value)->IsRegExp(): bool(false)\n | |
FILE: tests/V8StringObject.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8StringValue.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Default constructor: | |
002- -------------------- | |
003- object(V8\StringValue)#4 (1) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- } | |
018- V8\StringValue->Value(): string(0) "" | |
019- | |
020- | |
021- Object representation: | |
022- ---------------------- | |
023- object(V8\StringValue)#5 (1) { | |
024- ["isolate":"V8\Value":private]=> | |
025- object(V8\Isolate)#3 (5) { | |
026- ["snapshot":"V8\Isolate":private]=> | |
027- NULL | |
028- ["time_limit":"V8\Isolate":private]=> | |
029- float(0) | |
030- ["time_limit_hit":"V8\Isolate":private]=> | |
031- bool(false) | |
032- ["memory_limit":"V8\Isolate":private]=> | |
033- int(0) | |
034- ["memory_limit_hit":"V8\Isolate":private]=> | |
035- bool(false) | |
036- } | |
037- } | |
038- | |
039- | |
040- StringValue extends NameValue: ok | |
041- | |
042- Accessors: | |
043- ---------- | |
044- V8\StringValue::GetIsolate() matches expected value | |
045- V8\StringValue->Value(): string(11) "test string" | |
046- | |
047- | |
048- Checkers: | |
049- --------- | |
050- V8\StringValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "string" | |
051- | |
052- V8\StringValue->IsOneByte(): bool(true) | |
053- V8\StringValue(V8\Value)->IsUndefined(): bool(false) | |
054- V8\StringValue(V8\Value)->IsNull(): bool(false) | |
055- V8\StringValue(V8\Value)->IsTrue(): bool(false) | |
056- V8\StringValue(V8\Value)->IsFalse(): bool(false) | |
057- V8\StringValue(V8\Value)->IsName(): bool(true) | |
058- V8\StringValue(V8\Value)->IsString(): bool(true) | |
059- V8\StringValue(V8\Value)->IsSymbol(): bool(false) | |
060- V8\StringValue(V8\Value)->IsFunction(): bool(false) | |
061- V8\StringValue(V8\Value)->IsArray(): bool(false) | |
062- V8\StringValue(V8\Value)->IsObject(): bool(false) | |
063- V8\StringValue(V8\Value)->IsBoolean(): bool(false) | |
064- V8\StringValue(V8\Value)->IsNumber(): bool(false) | |
065- V8\StringValue(V8\Value)->IsInt32(): bool(false) | |
066- V8\StringValue(V8\Value)->IsUint32(): bool(false) | |
067- V8\StringValue(V8\Value)->IsDate(): bool(false) | |
068- V8\StringValue(V8\Value)->IsArgumentsObject(): bool(false) | |
069- V8\StringValue(V8\Value)->IsBooleanObject(): bool(false) | |
070- V8\StringValue(V8\Value)->IsNumberObject(): bool(false) | |
071- V8\StringValue(V8\Value)->IsStringObject(): bool(false) | |
072- V8\StringValue(V8\Value)->IsSymbolObject(): bool(false) | |
073- V8\StringValue(V8\Value)->IsNativeError(): bool(false) | |
074- V8\StringValue(V8\Value)->IsRegExp(): bool(false) | |
075- | |
076- | |
077- Getters: | |
078- -------- | |
079- GetIdentityHash is integer: ok | |
080- V8\StringValue->Length(): int(11) | |
081- V8\StringValue->Utf8Length(): int(11) | |
082- V8\StringValue->IsOneByte(): bool(true) | |
083- V8\StringValue->ContainsOnlyOneByte(): bool(true) | |
084- | |
085- | |
086- Primitive converters: | |
087- --------------------- | |
088- V8\StringValue(V8\Value)->BooleanValue(): bool(true) | |
089- V8\StringValue(V8\Value)->NumberValue(): float(NAN) | |
090- | |
091- | |
092- Test empty string constructor: | |
093- ------------------------------ | |
094- V8\StringValue->Value(): string(0) "" | |
095- V8\StringValue(V8\Value)->BooleanValue(): bool(false) | |
096- V8\StringValue(V8\Value)->NumberValue(): float(0) | |
097- | |
098- | |
099- Test default constructor: | |
100- ------------------------- | |
101- V8\StringValue->Value(): string(0) "" | |
102- V8\StringValue(V8\Value)->BooleanValue(): bool(false) | |
103- V8\StringValue(V8\Value)->NumberValue(): float(0) | |
104- | |
105- | |
106- Test encodings: | |
107- --------------- | |
108- V8\StringValue->Value(): string(13) "Hello, world!" | |
109- V8\StringValue->Length(): int(13) | |
110- V8\StringValue->Utf8Length(): int(13) | |
111- V8\StringValue->IsOneByte(): bool(true) | |
112- V8\StringValue->ContainsOnlyOneByte(): bool(true) | |
113- strlen(): 13 | |
114- mb_strlen(): 13 | |
115- | |
116- | |
117- V8\StringValue->Value(): string(21) "Привет, мир!" | |
118- V8\StringValue->Length(): int(12) | |
119- V8\StringValue->Utf8Length(): int(21) | |
120- V8\StringValue->IsOneByte(): bool(false) | |
121- V8\StringValue->ContainsOnlyOneByte(): bool(false) | |
122- strlen(): 21 | |
123- mb_strlen(): 12 | |
124- | |
125- | |
126- V8\StringValue->Value(): string(21) "こんにちは世界" | |
127- V8\StringValue->Length(): int(7) | |
128- V8\StringValue->Utf8Length(): int(21) | |
129- V8\StringValue->IsOneByte(): bool(false) | |
130- V8\StringValue->ContainsOnlyOneByte(): bool(false) | |
131- strlen(): 21 | |
132- mb_strlen(): 7\n | |
FILE: tests/V8StringValue.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8String_range_error_length.diff | |
001+ # | |
001- V8\Exceptions\TryCatchException: RangeError: Invalid string length | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/V8String_range_error_length.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8SymbolObject.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\SymbolObject)#6 (2) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- ["context":"V8\ObjectValue":private]=> | |
018- object(V8\Context)#5 (4) { | |
019- ["isolate":"V8\Context":private]=> | |
020- object(V8\Isolate)#3 (5) { | |
021- ["snapshot":"V8\Isolate":private]=> | |
022- NULL | |
023- ["time_limit":"V8\Isolate":private]=> | |
024- float(0) | |
025- ["time_limit_hit":"V8\Isolate":private]=> | |
026- bool(false) | |
027- ["memory_limit":"V8\Isolate":private]=> | |
028- int(0) | |
029- ["memory_limit_hit":"V8\Isolate":private]=> | |
030- bool(false) | |
031- } | |
032- ["extensions":"V8\Context":private]=> | |
033- array(0) { | |
034- } | |
035- ["global_template":"V8\Context":private]=> | |
036- object(V8\ObjectTemplate)#4 (1) { | |
037- ["isolate":"V8\Template":private]=> | |
038- object(V8\Isolate)#3 (5) { | |
039- ["snapshot":"V8\Isolate":private]=> | |
040- NULL | |
041- ["time_limit":"V8\Isolate":private]=> | |
042- float(0) | |
043- ["time_limit_hit":"V8\Isolate":private]=> | |
044- bool(false) | |
045- ["memory_limit":"V8\Isolate":private]=> | |
046- int(0) | |
047- ["memory_limit_hit":"V8\Isolate":private]=> | |
048- bool(false) | |
049- } | |
050- } | |
051- ["global_object":"V8\Context":private]=> | |
052- NULL | |
053- } | |
054- } | |
055- | |
056- | |
057- SymbolObject extends ObjectValue: ok | |
058- | |
059- Getters: | |
060- -------- | |
061- V8\SymbolObject->ValueOf(): | |
062- object(V8\SymbolValue)#98 (1) { | |
063- ["isolate":"V8\Value":private]=> | |
064- object(V8\Isolate)#3 (5) { | |
065- ["snapshot":"V8\Isolate":private]=> | |
066- NULL | |
067- ["time_limit":"V8\Isolate":private]=> | |
068- float(0) | |
069- ["time_limit_hit":"V8\Isolate":private]=> | |
070- bool(false) | |
071- ["memory_limit":"V8\Isolate":private]=> | |
072- int(0) | |
073- ["memory_limit_hit":"V8\Isolate":private]=> | |
074- bool(false) | |
075- } | |
076- } | |
077- Symbol name:: string(4) "test" | |
078- | |
079- | |
080- Checkers: | |
081- --------- | |
082- V8\SymbolObject(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "object" | |
083- | |
084- V8\SymbolObject(V8\ObjectValue)->IsCallable(): bool(false) | |
085- V8\SymbolObject(V8\ObjectValue)->IsConstructor(): bool(false) | |
086- V8\SymbolObject(V8\Value)->IsUndefined(): bool(false) | |
087- V8\SymbolObject(V8\Value)->IsNull(): bool(false) | |
088- V8\SymbolObject(V8\Value)->IsTrue(): bool(false) | |
089- V8\SymbolObject(V8\Value)->IsFalse(): bool(false) | |
090- V8\SymbolObject(V8\Value)->IsName(): bool(false) | |
091- V8\SymbolObject(V8\Value)->IsString(): bool(false) | |
092- V8\SymbolObject(V8\Value)->IsSymbol(): bool(false) | |
093- V8\SymbolObject(V8\Value)->IsFunction(): bool(false) | |
094- V8\SymbolObject(V8\Value)->IsArray(): bool(false) | |
095- V8\SymbolObject(V8\Value)->IsObject(): bool(true) | |
096- V8\SymbolObject(V8\Value)->IsBoolean(): bool(false) | |
097- V8\SymbolObject(V8\Value)->IsNumber(): bool(false) | |
098- V8\SymbolObject(V8\Value)->IsInt32(): bool(false) | |
099- V8\SymbolObject(V8\Value)->IsUint32(): bool(false) | |
100- V8\SymbolObject(V8\Value)->IsDate(): bool(false) | |
101- V8\SymbolObject(V8\Value)->IsArgumentsObject(): bool(false) | |
102- V8\SymbolObject(V8\Value)->IsBooleanObject(): bool(false) | |
103- V8\SymbolObject(V8\Value)->IsNumberObject(): bool(false) | |
104- V8\SymbolObject(V8\Value)->IsStringObject(): bool(false) | |
105- V8\SymbolObject(V8\Value)->IsSymbolObject(): bool(true) | |
106- V8\SymbolObject(V8\Value)->IsNativeError(): bool(false) | |
107- V8\SymbolObject(V8\Value)->IsRegExp(): bool(false) | |
108- | |
109- | |
110- val: {Symbol object: test} | |
111- typeof val: object | |
112- | |
113- | |
114- Returned value should be the same: | |
115- ---------------------------------- | |
116- Expected value is identical to actual value | |
117- | |
118- | |
119- V8\Exceptions\TryCatchException: TypeError: Symbol is not a constructor\n | |
FILE: tests/V8SymbolObject.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8SymbolValue.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Default constructor: | |
002- -------------------- | |
004- Object representation: | |
007+ Termsig=4 | |
005- ---------------------- | |
006- object(V8\SymbolValue)#4 (1) { | |
007- ["isolate":"V8\Value":private]=> | |
008- object(V8\Isolate)#3 (5) { | |
009- ["snapshot":"V8\Isolate":private]=> | |
010- NULL | |
011- ["time_limit":"V8\Isolate":private]=> | |
012- float(0) | |
013- ["time_limit_hit":"V8\Isolate":private]=> | |
014- bool(false) | |
015- ["memory_limit":"V8\Isolate":private]=> | |
016- int(0) | |
017- ["memory_limit_hit":"V8\Isolate":private]=> | |
018- bool(false) | |
019- } | |
020- } | |
021- | |
022- | |
023- SymbolValue extends NameValue: ok | |
024- | |
025- Accessors: | |
026- ---------- | |
027- V8\SymbolValue::GetIsolate() matches expected value | |
028- V8\SymbolValue->Name(): | |
029- object(V8\Value)#59 (1) { | |
030- ["isolate":"V8\Value":private]=> | |
031- object(V8\Isolate)#3 (5) { | |
032- ["snapshot":"V8\Isolate":private]=> | |
033- NULL | |
034- ["time_limit":"V8\Isolate":private]=> | |
035- float(0) | |
036- ["time_limit_hit":"V8\Isolate":private]=> | |
037- bool(false) | |
038- ["memory_limit":"V8\Isolate":private]=> | |
039- int(0) | |
040- ["memory_limit_hit":"V8\Isolate":private]=> | |
041- bool(false) | |
042- } | |
043- } | |
044- GetIdentityHash is integer: ok | |
045- | |
046- | |
047- Checkers: | |
048- --------- | |
049- V8\SymbolValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "symbol" | |
050- | |
051- V8\SymbolValue(V8\Value)->IsUndefined(): bool(false) | |
052- V8\SymbolValue(V8\Value)->IsNull(): bool(false) | |
053- V8\SymbolValue(V8\Value)->IsTrue(): bool(false) | |
054- V8\SymbolValue(V8\Value)->IsFalse(): bool(false) | |
055- V8\SymbolValue(V8\Value)->IsName(): bool(true) | |
056- V8\SymbolValue(V8\Value)->IsString(): bool(false) | |
057- V8\SymbolValue(V8\Value)->IsSymbol(): bool(true) | |
058- V8\SymbolValue(V8\Value)->IsFunction(): bool(false) | |
059- V8\SymbolValue(V8\Value)->IsArray(): bool(false) | |
060- V8\SymbolValue(V8\Value)->IsObject(): bool(false) | |
061- V8\SymbolValue(V8\Value)->IsBoolean(): bool(false) | |
062- V8\SymbolValue(V8\Value)->IsNumber(): bool(false) | |
063- V8\SymbolValue(V8\Value)->IsInt32(): bool(false) | |
064- V8\SymbolValue(V8\Value)->IsUint32(): bool(false) | |
065- V8\SymbolValue(V8\Value)->IsDate(): bool(false) | |
066- V8\SymbolValue(V8\Value)->IsArgumentsObject(): bool(false) | |
067- V8\SymbolValue(V8\Value)->IsBooleanObject(): bool(false) | |
068- V8\SymbolValue(V8\Value)->IsNumberObject(): bool(false) | |
069- V8\SymbolValue(V8\Value)->IsStringObject(): bool(false) | |
070- V8\SymbolValue(V8\Value)->IsSymbolObject(): bool(false) | |
071- V8\SymbolValue(V8\Value)->IsNativeError(): bool(false) | |
072- V8\SymbolValue(V8\Value)->IsRegExp(): bool(false) | |
073- | |
074- | |
075- Null constructor: | |
076- ----------------- | |
077- | |
078- Object representation: | |
079- ---------------------- | |
080- object(V8\SymbolValue)#59 (1) { | |
081- ["isolate":"V8\Value":private]=> | |
082- object(V8\Isolate)#3 (5) { | |
083- ["snapshot":"V8\Isolate":private]=> | |
084- NULL | |
085- ["time_limit":"V8\Isolate":private]=> | |
086- float(0) | |
087- ["time_limit_hit":"V8\Isolate":private]=> | |
088- bool(false) | |
089- ["memory_limit":"V8\Isolate":private]=> | |
090- int(0) | |
091- ["memory_limit_hit":"V8\Isolate":private]=> | |
092- bool(false) | |
093- } | |
094- } | |
095- | |
096- | |
097- SymbolValue extends NameValue: ok | |
098- | |
099- Accessors: | |
100- ---------- | |
101- V8\SymbolValue::GetIsolate() matches expected value | |
102- V8\SymbolValue->Name(): | |
103- object(V8\Value)#7 (1) { | |
104- ["isolate":"V8\Value":private]=> | |
105- object(V8\Isolate)#3 (5) { | |
106- ["snapshot":"V8\Isolate":private]=> | |
107- NULL | |
108- ["time_limit":"V8\Isolate":private]=> | |
109- float(0) | |
110- ["time_limit_hit":"V8\Isolate":private]=> | |
111- bool(false) | |
112- ["memory_limit":"V8\Isolate":private]=> | |
113- int(0) | |
114- ["memory_limit_hit":"V8\Isolate":private]=> | |
115- bool(false) | |
116- } | |
117- } | |
118- GetIdentityHash is integer: ok | |
119- | |
120- | |
121- Checkers: | |
122- --------- | |
123- V8\SymbolValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "symbol" | |
124- | |
125- V8\SymbolValue(V8\Value)->IsUndefined(): bool(false) | |
126- V8\SymbolValue(V8\Value)->IsNull(): bool(false) | |
127- V8\SymbolValue(V8\Value)->IsTrue(): bool(false) | |
128- V8\SymbolValue(V8\Value)->IsFalse(): bool(false) | |
129- V8\SymbolValue(V8\Value)->IsName(): bool(true) | |
130- V8\SymbolValue(V8\Value)->IsString(): bool(false) | |
131- V8\SymbolValue(V8\Value)->IsSymbol(): bool(true) | |
132- V8\SymbolValue(V8\Value)->IsFunction(): bool(false) | |
133- V8\SymbolValue(V8\Value)->IsArray(): bool(false) | |
134- V8\SymbolValue(V8\Value)->IsObject(): bool(false) | |
135- V8\SymbolValue(V8\Value)->IsBoolean(): bool(false) | |
136- V8\SymbolValue(V8\Value)->IsNumber(): bool(false) | |
137- V8\SymbolValue(V8\Value)->IsInt32(): bool(false) | |
138- V8\SymbolValue(V8\Value)->IsUint32(): bool(false) | |
139- V8\SymbolValue(V8\Value)->IsDate(): bool(false) | |
140- V8\SymbolValue(V8\Value)->IsArgumentsObject(): bool(false) | |
141- V8\SymbolValue(V8\Value)->IsBooleanObject(): bool(false) | |
142- V8\SymbolValue(V8\Value)->IsNumberObject(): bool(false) | |
143- V8\SymbolValue(V8\Value)->IsStringObject(): bool(false) | |
144- V8\SymbolValue(V8\Value)->IsSymbolObject(): bool(false) | |
145- V8\SymbolValue(V8\Value)->IsNativeError(): bool(false) | |
146- V8\SymbolValue(V8\Value)->IsRegExp(): bool(false) | |
147- | |
148- | |
149- Empty StringValue constructor: | |
150- ------------------------------ | |
151- | |
152- Object representation: | |
153- ---------------------- | |
154- object(V8\SymbolValue)#7 (1) { | |
155- ["isolate":"V8\Value":private]=> | |
156- object(V8\Isolate)#3 (5) { | |
157- ["snapshot":"V8\Isolate":private]=> | |
158- NULL | |
159- ["time_limit":"V8\Isolate":private]=> | |
160- float(0) | |
161- ["time_limit_hit":"V8\Isolate":private]=> | |
162- bool(false) | |
163- ["memory_limit":"V8\Isolate":private]=> | |
164- int(0) | |
165- ["memory_limit_hit":"V8\Isolate":private]=> | |
166- bool(false) | |
167- } | |
168- } | |
169- | |
170- | |
171- SymbolValue extends NameValue: ok | |
172- | |
173- Accessors: | |
174- ---------- | |
175- V8\SymbolValue::GetIsolate() matches expected value | |
176- V8\SymbolValue->Name(): | |
177- object(V8\StringValue)#8 (1) { | |
178- ["isolate":"V8\Value":private]=> | |
179- object(V8\Isolate)#3 (5) { | |
180- ["snapshot":"V8\Isolate":private]=> | |
181- NULL | |
182- ["time_limit":"V8\Isolate":private]=> | |
183- float(0) | |
184- ["time_limit_hit":"V8\Isolate":private]=> | |
185- bool(false) | |
186- ["memory_limit":"V8\Isolate":private]=> | |
187- int(0) | |
188- ["memory_limit_hit":"V8\Isolate":private]=> | |
189- bool(false) | |
190- } | |
191- } | |
192- GetIdentityHash is integer: ok | |
193- | |
194- | |
195- Checkers: | |
196- --------- | |
197- V8\SymbolValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "symbol" | |
198- | |
199- V8\SymbolValue(V8\Value)->IsUndefined(): bool(false) | |
200- V8\SymbolValue(V8\Value)->IsNull(): bool(false) | |
201- V8\SymbolValue(V8\Value)->IsTrue(): bool(false) | |
202- V8\SymbolValue(V8\Value)->IsFalse(): bool(false) | |
203- V8\SymbolValue(V8\Value)->IsName(): bool(true) | |
204- V8\SymbolValue(V8\Value)->IsString(): bool(false) | |
205- V8\SymbolValue(V8\Value)->IsSymbol(): bool(true) | |
206- V8\SymbolValue(V8\Value)->IsFunction(): bool(false) | |
207- V8\SymbolValue(V8\Value)->IsArray(): bool(false) | |
208- V8\SymbolValue(V8\Value)->IsObject(): bool(false) | |
209- V8\SymbolValue(V8\Value)->IsBoolean(): bool(false) | |
210- V8\SymbolValue(V8\Value)->IsNumber(): bool(false) | |
211- V8\SymbolValue(V8\Value)->IsInt32(): bool(false) | |
212- V8\SymbolValue(V8\Value)->IsUint32(): bool(false) | |
213- V8\SymbolValue(V8\Value)->IsDate(): bool(false) | |
214- V8\SymbolValue(V8\Value)->IsArgumentsObject(): bool(false) | |
215- V8\SymbolValue(V8\Value)->IsBooleanObject(): bool(false) | |
216- V8\SymbolValue(V8\Value)->IsNumberObject(): bool(false) | |
217- V8\SymbolValue(V8\Value)->IsStringObject(): bool(false) | |
218- V8\SymbolValue(V8\Value)->IsSymbolObject(): bool(false) | |
219- V8\SymbolValue(V8\Value)->IsNativeError(): bool(false) | |
220- V8\SymbolValue(V8\Value)->IsRegExp(): bool(false) | |
221- | |
222- | |
223- Symbol name: | |
224- ------------ | |
225- string(0) "" | |
226- | |
227- Non-empty StringValue constructor: | |
228- ---------------------------------- | |
229- | |
230- Object representation: | |
231- ---------------------- | |
232- object(V8\SymbolValue)#8 (1) { | |
233- ["isolate":"V8\Value":private]=> | |
234- object(V8\Isolate)#3 (5) { | |
235- ["snapshot":"V8\Isolate":private]=> | |
236- NULL | |
237- ["time_limit":"V8\Isolate":private]=> | |
238- float(0) | |
239- ["time_limit_hit":"V8\Isolate":private]=> | |
240- bool(false) | |
241- ["memory_limit":"V8\Isolate":private]=> | |
242- int(0) | |
243- ["memory_limit_hit":"V8\Isolate":private]=> | |
244- bool(false) | |
245- } | |
246- } | |
247- | |
248- | |
249- SymbolValue extends NameValue: ok | |
250- | |
251- Accessors: | |
252- ---------- | |
253- V8\SymbolValue::GetIsolate() matches expected value | |
254- V8\SymbolValue->Name(): | |
255- object(V8\StringValue)#60 (1) { | |
256- ["isolate":"V8\Value":private]=> | |
257- object(V8\Isolate)#3 (5) { | |
258- ["snapshot":"V8\Isolate":private]=> | |
259- NULL | |
260- ["time_limit":"V8\Isolate":private]=> | |
261- float(0) | |
262- ["time_limit_hit":"V8\Isolate":private]=> | |
263- bool(false) | |
264- ["memory_limit":"V8\Isolate":private]=> | |
265- int(0) | |
266- ["memory_limit_hit":"V8\Isolate":private]=> | |
267- bool(false) | |
268- } | |
269- } | |
270- GetIdentityHash is integer: ok | |
271- | |
272- | |
273- Checkers: | |
274- --------- | |
275- V8\SymbolValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "symbol" | |
276- | |
277- V8\SymbolValue(V8\Value)->IsUndefined(): bool(false) | |
278- V8\SymbolValue(V8\Value)->IsNull(): bool(false) | |
279- V8\SymbolValue(V8\Value)->IsTrue(): bool(false) | |
280- V8\SymbolValue(V8\Value)->IsFalse(): bool(false) | |
281- V8\SymbolValue(V8\Value)->IsName(): bool(true) | |
282- V8\SymbolValue(V8\Value)->IsString(): bool(false) | |
283- V8\SymbolValue(V8\Value)->IsSymbol(): bool(true) | |
284- V8\SymbolValue(V8\Value)->IsFunction(): bool(false) | |
285- V8\SymbolValue(V8\Value)->IsArray(): bool(false) | |
286- V8\SymbolValue(V8\Value)->IsObject(): bool(false) | |
287- V8\SymbolValue(V8\Value)->IsBoolean(): bool(false) | |
288- V8\SymbolValue(V8\Value)->IsNumber(): bool(false) | |
289- V8\SymbolValue(V8\Value)->IsInt32(): bool(false) | |
290- V8\SymbolValue(V8\Value)->IsUint32(): bool(false) | |
291- V8\SymbolValue(V8\Value)->IsDate(): bool(false) | |
292- V8\SymbolValue(V8\Value)->IsArgumentsObject(): bool(false) | |
293- V8\SymbolValue(V8\Value)->IsBooleanObject(): bool(false) | |
294- V8\SymbolValue(V8\Value)->IsNumberObject(): bool(false) | |
295- V8\SymbolValue(V8\Value)->IsStringObject(): bool(false) | |
296- V8\SymbolValue(V8\Value)->IsSymbolObject(): bool(false) | |
297- V8\SymbolValue(V8\Value)->IsNativeError(): bool(false) | |
298- V8\SymbolValue(V8\Value)->IsRegExp(): bool(false) | |
299- | |
300- | |
301- Symbol name: | |
302- ------------ | |
303- string(4) "test" | |
304- | |
305- Checkers on name: | |
306- ----------------- | |
307- V8\StringValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "string" | |
308- | |
309- V8\StringValue->IsOneByte(): bool(true) | |
310- V8\StringValue(V8\Value)->IsUndefined(): bool(false) | |
311- V8\StringValue(V8\Value)->IsNull(): bool(false) | |
312- V8\StringValue(V8\Value)->IsTrue(): bool(false) | |
313- V8\StringValue(V8\Value)->IsFalse(): bool(false) | |
314- V8\StringValue(V8\Value)->IsName(): bool(true) | |
315- V8\StringValue(V8\Value)->IsString(): bool(true) | |
316- V8\StringValue(V8\Value)->IsSymbol(): bool(false) | |
317- V8\StringValue(V8\Value)->IsFunction(): bool(false) | |
318- V8\StringValue(V8\Value)->IsArray(): bool(false) | |
319- V8\StringValue(V8\Value)->IsObject(): bool(false) | |
320- V8\StringValue(V8\Value)->IsBoolean(): bool(false) | |
321- V8\StringValue(V8\Value)->IsNumber(): bool(false) | |
322- V8\StringValue(V8\Value)->IsInt32(): bool(false) | |
323- V8\StringValue(V8\Value)->IsUint32(): bool(false) | |
324- V8\StringValue(V8\Value)->IsDate(): bool(false) | |
325- V8\StringValue(V8\Value)->IsArgumentsObject(): bool(false) | |
326- V8\StringValue(V8\Value)->IsBooleanObject(): bool(false) | |
327- V8\StringValue(V8\Value)->IsNumberObject(): bool(false) | |
328- V8\StringValue(V8\Value)->IsStringObject(): bool(false) | |
329- V8\StringValue(V8\Value)->IsSymbolObject(): bool(false) | |
330- V8\StringValue(V8\Value)->IsNativeError(): bool(false) | |
331- V8\StringValue(V8\Value)->IsRegExp(): bool(false) | |
332- | |
333- | |
334- Checkers on Symbol value from script: | |
335- ------------------------------------- | |
336- V8\SymbolValue(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "symbol" | |
337- | |
338- V8\SymbolValue(V8\Value)->IsUndefined(): bool(false) | |
339- V8\SymbolValue(V8\Value)->IsNull(): bool(false) | |
340- V8\SymbolValue(V8\Value)->IsTrue(): bool(false) | |
341- V8\SymbolValue(V8\Value)->IsFalse(): bool(false) | |
342- V8\SymbolValue(V8\Value)->IsName(): bool(true) | |
343- V8\SymbolValue(V8\Value)->IsString(): bool(false) | |
344- V8\SymbolValue(V8\Value)->IsSymbol(): bool(true) | |
345- V8\SymbolValue(V8\Value)->IsFunction(): bool(false) | |
346- V8\SymbolValue(V8\Value)->IsArray(): bool(false) | |
347- V8\SymbolValue(V8\Value)->IsObject(): bool(false) | |
348- V8\SymbolValue(V8\Value)->IsBoolean(): bool(false) | |
349- V8\SymbolValue(V8\Value)->IsNumber(): bool(false) | |
350- V8\SymbolValue(V8\Value)->IsInt32(): bool(false) | |
351- V8\SymbolValue(V8\Value)->IsUint32(): bool(false) | |
352- V8\SymbolValue(V8\Value)->IsDate(): bool(false) | |
353- V8\SymbolValue(V8\Value)->IsArgumentsObject(): bool(false) | |
354- V8\SymbolValue(V8\Value)->IsBooleanObject(): bool(false) | |
355- V8\SymbolValue(V8\Value)->IsNumberObject(): bool(false) | |
356- V8\SymbolValue(V8\Value)->IsStringObject(): bool(false) | |
357- V8\SymbolValue(V8\Value)->IsSymbolObject(): bool(false) | |
358- V8\SymbolValue(V8\Value)->IsNativeError(): bool(false) | |
359- V8\SymbolValue(V8\Value)->IsRegExp(): bool(false) | |
360- | |
361- | |
362- Symbol For(string) returned: ok | |
363- Symbol For(string) name: string(4) "test" | |
364- | |
365- Symbol For(string) returned: ok | |
366- Symbol For(string) name: string(4) "test" | |
367- | |
368- Isolate not in context: ok | |
369- Symbol ForApi(string) returned: ok | |
370- Symbol ForApi(string) name: string(4) "test" | |
371- | |
372- Isolate not in context: ok | |
373- Symbol GetIterator() returned: ok | |
374- Symbol GetIterator() name: string(15) "Symbol.iterator" | |
375- | |
376- Isolate not in context: ok | |
377- Symbol GetUnscopables() returned: ok | |
378- Symbol GetUnscopables() name: string(18) "Symbol.unscopables" | |
379- | |
380- Isolate not in context: ok | |
381- Symbol GetToStringTag() returned: ok | |
382- Symbol GetToStringTag() name: string(18) "Symbol.toStringTag" | |
383- | |
384- Isolate not in context: ok | |
385- Symbol GetIsConcatSpreadable() returned: ok | |
386- Symbol GetIsConcatSpreadable() name: string(25) "Symbol.isConcatSpreadable"\n | |
FILE: tests/V8SymbolValue.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8TryCatch.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation (default): | |
002- -------------------------------- | |
003- object(V8\TryCatch)#4 (7) { | |
004- ["isolate":"V8\TryCatch":private]=> | |
005- object(v8Tests\TrackingDtors\Isolate)#2 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- ["context":"V8\TryCatch":private]=> | |
018- object(v8Tests\TrackingDtors\Context)#3 (4) { | |
019- ["isolate":"V8\Context":private]=> | |
020- object(v8Tests\TrackingDtors\Isolate)#2 (5) { | |
021- ["snapshot":"V8\Isolate":private]=> | |
022- NULL | |
023- ["time_limit":"V8\Isolate":private]=> | |
024- float(0) | |
025- ["time_limit_hit":"V8\Isolate":private]=> | |
026- bool(false) | |
027- ["memory_limit":"V8\Isolate":private]=> | |
028- int(0) | |
029- ["memory_limit_hit":"V8\Isolate":private]=> | |
030- bool(false) | |
031- } | |
032- ["extensions":"V8\Context":private]=> | |
033- NULL | |
034- ["global_template":"V8\Context":private]=> | |
035- NULL | |
036- ["global_object":"V8\Context":private]=> | |
037- NULL | |
038- } | |
039- ["exception":"V8\TryCatch":private]=> | |
040- NULL | |
041- ["stack_trace":"V8\TryCatch":private]=> | |
042- NULL | |
043- ["message":"V8\TryCatch":private]=> | |
044- NULL | |
045- ["can_continue":"V8\TryCatch":private]=> | |
046- bool(false) | |
047- ["has_terminated":"V8\TryCatch":private]=> | |
048- bool(false) | |
049- } | |
050- | |
051- | |
052- Test getters (default): | |
053- ----------------------- | |
054- V8\TryCatch::GetIsolate() matches expected value | |
055- V8\TryCatch::GetContext() matches expected value | |
056- V8\TryCatch::Exception() matches expected value | |
057- V8\TryCatch::Message() matches expected value | |
058- V8\TryCatch::StackTrace() matches expected value | |
059- V8\TryCatch::CanContinue() matches expected value | |
060- V8\TryCatch::HasTerminated() matches expected value | |
061- | |
062- | |
063- Object representation: | |
064- ---------------------- | |
065- object(V8\TryCatch)#12 (7) { | |
066- ["isolate":"V8\TryCatch":private]=> | |
067- object(v8Tests\TrackingDtors\Isolate)#2 (5) { | |
068- ["snapshot":"V8\Isolate":private]=> | |
069- NULL | |
070- ["time_limit":"V8\Isolate":private]=> | |
071- float(0) | |
072- ["time_limit_hit":"V8\Isolate":private]=> | |
073- bool(false) | |
074- ["memory_limit":"V8\Isolate":private]=> | |
075- int(0) | |
076- ["memory_limit_hit":"V8\Isolate":private]=> | |
077- bool(false) | |
078- } | |
079- ["context":"V8\TryCatch":private]=> | |
080- object(v8Tests\TrackingDtors\Context)#3 (4) { | |
081- ["isolate":"V8\Context":private]=> | |
082- object(v8Tests\TrackingDtors\Isolate)#2 (5) { | |
083- ["snapshot":"V8\Isolate":private]=> | |
084- NULL | |
085- ["time_limit":"V8\Isolate":private]=> | |
086- float(0) | |
087- ["time_limit_hit":"V8\Isolate":private]=> | |
088- bool(false) | |
089- ["memory_limit":"V8\Isolate":private]=> | |
090- int(0) | |
091- ["memory_limit_hit":"V8\Isolate":private]=> | |
092- bool(false) | |
093- } | |
094- ["extensions":"V8\Context":private]=> | |
095- NULL | |
096- ["global_template":"V8\Context":private]=> | |
097- NULL | |
098- ["global_object":"V8\Context":private]=> | |
099- NULL | |
100- } | |
101- ["exception":"V8\TryCatch":private]=> | |
102- object(V8\ObjectValue)#5 (2) { | |
103- ["isolate":"V8\Value":private]=> | |
104- object(v8Tests\TrackingDtors\Isolate)#2 (5) { | |
105- ["snapshot":"V8\Isolate":private]=> | |
106- NULL | |
107- ["time_limit":"V8\Isolate":private]=> | |
108- float(0) | |
109- ["time_limit_hit":"V8\Isolate":private]=> | |
110- bool(false) | |
111- ["memory_limit":"V8\Isolate":private]=> | |
112- int(0) | |
113- ["memory_limit_hit":"V8\Isolate":private]=> | |
114- bool(false) | |
115- } | |
116- ["context":"V8\ObjectValue":private]=> | |
117- object(v8Tests\TrackingDtors\Context)#3 (4) { | |
118- ["isolate":"V8\Context":private]=> | |
119- object(v8Tests\TrackingDtors\Isolate)#2 (5) { | |
120- ["snapshot":"V8\Isolate":private]=> | |
121- NULL | |
122- ["time_limit":"V8\Isolate":private]=> | |
123- float(0) | |
124- ["time_limit_hit":"V8\Isolate":private]=> | |
125- bool(false) | |
126- ["memory_limit":"V8\Isolate":private]=> | |
127- int(0) | |
128- ["memory_limit_hit":"V8\Isolate":private]=> | |
129- bool(false) | |
130- } | |
131- ["extensions":"V8\Context":private]=> | |
132- NULL | |
133- ["global_template":"V8\Context":private]=> | |
134- NULL | |
135- ["global_object":"V8\Context":private]=> | |
136- NULL | |
137- } | |
138- } | |
139- ["stack_trace":"V8\TryCatch":private]=> | |
140- object(V8\StringValue)#11 (1) { | |
141- ["isolate":"V8\Value":private]=> | |
142- object(v8Tests\TrackingDtors\Isolate)#2 (5) { | |
143- ["snapshot":"V8\Isolate":private]=> | |
144- NULL | |
145- ["time_limit":"V8\Isolate":private]=> | |
146- float(0) | |
147- ["time_limit_hit":"V8\Isolate":private]=> | |
148- bool(false) | |
149- ["memory_limit":"V8\Isolate":private]=> | |
150- int(0) | |
151- ["memory_limit_hit":"V8\Isolate":private]=> | |
152- bool(false) | |
153- } | |
154- } | |
155- ["message":"V8\TryCatch":private]=> | |
156- object(V8\Message)#6 (12) { | |
157- ["message":"V8\Message":private]=> | |
158- string(7) "message" | |
159- ["script_origin":"V8\Message":private]=> | |
160- object(V8\ScriptOrigin)#7 (6) { | |
161- ["resource_name":"V8\ScriptOrigin":private]=> | |
162- string(13) "resource_name" | |
163- ["resource_line_offset":"V8\ScriptOrigin":private]=> | |
164- int(0) | |
165- ["resource_column_offset":"V8\ScriptOrigin":private]=> | |
166- int(0) | |
167- ["options":"V8\ScriptOrigin":private]=> | |
168- object(V8\ScriptOriginOptions)#8 (2) { | |
169- ["is_shared_cross_origin":"V8\ScriptOriginOptions":private]=> | |
170- bool(false) | |
171- ["is_opaque":"V8\ScriptOriginOptions":private]=> | |
172- bool(false) | |
173- } | |
174- ["script_id":"V8\ScriptOrigin":private]=> | |
175- int(0) | |
176- ["source_map_url":"V8\ScriptOrigin":private]=> | |
177- string(0) "" | |
178- } | |
179- ["source_line":"V8\Message":private]=> | |
180- string(4) "line" | |
181- ["resource_name":"V8\Message":private]=> | |
182- string(13) "resource_name" | |
183- ["stack_trace":"V8\Message":private]=> | |
184- object(V8\StackTrace)#9 (2) { | |
185- ["frames":"V8\StackTrace":private]=> | |
186- array(0) { | |
187- } | |
188- ["as_array":"V8\StackTrace":private]=> | |
189- object(V8\ArrayObject)#10 (2) { | |
190- ["isolate":"V8\Value":private]=> | |
191- object(v8Tests\TrackingDtors\Isolate)#2 (5) { | |
192- ["snapshot":"V8\Isolate":private]=> | |
193- NULL | |
194- ["time_limit":"V8\Isolate":private]=> | |
195- float(0) | |
196- ["time_limit_hit":"V8\Isolate":private]=> | |
197- bool(false) | |
198- ["memory_limit":"V8\Isolate":private]=> | |
199- int(0) | |
200- ["memory_limit_hit":"V8\Isolate":private]=> | |
201- bool(false) | |
202- } | |
203- ["context":"V8\ObjectValue":private]=> | |
204- object(v8Tests\TrackingDtors\Context)#3 (4) { | |
205- ["isolate":"V8\Context":private]=> | |
206- object(v8Tests\TrackingDtors\Isolate)#2 (5) { | |
207- ["snapshot":"V8\Isolate":private]=> | |
208- NULL | |
209- ["time_limit":"V8\Isolate":private]=> | |
210- float(0) | |
211- ["time_limit_hit":"V8\Isolate":private]=> | |
212- bool(false) | |
213- ["memory_limit":"V8\Isolate":private]=> | |
214- int(0) | |
215- ["memory_limit_hit":"V8\Isolate":private]=> | |
216- bool(false) | |
217- } | |
218- ["extensions":"V8\Context":private]=> | |
219- NULL | |
220- ["global_template":"V8\Context":private]=> | |
221- NULL | |
222- ["global_object":"V8\Context":private]=> | |
223- NULL | |
224- } | |
225- } | |
226- } | |
227- ["line_number":"V8\Message":private]=> | |
228- int(0) | |
229- ["start_position":"V8\Message":private]=> | |
230- int(-1) | |
231- ["end_position":"V8\Message":private]=> | |
232- int(-1) | |
233- ["start_column":"V8\Message":private]=> | |
234- int(0) | |
235- ["end_column":"V8\Message":private]=> | |
236- int(0) | |
237- ["is_shared_cross_origin":"V8\Message":private]=> | |
238- bool(false) | |
239- ["is_opaque":"V8\Message":private]=> | |
240- bool(false) | |
241- } | |
242- ["can_continue":"V8\TryCatch":private]=> | |
243- bool(true) | |
244- ["has_terminated":"V8\TryCatch":private]=> | |
245- bool(true) | |
246- } | |
247- | |
248- | |
249- Test getters: | |
250- ------------- | |
251- V8\TryCatch::GetIsolate() matches expected value | |
252- V8\TryCatch::GetContext() matches expected value | |
253- V8\TryCatch::Exception() matches expected value | |
254- V8\TryCatch::Message() matches expected value | |
255- V8\TryCatch::StackTrace() matches expected value | |
256- V8\TryCatch::CanContinue() matches expected value | |
257- V8\TryCatch::HasTerminated() matches expected value | |
258- | |
259- | |
260- Context dies now! | |
261- Isolate dies now! | |
262- END\n | |
FILE: tests/V8TryCatch.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8TryCatch_from_script.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- V8\Exceptions\TryCatchException: Error: Top-level error | |
002- | |
003- TryCatchException holds the same isolate it was thrown: ok | |
004- TryCatchException holds the same context it was thrown: ok | |
005- TryCatch holds the same isolate it was thrown: ok | |
006- TryCatch holds the same context it was thrown: ok | |
007- string(31) "Uncaught Error: Top-level error" | |
008- | |
009- TryCatchException message has not stack trace: ok | |
010- | |
011- V8\Exceptions\TryCatchException: Error: Top-level error | |
012- | |
013- TryCatchException message has stack trace: ok | |
014- | |
015- Script dies now! | |
016- V8\Exceptions\TryCatchException: Error: Nested error | |
017- | |
018- TryCatchException holds the same isolate it was thrown: ok | |
019- TryCatchException holds the same context it was thrown: ok | |
020- TryCatch holds the same isolate it was thrown: ok | |
021- TryCatch holds the same context it was thrown: ok | |
022- string(28) "Uncaught Error: Nested error" | |
023- | |
024- Script dies now! | |
025- V8\Exceptions\TryCatchException: Error: Top-level error | |
026- | |
027- TryCatchException holds the same isolate it was thrown: ok | |
028- TryCatchException holds the same context it was thrown: ok | |
029- TryCatch holds the same isolate it was thrown: ok | |
030- TryCatch holds the same context it was thrown: ok | |
031- string(31) "Uncaught Error: Top-level error" | |
032- | |
033- V8\Exceptions\TryCatchException: SyntaxError: Invalid or unexpected token | |
034- | |
035- TryCatchException holds the same context it was thrown: ok | |
036- TryCatchException holds the same isolate it was thrown: ok | |
037- string(49) "Uncaught SyntaxError: Invalid or unexpected token" | |
038- | |
039- Script dies now! | |
040- FunctionTemplate dies now! | |
041- Context dies now! | |
042- ObjectTemplate dies now! | |
043- Isolate dies now! | |
044- END\n | |
FILE: tests/V8TryCatch_from_script.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Uint32Value.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4 | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\Uint32Value)#4 (1) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- } | |
018- | |
019- | |
020- Uint32Value extends IntegerValue: ok | |
021- | |
022- Accessors: | |
023- ---------- | |
024- V8\Uint32Value::GetIsolate() matches expected value | |
025- V8\Uint32Value->Value(): int(2147483648) | |
026- | |
027- | |
028- Checkers for negative: | |
029- ---------------------- | |
030- V8\Uint32Value(V8\Value)->TypeOf(): V8\StringValue->Value(): string(6) "number" | |
031- | |
032- V8\Uint32Value(V8\Value)->IsUndefined(): bool(false) | |
033- V8\Uint32Value(V8\Value)->IsNull(): bool(false) | |
034- V8\Uint32Value(V8\Value)->IsTrue(): bool(false) | |
035- V8\Uint32Value(V8\Value)->IsFalse(): bool(false) | |
036- V8\Uint32Value(V8\Value)->IsName(): bool(false) | |
037- V8\Uint32Value(V8\Value)->IsString(): bool(false) | |
038- V8\Uint32Value(V8\Value)->IsSymbol(): bool(false) | |
039- V8\Uint32Value(V8\Value)->IsFunction(): bool(false) | |
040- V8\Uint32Value(V8\Value)->IsArray(): bool(false) | |
041- V8\Uint32Value(V8\Value)->IsObject(): bool(false) | |
042- V8\Uint32Value(V8\Value)->IsBoolean(): bool(false) | |
043- V8\Uint32Value(V8\Value)->IsNumber(): bool(true) | |
044- V8\Uint32Value(V8\Value)->IsInt32(): bool(false) | |
045- V8\Uint32Value(V8\Value)->IsUint32(): bool(true) | |
046- V8\Uint32Value(V8\Value)->IsDate(): bool(false) | |
047- V8\Uint32Value(V8\Value)->IsArgumentsObject(): bool(false) | |
048- V8\Uint32Value(V8\Value)->IsBooleanObject(): bool(false) | |
049- V8\Uint32Value(V8\Value)->IsNumberObject(): bool(false) | |
050- V8\Uint32Value(V8\Value)->IsStringObject(): bool(false) | |
051- V8\Uint32Value(V8\Value)->IsSymbolObject(): bool(false) | |
052- V8\Uint32Value(V8\Value)->IsNativeError(): bool(false) | |
053- V8\Uint32Value(V8\Value)->IsRegExp(): bool(false) | |
054- | |
055- | |
056- V8\Uint32Value::ToString() converting: | |
057- -------------------------------------- | |
058- object(V8\StringValue)#52 (1) { | |
059- ["isolate":"V8\Value":private]=> | |
060- object(V8\Isolate)#3 (5) { | |
061- ["snapshot":"V8\Isolate":private]=> | |
062- NULL | |
063- ["time_limit":"V8\Isolate":private]=> | |
064- float(0) | |
065- ["time_limit_hit":"V8\Isolate":private]=> | |
066- bool(false) | |
067- ["memory_limit":"V8\Isolate":private]=> | |
068- int(0) | |
069- ["memory_limit_hit":"V8\Isolate":private]=> | |
070- bool(false) | |
071- } | |
072- } | |
073- string(10) "2147483648" | |
074- | |
075- | |
076- Primitive converters: | |
077- --------------------- | |
078- V8\Uint32Value(V8\Value)->BooleanValue(): bool(true) | |
079- V8\Uint32Value(V8\Value)->NumberValue(): float(2147483648) | |
080- | |
081- | |
082- Uint32 is unsingned int32 value, so test for out-of-range (0-UINT32_MAX): | |
083- ------------------------------------------------------------------------- | |
084- integer: -1 | |
085- V8\Exceptions\ValueException: Uint32 value to set is out of range | |
086- | |
087- | |
088- integer: 9223372036854775807 | |
089- V8\Exceptions\ValueException: Uint32 value to set is out of range | |
090- | |
091- | |
092- integer: -9223372036854775807 | |
093- V8\Exceptions\ValueException: Uint32 value to set is out of range | |
094- | |
095- | |
096- double: NAN | |
097- TypeError: Argument 2 passed to V8\Uint32Value::__construct() must be of the type integer, float given | |
098- | |
099- | |
100- double: INF | |
101- TypeError: Argument 2 passed to V8\Uint32Value::__construct() must be of the type integer, float given | |
102- | |
103- | |
104- double: -INF | |
105- TypeError: Argument 2 passed to V8\Uint32Value::__construct() must be of the type integer, float given\n | |
FILE: tests/V8Uint32Value.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n | |
FILE: tests/V8Value.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- Object representation: | |
002- ---------------------- | |
003- object(V8\Value)#4 (1) { | |
004- ["isolate":"V8\Value":private]=> | |
005- object(V8\Isolate)#3 (5) { | |
006- ["snapshot":"V8\Isolate":private]=> | |
007- NULL | |
008- ["time_limit":"V8\Isolate":private]=> | |
009- float(0) | |
010- ["time_limit_hit":"V8\Isolate":private]=> | |
011- bool(false) | |
012- ["memory_limit":"V8\Isolate":private]=> | |
013- int(0) | |
014- ["memory_limit_hit":"V8\Isolate":private]=> | |
015- bool(false) | |
016- } | |
017- } | |
018- | |
019- | |
020- Value extends Data: ok | |
021- TypeOf returns StringValue: ok | |
022- | |
023- Accessors: | |
024- ---------- | |
025- V8\Value::GetIsolate() matches expected value | |
026- | |
027- | |
028- Checks on V8\Value: | |
029- ------------------- | |
030- V8\Value->TypeOf(): V8\StringValue->Value(): string(9) "undefined" | |
031- | |
032- V8\Value->IsUndefined(): bool(true) | |
033- V8\Value->IsNull(): bool(false) | |
034- V8\Value->IsTrue(): bool(false) | |
035- V8\Value->IsFalse(): bool(false) | |
036- V8\Value->IsName(): bool(false) | |
037- V8\Value->IsString(): bool(false) | |
038- V8\Value->IsSymbol(): bool(false) | |
039- V8\Value->IsFunction(): bool(false) | |
040- V8\Value->IsArray(): bool(false) | |
041- V8\Value->IsObject(): bool(false) | |
042- V8\Value->IsBoolean(): bool(false) | |
043- V8\Value->IsNumber(): bool(false) | |
044- V8\Value->IsInt32(): bool(false) | |
045- V8\Value->IsUint32(): bool(false) | |
046- V8\Value->IsDate(): bool(false) | |
047- V8\Value->IsArgumentsObject(): bool(false) | |
048- V8\Value->IsBooleanObject(): bool(false) | |
049- V8\Value->IsNumberObject(): bool(false) | |
050- V8\Value->IsStringObject(): bool(false) | |
051- V8\Value->IsSymbolObject(): bool(false) | |
052- V8\Value->IsNativeError(): bool(false) | |
053- V8\Value->IsRegExp(): bool(false) | |
054- | |
055- | |
056- Primitive converters: | |
057- --------------------- | |
058- V8\Value->BooleanValue(): bool(false) | |
059- V8\Value->NumberValue(): float(NAN) | |
060- | |
061- | |
062- V8\Value::ToString() converting: | |
063- -------------------------------- | |
064- object(V8\StringValue)#51 (1) { | |
065- ["isolate":"V8\Value":private]=> | |
066- object(V8\Isolate)#3 (5) { | |
067- ["snapshot":"V8\Isolate":private]=> | |
068- NULL | |
069- ["time_limit":"V8\Isolate":private]=> | |
070- float(0) | |
071- ["time_limit_hit":"V8\Isolate":private]=> | |
072- bool(false) | |
073- ["memory_limit":"V8\Isolate":private]=> | |
074- int(0) | |
075- ["memory_limit_hit":"V8\Isolate":private]=> | |
076- bool(false) | |
077- } | |
078- } | |
079- string(9) "undefined" | |
080- | |
081- | |
082- Checkers after ToString() converting: | |
083- ------------------------------------- | |
084- V8\Value->TypeOf(): V8\StringValue->Value(): string(9) "undefined" | |
085- | |
086- V8\Value->IsUndefined(): bool(true) | |
087- V8\Value->IsNull(): bool(false) | |
088- V8\Value->IsTrue(): bool(false) | |
089- V8\Value->IsFalse(): bool(false) | |
090- V8\Value->IsName(): bool(false) | |
091- V8\Value->IsString(): bool(false) | |
092- V8\Value->IsSymbol(): bool(false) | |
093- V8\Value->IsFunction(): bool(false) | |
094- V8\Value->IsArray(): bool(false) | |
095- V8\Value->IsObject(): bool(false) | |
096- V8\Value->IsBoolean(): bool(false) | |
097- V8\Value->IsNumber(): bool(false) | |
098- V8\Value->IsInt32(): bool(false) | |
099- V8\Value->IsUint32(): bool(false) | |
100- V8\Value->IsDate(): bool(false) | |
101- V8\Value->IsArgumentsObject(): bool(false) | |
102- V8\Value->IsBooleanObject(): bool(false) | |
103- V8\Value->IsNumberObject(): bool(false) | |
104- V8\Value->IsStringObject(): bool(false) | |
105- V8\Value->IsSymbolObject(): bool(false) | |
106- V8\Value->IsNativeError(): bool(false) | |
107- V8\Value->IsRegExp(): bool(false) | |
108- | |
109- | |
110- V8\Value::ToObject() converting: | |
111- -------------------------------- | |
112- V8\Exceptions\TryCatchException: TypeError: Cannot convert undefined or null to object\n | |
FILE: tests/V8Value.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Value_destruct.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
001- object(v8Tests\TrackingDtors\Value)#3 (1) { | |
002- ["isolate":"V8\Value":private]=> | |
003- object(V8\Isolate)#2 (5) { | |
004- ["snapshot":"V8\Isolate":private]=> | |
005- NULL | |
006- ["time_limit":"V8\Isolate":private]=> | |
007- float(0) | |
008- ["time_limit_hit":"V8\Isolate":private]=> | |
009- bool(false) | |
010- ["memory_limit":"V8\Isolate":private]=> | |
011- int(0) | |
012- ["memory_limit_hit":"V8\Isolate":private]=> | |
013- bool(false) | |
014- } | |
015- } | |
016- Value dies now! | |
017- Done here\n | |
FILE: tests/V8Value_destruct.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped)\n | |
FILE: tests/V8Value_empty.diff | |
001+ # | |
002+ # Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
001- V8\Exceptions\GenericException: Value is empty. Forgot to call parent::__construct()? | |
002- V8\Exceptions\GenericException: Value is empty. Forgot to call parent::__construct()? | |
003+ # Check failed: holder_. | |
004+ # | |
005+ Illegal instruction (core dumped) | |
006+ | |
007+ Termsig=4\n | |
FILE: tests/V8Value_empty.out | |
# | |
# Fatal error in ../../src/snapshot/natives-external.cc, line 122 | |
# Check failed: holder_. | |
# | |
Illegal instruction (core dumped) | |
Termsig=4\n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment