diff options
author | Alexey Kozyatinskiy <kozyatinskiy@chromium.org> | 2018-08-30 14:59:34 -0700 |
---|---|---|
committer | Alexey Kozyatinskiy <kozyatinskiy@chromium.org> | 2018-09-14 08:32:08 -0700 |
commit | 0827c80920311fa9d1e6989c8a73aaaeca962eb7 (patch) | |
tree | fc6a266f5330192a2f9c81a75b9ab91f06b827eb /test/cctest | |
parent | cf340fe0f5201b77a6e9af7f3b3b82d0d4868fc3 (diff) | |
download | node-new-0827c80920311fa9d1e6989c8a73aaaeca962eb7.tar.gz |
inspector: implemented V8InspectorClient::resourceNameToUrl
This method is required by inspector to report normalized urls over
the protocol.
Fixes https://github.com/nodejs/node/issues/22223
PR-URL: https://github.com/nodejs/node/pull/22251
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Diffstat (limited to 'test/cctest')
-rw-r--r-- | test/cctest/test_url.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/cctest/test_url.cc b/test/cctest/test_url.cc index 2e9b06e3a4..ddef534b57 100644 --- a/test/cctest/test_url.cc +++ b/test/cctest/test_url.cc @@ -124,10 +124,6 @@ TEST_F(URLTest, FromFilePath) { file_url = URL::FromFilePath("b:\\a\\%%.js"); EXPECT_EQ("file:", file_url.protocol()); EXPECT_EQ("/b:/a/%25%25.js", file_url.path()); - - file_url = URL::FromFilePath("\\\\host\\a\\b\\c"); - EXPECT_EQ("file:", file_url.protocol()); - EXPECT_EQ("host/a/b/c", file_url.path()); #else file_url = URL::FromFilePath("/"); EXPECT_EQ("file:", file_url.protocol()); |