Commit Graph

458 Commits

Author SHA1 Message Date
jst@mozilla.org
999b99b5ba Fixing bug 419093. Make access to undeclared global properties fast too! r+sr=brendan@mozilla.org 2008-03-03 17:52:34 -08:00
jst@mozilla.org
75c29b117f Fixing bug 413200. Make sure script termination functions run when XPConnect is done executing script on a context and there's no other script running on that context. r+sr=mrbkap@gmail.com 2008-03-03 17:44:16 -08:00
mrbkap@gmail.com
59987175f2 Outerize |this| always. bug 418069, r/sr=jst/brendan a=beltzner 2008-02-29 16:17:38 -08:00
bent.mozilla@gmail.com
872fe28df5 Bug 419655 - "Refreshing a page leaks an nsGlobalWindow until shutdown". r=peterv, sr=jst, a1.9b4+=schrep. 2008-02-28 18:05:57 -08:00
peterv@propagandism.org
d17050a582 Fix for bug 391209 (cycle collector crash with python objects). r/sr=jst, a=beltzner. 2008-02-28 05:12:43 -08:00
jwalden@mit.edu
3bdf362531 Add a test for postMessage(msg, undefined), which must be a syntax error as |undefined| is both present and not null. 2008-02-26 22:03:38 -08:00
jwalden@mit.edu
21d8f659f0 Bump UUID, forgotten on last checkin. 2008-02-26 21:02:56 -08:00
jwalden@mit.edu
5809da44ed Bug 417075 - Update postMessage and MessageEvent to reflect domain/uri being replaced by origin, optional origin argument. r+sr=sicking, a=beltzner 2008-02-26 19:48:54 -08:00
jonas@sicking.cc
65f4571f58 Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv 2008-02-26 19:45:29 -08:00
reed@reedloden.com
d9ce9a6557 Bug 417617 - [p=Olli.Pettay@gmail.com (Smaug) r+sr=jst a=blocking1.9+] 2008-02-26 18:03:27 -08:00
reed@reedloden.com
ce8dfb0807 Bug 409349 - [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=Enn sr=dveditz a1.9=damons a=blocking1.9+] 2008-02-26 17:01:01 -08:00
dcamp@mozilla.com
9503bf9c88 Bug 397417: monitor disk usage of offline apps in the UI. r=enndeakin (nsDOMStorage change), r/sr=mconnor, ui-r/blocking-firefox3=beltzner 2008-02-26 13:13:17 -08:00
Olli.Pettay@helsinki.fi
5bf8e82603 Bug 415025, try to improve CC scheduling, r=peterv, sr=jst 2008-02-25 09:47:25 -08:00
reed@reedloden.com
7b58057fad Bug 417710 - "Use JS_GET_CLASS, not JS_GetClass" [p=gyuyoung.kim@samsung.com (gyu-young kim) r=jorendorff r=jst sr+a1.9=brendan] 2008-02-25 00:59:20 -08:00
Olli.Pettay@helsinki.fi
5ad351df5f Bug 418457, Remove support for onbeforecopy/cut/paste until we have a better implementation, r+sr=sicking 2008-02-24 02:55:37 -08:00
jst@mozilla.org
9df1fbb330 Fixing bug 418755. Revert our decision to throw WRONG_DOCUMENT_ERR per the DOM spec as the web expects that not to happen. r+sr=jonas@sickin.cc 2008-02-21 18:18:43 -08:00
jst@mozilla.org
c16eed1294 Fixing bug 417852. Push the context we're using to clear scopes on to make code down the road find the right context. r=dveditz@cruzio.com, sr=bzbarsky@mit.edu 2008-02-21 15:51:02 -08:00
benjamin@smedbergs.us
ca89a98e8c Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
gavin@gavinsharp.com
3106b6c27f Back out bug 418069 because it causes a crash on startup for Camino 2008-02-20 18:06:26 -08:00
crowder@fiverocks.com
d7bbfe4d1d Bug 418069 - js1_5/Regress/regress-379245.js FAIL - browser - bad this, patch by mrbkap, r=brendan, sr=jst, a1.9=brendan 2008-02-20 15:28:18 -08:00
roc+@cs.cmu.edu
816010cdc7 Bug 418158. nsIDOMSVGComponentTransferFunctionElement should not export the non-scriptable internal-use-only GenerateLookupTable function. r=rlongson,sr=pavlov,a=beltzner 2008-02-19 18:11:53 -08:00
roc+@cs.cmu.edu
259ae389f2 Bug 416204. feFlood should not support an in1 property, this was a bug in the SVG spec that is being fixed. r=rlongson,sr=pavlov,a=beltzner 2008-02-19 18:10:05 -08:00
sayrer@gmail.com
f825656cf9 Bug 417052. Adjust JS_GC heuristic. Patch by Igor Bukanov <igor@mir2.org>. r/a=brendan 2008-02-19 17:20:24 -08:00
jst@mozilla.org
38e5f686a8 Landing fix for bug 410010. Make exceptions thrown during even handling always get reported once the event handler has run. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org 2008-02-19 14:38:34 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
roc+@cs.cmu.edu
56ab47f9a6 Bug 416782. Rename isLocallyAvailable to mozIsLocallyAvailable because it's not part of any spec (yet). r+sr=jst 2008-02-17 13:26:29 -08:00
jst@mozilla.org
6dd4818b8e Backing out fixes for bug 416931 due to the JS property tree blowing up in size due to this change. 2008-02-16 20:07:51 -08:00
jruderman@hmc.edu
1482a70818 Make gSerialCounter defined only ifdef DEBUG to silence a warning. Followup to bug 416939. 2008-02-16 14:15:32 -08:00
bzbarsky@mit.edu
a183f5e853 Allow JS 1.7 in XBL. Bug 389322, r=brendan, sr=jst, a=brendan 2008-02-15 21:13:16 -08:00
jwalden@mit.edu
c94942c6d0 Bug 417491 - Element.setAttribute(':', ...) throws DOMException INVALID_CHARACTER_ERR. r+sr=peterv, a=beltzner 2008-02-15 15:22:55 -08:00
jst@mozilla.org
37ff495f8f Landing for bug 417387, followup fixes for bug 416931. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org. 2008-02-15 13:54:49 -08:00
Olli.Pettay@helsinki.fi
bdd3e9637b Bug 409111, WRONG_DOCUMENT_ERR on unattached nodes through getBoxObjectFor, r+sr=sicking, a=mtschrep 2008-02-14 12:45:07 -08:00
jst@mozilla.org
ed02abd8ee Fixing bug 417266. Don't call IsEventName() with non-string jsvals. r+sr=jonas@sicking.cc 2008-02-13 22:11:36 -08:00
bent.mozilla@gmail.com
566b83da67 Bug 416939 - "Broadcast the destruction of DOM windows". r+sr=jst, a=blocking1.9+. 2008-02-13 15:41:17 -08:00
bent.mozilla@gmail.com
e8fd2462e4 Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r=jst, sr=sicking, a=blocking1.9+. Relanding. 2008-02-12 20:17:18 -08:00
jst@mozilla.org
0cf2ecbcde Fixing bug 416931. Make accessing script defined global properties faster. r+sr=shaver@mozilla.org 2008-02-12 19:55:18 -08:00
jst@mozilla.org
f45b87199e Landing fix for bug 414749. Make nsJSUtils::GetCallingLocation deal better with null principals. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org 2008-02-12 19:52:43 -08:00
bent.mozilla@gmail.com
9b3b4ac605 Bug 413447, backing out to see if unit tests pass. 2008-02-12 12:53:03 -08:00
benjamin@smedbergs.us
5e262ed60c Bug 412320 - generate QI for additional classes which, according to stats, show up in profiles as frequent callers of nsID::Equals, r=biesi,ted,sicking 2008-02-12 11:46:26 -08:00
bent.mozilla@gmail.com
9f859d2cda Bug 413447, SunOS bustage fix? 2008-02-12 11:34:22 -08:00
bent.mozilla@gmail.com
e7ca4e39a1 Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r=jst, sr=sicking, a=blocking1.9+. 2008-02-12 09:48:26 -08:00
jwalden@mit.edu
5ccb25d679 Bug 411103 - document.createElement(bad) (and the NS version) throwing wrong exception. Fixes two acid3 tests as well. r=peterv, sr=jst, a=schrep 2008-02-11 20:14:57 -08:00
jwalden@mit.edu
247329e211 Bug 397929 - Convert GetMessage APIs to GetMessageMoz APIs, at the C++ symbol level only (vtables remain the same), to work around brain-dead, idiotic, insane Windows API macros. r=bsmedberg, a=schrep 2008-02-11 20:11:07 -08:00
jwalden@mit.edu
9bb11a71df Adding a test to ensure .uri on a postMessage-generated event contains a hash reference from the caller, if one was present. No bug or code changes. 2008-02-11 12:27:32 -08:00
jruderman@hmc.edu
7e1fd6b92b Add mochitest 2008-02-09 02:35:51 -08:00
jruderman@hmc.edu
9892d16836 Add mochitest for "new HTMLDocument()" throwing and not asserting 2008-02-08 16:24:43 -08:00
martijn.martijn@gmail.com
0e06c42a45 Bug 416101 - Mingw build error in ../mozilla/dom/src/json/nsJSON.cpp, r=sayer, a=mtschrep 2008-02-08 15:25:58 -08:00
bent.mozilla@gmail.com
00415da413 Bug 353851 - "accumulation of outer chrome windows in mOpener chains (window.opener)". r+sr=jst, a=blocking1.9. Fixed small typo that caused Txul to blow up yesterday. 2008-02-08 13:09:36 -08:00
dolske@mozilla.com
3061c98928 Reland 406686, tests went green apparently before picking up the backout. 2008-02-08 12:23:05 -08:00
dbaron@dbaron.org
632c70328b Force reflow on default font change, since style data comparison is not sufficient for things not reflected in style data. b=394057 r+sr=roc a=blocking1.9+ 2008-02-08 11:52:46 -08:00
dolske@mozilla.com
96d90967a4 Backout bug 406686 to determine cause of mochitest failures. 2008-02-08 11:07:21 -08:00
enndeakin@sympatico.ca
75d35b42fd Bug 406686, close popups on blur, this time with nullcheck, r=roc,sr=dveditz 2008-02-08 05:53:33 -08:00
bent.mozilla@gmail.com
0bf53d1dea Backing out patch for bug 353851 to see if it fixes test failures. 2008-02-07 16:29:17 -08:00
bent.mozilla@gmail.com
a96174cfb1 Bug 353851 - "accumulation of outer chrome windows in mOpener chains (window.opener)". r+sr=jst. a=blocking1.9. 2008-02-07 15:13:01 -08:00
jwalden@mit.edu
ddfc96b454 Bug 414812 - document.domain = "0.0.1" on a page on 127.0.0.1 should not work. r=dwitte, sr=jst, a=schrep 2008-02-07 12:58:56 -08:00
jwalden@mit.edu
097a54c3a0 Bug 397929 - Windows macro names kill kittens, maim babies, and introduce naming conflicts. Add an XPIDL annotation allowing the C++ method name for a method in an interface to either not be the method name, capitalized, or to not be [GS]et plus the attribute name, capitalized. This patch makes window.postMessage happy as PostMessageMoz; other APIs will need followup checkins. r=bsmedberg, a=schrep 2008-02-07 12:53:19 -08:00
sayrer@gmail.com
82ea38ff8f Bug 410890. nsJSON speedups. r=crowder, sr=jst, a=schrep 2008-02-06 23:19:26 -08:00
surkov.alexander@gmail.com
09a86c1241 Bug 374610 - xul:menuitem should have a way to get parent xul:menu, r=enndeaking, sr=neil, a=mtschrep 2008-02-06 23:07:08 -08:00
mozilla.mano@sent.com
8e142677f0 Backing out 406686 again 2008-02-06 18:19:12 -08:00
mozilla.mano@sent.com
260b79c683 Relanding bug 406686 2008-02-06 16:55:55 -08:00
mozilla.mano@sent.com
9343a644bf Attempt to fix orange by backing out 406686 2008-02-06 15:45:59 -08:00
enndeakin@sympatico.ca
0a624e2179 Bug 406686, close popups on blur, r=roc,sr=dveditz 2008-02-06 13:12:00 -08:00
timeless@mozdev.org
d41cf6beb6 Bug 413074 Bad param "value" to nsXPConnect::JSToVariant() r=mrbkap sr=jst a=mtschrep 2008-02-04 11:29:36 -08:00
jwalden@mit.edu
f61ebc4f6c Bug 414815 - Add a window.postMessage test in the presence of a <base> tag (addresses the only postMessage test WebKit had for their implementation which we didn't). a=itsatest 2008-02-02 18:09:34 -08:00
reed@reedloden.com
a99b108d00 Add missing |#ifdef JS_GC_ZEAL| to fix bustage. 2008-01-31 11:39:40 -08:00
reed@reedloden.com
39c54ac161 Bug 414982 - "Use gcZeal setting in nsJSEnvironment, as we once did with WAY_TOO_MUCH_GC" [p=crowder@fiverocks.com (Brian Crowder) r+sr=bzbarsky a1.9=brendan a1.9b3=schrep] 2008-01-31 11:03:03 -08:00
mrbkap@gmail.com
d668596b39 Make this code deal with setTimeout from a component. bug 414743, r=jst/waldo sr=jst 2008-01-29 21:30:11 -08:00
mrbkap@gmail.com
e31cb445b1 Fix for orange: deal with weird scripts that don't have principals. 2008-01-29 18:54:11 -08:00
bent.mozilla@gmail.com
30b13b2063 Bug 412862 - Change the 'allow scripts to move or resize existing windows' pref to a whitelist. r=gavin,jst. sr=jst. ur+a=beltzner. 2008-01-29 18:27:17 -08:00
mrbkap@gmail.com
e767cbcebc Be more careful about what filename we propagate to compiled setTimeout functions. bug 411092, r+sr=jst 2008-01-29 18:11:48 -08:00
peterv@propagandism.org
6d9909d3c6 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 18:05:43 -08:00
mrbkap@gmail.com
334071547a Make document really not be a XOW. bug 414706, r+sr+a=jst 2008-01-29 18:03:02 -08:00
jwalden@mit.edu
035ea5179c Bug 387706 - Implement HTML5's cross-document messaging API (postMessage), enabling secure cross-origin communication between windows. r+sr=sicking, sr=jst, a=jst 2008-01-29 17:31:29 -08:00
peterv@propagandism.org
ac2b416a74 Try to fix orange 2008-01-29 13:42:05 -08:00
peterv@propagandism.org
02be459ead Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 12:48:32 -08:00
dolske@mozilla.com
037f4ced6c Update comments for localizers. 2008-01-29 11:39:36 -08:00
dolske@mozilla.com
c47c2837e6 Bug 244273 - improve current HTTP authentication prompt. r=neil,bsmedberg ui-r=johnath, a=blocking-1.9+, a-latel10n=damons 2008-01-29 11:33:26 -08:00
reed@reedloden.com
ba1ebe6e9b Bug 405693 - "don't update identical offline cache manifests" [p=honzab@allpeers.com (Honza Bambas) r=dcamp sr=biesi a=blocking1.9+] 2008-01-28 23:54:54 -08:00
dbaron@dbaron.org
2ad554aec9 Improve the warning that shows up when pages use -moz-inline-box. b=413195 r+sr=bzbarsky a=beltzner 2008-01-25 13:06:36 -08:00
reed@reedloden.com
6225fdee48 Bug 413884 - "The "Don't ask me again" checkbox in the "Unresponsive script" dialog does not have any access key" [p=ehsan.akhgari@gmail.com (Ehsan Akhgari) r+sr=jst a1.9=schrep] 2008-01-25 00:19:57 -08:00
dcamp@mozilla.com
bac18b5c8e Bug 405695: Use asciiHost/asciiSpec for offline cache ownership keys. p=Honza Bambas, r=me, sr=biesi 2008-01-22 20:31:50 -08:00
dcamp@mozilla.com
d07d06ab57 Bug 398478: Clear globalStorage for offline apps separately from cookies, and the offline cache separately from the main cache. r=enndeakin, r=mconnor, sr=biesi 2008-01-22 20:06:36 -08:00
dcamp@mozilla.com
5c26c6c3fb Bug 397416: Raise globalStorage quota for domains with the offline-app permission. r=enndeakin, sr=dveditz, blocking1.9=sicking 2008-01-22 18:54:06 -08:00
dcamp@mozilla.com
9f596de49a Bug 394392: UI for enabling/disabling offline applications. r=enndeakin, r=mconnor, ui-r=beltzner 2008-01-22 18:10:50 -08:00
sayrer@gmail.com
4475a39348 Bug 411365. JS Shark renames per brendan. r/a=brendan 2008-01-19 15:33:08 -08:00
igor@mir2.org
751da50408 Bug 411267: less frequent operation callback calls 2008-01-18 13:28:42 -08:00
edward.lee@engineering.uiuc.edu
ece482618a Bug 382526 - "Content Encoding Error" error page repeats itself. r=beltzner, sr=bzbarsky, a1.9=schrep 2008-01-17 08:07:11 -08:00
dcamp@mozilla.com
9a3a47ed20 Bug 402272: Replace <link rel="offline-resource"> with manifests, and navigator.offlineResources/pendingOfflineLoads with window.applicationCache. p=dcamp/Honza Bombas, r=biesi, r+sr=jst, blocking1.9=jst 2008-01-16 13:54:33 -08:00
sayrer@gmail.com
721a421573 Bug 411365. Start and stop Shark from JS. r=crowder, sr=jst 2008-01-16 12:42:50 -08:00
reed@reedloden.com
77a4d612a8 Bug 340510 - "nsIDOMNSDocument.getBoxObjectFor (standard way to use Mozilla) does not work with --disable-xul" [p=romaxa@gmail.com (romaxa) r+sr=roc a1.9=schrep] 2008-01-15 17:27:53 -08:00
benjamin@smedbergs.us
dfc4cee45d Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
dwitte@stanford.edu
97a45f037f thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-11 20:30:42 -08:00
dwitte@stanford.edu
9d626da131 partial backout in an attempt to fix orange. 2008-01-11 02:08:58 -08:00
dwitte@stanford.edu
8a6c4d235f relanding bug 410250. 2008-01-11 01:13:04 -08:00
dwitte@stanford.edu
d2b6f4f5ed backing out to fix orange. 2008-01-10 20:59:44 -08:00
dwitte@stanford.edu
1798542e9f thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-10 19:56:00 -08:00
igor@mir2.org
7bc03fee82 Bug 409109: using the new operation counting JS API for monitoring long-running scripts. r=brendan,jst 2008-01-10 07:39:02 -08:00
igor@mir2.org
1a974d67e5 Bug 409109: backing the checking as the tree was closed. 2008-01-09 07:31:13 -08:00
igor@mir2.org
f8145c5e61 Bug 409109: using the new operation counting JS API for monitoring long-running scripts. r=brendan,jst 2008-01-09 07:20:39 -08:00
roc+@cs.cmu.edu
bc08ac141a Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00