DWR

error in IE if doing reverse ajax without activex enabled

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.2, 2.0.3
  • Fix Version/s: 2.0.4
  • Component/s: Engine
  • Description:
    Hide
    A regression in engine.js causes IE to throw an exception (and abort) when performing a poll without ActiveX enabled. The cause is the "htmlfile" construction
        if (batch.isPoll && window.ActiveXObject) {
          batch.htmlfile = new window.ActiveXObject("htmlfile");
    that will throw an automation exception if ActiveX not enabled.
    Show
    A regression in engine.js causes IE to throw an exception (and abort) when performing a poll without ActiveX enabled. The cause is the "htmlfile" construction     if (batch.isPoll && window.ActiveXObject) {       batch.htmlfile = new window.ActiveXObject("htmlfile"); that will throw an automation exception if ActiveX not enabled.

Activity

Hide
Mike Wilson added a comment - 19/Mar/08 4:25 PM

Joe:
As the htmlfile code has been sort of experimental, what do you think about just commenting it out until we can fix it properly?
I can fix this for 2.0.4.

Show
Mike Wilson added a comment - 19/Mar/08 4:25 PM Joe: As the htmlfile code has been sort of experimental, what do you think about just commenting it out until we can fix it properly? I can fix this for 2.0.4.
Hide
Joe Walker added a comment - 20/Mar/08 5:00 PM

I didn't read you comment properly, and I've just deleted the lines, and checked it in.
Thanks for finding that something was wrong.

Show
Joe Walker added a comment - 20/Mar/08 5:00 PM I didn't read you comment properly, and I've just deleted the lines, and checked it in. Thanks for finding that something was wrong.

People

Dates

  • Created:
    19/Mar/08 4:23 PM
    Updated:
    20/Mar/08 5:00 PM
    Resolved:
    20/Mar/08 5:00 PM