#4459 new
Lars Brand

fireEvent_DOM: Object doesn't support property or method 'dispatchEvent'

Reported by Lars Brand | January 9th, 2014 @ 12:51 PM

I'm using qftest (http://www.qfs.de/en/index.html) for automation of regression tests for TestLink (http://testlink.org/)
The Error-Message from qftest is:
"An error occurred inside a script on this page.

This is not a bug in QF-Test, rather the opposite: Herewith QF-Test
informs you about a potentially serious problem in your application.
Please notify the developers of the application and include the
information provided below.

Line: 6598
Character: 5
Message: Object doesn't support property or method 'dispatchEvent'
Code: 0
URL: http://1.2.3.4/testlink199/third_party/prototype/prototype.js

/*  Prototype JavaScript framework, version 1.7.1 */
  function fireEvent_DOM(element, eventName, memo, bubble) {
    var event = document.createEvent('HTMLEvents');
    event.initEvent('dataavailable', bubble, true);

    event.eventName = eventName;
    event.memo = memo;

    element.dispatchEvent(event);
    return event;
  }

Comments and changes to this ticket

  • Jason Westbrook

    Jason Westbrook January 25th, 2014 @ 01:07 AM

    Can you post the code that triggered this error?

    Most likely Prototype has determined that any specific edge cases for firing an event do not exist in your environment so it defaults to native DOM event firing. However your environment does not support native DOM firing which is the cause of the error.

    Typically for one off situations there will not be another check for a specific edge case unless there is lots of browsers doing the same behavior.

  • Cassandller

    Cassandller October 12th, 2018 @ 09:00 AM

    Object doesn't support property or method 'dispatch Event' but we can get the main point. This is the real motto of sharing essay writing blogs with all the https://www.aussiewritingreviews.com developers. I wish to share this blog.

  • Geraldinnder

    Geraldinnder October 13th, 2018 @ 08:49 AM

    The creator is a decent individual who is discussing the best approach to back on line. He compose many article yet I adore this one since rationale is australianhelp.com review and I saw rationale in this present blog.That's the reason I begin read this blog.

  • claraalbert

    claraalbert October 22nd, 2018 @ 03:51 PM

    You ought to likewise ensure that you have a legitimate thing go in as your component not all things can send occasions, for example, invalid, unclear, and some different things.
    https://www.essaydoer.com/

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

People watching this ticket

Pages