Skip to content

Update qunit/jquery and fix several console erros in Firefox at Windows #172

@FagnerMartinsBrack

Description

@FagnerMartinsBrack

When opening firebug, the window resize make some tested events execute asynchrounously outside the test context, causing unexpected errors.

To workaround this I tested against a counter value modified by the callbacks instead of executing the assertions inside each events callback.

While debugging, I managed to find the offending code that executes the events asynchrounously (

callCallback.call(this, 'idle', delegated, callbackData);
), but due to my lack of knowledge of this plugin's internals I failed to find the root cause of the problem. The code was introduced at ba76976. For now this is just a workaround.

(Can't send a pull request because everything is in master branch)

web-stories@011c1f6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions