4269 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
8a9a2d5bba Pass the right nodes to our boundary-check, and clean up some remaining DOM-api
cruft.  Bug 414076 and bug 379280, patch in bug 414076, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@247963 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 04:56:22 +00:00
jonas%sicking.cc
546ba272ce 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
git-svn-id: svn://10.0.0.236/trunk@247875 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 23:08:59 +00:00
dbaron%dbaron.org
d102a1ff10 Fix bad reference counting of atoms so we don't manipulate garbage atom pointers. b=422546 r=timeless sr=roc a=damon
git-svn-id: svn://10.0.0.236/trunk@247757 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 18:54:02 +00:00
mattwillis%gmail.com
d876524af4 Bug 421622 - nsXMLHttpRequest#send() shouldn't reset all request headers when called from chrome. Patch by Manish Singh <manish@flock.com> r/sr=sicking, a1.9=beltzner
git-svn-id: svn://10.0.0.236/trunk@247726 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 11:43:06 +00:00
Olli.Pettay%helsinki.fi
f57b2fc41d Bug 419527, 'ASSERTION: Wrong root' with XBL, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@247722 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 10:12:51 +00:00
dcamp%mozilla.com
818a3abe5f Bug 394485: Prevent loading blocklisted urls loaded from <object> tags. r=jonas, sr=biesi, blocking1.9=stuart
git-svn-id: svn://10.0.0.236/trunk@247681 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 21:52:55 +00:00
jwalden%mit.edu
dd14f0410b Switch a test from using a Mozilla-specific name for a constant to using the standard one, no semantic change. r=foopy
git-svn-id: svn://10.0.0.236/trunk@247669 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 20:43:09 +00:00
Olli.Pettay%helsinki.fi
11704f6f07 Bug 421486, automatic unwanted scrolling, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@247612 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 10:26:12 +00:00
roc+%cs.cmu.edu
d2a2ed91c4 Bug 421662. Rename TextRectangle* to ClientRect*. r+sr=sicking,a=damon
git-svn-id: svn://10.0.0.236/trunk@247599 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 00:51:19 +00:00
jonas%sicking.cc
fbfd1bd5fa Back out due to failed mochitest
git-svn-id: svn://10.0.0.236/trunk@247519 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 02:18:16 +00:00
jonas%sicking.cc
99b2e4ecd5 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.
git-svn-id: svn://10.0.0.236/trunk@247516 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 00:49:20 +00:00
jwalden%mit.edu
5a0c0b1bcf Bug 421767 - element.attributes.removeNamedItemNS(<non-existent attribute NS and name>) returns null instead of throwing. acid3++ r+sr=jst, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247506 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-10 23:02:36 +00:00
reed%reedloden.com
dd9d5afa58 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@247364 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 09:44:43 +00:00
dbaron%dbaron.org
359b92b679 Don't call nsCycleCollector_DEBUG_wasFreed on generic elements since it inevitably leads to false positives. b=420548 r+sr=peterv a=Not part of the default build (DEBUG/DEBUG_CC only)
git-svn-id: svn://10.0.0.236/trunk@247312 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 17:55:24 +00:00
bent.mozilla%gmail.com
49d5e2fb0d Bug 420700 - Calling createContextualFragment affects subsequent setting of innerHTML. r+sr=jst, a=blocking1.9+.
git-svn-id: svn://10.0.0.236/trunk@247231 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 20:14:35 +00:00
enndeakin%sympatico.ca
5a6c918e40 Bug 403217 - cannot drag text containing certain characters, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@247128 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 21:18:14 +00:00
reed%reedloden.com
e892f31951 Bug 420609 - "XMLHttpRequest no longer able to parse XHTML documents with entity references" [p=trev.moz@adblockplus.org (Wladimir Palant) r+sr=bzbarsky a1.9=sicking a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@247084 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 10:29:34 +00:00
mats.palmgren%bredband.net
6f73a70f02 Don't notify when setting text from within the constructor. b=420429 r+sr=jonas a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@247077 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 07:14:44 +00:00
jruderman%hmc.edu
ff28d9eca0 Make nsContentSink, instead of subclasses, be responsible for making sure RemoveObserver is called (bug 420835). r+sr=sicking, a=blocking1.9+.
git-svn-id: svn://10.0.0.236/trunk@247070 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 04:54:21 +00:00
jst%mozilla.org
5112a86b56 Backing out fix for bug 419848 due to feed code breakage.
git-svn-id: svn://10.0.0.236/trunk@246976 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 05:39:10 +00:00
jst%mozilla.org
125666cd14 Fixing bug 419848. Tighten rules about what JS files content can load. r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@246975 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 04:17:34 +00:00
jonas%sicking.cc
db74d9de15 Bug 383818: Cloned menu items don't display correctly. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@246965 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 01:25:06 +00:00
bzbarsky%mit.edu
1cf433d695 Add the charset right after the type, before all other params, if there is no
existing charset in the type.  Bug 413974, r=biesi, sr=sicking, a=beltzner


git-svn-id: svn://10.0.0.236/trunk@246775 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 04:24:33 +00:00
bent.mozilla%gmail.com
2b7582b3de Bug 414977 - "insufficient unlink methods in some DOM classes?". Allow the cycle collector to unlink XPCWrappedNatives in one cycle instead of two. r=peterv, sr=jst, a1.9b4+=schrep.
git-svn-id: svn://10.0.0.236/trunk@246772 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 02:09:10 +00:00
jst%mozilla.org
ed52909cca Fixing bug 410946. Prevent plugins from being destroyed while there's code from those plugins on the stack. r+sr=bzbarsky@mit.edu, a=beltzner@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@246771 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 02:06:00 +00:00
masayuki%d-toybox.com
1b098bf39a Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner
git-svn-id: svn://10.0.0.236/trunk@246727 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 15:28:40 +00:00
masayuki%d-toybox.com
dde4ffc7c2 backing out the previous patch, becaused qm-centos5-01 dep unit test is orange
git-svn-id: svn://10.0.0.236/trunk@246723 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 13:59:28 +00:00
masayuki%d-toybox.com
2d6679113d Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner
git-svn-id: svn://10.0.0.236/trunk@246719 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 11:01:59 +00:00
roc+%cs.cmu.edu
342a643308 Bug 317189. Do the second-scroll-to-anchor on onload (i.e. subresources have loaded), not just when the document has finished loading. Also, don't do it at all if the user has scrolled manually between the first anchor scroll and the second. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@246661 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 10:01:18 +00:00
roc+%cs.cmu.edu
518c481375 Bug 417255. Rework getClientRects/getBoundingClientRect/offset* code to use a generic rectangle iterator API which drills down through anonymous blocks, fixing IE compat. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@246654 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 09:26:17 +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
myk%mozilla.org
425e84676b backing out fix for bug 416534 as potential cause of mochitest failure
git-svn-id: svn://10.0.0.236/trunk@246615 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:23:38 +00:00
dbaron%dbaron.org
d12fc8f165 Fix todo expected to be fixed by bug 363248.
git-svn-id: svn://10.0.0.236/trunk@246612 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:55:20 +00:00
jonas%sicking.cc
05e58d7ee2 Bug 416534: Clean up cross-site xmlhttprequest security checks. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@246608 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:17:52 +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
cd15018c12 Bug 394473 - "caret/cursor in View Source is invisible since 20070628 {not rendered, seen, can't, cannot, shown, displayed}" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r=peterv r+sr=roc a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@246598 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 01:49:47 +00:00
dtownsend%oxymoronical.com
09cf157306 Bug 409025: OBJECTs with type attribute but no data attribute do not fire
plugin errors. r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@246583 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 00:29:02 +00:00
Olli.Pettay%helsinki.fi
c0611dee35 Bug 402982, fixing bustage
git-svn-id: svn://10.0.0.236/trunk@246535 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 15:10:01 +00:00
Olli.Pettay%helsinki.fi
dc79137dfc Bug 402982, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@246529 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 14:47:52 +00:00
Olli.Pettay%helsinki.fi
0ab87464e4 Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@246523 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 12:40:21 +00:00
jruderman%hmc.edu
fecec1a80e Add crashtests
git-svn-id: svn://10.0.0.236/trunk@246504 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 04:44:03 +00:00
karlt+%karlt.net
8428f09fe1 don't use frame origin offsets to store ascents. b=363240, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@246503 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 04:19:36 +00:00
Olli.Pettay%helsinki.fi
bf18752f9f Bug 409380, support 'unconnected' ranges , r+sr+a=sicking
git-svn-id: svn://10.0.0.236/trunk@246413 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 12:46:09 +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
reed%reedloden.com
398855e225 Bug 419147 - "MOZ_XUL define required for nsContentUtils::HidePopupsInDocument" [p=romaxa@gmail.com (romaxa) r+sr=bzbarsky a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@246401 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 07:40:39 +00:00
roc+%cs.cmu.edu
157557ef49 Bug 157546. 'Delete' key should delete entire cluster. patch by Theppitak Karoonboonyanan, r+sr=roc,a=schrep
git-svn-id: svn://10.0.0.236/trunk@246267 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 02:24:05 +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
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
Olli.Pettay%helsinki.fi
7112bdfcc6 Bug 418727, Save as text only includes the email subject, r+sr=peterv, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246210 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 18:45:57 +00:00
reed%reedloden.com
088f0a4ab1 Back out patch from Theppitak Karoonboonyanan in bug 157546 due to test failures.
git-svn-id: svn://10.0.0.236/trunk@246075 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 11:10:17 +00:00