[Webkit-unassigned] [Bug 84820] New: [BlackBerry] [DRT] Some HTTP tests can't access relative css and/or javascript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 24 20:02:49 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=84820

           Summary: [BlackBerry] [DRT] Some HTTP tests can't access
                    relative css and/or javascript
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit BlackBerry
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: xiaobo.wang at torchmobile.com.cn
                CC: rwlbuis at gmail.com, tonikitoo at webkit.org


[Ported from RIM PR #128626]
For example: LayoutTests/http/tests/local/blob/send-data-blob.html

  1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
  2 <html>
  3 <head>
  4 <link rel="stylesheet"
href="../../../../fast/js/resources/js-test-style.css">
  5 <script src="../../../../fast/js/resources/js-test-pre.js"></script>
  6 </head>
  7 <body>
  8 <p id="description"></p>
  9 <div id="console"></div>
 10 <script src="resources/hybrid-blob-util.js"></script>
 11 <script src="script-tests/send-data-blob.js"></script>
 12 <script src="../../../../fast/js/resources/js-test-post.js"></script>
 13 </body>
 14 </html>

When run this test, js-test-style.css, js-test-pre.js and js-test-post.js are
not accessible because we hacked the root directory of apache server. We are
configuring apache's root directory to LayoutTests/http/tests/local, which
apparently make the resources not accessible.

In WebKit ORWT and NRWT scripts, we run tests under
folder "http/tests/local" with local path (like
"/developer/LayoutTests/http/tests/local/absolute-url-strip-whitespace.html").

However in our porting we run all tests under folder "/http/tests/" as HTTP
tests (http://...). We should fix this.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list