3525 Commits

Author SHA1 Message Date
jwalden%mit.edu
19b6f29fed 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
git-svn-id: svn://10.0.0.236/trunk@247286 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 02:32:21 +00:00
mrbkap%gmail.com
f4e51c2f77 Fix compile warnings. No bug, debug only, r+rs=jst
git-svn-id: svn://10.0.0.236/trunk@247254 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 23:00:01 +00:00
mrbkap%gmail.com
8773c74b88 Don't assume that chrome:// implies system principals. bug 419848, r=brendan sr=jst
git-svn-id: svn://10.0.0.236/trunk@247253 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 22:52:58 +00:00
jst%mozilla.org
326f9d18bf Fixing bug 396443. Make SVG documents act like all our other documents wrt enumeration hooks. r+sr=mrbkap@gmail.com
git-svn-id: svn://10.0.0.236/trunk@247234 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 20:20:42 +00:00
jst%mozilla.org
4b10805fa0 Fixing bug 420858. Don't define fast expandos when binding names in JS. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@247069 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 04:43:57 +00:00
brendan%mozilla.org
66e065ec86 More un-nesting #include fallout (r=mrbkap, bustage fix).
git-svn-id: svn://10.0.0.236/trunk@247061 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 00:44:30 +00:00
jst%mozilla.org
cbe5e18016 Fixing bug 419093. Make access to undeclared global properties fast too! r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@246968 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 01:52:34 +00:00
jst%mozilla.org
a82801d807 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
git-svn-id: svn://10.0.0.236/trunk@246967 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 01:44:16 +00:00
mrbkap%gmail.com
d708bc5c0b Outerize |this| always. bug 418069, r/sr=jst/brendan a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246820 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-01 00:17:38 +00:00
bent.mozilla%gmail.com
e47fc69e78 Bug 419655 - "Refreshing a page leaks an nsGlobalWindow until shutdown". r=peterv, sr=jst, a1.9b4+=schrep.
git-svn-id: svn://10.0.0.236/trunk@246770 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 02:05:57 +00:00
peterv%propagandism.org
f062134582 Fix for bug 391209 (cycle collector crash with python objects). r/sr=jst, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@246721 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 13:12:43 +00:00
jwalden%mit.edu
0628cf2ab0 Add a test for postMessage(msg, undefined), which must be a syntax error as |undefined| is both present and not null.
git-svn-id: svn://10.0.0.236/trunk@246639 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 06:03:38 +00:00
jwalden%mit.edu
9d49b58dbc Bump UUID, forgotten on last checkin.
git-svn-id: svn://10.0.0.236/trunk@246627 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 05:02:56 +00:00
jwalden%mit.edu
d3ebb55032 Bug 417075 - Update postMessage and MessageEvent to reflect domain/uri being replaced by origin, optional origin argument. r+sr=sicking, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246617 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:48:56 +00:00
jonas%sicking.cc
35f305467d Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@246616 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:45:32 +00:00
reed%reedloden.com
669355826a Bug 417617 - [p=Olli.Pettay@gmail.com (Smaug) r+sr=jst a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@246606 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:03:28 +00:00
reed%reedloden.com
f635420f32 Bug 409349 - [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=Enn sr=dveditz a1.9=damons a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@246592 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 01:01:02 +00:00
dcamp%mozilla.com
99394ad0f6 Bug 397417: monitor disk usage of offline apps in the UI. r=enndeakin (nsDOMStorage change), r/sr=mconnor, ui-r/blocking-firefox3=beltzner
git-svn-id: svn://10.0.0.236/trunk@246565 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 21:13:18 +00:00
Olli.Pettay%helsinki.fi
643d30c4fd Bug 415025, try to improve CC scheduling, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@246445 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 17:47:26 +00:00
reed%reedloden.com
ef160fa4e6 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]
git-svn-id: svn://10.0.0.236/trunk@246437 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 08:59:21 +00:00
Olli.Pettay%helsinki.fi
2eb9b51758 Bug 418457, Remove support for onbeforecopy/cut/paste until we have a better implementation, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@246410 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 10:55:39 +00:00
jst%mozilla.org
ee74c118d5 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
git-svn-id: svn://10.0.0.236/trunk@246266 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 02:18:43 +00:00
jst%mozilla.org
1e4d07a872 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
git-svn-id: svn://10.0.0.236/trunk@246243 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 23:51:02 +00:00
benjamin%smedbergs.us
3968e1b42d Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated
git-svn-id: svn://10.0.0.236/trunk@246221 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 20:39:23 +00:00
gavin%gavinsharp.com
66e9f404a3 Back out bug 418069 because it causes a crash on startup for Camino
git-svn-id: svn://10.0.0.236/trunk@246143 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 02:06:26 +00:00
crowder%fiverocks.com
a15d6205c6 Bug 418069 - js1_5/Regress/regress-379245.js FAIL - browser - bad this, patch by mrbkap, r=brendan, sr=jst, a1.9=brendan
git-svn-id: svn://10.0.0.236/trunk@246129 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 23:28:18 +00:00
roc+%cs.cmu.edu
7b21a0337a Bug 418158. nsIDOMSVGComponentTransferFunctionElement should not export the non-scriptable internal-use-only GenerateLookupTable function. r=rlongson,sr=pavlov,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246028 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 02:11:54 +00:00
roc+%cs.cmu.edu
273b652dd5 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
git-svn-id: svn://10.0.0.236/trunk@246027 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 02:10:05 +00:00
sayrer%gmail.com
1a88b25f7f Bug 417052. Adjust JS_GC heuristic. Patch by Igor Bukanov <igor@mir2.org>. r/a=brendan
git-svn-id: svn://10.0.0.236/trunk@246023 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 01:20:24 +00:00
jst%mozilla.org
388c6dab39 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
git-svn-id: svn://10.0.0.236/trunk@246012 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 22:38:34 +00:00
jag%tty.nl
bc91d919a7 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
git-svn-id: svn://10.0.0.236/trunk@245897 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-18 08:50:33 +00:00
roc+%cs.cmu.edu
93a0810671 Bug 416782. Rename isLocallyAvailable to mozIsLocallyAvailable because it's not part of any spec (yet). r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@245879 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-17 21:26:29 +00:00
jst%mozilla.org
abc1e27c4d Backing out fixes for bug 416931 due to the JS property tree blowing up in size due to this change.
git-svn-id: svn://10.0.0.236/trunk@245861 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-17 04:07:51 +00:00
jruderman%hmc.edu
21468076fb Make gSerialCounter defined only ifdef DEBUG to silence a warning. Followup to bug 416939.
git-svn-id: svn://10.0.0.236/trunk@245848 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 22:15:32 +00:00
bzbarsky%mit.edu
1fd4026864 Allow JS 1.7 in XBL. Bug 389322, r=brendan, sr=jst, a=brendan
git-svn-id: svn://10.0.0.236/trunk@245814 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 05:13:19 +00:00
jwalden%mit.edu
fcf97a821b Bug 417491 - Element.setAttribute(':', ...) throws DOMException INVALID_CHARACTER_ERR. r+sr=peterv, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@245800 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 23:22:56 +00:00
jst%mozilla.org
9661d03068 Landing for bug 417387, followup fixes for bug 416931. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@245794 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 21:54:49 +00:00
Olli.Pettay%helsinki.fi
a1118dd79f Bug 409111, WRONG_DOCUMENT_ERR on unattached nodes through getBoxObjectFor, r+sr=sicking, a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@245733 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-14 20:45:08 +00:00
jst%mozilla.org
8a6b9d351d Fixing bug 417266. Don't call IsEventName() with non-string jsvals. r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@245673 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-14 06:11:36 +00:00
bent.mozilla%gmail.com
982f9ff69d Bug 416939 - "Broadcast the destruction of DOM windows". r+sr=jst, a=blocking1.9+.
git-svn-id: svn://10.0.0.236/trunk@245649 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 23:41:17 +00:00
bent.mozilla%gmail.com
306ca57971 Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r=jst, sr=sicking, a=blocking1.9+. Relanding.
git-svn-id: svn://10.0.0.236/trunk@245544 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 04:17:19 +00:00
jst%mozilla.org
b019403b8c Fixing bug 416931. Make accessing script defined global properties faster. r+sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@245542 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 03:55:18 +00:00
jst%mozilla.org
c62a0b2f73 Landing fix for bug 414749. Make nsJSUtils::GetCallingLocation deal better with null principals. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@245541 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 03:52:43 +00:00
bent.mozilla%gmail.com
b6118e8593 Bug 413447, backing out to see if unit tests pass.
git-svn-id: svn://10.0.0.236/trunk@245515 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 20:53:04 +00:00
benjamin%smedbergs.us
ff50720044 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
git-svn-id: svn://10.0.0.236/trunk@245507 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 19:46:50 +00:00
bent.mozilla%gmail.com
037e343083 Bug 413447, SunOS bustage fix?
git-svn-id: svn://10.0.0.236/trunk@245504 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 19:34:22 +00:00
bent.mozilla%gmail.com
98a9bb7fdd Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r=jst, sr=sicking, a=blocking1.9+.
git-svn-id: svn://10.0.0.236/trunk@245501 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 17:48:27 +00:00
jwalden%mit.edu
896223b76d Bug 411103 - document.createElement(bad) (and the NS version) throwing wrong exception. Fixes two acid3 tests as well. r=peterv, sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245449 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 04:14:58 +00:00
jwalden%mit.edu
041dc03c46 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
git-svn-id: svn://10.0.0.236/trunk@245447 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 04:11:08 +00:00
jwalden%mit.edu
862951ff5b 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.
git-svn-id: svn://10.0.0.236/trunk@245427 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-11 20:27:32 +00:00