4672 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
118abdc5f7 Make form.elements actually be sorted in DOM order, as our code assumes it to
be.  This does change the ordering from what we used to have in some edge
cases.  Let's hope they don't bite.  Bug 353415, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@231020 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:26:08 +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
dcamp%mozilla.com
2c8be0d039 Add an API to access <input type="file"> data. b=371432, r=smontagu (for charset stuff), r+sr=jonas
git-svn-id: svn://10.0.0.236/trunk@230905 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 04:29:49 +00:00
Olli.Pettay%helsinki.fi
df619d1736 Mochitest for bug 388746
git-svn-id: svn://10.0.0.236/trunk@230747 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 14:14:46 +00:00
bzbarsky%mit.edu
de3dca4e60 Don't generate state keys at all, if there's nothing to get. Bug 388387, r+sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@230408 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 03:00:03 +00:00
Olli.Pettay%helsinki.fi
71a695e3b6 Bug 388746, Mutation events don't work with input element, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@230401 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 23:20:33 +00:00
cbiesinger%gmx.at
48ae067e25 Bug 347639 only load objects/embeds/applets once the object is inserted into the document
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@230381 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 20:14:38 +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
959e8c5874 Avoid IndexOf calls while walking up the tree in FindForm(). Bug 388386, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@230162 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 01:50:18 +00:00
bzbarsky%mit.edu
85b795adfa Update the visual look of a file input when privileged script sets its value.
Bug 387978, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@229943 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 04:46:09 +00:00
peterv%propagandism.org
e5c1f6c006 Fix for bug 386996 (Can't tab past disabled inputs or textareas). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@229895 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 14:17:36 +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
peterv%propagandism.org
f160eb36bb Mochitest for bug 386496.
git-svn-id: svn://10.0.0.236/trunk@229800 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 12:06:05 +00:00
peterv%propagandism.org
2256e44558 Correct error in testcase.
git-svn-id: svn://10.0.0.236/trunk@229729 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 18:52:24 +00:00
peterv%propagandism.org
6dccfe3ea8 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@229697 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 13:05:06 +00:00
neil%parkwaycc.co.uk
998c53a562 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]


git-svn-id: svn://10.0.0.236/trunk@229689 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 08:46: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
e07d39fe08 Mochitest for bug 386728. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@229487 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 16:51:37 +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
Olli.Pettay%helsinki.fi
8823bd9f8d Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@229335 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 20:39:11 +00:00
mats.palmgren%bredband.net
fd18364353 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +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
gavin%gavinsharp.com
05d4064939 Bug 253851: wait for background image loads before firing onload (match behavior of IE/Safari/Opera), r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@229244 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 13:59:02 +00:00
Olli.Pettay%helsinki.fi
7d1d980bdd Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@229243 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 13:37:33 +00:00
Olli.Pettay%helsinki.fi
c94ce86117 back out bug 238987
git-svn-id: svn://10.0.0.236/trunk@229241 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 12:37:05 +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
Olli.Pettay%helsinki.fi
8e7e787c4b Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@229239 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 11:49: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
vladimir%pobox.com
12d9bfb52d b=385584, crash with toDataURL on large canvas, r=stuart
git-svn-id: svn://10.0.0.236/trunk@228689 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 16:24:21 +00:00
mats.palmgren%bredband.net
7d2b954422 Fix offsetLeft/Top regression for rel.pos. elements with a table(cell) offset parent. b=384419 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228622 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-23 07:39:05 +00:00
jonas%sicking.cc
643af0f02a Backing out previous checkin since leaks went up
git-svn-id: svn://10.0.0.236/trunk@228271 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:21:28 +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
jonas%sicking.cc
e33b4702b9 Bug 348156: Don't rely on UnbindFromTree to break cycles since that puts us in an inconsistent state. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@228267 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 22:27:28 +00:00