Add window.origin to externs
@@ -1633,6 +1633,19 @@ WorkerGlobalScope.prototype.self;
/** @type {!WorkerLocation} */
WorkerGlobalScope.prototype.location;
+/**
+ * @const {string}
+ * @see https://html.spec.whatwg.org/#windoworworkerglobalscope-mixin
+ */
+WorkerGlobalScope.prototype.origin;
+
+/**
+ * @const {string}
+ * Duplicate definition, since we don't model WindowOrWorkerGlobalScope.
+ * @see https://html.spec.whatwg.org/#windoworworkerglobalscope-mixin
+ */
+Window.prototype.origin;
+
/**
* Closes the worker represented by this WorkerGlobalScope.
* @return {undefined}
