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

Unified Diff: chrome/renderer/resources/neterror.html

Issue 23434002: DNS probes: several tweaks to error page updating (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix mmenke's nit from the original CL Created 7 years, 4 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
Index: chrome/renderer/resources/neterror.html
diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html
index d28c5083e62135ec07a8a0763ddf29a3e4e5cd93..50b73ec8a5d03c3391bbe084a9609c4d23254698 100644
--- a/chrome/renderer/resources/neterror.html
+++ b/chrome/renderer/resources/neterror.html
@@ -13,7 +13,9 @@
<div id="box">
<div id="content-top">
<h1>
- <div><img class="icon" jseval="this.classList.add(iconClass)"></div>
+ <div>
+ <img class="icon" jseval="updateIconClass(this.classList, iconClass)">
+ </div>
<span i18n-content="heading"></span>
</h1>
@@ -43,7 +45,8 @@
<div id="sub-frame-error">
<!-- Show details when hovering over the icon, in case the details are
hidden because they're too large. -->
- <img class="icon" jseval="this.classList.add(iconClass)" jsvalues=".title:errorDetails">
+ <img class="icon" jseval="updateIconClass(this.classList, iconClass)"
+ jsvalues=".title:errorDetails">
<div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div>
</div>
</body>

Powered by Google App Engine
This is Rietveld 408576698