Commit Graph

791 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
11bb92e4a8 Bug 482206 and bug 465806. Use all of our security information from a single place. r+sr=jst, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256544 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 01:16:24 +00:00
Olli.Pettay%helsinki.fi
5665398acc Bug 471166, r+sr=sicking, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256073 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-03 14:18:47 +00:00
bzbarsky%mit.edu
1b3e511f1c Bug 445004. Make the base and document URI of document.written documents be the
base and document URI of the document on whose current context our code is
running. r+sr=jst, r=dcamp

Bug 465752. Fix Equals() to work right on javascript: URIs. r=dcamp, sr=jst.

Both a=ss


git-svn-id: svn://10.0.0.236/trunk@255943 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-28 00:56:09 +00:00
jonas%sicking.cc
5454dee0ff Bugs 393629 and 436094. Fix document.all.length and make us honor the name attribute for the same set of elements as IE in the document.all implementation. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@253853 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-27 02:16:40 +00:00
Olli.Pettay%helsinki.fi
d5e97bb9f1 Bug 433758, r+sr=jst, a=ss
git-svn-id: svn://10.0.0.236/trunk@253722 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-20 15:24:18 +00:00
mrbkap%gmail.com
ae264f504c Deal with a dead docshell during document.open. bug 435128, r+sr=jst a=ss
git-svn-id: svn://10.0.0.236/trunk@253516 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-11 18:34:37 +00:00
peterv%propagandism.org
12abbe164f Fix for bug 430624 (Crash [@ nsDocShellEditorData::DetachFromWindow] with spellcheck attribute). Patch by cpearce, r=peterv, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@251098 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 11:36:31 +00:00
roc+%cs.cmu.edu
2adfc316d8 Bug 386782. save and restore editor state so that it isn't lost when a page goes into the bfcache and then comes back. patch by Chris Pearce, r+sr=peterv,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250716 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 21:36:19 +00:00
bent.mozilla%gmail.com
8369be1fe9 Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@250079 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-11 17:29:11 +00:00
jonas%sicking.cc
1cbce53417 Backing out due to test failures
git-svn-id: svn://10.0.0.236/trunk@249885 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 03:20:42 +00:00
jonas%sicking.cc
44f2be870f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking
git-svn-id: svn://10.0.0.236/trunk@249878 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 02:06:31 +00:00
gavin%gavinsharp.com
c19fe7ed44 Fix bug # typo in comment
git-svn-id: svn://10.0.0.236/trunk@248965 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-01 19:46:25 +00:00
jonas%sicking.cc
68059e3e37 Bug 424923: Remove support for cross-site XHR. r/sr=jst for code changes
git-svn-id: svn://10.0.0.236/trunk@248571 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-26 02:46:11 +00:00
Olli.Pettay%helsinki.fi
8d57076885 Bug 421366, [@ nsContentUtils::IsEventAttributeName] r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@248182 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 19:44:09 +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
reed%reedloden.com
d4d3aa8fc5 Bug 412920 - "[contenteditable] editable elements cannot be edited anymore after page refresh" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) / peterv@propagandism.org (Peter Van der Beken) r+sr=jst a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@246059 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 09:54:52 +00:00
dbaron%dbaron.org
a9c7cec63e Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep
git-svn-id: svn://10.0.0.236/trunk@245996 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 18:47:35 +00:00
dbaron%dbaron.org
90cff3a274 Back out for now, until I have a chance to fix reftests depending on old behavior.
git-svn-id: svn://10.0.0.236/trunk@245983 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 17:28:00 +00:00
dbaron%dbaron.org
d26fe6695b Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep
git-svn-id: svn://10.0.0.236/trunk@245980 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 16:48:09 +00:00
bent.mozilla%gmail.com
e21a2262ee Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9.
git-svn-id: svn://10.0.0.236/trunk@245266 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 22:07:53 +00:00
jwalden%mit.edu
81e14c8be6 Bug 414812 - document.domain = "0.0.1" on a page on 127.0.0.1 should not work. r=dwitte, sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245167 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 20:58:57 +00:00
jst%mozilla.org
c420b69437 Fixing bug 397791. Prevent document principals from ever changing, and make us not use XOWs for same origin document objects. r=jonas@sickin.cc, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@244015 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-25 21:49:11 +00:00
benjamin%smedbergs.us
cc4193bab8 Bug 412320 - Try code-generation for QI impls, r=roc+luser
git-svn-id: svn://10.0.0.236/trunk@243992 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-25 17:14:53 +00:00
benjamin%smedbergs.us
0a44d0e3e2 Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep
git-svn-id: svn://10.0.0.236/trunk@243117 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 15:51:02 +00:00
reed%reedloden.com
c8c8737090 Bug 408231 - "queryCommandEnabled( "formatblock" ) throws NS_ERROR_NOT_IMPLEMENTED" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@243040 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-14 09:26:25 +00:00
peterv%propagandism.org
6af1cd8484 Fix for bug 407053 ("Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread" with document.execCommand('copy', ...)). r/sr=jst, a=sicking.
git-svn-id: svn://10.0.0.236/trunk@242639 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 18:41:08 +00:00
mrbkap%gmail.com
6e9c6c5786 Add a way to find all of the XOWs for an object and use it to deal with hard cases where we have to clear the scope of XOWs in order to reflect changes to the underlying object. Also deal with objects moving between scopes by ensuring that we're always able to find their XOWs. bug 399587, r+sr=jst r=brendan for some last-minute changes added in this version.
git-svn-id: svn://10.0.0.236/trunk@242406 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-05 04:45:17 +00:00
jruderman%hmc.edu
be11a86adf Backing out mrbkap's fix for bug 399587, in the hope of fixing bug 410323 and perhaps bug 410291.
git-svn-id: svn://10.0.0.236/trunk@242348 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 04:12:48 +00:00
bzbarsky%mit.edu
c7879bf035 Backing out bug 409885, since this part of Necko happens not to exist.
git-svn-id: svn://10.0.0.236/trunk@242202 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-31 03:43:42 +00:00
bzbarsky%mit.edu
ba6705a4ea Fix bug 409885: don't do string-manipulation to set the domain on a URI.
r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@242199 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-30 23:35:42 +00:00
mrbkap%gmail.com
ba904fc180 Add a way to find all of the XOWs for an object and use it to deal with hard cases where we have to clear the scope of XOWs in order to reflect changes to the underlying object. Also deal with objects moving between scopes by ensuring that we're always able to find their XOWs. bug 399587, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@242189 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-30 04:34:51 +00:00
jst%mozilla.org
7ea4fcdbc4 Fixing bug 408792. Remove some expensive QI calls from frequently called code. r=jonas@sicking.cc, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@241908 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 13:44:59 +00:00
jonas%sicking.cc
fd6424c7ed Bug 366200: Fix problems with mRootContent being out of sync with mChildren by removing mRootContent. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@240892 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 02:26:10 +00:00
jonas%sicking.cc
9eb7c5a63e Bug 397828: Make window.document and document.open no longer be allAccess
git-svn-id: svn://10.0.0.236/trunk@240279 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 06:35:47 +00:00
jonas%sicking.cc
4a95bb78e2 backing out due to test failures
git-svn-id: svn://10.0.0.236/trunk@240229 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 18:56:00 +00:00
jonas%sicking.cc
bb36a7b116 Bug 397828: Make window.document and document.open no longer be allAccess
git-svn-id: svn://10.0.0.236/trunk@240228 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 18:24:27 +00:00
peterv%propagandism.org
7db7c16ea7 Fix for bug 404320 (FormatBlock doesn't work correctly will break existing Midas implementations). r/sr=jst, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@240075 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-28 23:38:20 +00:00
bzbarsky%mit.edu
860025cdfa Make getElementById in HTML always return the first node in document order.
Bug 403868, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@239811 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-22 02:28:54 +00:00
peterv%propagandism.org
1562e95bd8 Fix for bug 390446 (Javascript is still disabled after leaving a page that had designMode on). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@239207 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 14:47:04 +00:00
dwitte%stanford.edu
bcfbe622ee Bug 400552 - setting document.domain inconsistent in face of IDN whitelist. r+sr+a1.9=jst
git-svn-id: svn://10.0.0.236/trunk@239192 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 07:58:16 +00:00
peterv%propagandism.org
f1277c5a42 Fix for bug 402284 (Switching between designMode and contentEditable broken). r=cpearce, sr=roc, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@238559 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-05 21:19:52 +00:00
roc+%cs.cmu.edu
bd99461268 Bug 389350. Making a display:none IFRAME editable doesn't work. patch by Chris Pearce, r=brade,sr=roc,a=damon
git-svn-id: svn://10.0.0.236/trunk@238430 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-02 00:51:08 +00:00
reed%reedloden.com
8169616075 Bug 391429 - "Editor caret is hidden in XULRunner applications, but visible in Firefox" [p=matt@songbirdnest.com (Matt Crocker) r+sr=peterv aM9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@238394 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-31 18:51:50 +00:00
peterv%propagandism.org
d74d86b7d9 Fix for bug 401288 (Crash in Composer [@ PresShell::GetSelection][@ nsCOMArray_base::InsertObjectAt]). r/sr=bz, a=endgame.
git-svn-id: svn://10.0.0.236/trunk@238311 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-29 18:22:48 +00:00
peterv%propagandism.org
3c709cb608 Fix for bug 395340 (Crash [@ nsINode::GetNodeParent] with CSS counters and contentEditable). r/sr=bz, a=endgame.
git-svn-id: svn://10.0.0.236/trunk@238198 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-26 10:30:44 +00:00
dwitte%stanford.edu
c66b74a11b rework effective tld service interface, fix normalization bugs and improve error propagation. b=368989, r=biesi, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@238135 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-25 08:14:27 +00:00
bzbarsky%mit.edu
66999aa928 Put the notification about root removal in document.open inside an update
batch.  Bug 399803, r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@237919 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 16:01:09 +00:00
bzbarsky%mit.edu
c929b7fe04 Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking.
git-svn-id: svn://10.0.0.236/trunk@232422 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 22:55:08 +00:00
smontagu%smontagu.org
62c6bac8bc Add docCharsetIsForced member to nsIDomWindowUtils. Bug 391631, r+sr=bz, a=jst
git-svn-id: svn://10.0.0.236/trunk@231895 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-11 18:37:16 +00:00
jonas%sicking.cc
857bbdaa67 Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
git-svn-id: svn://10.0.0.236/trunk@231095 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 02:49:19 +00:00