Commit Graph

1653 Commits

Author SHA1 Message Date
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
Olli.Pettay%helsinki.fi
a9ca3bc287 Bug 403830, arena for content, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@241344 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-15 09:45:37 +00:00
bzbarsky%mit.edu
99ede78674 Make document classes use QI tables as possible. Bug 408403, r+sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@241331 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-15 05:43:12 +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
jst%mozilla.org
2bc9672fe5 Fixing bug 407812. Don't waste time calling QI in nsNodeSH::PreCreate() and nsElementSH::PostCreate(). r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@240768 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-11 01:19:19 +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
bzbarsky%mit.edu
b3b441623f Fix very long-standing bug with incorrect insertion indices reported by the
HTML content sink.  Bug 404553, r+sr=peterv, a=schrep


git-svn-id: svn://10.0.0.236/trunk@239795 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 20:57:49 +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
7c693e494e Make sure to notify on the root if a flush happens before we've done so. Bug
397856, r=peterv, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@237254 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 05:16:35 +00:00
bzbarsky%mit.edu
c5ef255eb0 Fix orange from bug 390168 by adopting a slightly different approach. Reviews
from jst pending.


git-svn-id: svn://10.0.0.236/trunk@233051 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 01:45:15 +00:00
bzbarsky%mit.edu
d5d12866bb Make sure to store the security info correctly for wyciwyg. Bug 390168,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@233045 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 00:25:41 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
bzbarsky%mit.edu
762a211f7d Make sure to process style updates before reflow, and both before painting.
Bug 375436, r+sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@232489 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 02:57:08 +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
peterv%propagandism.org
3715685fe5 Fix for bug 387380 (No visible caret when caret browsing). r=smaug, sr=jst, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@231795 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 13:19:14 +00:00
bzbarsky%mit.edu
b9d92a233a Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal
and a uri.  Get the URI from the principal.  Bug 391438, r+sr+a=sicking


git-svn-id: svn://10.0.0.236/trunk@231781 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 05:35:09 +00:00
bzbarsky%mit.edu
3811c88532 Use the principal doing the load to decide on the URI to pass to content
policies.  This will help do the right thing for data:/javascript:/about:blank,
as well as allow us to skip content policies altogether if the caller is
system.  Bug 388597, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
Olli.Pettay%helsinki.fi
dab71982f2 Bug 389694, r+sr=jst, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231506 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-05 13:24:30 +00:00
bzbarsky%mit.edu
73e6ccf0ea Flush layout before starting to pump data into plug-ins if we started the data
load ourselves.  Fixes various issues with a number of plug-ins that expect
NPP_SetWindow() to have been called before NPP_WriteReady or NPP_Write.  Bug
381512, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@231321 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 17:54:37 +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
jonas%sicking.cc
7552c132af backout due to orange
git-svn-id: svn://10.0.0.236/trunk@231082 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 23:34:23 +00:00
jonas%sicking.cc
52ff6b27a1 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
git-svn-id: svn://10.0.0.236/trunk@231078 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:20:32 +00:00
sharparrow1%yahoo.com
5cb5f9fc09 Bug 389663: CSS test crashes Firefox. r+sr=dbaron/bz
git-svn-id: svn://10.0.0.236/trunk@231065 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 20:20:30 +00:00
Olli.Pettay%helsinki.fi
bd9a96d5b9 Backing out bug 275196, xml:id, to fix tp regression
git-svn-id: svn://10.0.0.236/trunk@231054 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 14:16:21 +00:00
Olli.Pettay%helsinki.fi
76bd637ef6 Bug 275196, xml:id, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@231049 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 12:22:17 +00:00
jonas%sicking.cc
17fc8d6da3 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@231001 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:55:13 +00:00
jonas%sicking.cc
8bb08f2a44 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@230999 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:53:55 +00:00
jonas%sicking.cc
54f24bdccb Bug 259332: Improve support for document.all such that we can deal with multiple elements with the same id and/or name. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@230997 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:36:20 +00:00
dcamp%mozilla.com
9f40ca2397 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@230909 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 05:35:40 +00:00
peterv%propagandism.org
69e67961a0 Fix for bug 388183 (Reloading this testcase causes crash [@
nsHTMLDocument::ChangeContentEditableCount] with null editor), now with correct whitespace. r/sr=jst.


git-svn-id: svn://10.0.0.236/trunk@230176 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 09:46:41 +00:00
peterv%propagandism.org
00c86ca6d2 Fix for bug 388183 (Reloading this testcase causes crash [@
nsHTMLDocument::ChangeContentEditableCount] with null editor). r/sr=jst.


git-svn-id: svn://10.0.0.236/trunk@230175 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 09:44:22 +00:00
bzbarsky%mit.edu
b5b433a6b7 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
bzbarsky%mit.edu
3906ef0e33 Don't start layout for XML just because the root has been opened. And don't
start layout until <html:head> closes if <html:head> gets opened.  For XHTML
documents, this should prevent flashes of unstyled content.

Also, don't flush tags unless forced to if a sheet is pending.

Bug 380028, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@229666 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 03:42:12 +00:00
bzbarsky%mit.edu
7970aabd91 Eliminate more callers of CheckSameOriginPrincipal in favor of
Equals/Subsumes.  Bug 387212, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@229589 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 04:22:56 +00:00