Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8051687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:21:21+00:00 2026-06-05T07:21:21+00:00

I am using XMLHttpRequest to call a REST service. When testing is under Mozilla

  • 0

I am using XMLHttpRequest to call a REST service.

When testing is under Mozilla and Chrome everything works just fine.

Although, when I enabled the Ripple under Chrome it stopped working. After some debugging I found out that in the switch/case statement, where I do something like …

switch (this.readyState) {
 case XMLHttpRequest.DONE: ... some code here ... break;
}

… the “case” does not get fired.

Closer examination determined that all the values XMLHttpRequest.* are undefined so that is the reason my code stopped working.

Q: Why XMLHttpRequest readyState values, otherwise well defined, become undefined under Ripple?

Are there any solutions for that issue, other than using plain numbers like 1, 2, 3, 4 or defining the values myself.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:21:22+00:00Added an answer on June 5, 2026 at 7:21 am

    After installing the Ripple Emulator 0.9.5 the testing script passes the test – the XMLHttpRequest values for LOADING, DONE, etc. are there.

    Looks like you have to download the Ripple from https://developer.blackberry.com/html5/downloads/ripple and then manually install the Chrome extension instead of just updating the extension from the menu.

    NOTE: At the time this question was asked the version above was not available so the problem existed.

    NOTE2: Here is a link https://developer.blackberry.com/html5/documentation/ww_getting_started/Use_the_Ripple_emulator_Chrome_extension_2007542_11.html with instructions how to install the extension to the Chrome, i.e. drag-and-drop the ripple_ui.crx file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making an XMLHttpRequest using ExtJS to a service that returns no responseText, just
I'm using xmlhttprequest to call servlet. It is working fine in Firefox. But, in
I try to consume a WCF service (REST) using ajax (xmlHttpRequest). The service require
I am trying to make asynchronous calls using xmlhttprequest object so it completely works
I am using jQuery to call web service (*.asmx) methods. The web service uses
I'm using the following code to make a call to a REST API using
According to chrome extensions API cross-origin calls using XMLHttpRequest object should be allowed if
I'm using jQuery to call a .Net web service like this: var service_url =
i make a simple REST web service consumer using HTML and javascript. here's the
I'm trying to do a simple exercise querying a database from JS using XMLHTTPrequest

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.