Ignore:
Timestamp:
Oct 9, 2004, 2:22:43 PM (21 years ago)
Author:
darin
Message:

Reviewed by Kevin.

  • fixed <rdar://problem/3822618> REGRESSION (164-165): expedia.com's popup help doesn't work
  • kjs/reference.cpp: (Reference::putValue): Change so that references not found in any object work with the window object of the page the function is in, not the page of the caller. This is what all other browsers do. This code was hidden before by the "everything is defined on window object" hack in WebCore.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/reference.cpp

    r6347 r7793  
    22/*
    33 *  This file is part of the KDE libraries
    4  *  Copyright (C) 2003 Apple Computer, Inc
     4 *  Copyright (C) 2004 Apple Computer, Inc
    55 *
    66 *  This library is free software; you can redistribute it and/or
     
    153153  Value o = getBase(exec);
    154154  if (o.type() == NullType)
    155     o = exec->dynamicInterpreter()->globalObject();
     155    o = exec->lexicalInterpreter()->globalObject();
    156156
    157157  if (propertyNameIsNumber)
Note: See TracChangeset for help on using the changeset viewer.