1754 Commits

Author SHA1 Message Date
jwalden%mit.edu
629c643477 Use ok(a === b) since we're getting null in one of the test failures, actually, followup to bug 199692 commit.
git-svn-id: svn://10.0.0.236/trunk@233344 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 21:37:54 +00:00
jwalden%mit.edu
7b3c754a8a Convert an is to a todo until we figure out what's wrong here, followup to bug 199692 commit.
git-svn-id: svn://10.0.0.236/trunk@233343 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 21:36:13 +00:00
jwalden%mit.edu
970dfaf24a Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst
git-svn-id: svn://10.0.0.236/trunk@233340 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 20:38:46 +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
ginn.chen%sun.com
7103fbf947 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest
r=benjamin a=dsicore


git-svn-id: svn://10.0.0.236/trunk@231518 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 03:22:43 +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
dcamp%mozilla.com
807016d25e implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229529 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-09 06:19:29 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
peterv%propagandism.org
1d34830fc7 Mochitest for bug 386495. r=Martijn.
git-svn-id: svn://10.0.0.236/trunk@229486 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 16:26:01 +00:00
peterv%propagandism.org
fad7aa0a8a Fix for bug 386728 (Setting the contenteditable attribute through js twice doesn't work). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@229418 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 10:44:14 +00:00
mats.palmgren%bredband.net
38b1552fe2 Use predefined load types instead of rolling our own. b=385663 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@229280 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 21:41:32 +00:00
peterv%propagandism.org
bd5c883b9d Fix for bug 386495 (Javascript is not disabled when designMode is on). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@229240 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 11:54:41 +00:00
peterv%propagandism.org
9e04fca5dd Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228918 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 02:48:22 +00:00
peterv%propagandism.org
857e346b36 Backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@228906 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 23:21:09 +00:00
peterv%propagandism.org
4161532453 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 22:29:54 +00:00
sayrer%gmail.com
d143b58aff bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@228268 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 22:44:12 +00:00
bzbarsky%mit.edu
7bd3f5ccc3 Don't allow loads to start in a docshell that's firing the unload event. Also
don't allow document.open of the document in that docshell.  Bug 371360,
r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@228064 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 18:18:06 +00:00
bzbarsky%mit.edu
f1500f3ae7 Make the about:blank documents created by CreateAboutBlankContentViewer have
the same encoding as real about:blank documents (that is, UTF-8).  Bug 380383,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@227635 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-07 07:13:05 +00:00
jonas%sicking.cc
8aac19d83c Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@227284 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 20:43:42 +00:00
sharparrow1%yahoo.com
b64088b1a1 Bug 365189 document.width/document.height flush layout too late. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@226847 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 03:52:53 +00:00
Olli.Pettay%helsinki.fi
8b4c3d38dd Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@226813 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 21:45:07 +00:00
mrbkap%gmail.com
5b0afeed77 Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking
git-svn-id: svn://10.0.0.236/trunk@226590 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 23:54:35 +00:00
cbiesinger%web.de
6e69609e46 Bug 370195 – sql device for the offline cache
patch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest)


git-svn-id: svn://10.0.0.236/trunk@226398 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 20:09:20 +00:00
bzbarsky%mit.edu
fa937acf1d Process XBL constructors right after the frame construction in
InitialReflow().  Bug 377119, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@226371 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 03:52:49 +00:00
bzbarsky%mit.edu
9c1042b2f2 Store the charset we had when we were written into when document.open()
happens.  Then restore that as the document charset when loading from a wyciwyg
channel, instead of just claiming to be UTF-16.  Bug 255820, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@226169 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 02:47:59 +00:00
bzbarsky%mit.edu
d2d337437c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(0) to using this API.  Bug 378780.  API introduction part by me,
r+sr=jst.  Mass-changes done by taras using squash, r+sr=me


git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00