Commit Graph

105 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
385015ba6e Remove windows newlines that snuck in 2007-08-09 11:45:32 -07:00
bzbarsky@mit.edu
b73c8f1a0e Adding tests contributed by jlurz24@gmail.com 2007-08-09 11:43:35 -07:00
bzbarsky@mit.edu
73073f4f3b 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 2007-08-07 18:16:09 -07:00
mats.palmgren@bredband.net
07a2d5f8f3 Use NS_IMPL_ISUPPPORTS macros where possible. b=387211 r=neil sr=dbaron a19=pavlov 2007-08-07 08:18:36 -07:00
bzbarsky@mit.edu
0781ce3df5 Keep track of both the first submit in elements and the first submit not in elements, to speed up some operations. Bug 352980, r+sr+a=jst 2007-08-06 19:07:24 -07:00
bzbarsky@mit.edu
d85872ea5d Hoist the code for handling class and id up from nsGenericHTMLElement to the newly-created nsStyledElement so that it can be reused by MathML and to some extent by SVG. Bug 379178, patch by Daniel Kraft <domob@daniel-kraft.net>, r=jwatt for the SVG changes, r+sr=sicking for the rest, a=dsicore 2007-08-06 08:27:19 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
Olli.Pettay@helsinki.fi
f2e98e5085 Bug 389694, r+sr=jst, a=dbaron 2007-08-05 06:24:30 -07:00
bzbarsky@mit.edu
8fd955912f Make debug code not assert when it shouldn't. Bug 388712, r+sr=jst, a=dbaron 2007-08-02 15:46:36 -07:00
bzbarsky@mit.edu
40f1f36bf8 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
2007-08-02 10:54:36 -07:00
jonas@sicking.cc
24c4c1d539 Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi 2007-07-26 19:49:18 -07:00
jonas@sicking.cc
13974dde1b backout due to orange 2007-07-26 16:34:22 -07:00
jonas@sicking.cc
29f28d46a0 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
sharparrow1@yahoo.com
9ad46c47f5 Bug 389663: CSS test crashes Firefox. r+sr=dbaron/bz 2007-07-26 13:20:30 -07:00
Olli.Pettay@helsinki.fi
81c89897e3 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
ad51500682 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
bzbarsky@mit.edu
98aa732792 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.
2007-07-25 21:26:07 -07:00
jonas@sicking.cc
c5f5ce4a52 fix build bustage 2007-07-25 17:55:13 -07:00
jonas@sicking.cc
d0168d734e fix build bustage 2007-07-25 17:53:55 -07:00
jonas@sicking.cc
18a76cc5a2 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 2007-07-25 17:36:19 -07:00
dcamp@mozilla.com
0eee14ff27 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -07:00
dcamp@mozilla.com
67423b50ef Add an API to access <input type="file"> data. r=smontagu (for charset stuff), r+sr=jonas 2007-07-24 21:29:47 -07:00
Olli.Pettay@helsinki.fi
e98c007b61 Mochitest for bug 388746 2007-07-24 07:14:46 -07:00
bzbarsky@mit.edu
9197507fef Don't generate state keys at all, if there's nothing to get. Bug 388387, r+sr=sicking. 2007-07-20 20:00:02 -07:00
Olli.Pettay@helsinki.fi
6f794d2a0e Bug 388746, Mutation events don't work with input element, r+sr=bz 2007-07-20 16:20:33 -07:00
cbiesinger@gmx.at
21bb650203 Bug 347639 only load objects/embeds/applets once the object is inserted into the document
r+sr=bz
2007-07-20 13:14:38 -07:00
peterv@propagandism.org
cdf230c95d Fix for bug 388183 (Reloading this testcase causes crash [@
nsHTMLDocument::ChangeContentEditableCount] with null editor), now with correct whitespace. r/sr=jst.
2007-07-18 02:46:41 -07:00
peterv@propagandism.org
50535458f3 Fix for bug 388183 (Reloading this testcase causes crash [@
nsHTMLDocument::ChangeContentEditableCount] with null editor). r/sr=jst.
2007-07-18 02:44:22 -07:00
bzbarsky@mit.edu
9305b34a5f Avoid IndexOf calls while walking up the tree in FindForm(). Bug 388386, r+sr=jst 2007-07-17 18:50:18 -07:00
bzbarsky@mit.edu
ebb6687f3d Update the visual look of a file input when privileged script sets its value.
Bug 387978, r+sr=sicking
2007-07-13 21:46:09 -07:00
peterv@propagandism.org
b7d4207b3f Fix for bug 386996 (Can't tab past disabled inputs or textareas). r/sr=sicking. 2007-07-13 07:17:35 -07:00
bzbarsky@mit.edu
a4c90a1d9d 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.
2007-07-12 13:05:45 -07:00
peterv@propagandism.org
fc59f5fcf5 Mochitest for bug 386496. 2007-07-12 05:06:05 -07:00
peterv@propagandism.org
6567191b4d Correct error in testcase. 2007-07-11 11:52:24 -07:00
peterv@propagandism.org
2fb0fc711a Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz. 2007-07-11 06:05:05 -07:00
neil@parkwaycc.co.uk
11ed13d71f 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)]
2007-07-11 01:46:44 -07:00
bzbarsky@mit.edu
40d0244293 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
2007-07-10 20:42:11 -07:00
bzbarsky@mit.edu
66922fe009 Eliminate more callers of CheckSameOriginPrincipal in favor of
Equals/Subsumes.  Bug 387212, r=mrbkap, sr=jst
2007-07-09 21:22:55 -07:00
dcamp@mozilla.com
d746712d75 implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst 2007-07-08 23:19:27 -07:00
jwalden@mit.edu
e3c4baccae 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. 2007-07-08 00:08:04 -07:00
peterv@propagandism.org
944fbe2b30 Mochitest for bug 386728. r/sr=jst. 2007-07-07 09:51:37 -07:00
peterv@propagandism.org
6bc898324e Mochitest for bug 386495. r=Martijn. 2007-07-07 09:26:01 -07:00
peterv@propagandism.org
d6c79f7763 Fix for bug 386728 (Setting the contenteditable attribute through js twice doesn't work). r/sr=jst. 2007-07-06 03:44:14 -07:00
Olli.Pettay@helsinki.fi
2feaae333d Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz 2007-07-04 13:39:10 -07:00
mats.palmgren@bredband.net
db689821bf Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
mats.palmgren@bredband.net
37c59f403e Use predefined load types instead of rolling our own. b=385663 r+sr=bzbarsky 2007-07-03 14:41:32 -07:00
gavin@gavinsharp.com
a60fe167e5 Bug 253851: wait for background image loads before firing onload (match behavior of IE/Safari/Opera), r+sr=dbaron 2007-07-03 06:59:02 -07:00
Olli.Pettay@helsinki.fi
c4f362e8c7 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 06:37:32 -07:00
Olli.Pettay@helsinki.fi
da6f6b0061 back out bug 238987 2007-07-03 05:37:00 -07:00
peterv@propagandism.org
13008c2c6d Fix for bug 386495 (Javascript is not disabled when designMode is on). r/sr=jst. 2007-07-03 04:54:41 -07:00