mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 773934 followup: add license headers to new files, and remove unused code
--HG-- extra : transplant_source : %91%7C%F2r%1B%A9%94%A1Q%85%5E%F7N76%83%9C%F80%D7
This commit is contained in:
parent
71c6312f0b
commit
cb9faf6363
@ -159,10 +159,6 @@ FrameWorker.prototype = {
|
||||
workerWindow.removeEventListener("load", loadListener);
|
||||
// the iframe has loaded the js file as text - first inject the magic
|
||||
// port-handling code into the sandbox.
|
||||
function getProtoSource(ob) {
|
||||
let raw = ob.prototype.toSource();
|
||||
return ob.name + ".prototype=" + raw + ";"
|
||||
}
|
||||
try {
|
||||
Services.scriptloader.loadSubScript("resource://gre/modules/MessagePortBase.jsm", sandbox);
|
||||
Services.scriptloader.loadSubScript("resource://gre/modules/MessagePortWorker.js", sandbox);
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* 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/. */
|
||||
|
||||
// Code that is shared between clients and workers.
|
||||
const EXPORTED_SYMBOLS = ["AbstractPort"];
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* 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/. */
|
||||
|
||||
// Note: this is never instantiated in chrome - the source is sent across
|
||||
// to the worker and it is evaluated there and created in response to a
|
||||
// port-create message we send.
|
||||
|
Loading…
Reference in New Issue
Block a user