Index: third_party/WebKit/Source/devtools/front_end/devtools.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/devtools.js b/third_party/WebKit/Source/devtools/front_end/devtools.js |
index 9618a143177a3da3b31421b99f5ad11022257fa9..f2a132556cfd033ba6ff65681edfb7a9ba723bb1 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/devtools.js |
+++ b/third_party/WebKit/Source/devtools/front_end/devtools.js |
@@ -1077,6 +1077,7 @@ function keyCodeToKeyIdentifier(keyCode) |
/** |
* @suppressGlobalPropertiesCheck |
+ * @suppress {checkTypes} |
*/ |
function installBackwardsCompatibility() |
{ |
@@ -1140,6 +1141,14 @@ function installBackwardsCompatibility() |
// Support for legacy (<M49) frontends. |
Event.prototype.deepPath = undefined; |
+ |
+ // Support for legacy (<53) frontends. |
+ window.FileError = { |
+ NOT_FOUND_ERR: DOMException.NOT_FOUND_ERR, |
+ ABORT_ERR: DOMException.ABORT_ERR, |
+ INVALID_MODIFICATION_ERR: DOMException.INVALID_MODIFICATION_ERR, |
+ NOT_READABLE_ERR: 0 // No matching DOMException, so code will be 0. |
+ }; |
} |
function windowLoaded() |