Commit Graph

479 Commits

Author SHA1 Message Date
igor@mir2.org
8e2eeba5aa bug=421274 r=brendan a=beltzner Eliminating SAVE_SP_AND_PC() macro 2008-03-17 01:58:28 -07:00
jonas@sicking.cc
da4cab3b75 Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst 2008-03-14 16:08:57 -07:00
jst@mozilla.org
0cbe6b969b Fixing bug 414291. Make window.open() ignore modal=yes for backwards compatibility. r+sr=bzbarsky@mit.edu and jonas@sicking.cc 2008-03-14 14:31:24 -07:00
jwalden@mit.edu
22cd61f532 Bug 199692 - Update and reenable the document.elementFromPoint tests that didn't work when initially committed due to window sizing issues; there may still be some issues, but we'll todo aggressively in followup commits if necessary -- better halfway in than not at all. Patch is partly me, partly Ben Karel <web+moz@eschew.org>, r from Ben and r=roc. a=itsatest 2008-03-14 11:45:32 -07:00
igor@mir2.org
9e25b95889 bug 421274: backing out again due to crashes on 64 bit Linux. 2008-03-13 11:03:02 -07:00
igor@mir2.org
8205bdd921 bug=421274 r=brendan a1.9=mtschrep eliminating SAVE_SP_AND_PC and friends from the interpreter loop 2008-03-12 23:48:23 -07:00
igor@mir2.org
d75b521da0 backing out bug 421274 2008-03-12 23:23:09 -07:00
igor@mir2.org
e8279e4617 bug=421274 r=brendan a1.9=mtschrep eliminating SAVE_SP_AND_PC and friends from the interpreter loop 2008-03-12 22:52:52 -07:00
roc+@cs.cmu.edu
f081a45d74 Bug 421662. Rename TextRectangle* to ClientRect*. r+sr=sicking,a=damon 2008-03-11 17:59:15 -07:00
roc+@cs.cmu.edu
05ecd33c39 Bug 421662. Rename TextRectangle* to ClientRect*. r+sr=sicking,a=damon 2008-03-11 17:51:12 -07:00
jonas@sicking.cc
47a2cff0da Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4b8f2cdf7a Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst. 2008-03-10 17:49:19 -07:00
jwalden@mit.edu
f57d2e7968 Bug 421767 - element.attributes.removeNamedItemNS(<non-existent attribute NS and name>) returns null instead of throwing. acid3++ r+sr=jst, a=beltzner 2008-03-10 16:02:36 -07:00
reed@reedloden.com
fc3bdaf3e0 Bug 417994 - "navigator object does not fully reflect user agent settings" [p=gfleischer+bugzilla@gmail.com (Gregory Fleischer) r+sr=jst a1.9=beltzner] 2008-03-08 03:19:22 -08:00
dbaron@dbaron.org
1af2ef5248 Add string needed if we implement :nth-*() pseudo-classes. b=75375 r+sr=bzbarsky 2008-03-07 23:39:35 -08:00
jwalden@mit.edu
347503284f Make one test that relies on popup blocking being disabled fail quickly if popup blocking is enabled, and make another test non-Mozilla-specific because HTML5 got updated and now matches our behavior with respect to the origin of data: URIs (they have the origin of the window/script that opened them). rs=sicking 2008-03-06 18:32:21 -08:00
mrbkap@gmail.com
1e3cd43588 Fix compile warnings. No bug, debug only, r+rs=jst 2008-03-06 15:00:01 -08:00
mrbkap@gmail.com
24f718d4ac Don't assume that chrome:// implies system principals. bug 419848, r=brendan sr=jst 2008-03-06 14:52:58 -08:00
jst@mozilla.org
e5b719bbc6 Fixing bug 396443. Make SVG documents act like all our other documents wrt enumeration hooks. r+sr=mrbkap@gmail.com 2008-03-06 12:20:42 -08:00
jst@mozilla.org
a4a2644b3b Fixing bug 420858. Don't define fast expandos when binding names in JS. r+sr=brendan@mozilla.org 2008-03-04 20:43:57 -08:00
brendan@mozilla.org
50b405b149 More un-nesting #include fallout (r=mrbkap, bustage fix). 2008-03-04 16:44:30 -08:00
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