v8/test/inspector/debugger/script-parsed-hash-expected.txt
Alexey Kozyatinskiy df6d46983f [inspector] fixed script-parsed-hash.js test
Original intention of longScript was to check how hashing works with long
script source. Current implementation calculates hash for longString function,
it's non reliable since Function.toString is still not specified and can return
different line endings on different architectures.

TBR=dgozman@chromium.org

Bug: none
Change-Id: I4c5b6f30c2849a1a2702c74665b86ced731f1b28
Reviewed-on: https://chromium-review.googlesource.com/609486
Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47268}
2017-08-10 07:00:53 +00:00

47 lines
993 B
Plaintext

Tests scripts hasing
{
endColumn : 1
endLine : 0
executionContextId : <executionContextId>
hasSourceURL : false
hash : 1C6D2E82E4E4F1BA4CB5762843D429DC872EBA18
isLiveEdit : false
isModule : false
length : 1
scriptId : <scriptId>
sourceMapURL :
startColumn : 0
startLine : 0
url : foo1.js
}
{
endColumn : 3
endLine : 0
executionContextId : <executionContextId>
hasSourceURL : false
hash : EBF1ECD351E7A3294CB5762843D429DC872EBA18
isLiveEdit : false
isModule : false
length : 3
scriptId : <scriptId>
sourceMapURL :
startColumn : 0
startLine : 0
url : foo2.js
}
{
endColumn : 8106
endLine : 0
executionContextId : <executionContextId>
hasSourceURL : false
hash : 885818413D7FC3E2220B3E367FF57CB1D1572095
isLiveEdit : false
isModule : false
length : 8106
scriptId : <scriptId>
sourceMapURL :
startColumn : 0
startLine : 0
url : foo3.js
}