| Index: third_party/WebKit/LayoutTests/http/tests/inspector/text-source-map.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/text-source-map.html b/third_party/WebKit/LayoutTests/http/tests/inspector/text-source-map.html
|
| index 671b042aae8b948669a827e310951e68103e1009..baa80c16fc02485ac1e9de9ae13a10839be7613a 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/text-source-map.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/text-source-map.html
|
| @@ -17,13 +17,13 @@ function test()
|
|
|
| function checkReverseMapping(compiledLineNumber, compiledColumnNumber, sourceURL, sourceLineNumber, mapping)
|
| {
|
| - var entry = mapping.firstSourceLineMapping(sourceURL, sourceLineNumber);
|
| - if (!entry) {
|
| + var mappings = mapping.mappingsForLine(sourceURL, sourceLineNumber);
|
| + if (!mappings.length) {
|
| InspectorTest.addResult("source line " + sourceLineNumber + " has no mappings.");
|
| return;
|
| }
|
| - InspectorTest.addResult(compiledLineNumber + " === " + entry.lineNumber);
|
| - InspectorTest.addResult(compiledColumnNumber + " === " + entry.columnNumber);
|
| + InspectorTest.addResult(compiledLineNumber + " === " + mappings[0].lineNumber);
|
| + InspectorTest.addResult(compiledColumnNumber + " === " + mappings[0].columnNumber);
|
| }
|
|
|
| InspectorTest.runTestSuite([
|
|
|