smontagu@smontagu.org
30e73a1db8
Add docCharsetIsForced member to nsIDomWindowUtils. Bug 391631, r+sr=bz, a=jst
2007-08-11 11:37:16 -07:00
bzbarsky@mit.edu
c466dc3f79
Switch the order of Content-Disposition and Content-Type headers for non-file parts of multipart form submissions to match that for files. Apparently some server software depends on the order of the MIME headers! Bug 116346 followup, r+sr=jst
2007-08-10 17:32:33 -07:00
peterv@propagandism.org
e503287f65
Fix for bug 387380 (No visible caret when caret browsing). r=smaug, sr=jst, a=dbaron.
2007-08-10 06:19:13 -07:00
bzbarsky@mit.edu
96ec7b6a69
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
2007-08-09 22:35:08 -07:00
bzbarsky@mit.edu
e95c66ecef
Fixing test
2007-08-09 12:54:25 -07:00
bzbarsky@mit.edu
0905dde51a
Another test.
2007-08-09 11:58:37 -07:00
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
Olli.Pettay@helsinki.fi
5c3a599079
Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz
2007-07-03 04:49:40 -07:00
peterv@propagandism.org
76a2c4d37f
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0f0097ffc5
Backing out to fix orange.
2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
2007-06-27 15:29:45 -07:00
vladimir@pobox.com
27adfe5287
b=385584, crash with toDataURL on large canvas, r=stuart
2007-06-25 09:24:19 -07:00
mats.palmgren@bredband.net
d02f9373bf
Fix offsetLeft/Top regression for rel.pos. elements with a table(cell) offset parent. b=384419 r+sr=roc
2007-06-23 00:39:04 -07:00
jonas@sicking.cc
50513d81cc
Backing out previous checkin since leaks went up
2007-06-18 16:21:28 -07:00
sayrer@gmail.com
dd79d4341b
bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst
2007-06-18 15:44:11 -07:00
jonas@sicking.cc
d53f4d97f7
Bug 348156: Don't rely on UnbindFromTree to break cycles since that puts us in an inconsistent state. r/sr=jst
2007-06-18 15:27:27 -07:00
bzbarsky@mit.edu
d7b47663a4
Don't allow loads to start in a docshell that's firing the unload event. Alsodon't allow document.open of the document in that docshell. Bug 371360,r=biesi, sr=jst
2007-06-14 11:18:05 -07:00
mats.palmgren@bredband.net
af93a34b6b
Second attempt at mochitests for bug 375003.
2007-06-13 18:21:13 -07:00
mats.palmgren@bredband.net
8e2a241b4b
Disabling tests for bug 375003 for now to fix orange.
2007-06-13 17:38:54 -07:00
mats.palmgren@bredband.net
4805e0ce39
Fix offsetLeft/Top for nested tables and clientLeft/Top for some elements with non-zero margins. b=375003 r+sr=roc
2007-06-13 17:08:10 -07:00
bzbarsky@mit.edu
4c062a36e2
Make the about:blank documents created by CreateAboutBlankContentViewer havethe same encoding as real about:blank documents (that is, UTF-8). Bug 380383,r+sr=jst
2007-06-07 00:13:04 -07:00
bzbarsky@mit.edu
25b1740402
Don't react to changes in anonymous content subtrees. Bug 383137, r+sr=sicking
2007-06-04 20:29:50 -07:00
roc+@cs.cmu.edu
cf38be799a
Bug 174397. Support getClientRects and getBoundingClientRect on DOM elements. r=jonas,dbaron; sr=tor, plus help from Anne van Kesteren and Martijn Wargers
2007-05-30 15:32:54 -07:00
jonas@sicking.cc
a8a2928a3a
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
2007-05-30 13:43:41 -07:00
peterv@propagandism.org
98955fbcad
Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking.
2007-05-24 07:10:02 -07:00
sharparrow1@yahoo.com
5749eaf63e
Bug 365189 document.width/document.height flush layout too late. r+sr=roc.
2007-05-22 20:52:53 -07:00
Olli.Pettay@helsinki.fi
da84b4a799
Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz
2007-05-22 14:45:03 -07:00
mrbkap@gmail.com
9669228ea9
Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking
2007-05-17 16:54:35 -07:00
gavin@gavinsharp.com
d43420f5f7
Revert unintentional change from bug 374723, r=dolske
2007-05-16 11:59:32 -07:00
gavin@gavinsharp.com
19ca63911e
Bug 374723: re-design password manager API and implement in JS rather than C++, patch by Justin Dolske <dolske@mozilla.com>, r=mconnor, r=me
2007-05-16 03:02:45 -07:00
cbiesinger@web.de
9b8503bb13
Bug 370195 – sql device for the offline cachepatch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest)
2007-05-14 13:09:20 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
95764e882c
Put content types and charsets on the text/plain parts of the form submissionfor multipart POST submissions. Bug 116346, patch by David Nesting<david@fastolfe.net>, r=bzbarsky, sr=sicking
2007-05-13 21:00:49 -07:00
bzbarsky@mit.edu
5b2ec7d443
Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking
2007-05-13 20:52:48 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b
backout Bug 363089
2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
dbaron@dbaron.org
ce027d98d6
Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
2007-05-10 23:00:26 -07:00
bzbarsky@mit.edu
a78167f98d
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 wyciwygchannel, instead of just claiming to be UTF-16. Bug 255820, r+sr=jst
2007-05-08 19:47:58 -07:00
bzbarsky@mit.edu
5a139c8a8d
Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron
2007-05-02 18:15:53 -07:00
bzbarsky@mit.edu
32d3d359f4
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(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
2007-05-01 15:24:20 -07:00
dbaron@dbaron.org
394f44d6ff
Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky
2007-04-28 09:01:24 -07:00
bzbarsky@mit.edu
ff1caef5dc
Don't unblock onload on the document if we no longer have a parser. Bug375051, r=mbkap, sr=sicking
2007-04-26 21:05:08 -07:00
asqueella@gmail.com
f9b2a89c07
Bug 368700 - Using TLDs in document.domain should not be allowedp=Wladimir Palant <trev.moz@adblockplus.org>r=bz, sr=dveditz
2007-04-25 13:48:28 -07:00
bzbarsky@mit.edu
3cfe7cdfcc
Don't drop the old sheet when "rel" changes from one value that contains"stylesheet" to anoher. Bug 360746, r+sr=sicking
2007-04-25 11:48:18 -07:00
peterv@propagandism.org
f61971e016
Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
2007-04-25 09:35:27 -07:00
benjamin@smedbergs.us
2e25a321f8
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu
d4cb1b7d7b
Set the status bar before actually handling the DOM event. That way if theevent is canceled, we'll still show the right status bar text. Bug 40838,patch by Florian Quèze <f.qu@queze.net, r=smaug, sr=bzbarsky
2007-04-23 00:31:21 -07:00
bzbarsky@mit.edu
c585c92179
Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking
2007-04-20 15:59:18 -07:00
philringnalda@gmail.com
55c09af394
Bug 370561 - Make nsIFormSubmitObserver scriptable, patch by Justin Dolske <dolske@mozilla.com>, r+sr=jst
2007-04-16 21:06:12 -07:00
sayrer@gmail.com
d7d1c2bc07
Bug 311681 xhtml tests pass now that we have an incremental XML content sink.
2007-04-16 08:53:04 -07:00
sayrer@gmail.com
0ce8af1698
Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky
2007-04-16 08:18:50 -07:00