Commit 8a2e55ca authored by Simon Zünd's avatar Simon Zünd Committed by Commit Bot

Remove obsolete NodeURL unit web test

The NodeURL web test got ported to Karma in https://crrev.com/c/2030776.
This makes the web test obsolete and this CL removes it.

R=tvanderlippe@chromium.org

Bug: chromium:1032561
Change-Id: Ic9554075599a1ab56b3e50f4a8304dd35ea10148
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2033148Reviewed-by: default avatarTim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Simon Zünd <szuend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#737689}
parent 90ec2977
Checks url patching for Node.js
..result.value.url patched: false
..exceptionDetails.url patched: true
..stackTrace.callFrames[0].url patched: true
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
(async function() {
TestRunner.addResult('Checks url patching for Node.js');
const url = Host.isWin()
? 'c:\\prog\\foobar.js'
: '/usr/local/home/prog/foobar.js'
let obj = {
id: 0,
result: {
result: {
value: {
url: url
}
},
exceptionDetails: {
url: url,
stackTrace: {
callFrames: [{
columnNumber: 0,
functionName: '',
lineNumber: 0,
scriptId: "0",
url: url
}]
}
}
}
};
Protocol.NodeURL.patch(obj);
TestRunner.addResult(`..result.value.url patched: ${
obj.result.result.value.url !== url}`);
TestRunner.addResult(`..exceptionDetails.url patched: ${
obj.result.exceptionDetails.url !== url}`);
TestRunner.addResult(`..stackTrace.callFrames[0].url patched: ${
obj.result.exceptionDetails.stackTrace.callFrames[0].url !== url}`);
TestRunner.completeTest();
})()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment