Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14345

BrowserSim does not show the right jQuery Mobile pages with #<page> on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • 4.1.0.CR1
    • 4.1.0.Alpha2
    • browsersim
    • None

    Description

      Test case:

      EXECUTE:
      1. Create project
      2. Create html 5 page:

      <!DOCTYPE html>
      <html>
      <head>
          <meta name="viewport" content="width=device-width, initial-scale=1">
          <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css" />
          <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
          <script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script>
          
      	<title>JBoss Tools jQuery Mobile Palette Demo</title>
      	
      </head>
      <body>
      	<div data-role="page" id="home">
          	<h1>Home</h1><br>
          	<p>This is the home page</p>
             	<a href="#gallery" data-role="button" data-inline="true" data-icon="forward">Gallery</a>
             	<a href="#index" data-role="button" data-inline="true" data-icon="forward">Index</a>
          </div>
          <div data-role="page" id="gallery">
          	<h1>Gallery</h1><br>
          	<p>This is the gallery page. Here you can see some pictures.</p>
             	<a href="#home" data-role="button" data-inline="true" data-icon="back">Home</a>
             	<a href="#index" data-role="button" data-inline="true" data-icon="forward">Index</a>
          </div>
      
      	<div data-role="page" id="index">
          	<h1>Index Page</h1><br>
          	<p>This is the index page.</p>
             	<a href="#home" data-role="button" data-inline="true" data-icon="back">Home</a>
             	<a href="#gallery" data-role="button" data-inline="true" data-icon="back">Gallery</a>
          </div>
          </body>
      </html> 
      

      2. Open file with BrowswerSim
      3. Try to add #index or #gallery to the end of address string
      FAIL:
      BrowserSim not always shows page with #index (#gallery) id (it shows just the main index page)

      Attachments

        Issue Links

          Activity

            People

              yradtsevich Yahor Radtsevich (Inactive)
              dazarov_jira Daniel Azarov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: