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 8278689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T09:05:58+00:00 2026-06-08T09:05:58+00:00

I have a strange situation where my Javascript is failing in unpredictable ways on

  • 0

I have a strange situation where my Javascript is failing in unpredictable ways on Android 2.x devices.

Some descriptions would be:

  • Parts of the Javascript application work, while some parts do not. These “parts” are broken up as modules with separate constructors.

  • The Javascript application fails on one server and not another within our own network.

  • The Javascript application at times throws ILLEGAL TOKEN errors in multiple script files on the page, yet the application throws no errors on any desktop client and is considered to be syntactically correct.

TO FIX THIS, I type about:debug into the address bar and refresh. Boom. Suddenly the full Javascript application works, including every module and on every server.

Furthermore, now the Android “remembers” this, and the defects are gone 90% of the time, but appear once in a while at random.

This is an ASP.NET Episerver stack, and we’re using Cassette to concatenate and minify about 12-20 scripts, with about 4 “final” script blocks being rendered to the page.

Has anyone encountered anything like this? My only strategy is to break up the scripts into a couple extra HTTP requests to slow down the parser… but I really don’t know what’s happening here.

Thanks!

  • 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-08T09:06:00+00:00Added an answer on June 8, 2026 at 9:06 am

    After lots of testing, we appear to have fixed the bug. It was an issue with Android 2.x downloading the Javascript files with the following header:

    Content-Type: deflate
    

    We changed it to:

    Content-Type: gzip
    

    Curious though, as to why Android 2.x has an issue with deflate configuration and Javascript files.

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

Sidebar

Related Questions

I have a strange situation here. In my android app, I have a layout
I have a very strange situation. I´m working on a pretty big Java application
I have the next very strange situation and problem: .NET 4.0 application for diagram
I have a strange situation using asp ajax chart controls. I have an application
I have a strange situation which I hope someone can shed some light on.
I have a strange situation in my .NET CF 3.5 Windows Mobile 6.5 application.
I have a strange situation where i the f:convertNumber doesnt work when trying to
I have just encountered a strange situation. I have some basic html: <table bgcolor=#FFFFFF
I have a strange situation where using @parent, or even explicit id-s dont work
I have the following strange situation here I need some help with: I am

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.