Columbo aufrufen.mjs Unknown {[0] [0] [0]}Datei anzeigen
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v.
2.
0. If a copy of the MPL was not distributed with this
* file, You can obtain one at
http://mozilla.org/MPL/2.
0/. */
import { GeckoViewActorParent } from "resource://gre/modules/GeckoViewActorParent.sys
.mjs";
export class LoadURIDelegateParent extends GeckoViewActorParent {
async receiveMessage({ name, data }) {
switch (name) {
case "GeckoView:OnLoadError": {
return this.eventDispatcher.sendRequestForResult(
"GeckoView:OnLoadError",
data
);
}
default: {
return super.receiveMessage({ name, data });
}
}
}
}
[Original von:0.44Diese Quellcodebibliothek enthält Beispiele in vielen Programmiersprachen.
Man kann per Verzeichnistruktur darin navigieren.
Der Code wird farblich markiert angezeigt.]