Граф коммитов

85102 Коммитов

Автор SHA1 Сообщение Дата
oeschger%netscape.com eae6462d99 fixing pref->help modality issue (plus updating some cs help 'keys'), bug=87720, r=danm, sr=blake 2001-07-03 02:47:06 +00:00
dbaron%fas.harvard.edu 0d5522009b OK, ftp.netscape.com works for me but it's still not working for the tinderboxes, so out again. 2001-07-03 02:37:23 +00:00
nboyd%atg.com 61f8164eba Fix following bug:
Subject:
             Re: Rhino: [[DefaultValue]] missing for Call object
 Resent-Date:
             Mon, 2 Jul 2001 08:52:07 -0700 (PDT)
 Resent-From:
             mozilla-jseng@mozilla.org
        Date:
             Mon, 02 Jul 2001 11:49:59 -0400
        From:
             Norris Boyd <nboyd@atg.com>
 Organization:
             Art Technology Group
          To:
             Christopher Oliver <coliver@mminternet.com>
         CC:
             mozilla-jseng@mozilla.org
  References:
             1




I believe the correct result of the script should be

[object global]
[object Object]
[object global]

The activation object (which goes by the name of "Call" for historical
reasons) should never be the 'this' value in a function call. See "10.1.6
Activation Object" in the ECMA spec.

I'll look at fixing the problem for Rhino. If there's agreement on my
analysis, someone should fix this for Spidermonkey too.

--N

Christopher Oliver wrote:

