CCK2 Wizard 2.2.3 Available

Version 2.2.3 of the CCK2 Wizard is now available.

The main thing I’ve done with this version is (hopefully) finally solved the duplicate bookmarks problem. I’ve done this via two changes.

  1. If a bookmark being added exactly matches another bookmark in the same location, it is removed
  2. I’ve added a new option to do the same thing if the title of the bookmark is the same (so you can change URLs).

Another new feature is the ability to prevent add-ons from being hidden or disabled based on their ID. You can add these IDs on the add-ons page in the CCK2 Wizard. To find out the ID of an add-on, you can unzip the add-on’s XPI file and look in the file install.rdf.

As far as bug fixes go, they are:

  • Prevent installation of XPIs in about:addons via drag/drop.
  • Mark CCK2 and generated XPIs as multiprocess compatible (because they are).
  • Stop using a sync XHR for certificate overrides at startup. (This was causing startup hangs.)
  • Add extra validation to the config name so we don’t end up with bad characters.
  • Ignore errors when there is no crash reporter so the CCK2 works on Linux with the crash reporter disabled.
  • Workaround bug 1338154 by adding text at the beginning of resource paths.
  • Remove an unused function to prevent a warning error.
  • Turned off the upgrade page

You can click here for more details about the release and to download it.

Please note: I reserve the right to delete comments that are offensive or off-topic.

Leave a Reply

Your email address will not be published. Required fields are marked *

25 thoughts on “CCK2 Wizard 2.2.3 Available

  1. Hello,

    I’m sure this is a moot point, but is there any concern about compatibility with ESR releases?

    Thanks!

    • There should not be. It should work with Firefox 45, current Firefox releases and Firefox 52 until its EOL.

      • Thanks!

        We are planning on looking at 52 ESR when it is released on the 7th as it’s the last with NPAPI plugin support.

  2. Using CCK 2.2.3 and Firefox 52.0esr, I receive this error on every launch.
    ———-
    [Exception… “Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIIOService.newURI]” nsresult: “0x804b000a (NS_ERROR_MALFORMED_URI)” location: “JS frame :: resource://gre/modules/NetUtil.jsm :: NetUtil_newURI :: line 206” data: no]

    NetUtil_newURI@resource://gre/modules/NetUtil.jsm:206:16
    CCK2.init@resource://cck2/CCK2.jsm:261:34
    @cck2.cfg:574:1
    ———-

    Here’s what I have on the pertinant lines:

    cck2.cfg:574:
    Components.utils.import(“resource://cck2/CCK2.jsm”);

    /cck2/CCK2.jsm:261:
    Services.perms.add(NetUtil.newURI(“http://” + i), j, config.permissions[i][j]);

    (I’m not sure where NetUtil.jsm is located)

    Am I missing something here or is there already a fix I’m unaware of?

    • Hello,

      I get the same error with 2.1.2 on Firefox 52 mainline release.

      Was in the process of testing with a new config built with Firefox 52 and CCK2 2.2.3.

      • Just did a little more testing.. My configs generated with CCK2 v2.2 also resulted in the same error with ESR 52.0.

        • Hello,

          Just verified that this issue also occurs with the mainline release of Firefox 52 with a brand new config generated with CCK2 2.2.3.

    • So this has to do with a change to the way permissions are specified in Firefox. They used to be URLs, but now they are domains. I should have done something to maintain compatiblity.

      Can you post (with cleanup if necessary), the values of the permissions sections of your CFG? That will give me some things to test with so I can make the code work.

      • Heya Mike!

        Thanks for the quick response!

        Here’s an example of the permissions section of my cfg:

        “permissions”: {
        “*.myorg.edu”: {
        “popup”: 1,
        “install”: 1,
        “cookie”: 1,
        “plugins”: 1
        },
        “*.myorg2.edu”: {
        “popup”: 1,
        “install”: 1,
        “cookie”: 1,
        “plugins”: 1
        },
        “*.myorg3.edu”: {
        “popup”: 1,
        “install”: 1,
        “cookie”: 1,
        “plugins”: 1
        },
        “*.myorg4.edu”: {
        “popup”: 1,
        “install”: 1,
        “cookie”: 1,
        “plugins”: 1
        }
        },

        Thanks!

      • Bingo… After removing that section, the error goes away.

        Here is a dumbed down version of mine. I removed all but 2 entries, and change the hostnames to bogus names, but it still produced the error with this data. Removing it got rid of the error:

        “permissions”: {
        “*.hostnameone.com”: {
        “popup”: 1,
        “cookie”: 1
        },
        “*.hostnametwo.com”: {
        “popup”: 1,
        “cookie”: 1
        }
        },

  3. I have just compiled the custom configuration for Firefox ESR 52.0.1 with CCK2 – v2.2.3 and completed a test deployment with the customized configuration and when Firefox is opened, I get the error below and the customized configuration for the browser seems to have failed to be applied.

    CCK2 error: [Exception… “Component returned failure code 0x804b000a (NS_ERROR_MALFORED_URI) [nsIIOService.newURI]” nsresult: “0x804b000a (NS_ERROR_MALFORMED_URI)” location: “JS frame::resource//gre/modules/NetUtil.jsm::NetUtil_newURI::line 206” data: no]

    NetUtil_newURI@resource://gre/modules/NetUtil.jsm:206:16 CCK2.init@resource://cck2/CCK2.jsm:261:34@cck2.cfg:448:1

    • Can you grab the new CCK2 and see if you still have this? The core problem is using *. in permissions URLs. That’s no longer allowed.