Index: LayoutTests/inspector/debugger/raw-source-code.html |
=================================================================== |
--- LayoutTests/inspector/debugger/raw-source-code.html (revision 98246) |
+++ LayoutTests/inspector/debugger/raw-source-code.html (working copy) |
@@ -112,7 +112,7 @@ |
InspectorTest.assertEquals(true, uiSourceCode.isContentScript); |
InspectorTest.assertEquals(rawSourceCode, uiSourceCode.rawSourceCode); |
checkUILocation(uiSourceCode, 0, 5, sourceMapping.rawLocationToUILocation(createRawLocation(0, 5))); |
- checkRawLocation(script, 10, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 10)); |
+ checkRawLocation(script, 10, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 10, 0)); |
uiSourceCode.requestContent(didRequestContent); |
function didRequestContent(mimeType, content) |
@@ -178,8 +178,8 @@ |
rawSourceCode.addScript(script2); |
rawSourceCode.forceUpdateSourceMapping(); |
checkUILocation(uiSourceCode, 1, 20, sourceMapping.rawLocationToUILocation(createRawLocation(1, 20))); |
- checkRawLocation(script1, 1, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 1)); |
- checkRawLocation(script2, 6, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 6)); |
+ checkRawLocation(script1, 1, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 1, 0)); |
+ checkRawLocation(script2, 6, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 6, 0)); |
next(); |
} |
@@ -264,7 +264,7 @@ |
InspectorTest.assertEquals(1, sourceMapping.uiSourceCodeList().length); |
var uiSourceCode = sourceMapping.uiSourceCodeList()[0]; |
checkUILocation(uiSourceCode, 1, 2, sourceMapping.rawLocationToUILocation(createRawLocation(1, 2))); |
- checkRawLocation(script, 2, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 2)); |
+ checkRawLocation(script, 2, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 2, 0)); |
uiSourceCode.requestContent(didRequestContent); |
function didRequestContent(mimeType, content) |
@@ -283,7 +283,7 @@ |
InspectorTest.assertEquals(1, sourceMapping.uiSourceCodeList().length); |
var uiSourceCode = sourceMapping.uiSourceCodeList()[0]; |
checkUILocation(uiSourceCode, 2, 4, sourceMapping.rawLocationToUILocation(createRawLocation(1, 2))); |
- checkRawLocation(script, 1, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 2)); |
+ checkRawLocation(script, 1, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 2, 0)); |
uiSourceCode.requestContent(didRequestFormattedContent); |
} |
@@ -302,7 +302,7 @@ |
InspectorTest.assertEquals(1, sourceMapping.uiSourceCodeList().length); |
var uiSourceCode = sourceMapping.uiSourceCodeList()[0]; |
checkUILocation(uiSourceCode, 1, 2, sourceMapping.rawLocationToUILocation(createRawLocation(1, 2))); |
- checkRawLocation(script, 2, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 2)); |
+ checkRawLocation(script, 2, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 2, 0)); |
uiSourceCode.requestContent(didRequestNotFormattedContent); |
} |
@@ -332,7 +332,7 @@ |
InspectorTest.assertEquals(1, sourceMapping.uiSourceCodeList().length); |
var uiSourceCode = sourceMapping.uiSourceCodeList()[0]; |
checkUILocation(uiSourceCode, 2, 4, sourceMapping.rawLocationToUILocation(createRawLocation(1, 2))); |
- checkRawLocation(script, 1, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 2)); |
+ checkRawLocation(script, 1, 0, sourceMapping.uiLocationToRawLocation(uiSourceCode, 2, 0)); |
next(); |
} |
}, |
@@ -381,8 +381,8 @@ |
uiSourceCodeByURL[uiSourceCodeList[i].url] = uiSourceCodeList[i]; |
checkUILocation(uiSourceCodeByURL["source1.js"], 2, 4, sourceMapping.rawLocationToUILocation(createRawLocation(1, 2))); |
checkUILocation(uiSourceCodeByURL["source2.js"], 10, 40, sourceMapping.rawLocationToUILocation(createRawLocation(15, 20))); |
- checkRawLocation(script, 1, 0, sourceMapping.uiLocationToRawLocation(uiSourceCodeByURL["source1.js"], 2)); |
- checkRawLocation(script, 15, 0, sourceMapping.uiLocationToRawLocation(uiSourceCodeByURL["source2.js"], 10)); |
+ checkRawLocation(script, 1, 0, sourceMapping.uiLocationToRawLocation(uiSourceCodeByURL["source1.js"], 2, 0)); |
+ checkRawLocation(script, 15, 0, sourceMapping.uiLocationToRawLocation(uiSourceCodeByURL["source2.js"], 10, 0)); |
uiSourceCodeList[0].requestContent(didRequestContent1); |
} |