> Hi,
>
> function a() {
>     function b() {
>          print(this);
>     }
>     this.f = function() {
>          print(this);
>          b();
>     }
>     b();
> }
>
> var a = new a();
> a.f();
>
> Running the above script with SpiderMonkey produces:
>
> [object global]
> [object Object]
> [object Call]
>
> Running with Rhino produces the following exception:
>
> uncaught JavaScript exception: undefined: Cannot find default value for
> object. (line 3)
>
> This is due to a bug in org.mozilla.javascript.NativeCall which doesn't
> implement toString or valueOf or override getDefaultValue.
> However, even after I hacked in an implementation of getDefaultValue in
> NativeCall, Rhino still produces a different result then spidermonkey:
>
> [object Call]
> [object Object]
> [object Call]
2001-07-03 02:19:51 +00:00
mkaply%us.ibm.com b9b3076a0d More IRIX bustage 2001-07-03 02:19:04 +00:00
peterlubczynski%netscape.com 52512c32b6 Patch to fix crash with sample plugin and OS X plugins bug 85334 r=av sr=attinasi 2001-07-03 01:56:28 +00:00
blakeross%telocity.com 430832298b Removing line that snuck in. 2001-07-03 01:52:11 +00:00
blakeross%telocity.com 8fd0623da7 History should use outliner, provide a way to sort/view history the old way, win32 classic should use +/- twisties (73857, 71947, 80846, also fixes 66907, 59814, 71029, 48864, 69260, others). r=alecf sr=ben 2001-07-03 01:46:22 +00:00
jaggernaut%netscape.com dc448802d0 Re-doing GetUnicode() -> get() change inadvertently undone after merge-conflict. 2001-07-03 01:28:13 +00:00
dbaron%fas.harvard.edu 6ba464b3b6 ftp.netscape.com seems happy again. Add it back to bloaturls.txt 2001-07-03 01:27:37 +00:00
bienvenu%netscape.com ff1a88ef4b implement offline imap empty trash r=naving, sr=sspitzer 84841 2001-07-03 01:27:32 +00:00
mscott%netscape.com 97588bf226 bug #80220 --> show a tooltip over long attachments
Bug #79584 --> remove the .Print option from the attachment popup.
r/sr=sspitzer
2001-07-03 01:18:41 +00:00
pschwartau%netscape.com 65130fd171 Improving readability. 2001-07-03 01:13:23 +00:00
blakeross%telocity.com ccf5e5b6d8 Relying on cached text length too heavily upon retrieval (87348, needed for 37587). r=smfr sr=kin 2001-07-03 01:09:58 +00:00
blakeross%telocity.com 2e3e123273 Focusing urlbar should select contents (37587). r=brade sr=ben 2001-07-03 01:06:36 +00:00
sfraser%netscape.com f639265a14 Fix wording of dialog shown when you edit a frameset or iframe page in composer. r=brade, sr=blake. 2001-07-03 01:05:22 +00:00
sonmi%netscape.com f3ad835a9b removing, should be a dead file 2001-07-03 00:57:45 +00:00
peterv%netscape.com fcf9847d21 And now for a real code change. Fix for bug 88901 (Ill formed code in MozillDocument.cpp in Document::createAttributeNS). r=sicking, sr=scc. 2001-07-03 00:49:46 +00:00
loadrunner%betak.net 02d3533708 bug 86957, Mozilla converts existing NS 4.7 language preferences to single line,
r=bstell, sr=alecf
2001-07-03 00:49:43 +00:00
peterv%netscape.com e682f72495 Part of bug 88623 (Cleanup Transformiix code). Remove unnecesary comment lines, no code changes. r=Pike, rs=jst. 2001-07-03 00:47:47 +00:00
pschwartau%netscape.com a9e33f26e5 Fixing bug that prevented -p option from working on the Mac. 2001-07-03 00:40:46 +00:00
jaggernaut%netscape.com 9a22bef475 Bug 70048: ``Text of modifiers on accelerators can't be localized''. Attempt #2 :-)
Patch by lordpixel@mac.com, jag. r=jag, lordpixel, pinkerton, sr=ben, blake.
2001-07-03 00:26:41 +00:00
yokoyama%netscape.com b2d9609f1f Bug 87991: checking in for ftang:
adding null terminate
/r=yokoyama sr=alecf
2001-07-03 00:21:56 +00:00
alecf%netscape.com 63eaee927f fix for bug 62173 r=nhotta, sr=blizzard
when the locale changes, tell all the string bundles to empty themselves of their current strings
while I'm there, removing a defunct API
2001-07-03 00:17:15 +00:00
radha%netscape.com cfa09a4678 Fix for bugzilla bug 86330 r=adamock sr=rpotts. Bug with SH in frames with targets 2001-07-03 00:00:12 +00:00
mkaply%us.ibm.com 48adaa4925 Remove unnecessary OS/2 specific code 2001-07-02 23:41:02 +00:00
sicking%bigfoot.com 09697ef7fb Clean up ListIterator by removing unused flags and the almost-not-used reversed mode. Also add tx prefix to List and ListIterator classes and clean up whitespace.
Bug 85189. r=peterv, sr=scc
2001-07-02 23:40:23 +00:00
mkaply%us.ibm.com 60782c91cb IRIX bustage - linefeed problem 2001-07-02 23:32:28 +00:00
ddrinan%netscape.com 23853aa80c Bug 87233, r=javi,sr=mscott,a=chofman 2001-07-02 23:25:00 +00:00
ben%netscape.com 66629cf529 [not part of build]
- implement FileLocator class that can locate special system directories
- make preferences use this to locate user-prefs.xml file in Documents and Settings\Application Data\Manticore
- implement Browse... button in Browser display pref panel, rooted on My Documents (using File Locator)
- create default user-prefs.xml file (empty) which is copied to user profile directory on first launch or when data is corrupted.
- create new directory for storing defaults. (defaults/)
- Add deployment project to solution file.
2001-07-02 22:54:41 +00:00
ftang%netscape.com 266841c389 fix bug 87413. r=shanjian sr=sfraser
backout shanjian's check in which cuase infinite loop while
auto detect is turn on and got different result from meta tag
2001-07-02 22:36:08 +00:00
pinkerton%netscape.com 0982dafaf1 fix a warning. 2001-07-02 22:28:52 +00:00
dbaron%fas.harvard.edu 3dd246bc70 Temporarily removing ftp.mozilla.org from bloat URLs since it seems to be having problems right now. 2001-07-02 22:26:35 +00:00
nhotta%netscape.com cc19c1e8d3 Moved "font.size." prefs from all.js to platform files and
changed macpfref.js for .ja default faces to "HeiseiMincho", "HeiseiKakuGothic", default sizes to 14.
bug 87871, r=ftang, sr=blizzard.
2001-07-02 22:24:09 +00:00
pinkerton%netscape.com 6d2ff1251d last bit of 87911, default action is move, not 'none' 2001-07-02 22:22:01 +00:00
naving%netscape.com 8ba53127c6 88171 r=bienvenu sr=sspitzer; make undo work for multiple mail windows. 2001-07-02 22:05:54 +00:00
chuang%netscape.com cfd6e3e365 Bug 80446 Importing Outlook Contacts doesn't import email addresses, r=bienvenu, sr=mscott 2001-07-02 22:03:10 +00:00
naving%netscape.com 38a5354a29 88171 r=bienvenu sr=sspitzer; make undo work for multiple 3 pane and/or multiple stand alone
windows.
2001-07-02 22:03:09 +00:00
danm%netscape.com 3910a46d58 keep nonmodal windows out of the modal window (topmost) layer. bug 84047 r=alecf,jag 2001-07-02 21:56:59 +00:00
bienvenu%netscape.com d1e5a081ec make copying an offline imap message copy the offline msg body while offline r=naving, sr=sspitzer 78809 2001-07-02 21:42:04 +00:00
blizzard%redhat.com 85c6afa22a bug #80146. make gtk tooltips in the embedding widget look nicer. patch from <timecop@network.email.ne.jp>. r=tor,sr=blizzard 2001-07-02 21:41:28 +00:00
bienvenu%netscape.com 593ca9dc9e make copying an offline imap message copy the offline msg body while offline r=naving, sr=sspitzer 78809 2001-07-02 21:36:48 +00:00
cotter%netscape.com bfad3e92cc help content update per b=85925, PDT approved, r=oeschger@netscape.com 2001-07-02 21:23:01 +00:00
sicking%bigfoot.com f756020bdf Make FilterExpr check type of ExprResult before casting to NodeSet. Also sort nodeset in document order before filtering.
Bug 88736. r=peterv, sr=jst
2001-07-02 21:12:21 +00:00
nhotta%netscape.com 2935aa5c97 In SnarfAttachment, do not use the original file name if it contains '|', "nsmail-X.tmp" to be used instead,
this is needed because a filename contains '|' cannot be used for a temp filename although it's valid on japanese system,
bug 68993, r=varada,ducarroz, sr=bienvenu.
2001-07-02 21:08:04 +00:00
attinasi%netscape.com 08bae81b8c Added rule to indent nested DL elements. b=8749 r=liv@duke.edu sr=waterson 2001-07-02 21:04:45 +00:00
pschwartau%netscape.com a889741b9e Initial add. 2001-07-02 20:43:49 +00:00
ssu%netscape.com d2c5c26e40 fixing bug 88880 - Launching Setup via a CD autorun causes dll error. r=sgehani sr=syd. affects only windows platforms 2001-07-02 20:34:10 +00:00
sicking%bigfoot.com b40cca5635 Remove unused (and a few almost-unused) functions in the XPath classes.
Bug 88612. r=peterv, sr=jst
2001-07-02 20:11:05 +00:00
peterlubczynski%netscape.com ef920943cd Patch to fix case comparison problem mime types for plugins bug 87290 r=av sr=attinasi 2001-07-02 20:08:17 +00:00
blizzard%redhat.com 21552e4390 bug #87534. multipart/mixed handler doesn't parse content-type handler properly. r=dougt, sr=darin 2001-07-02 19:35:48 +00:00