simplesamlphp/SAML-tracer

Issues with current version

Closed this issue · 12 comments

Since the latest version was released, it doesn't appear to be working with any version of FireFox that I've found. One workaround that had work was to use FireFox ESR, but then that too quit working.

Anyone seeing this problem? Is there a workaround?

khlr commented

Hi!

Which Firefox versions did you try?
Do you use Windows or Linux?

52.5.3 (32-bit), can 't work now.

I've just reïnstalled SAML Tracer 1.0 from addons.mozilla.org from scratch on FF 57.0.4 on Linux and that just works. Only thing is the known (FF) bug that the window is initially blank unless you right-click it.

Perhaps it helps if you describe what doesn't work exactly or how it fails.

khlr commented

First of all: Any SAML Tracer version before v1.0 won't work from FF57 onwards, since the support for XPCOM/XUL-based extensions was dropped with that FF-version.

Consequently, with v1.0 SAML Tracer has been converted from a XUL-based extension to a WebExtension. This type of extension will be compatible from FF57 onwards, but may not be compatible with older FF-versions (depending on whether the respective FF-version already implemented the follwing JavaScript APIs or not):

SAML Tracer v1.0+ uses the following JavaScript APIs:

  • browserAction
    • onClicked 45
  • extension
    • getURL 45
  • webRequest
    • onBeforeRequest 46
    • onBeforeSendHeaders 45
    • onHeadersReceived 45
  • windows
    • create 45
    • update 45

As you can see, most APIs are available since FF45, onBeforeRequest came with FF46. So in theory that should be the absolute minimum version.

--

I downloaded FF46 (32 bit) in a Windows 7 VM and installed SAML Tracer v1.0. The web extension could be installed and the icon occurs in the menu bar. But when clicking on that icon... nothing happens (as reported bei @RandomGuy26 and @Bigfoot0007).

To reveal any errors, one should open the "Browser Console" which can be opend by pressing Ctrl+Shift+J.
That console shows the following error in FF46 when the SAML Tracer menu item is clicked:

Type error for parameter createData (Property "type" is unsupported by Firefox) for windows.create.

image

I cannot tell why this happens, but I think that in this case the window-API may not implement everything that's requiered (just a guess), although it should.

I tested the same thing for FF 52.2.3 ESR (32 bit). In this case SAML Tracer opens but doesn't trace any request. Again, the browser console reveals the errors. The errors shown there relate to the logic around webRequest-API. So again: My wild guess is that there isn't everything up to date with that API in FF52.

image

My last try was FF56 (32 bit). This FF-version worked without any issues with SAML Tracer v1.0 *phew* :-)
Maybe there are other compatible FF-versions between FF52 and FF56 as well.

--

tl;dr

So to sum this up:
If there's no reason that prevents you from upgrading to FF57 (or any newer version in the future) - upgrade to that version and use FF57+ in conjunction with SAML Tracer v1.0+.

If (for whatever reason) you cannot upgrade to FF57:

  • try SAML Tracer v1.0 with e.g. FF56
  • or: stick with SAML Tracer v0.3.3 or v0.4.0. (SAML Tracer v0.4.0 doesn't show up at addons.mozilla.org? Go get v0.3.3 from here)

Agreed with khlr: there's nothing wrong with SAML-Tracer 0.4 so you can just continue to use it with older browser versions. And use 1.0 and up for post-57 FF.

I think @khlr summarized pretty well what versions of the SAML tracer will work with what versions of Firefox, so I'm closing the issue.

The known bug/issue with a whitescreen unless you right-click should be linked to from this issue.

It does not happen anymore for me on FF 63