Sha256: cddd41474b7dd981cf9e71c070df35c58a57aa13dfb6ca7d95122d1ec7181cea

Contents?: true

Size: 727 Bytes

Versions: 24

Compression:

Stored size: 727 Bytes

Contents

"use strict";

const EventImpl = require("./Event-impl").implementation;

const StorageEventInit = require("../generated/StorageEventInit");

// https://html.spec.whatwg.org/multipage/webstorage.html#the-storageevent-interface
class StorageEventImpl extends EventImpl {
  initStorageEvent(type, bubbles, cancelable, key, oldValue, newValue, url, storageArea) {
    if (this._dispatchFlag) {
      return;
    }

    this.initEvent(type, bubbles, cancelable);
    this.key = key;
    this.oldValue = oldValue;
    this.newValue = newValue;
    this.url = url;
    this.storageArea = storageArea;
  }
}
StorageEventImpl.defaultInit = StorageEventInit.convert(undefined);

module.exports = {
  implementation: StorageEventImpl
};

Version data entries

24 entries across 22 versions & 2 rubygems

Version Path
appmap-0.72.2 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.72.1 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.72.0 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.71.0 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.70.2 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.70.1 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.70.0 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.69.0 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.68.2 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.68.1 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.68.0 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.67.1 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.67.0 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.66.2 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.66.1 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.66.0 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.65.1 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.65.0 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.64.0 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js
appmap-0.63.0 ./node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js