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

Unified Diff: Source/core/events/ProgressEventInit.idl

Issue 1167563002: Sync the XHR-related interfaces with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: data->body Created 5 years, 7 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 | « Source/core/events/ProgressEvent.idl ('k') | Source/core/html/FormData.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/ProgressEventInit.idl
diff --git a/Source/core/events/ProgressEventInit.idl b/Source/core/events/ProgressEventInit.idl
index 0f65f930e782b2d10c77d10cff136404200af7d5..a7813e7e94d20d82f3b5f4e19d7b25084fabea3a 100644
--- a/Source/core/events/ProgressEventInit.idl
+++ b/Source/core/events/ProgressEventInit.idl
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// http://www.w3.org/TR/progress-events/#interface-progressevent
+// https://xhr.spec.whatwg.org/#interface-progressevent
dictionary ProgressEventInit : EventInit {
- boolean lengthComputable;
- unsigned long long loaded;
- unsigned long long total;
+ boolean lengthComputable = false;
+ unsigned long long loaded = 0;
+ unsigned long long total = 0;
};
« no previous file with comments | « Source/core/events/ProgressEvent.idl ('k') | Source/core/html/FormData.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698