[Webkit-unassigned] [Bug 20154] New: nested framesets do not appear to be loading javascript libraries (oracle)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 24 04:33:03 PDT 2008


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

           Summary: nested framesets do not appear to be loading javascript
                    libraries (oracle)
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Macintosh
               URL: http://orad.aidt.edu:8030
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: salex at mac.com


Our organization (www.aidt.edu) is implementing Oracle E-Business Suite. Our
requirement was that it worked with W3C compliant browsers. While Oracle has
some really crappy code, for the most part Safari has had only minor problems -
but we've uncovered a severe problem that is probably going to force use to
tell our users to use Firefox.

I have filed a service request with Oracle, but it looks like the problem is
with webkit and how it handles frames. There were several old bugs file (3588)
in frames that may be related to the problem. Hopefully I will be able to
upload a PDF with some screen shots that will help explain the behavior as the
url listed above is behind a firewall and has controlled access.

The scenario is that we have a page loaded that has a link that opens up a
child/popup window that allows you to search and modify parts of accounting
code. The child window opens fine and uses frameset:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html dir="ltr" lang="en-US">
        <head>

                <script type="text/javascript">
var _UixWindowOpenError='A popup window blocker has been detected in your
browser. Popup blockers interfere with the operation of this application.
Please disable your popup blocker or allow popups from this site.'
                </script>
                <script src="/OA_HTML/cabo/jsLibs/Common2_3_6_2.js"
type="text/javascript">
</script>
                <script language="javascript" type="text/javascript">
document.onkeydown=_noReload;var _blockReload=1;
                </script>
                <title></title>
        </head>
        <frameset title="Content" border="0" rows="100%,*"
onload="window.document.title=window.frames[0].document.title;
_sizeWin(window.frames[0],0,25)" onunload="_checkUnload(event)">
                <frame title="Content" marginwidth="5" frameborder="0"
marginheight="0" noresize
src="/OA_HTML/OA.jsp?_rc=/oracle/apps/fnd/framework/webui/OAKFFLOVRG&_ri=0&amUsageMode=1&addBreadCrumb=S&baseAppMod=oracle.apps.icx.por.req.server.RequisitionAM&_ti=1420605581&lovTableName=AccountsDistsAdvTable&lovRowNum=0&regionCode=ChargeAccountFlex&regionAppId=178&lovBaseItemName=ChargeAccountFlex_COMBINATION&lovLabel=GL_COA_ACCOUNTING_FLEXFIELD&oapc=23&lovMainCriteria=CodeCombination%3A%3A1.64000.504.224404.0.000.00000&configName=OAConfig"
longdesc="#">
                <noframes>
                        <body>
                                <p>
                                        Your browser does not support frames.
Frames support is required for this functionality
                                </p>
                        </body>
                </noframes>
        </frameset>
</html>

The structure of the frame source is below. Only the head elements are list as
it describes what I see in web inspector:

<!-- METADATA_SOURCE - JRAD -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html dir="ltr" lang="en-US-ORACLE9I">
        <head>
                <title>
                        Oracle iProcurement: Checkout
                </title>
                <meta name="generator" content="Oracle UIX">
                <link rel="stylesheet" charset="UTF-8" type="text/css"
href="/OA_HTML/cabo/styles/cache/swan-desktop-custom-2_3_6_2-en.css">
                <script type="text/javascript">
var _UixWindowOpenError='A popup window blocker has been detected in your
browser. Popup blockers interfere with the operation of this application.
Please disable your popup blocker or allow popups from this site.'
                </script>
                <script src="/OA_HTML/cabo/jsLibs/Common2_3_6_2.js"
type="text/javascript">
</script>
                <script type="text/javascript">
_defaultTZ()
                </script>
                <script language="javascript"
src="/OA_HTML/cabo/oajsLibs/oafcoreR12RUP3.js" type="text/javascript">
</script>
                <script language="javascript" type="text/javascript">
function AccountsDistsAdvTableChargeAccountFlex_COMBINATION(row){var p={};var
c={};lov('/oracle/apps/fnd/framework/webui/OAKFFLOVRG','0','ChargeAccountFlex','178','ChargeAccountFlex_COMBINATION','oracle.apps.icx.por.req.server.RequisitionAM','GL_COA_ACCOUNTING_FLEXFIELD','CodeCombination',1,null,0,'1420605581',row,'AccountsDistsAdvTable','DefaultFormName',c,p);}
                </script>
                <script language="javascript" type="text/javascript">
function
clearFlexChildren(){lovClearValue(document.DefaultFormName.ChargeAccountFlex_COMBINATION);}
                </script>
        </head>
        <body class="xg" onload="_checkLoad(event,'DefaultFormName')"
onunload="_checkUnload(event)">
                ....
        </body>
</html>

In Web Inspector there are no errors on the initial load but clicking on the
javascript files loaded does not display any source. There is also two copies
of Common2_3_6_2.js . I assume one sourced in a.jsp (frameset) and one in
OA.jsp. There is source in the .jsp files.

The child window has input fields that break down the account code segments and
a search icon that brings up what they call a List of Values (lov) window so we
have a parent window, a child window, and if it worked, another child window.

Clicking on the search icon and changing the field generates a javascript error
calling a function that is in Common2_3_6_2.js . and reloads the window. When
the window reloads there is now two copies of the frame source (oa.jsp), three
copies of Common2_3_6_2.js  and two copies of the other .js files.

The third copy of Common2_3_6_2.js now has code in it, but clicking on the
search icon will still generate an error and then reload a new copy of all
files.

The source of the search icon <a> is:

<a onclick="return
_LovInputVTF('kff_container3',0,document.forms['_LOVResFrm']['kff_container3'],1,1,{'F':'_LOVResFrm','N':'kff_container3','L':'kff_container3','D':'/OA_HTML/OA.jsp?region=/oracle/apps/fnd/framework/webui/OAFlexLOVRG&regionCode=kff_container&regionAppId=0&lovBaseItemName=kff_container3&fndOAJSPinEmbeddedMode=y&_ti=1328927845&label=Project&formName=_LOVResFrm&addBreadCrumb=S&baseAppMod=oracle.apps.icx.por.req.server.RequisitionAM&amUsageMode=1&lovMainCriteria=FlexDisplay&Criteria=kff_container3.FlexDisplay&PassiveCriteria=&retainAM=Y&Selector=N&lovMultiSelectDelimiter=%3B&baseToLovKey=/oracle/apps/fnd/framework/webui/OAKFFLOVRG.kff_container3_/oracle/apps/fnd/framework/webui/OAFlexLOVRG&lovLevel=2&baseCompMode=11.5.10&oapc=23','S':OnLovSelect,'M':1,'P':1});"
href="#"><img src="/OA_HTML/cabo/images/cache/clovi.gif" width="24" height="24"
border="0" title="Search for Project" align="absmiddle"></a>

Why WebKit shows the initial .js files as empty is unknown to me. It does
execute onload code that is in the file in the frameset, but seems to loose its
reference to the file when it loads the frame.

I'd be more than glad to open up a hole in the firewall and allow access to the
pages, open up an ARD session or whatever.

I really don't want to force users to use Firefox - we let them make their own
choice, but I may not have a choice. I've put their code through W3C validation
and while there are hundreds of errors, none seem major. If you see an error
that is causing this problem, I'll add it to the Oracle Service request.


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



More information about the webkit-unassigned mailing list