Граф коммитов

4693 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky@mit.edu e51e8403e6 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
bzbarsky@mit.edu a8457697e3 Don't make getting .selected change what .selected returns in the future. Bug 391994, r+sr+a=sicking 2007-08-20 20:24:11 -07:00
bzbarsky@mit.edu 3200cf8f82 Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking. 2007-08-20 15:55:06 -07:00
Olli.Pettay@helsinki.fi 56c1fe60b8 Bug 277890, disabling BUTTON after form.submit() prevents submission, r+sr=bz, a=1.9+, mochitest by ispiked@gmail.com 2007-08-16 14:10:29 -07:00
smontagu@smontagu.org 19b3a3893e Add docCharsetIsForced member to nsIDomWindowUtils. Bug 391631, r+sr=bz, a=jst 2007-08-11 11:37:16 -07:00
bzbarsky@mit.edu 00de428dd3 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 f7dd41f11e 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 bd826c03d9 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 3a65a576bf Fixing test 2007-08-09 12:54:25 -07:00
bzbarsky@mit.edu 2eec9423fa Another test. 2007-08-09 11:58:37 -07:00
bzbarsky@mit.edu 2faa9c4f7b Remove windows newlines that snuck in 2007-08-09 11:45:32 -07:00
bzbarsky@mit.edu b8428a37d9 Adding tests contributed by jlurz24@gmail.com 2007-08-09 11:43:35 -07:00
bzbarsky@mit.edu 16e6040261 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 7940ebdc50 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 168f172e4a 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 56c4215580 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 d0ed3cca65 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 8055cc942f Bug 389694, r+sr=jst, a=dbaron 2007-08-05 06:24:30 -07:00
bzbarsky@mit.edu 55917d8d88 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 e27bf19d9a 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 23898aef7e Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi 2007-07-26 19:49:18 -07:00
jonas@sicking.cc 5784b0a2f5 backout due to orange 2007-07-26 16:34:22 -07:00
jonas@sicking.cc 1d3132db39 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
sharparrow1@yahoo.com 56f40ef3d3 Bug 389663: CSS test crashes Firefox. r+sr=dbaron/bz 2007-07-26 13:20:30 -07:00
Olli.Pettay@helsinki.fi bd0b7ea6d7 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi e8dba5a1b4 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
bzbarsky@mit.edu b14f84b39f 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 ce0012891f fix build bustage 2007-07-25 17:55:13 -07:00
jonas@sicking.cc 7b5790be13 fix build bustage 2007-07-25 17:53:55 -07:00
jonas@sicking.cc 69dab05626 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 5e7a58ed01 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 21b4c8ea53 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 3275bdde05 Mochitest for bug 388746 2007-07-24 07:14:46 -07:00
bzbarsky@mit.edu 70f1323690 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 0047149c8a Bug 388746, Mutation events don't work with input element, r+sr=bz 2007-07-20 16:20:33 -07:00
cbiesinger@gmx.at 15c6e7f92d 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 e6f858edf7 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 29258f440f 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 8d6acba976 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 b66e0608e5 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 a8f0fd523f 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 4d53ccf996 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 4362818fae Mochitest for bug 386496. 2007-07-12 05:06:05 -07:00
peterv@propagandism.org b816d15aa2 Correct error in testcase. 2007-07-11 11:52:24 -07:00
peterv@propagandism.org f7ff5666a6 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 10de8387c8 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 7f47643f52 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 4d46bda6dc 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 c164c6d8ce implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst 2007-07-08 23:19:27 -07:00
jwalden@mit.edu 6d7584839a 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