Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1134)

Unified Diff: content/renderer/manifest/manifest_manager.cc

Issue 1564913003: [DevTools] Shows Manifest file in Sources tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update network-toggle-type-filter-actual.txt Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/network/network-toggle-type-filter-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/manifest/manifest_manager.cc
diff --git a/content/renderer/manifest/manifest_manager.cc b/content/renderer/manifest/manifest_manager.cc
index b35d4a2e73dfe0d55dd11357c98885f2f065012a..b148601cbb3ad8818f6f68fc1b55ca6c873099ba 100644
--- a/content/renderer/manifest/manifest_manager.cc
+++ b/content/renderer/manifest/manifest_manager.cc
@@ -164,6 +164,8 @@ void ManifestManager::OnManifestFetchComplete(
blink::WebConsoleMessage message;
message.level = blink::WebConsoleMessage::LevelError;
message.text = blink::WebString::fromUTF8(msg);
+ message.url =
+ render_frame()->GetWebFrame()->document().manifestURL().string();
render_frame()->GetWebFrame()->addMessageToConsole(message);
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/network/network-toggle-type-filter-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698