Skip to content
This repository was archived by the owner on Mar 23, 2019. It is now read-only.
This repository was archived by the owner on Mar 23, 2019. It is now read-only.

Exception in Chrome, FireFox, and IE : Unexpected Token #137

@CatOnMars

Description

@CatOnMars

When the iframe is being loaded, Chrome and Firefox, IE all throw exceptions: unexpected token ILLEGAL

This is happening due to using numerical ID as function name prefix.

// Register a uniquely-named load event callback for this frame.
ExternalInterface.addCallback(_frameId + "_load", handleFrameLoad);

it results in illegal javascript function name
"0_load" "1_load" "2_load" ... etc.
thus preveting loading function from execution.

Hope this could be fixed.
Thanks: )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions