[Basilisk] Revert "Update PDF.js to 2.3.235" as it breaks in e10s

This commit is contained in:
roytam1 2023-10-06 11:38:43 +08:00
commit e90473bdda
29 changed files with 56983 additions and 74493 deletions

View file

@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* globals Components, Services */
"use strict";
@ -19,6 +20,11 @@ Components.utils.import("resource://gre/modules/Services.jsm");
var EXPORTED_SYMBOLS = ["NetworkManager"];
function log(aMsg) {
var msg = "PdfJsNetwork.jsm: " + (aMsg.join ? aMsg.join("") : aMsg);
Services.console.logStringMessage(msg);
}
var NetworkManager = (function NetworkManagerClosure() {
const OK_RESPONSE = 200;