Grammalecte  Check-in [74254454c0]

Overview
Comment:[fx] WebExt: acceptable slang for Mozilla’s policy
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: 74254454c0863cdcddef38aeed5f620e97f668bed00ff35c7e06c31d27c9dd6a
User & Date: olr on 2017-09-19 08:19:00
Other Links: manifest | tags
Context
2017-09-19
09:07
[fx] new version number (again) check-in: e3d8458724 user: olr tags: trunk, fx
08:19
[fx] WebExt: acceptable slang for Mozilla’s policy check-in: 74254454c0 user: olr tags: trunk, fx
07:48
[fx] WebExt: new version number to comply with Mozilla’s numbering policy check-in: 89a9dcd211 user: olr tags: trunk, fx
Changes

Modified gc_core/js/helpers.js from [7c62a39694] to [f725b5eed7].

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
        // for more options have a look here: https://gist.github.com/Noitidart/ec1e6b9a593ec7e3efed
        // if not in workers, use sdk/data.load() instead
        try {
            let xRequest;
            if (typeof XMLHttpRequest !== "undefined") {
                xRequest = new XMLHttpRequest();
            } else {
                // JS bullshit again… necessary for Thunderbird
                let { Cc, Ci } = require("chrome");
                xRequest = Cc["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance();
                xRequest.QueryInterface(Ci.nsIXMLHttpRequest);
            }
            xRequest.open('GET', spf, false); // 3rd arg is false for synchronous, sync is acceptable in workers
            xRequest.overrideMimeType('text/json');
            xRequest.send();







|







50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
        // for more options have a look here: https://gist.github.com/Noitidart/ec1e6b9a593ec7e3efed
        // if not in workers, use sdk/data.load() instead
        try {
            let xRequest;
            if (typeof XMLHttpRequest !== "undefined") {
                xRequest = new XMLHttpRequest();
            } else {
                // JS sucks again… necessary for Thunderbird
                let { Cc, Ci } = require("chrome");
                xRequest = Cc["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance();
                xRequest.QueryInterface(Ci.nsIXMLHttpRequest);
            }
            xRequest.open('GET', spf, false); // 3rd arg is false for synchronous, sync is acceptable in workers
            xRequest.overrideMimeType('text/json');
            xRequest.send();