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

Unified Diff: runtime/bin/vmservice/observatory/deployed/web/index_devtools.html

Issue 514833003: Add a new Sentinel type for sentinel responses. (They are not Null). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js, fix tests Created 6 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: runtime/bin/vmservice/observatory/deployed/web/index_devtools.html
diff --git a/runtime/bin/vmservice/observatory/deployed/web/index_devtools.html b/runtime/bin/vmservice/observatory/deployed/web/index_devtools.html
index 6804768abb9598c4ca26f9d160b80f2c33218458..c33025f4b6fd1e7d288d1100cac9931d40ba0f4b 100644
--- a/runtime/bin/vmservice/observatory/deployed/web/index_devtools.html
+++ b/runtime/bin/vmservice/observatory/deployed/web/index_devtools.html
@@ -928,7 +928,7 @@ hr {
unexpected reference type <{{ ref.serviceType }}>
</template>
- <template if="{{ isPsuedoNull(ref) }}">
+ <template if="{{ isSentinel(ref) }}">
<div title="{{ hoverText }}">{{ ref['valueAsString'] }}</div>
</template>
@@ -14533,11 +14533,11 @@ hr {
<template if="{{ instance['error'] == null }}">
<div class="content">
<!-- TODO(turnidge): Handle null instances. -->
- <template if="{{ isType(instance.serviceType) }}">
- <h1>type {{ instance['user_name'] }}</h1>
+ <template if="{{ isType(instance) }}">
+ <h1>type {{ instance.name }}</h1>
</template>
- <template if="{{ !isType(instance.serviceType) }}">
- <h1>instance of {{ instance['class']['user_name'] }}</h1>
+ <template if="{{ !isType(instance) }}">
+ <h1>instance of {{ instance['class'].name }}</h1>
</template>
<div class="memberList">
<div class="memberItem">
@@ -14711,6 +14711,7 @@ hr {
+
<polymer-element name="json-view" extends="observatory-element">
<template>
<nav-bar>

Powered by Google App Engine
This is Rietveld 408576698