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

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

XMLWordPrintable

    • x86
    • windows, windows_xp

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: