Revert of [V8] Removed SourceLocationRestrict (patchset #3 id:40001 of https://codere...
authormachenbach <machenbach@chromium.org>
Tue, 24 Mar 2015 12:04:39 +0000 (05:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 24 Mar 2015 12:04:43 +0000 (12:04 +0000)
commit310d75218ed75cfe50d24c1fee0215a391247a74
tree779503f5092545cad2b6f6f49ebeacc04df46ca5
parentc9db590d3b79f5462d081e491ee7e53ee59cdab6
Revert of [V8] Removed SourceLocationRestrict (patchset #3 id:40001 of https://codereview.chromium.org/1022333004/)

Reason for revert:
[Sheriff] This seems to change layout test expectations of some tests, e.g.:
http://build.chromium.org/p/client.v8/builders/V8-Blink%20Linux%2064%20%28dbg%29/builds/2317

Expectation example:
https://storage.googleapis.com/chromium-layout-test-archives/V8-Blink_Linux_64__dbg_/2317/layout-test-results/fast/events/window-onerror-11-pretty-diff.html

Please add a needsmanualrebaseline expectation to the tests affected by this change on the blink side first before relanding.

Original issue's description:
> [V8] Removed SourceLocationRestrict
>
> This method uses in messages.js in GetSourceLine and GetPositionInLine. This methods uses in v8::Message API methods and there is no documentation about it.
> Method looks obsolete.
> One of the strange side effect is shown by attached issue.
>
> BUG=chromium:468781
> R=yangguo@chromium.org
> LOG=Y
>
> Committed: https://crrev.com/b563ceac0f95551a128a1403cdbacc7aefcdabaf
> Cr-Commit-Position: refs/heads/master@{#27374}

TBR=yangguo@chromium.org,kozyatinskiy@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:468781

Review URL: https://codereview.chromium.org/1028413002

Cr-Commit-Position: refs/heads/master@{#27398}
src/messages.js
test/mjsunit/debug-sourceinfo.js