Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6845306

org.w3c.dom.stylesheets.StyleSheet.getMedia always returns null under IE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 6u14, 7, 8
    • Fix Version/s: 9
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows, windows_xp

      Description

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. open the following url with java console open:
      http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/html/StyleSheetTest.html

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No exception will be printed in console and string "@@@@ all test passed" will be printed.
      ACTUAL -
      works well on firefox.
      The following string is printed on ie:
      #### MediaList object is null
      #### MediaList object for link stylesheet is null
      #### test failed

      REPRODUCIBILITY :
      This bug can be reproduced always.

      The applet source code is:
      http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/src/StyleSheetTest.java

        Attachments

          Activity

            People

            Assignee:
            dtitov Daniil Titov (Inactive)
            Reporter:
            qgong Fred Gong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: