Commit Graph

223 Commits

Author SHA1 Message Date
jonas@sicking.cc
712951ab6c Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-11-30 09:57:03 -08:00
jonas@sicking.cc
2dce87330b Backing out due to mochitest failure 2007-11-29 01:34:51 -08:00
jonas@sicking.cc
a6bf2b9522 Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-11-29 00:41:25 -08:00
peterv@propagandism.org
ebc14cd2ab Fix for bug 404320 (FormatBlock doesn't work correctly will break existing Midas implementations). r/sr=jst, a=beltzner. 2007-11-28 15:38:20 -08:00
mrbkap@gmail.com
34b134b80d Propagate exceptions when they occur to avoid assertions. bug 393813, r+sr=jst a=schrep 2007-11-27 16:52:37 -08:00
dcamp@mozilla.com
7e50b9e738 fix test bustage from bug 369814. 2007-11-26 22:40:07 -08:00
bzbarsky@mit.edu
cc5ba1b527 Make getElementById in HTML always return the first node in document order. Bug 403868, r+sr=sicking 2007-11-21 18:28:47 -08:00
bzbarsky@mit.edu
fff5ab679b Fix very long-standing bug with incorrect insertion indices reported by the HTML content sink. Bug 404553, r+sr=peterv, a=schrep 2007-11-21 12:57:49 -08:00
bzbarsky@mit.edu
71abc8fcc3 The frame model depends on the span attribute, so changing span should reconstruct frames. Bug 403249, r=bernd, sr=roc 2007-11-18 10:56:49 -08:00
mats.palmgren@bredband.net
ab3cb86244 Add a flag to protect SetFocus() from recursive calls on the same element. b=401160 r+sr=peterv a=mtschrep 2007-11-16 16:30:53 -08:00
bzbarsky@mit.edu
9af276f16a Fix build bustage 2007-11-15 19:58:27 -08:00
bzbarsky@mit.edu
5ee6e45f66 Don't allow presentational attributes to set colors if the "don't use document colors" pref is set. Bug 400452, r+sr=dbaron 2007-11-15 19:46:42 -08:00
bzbarsky@mit.edu
c667bcaf6e Fix privacy leak where script could get the path to the file selected in a file input. Bug 143220, r+sr=sicking, a=schrep. 2007-11-14 22:16:06 -08:00
peterv@propagandism.org
57decd655d Fix for bug 390446 (Javascript is still disabled after leaving a page that had designMode on). r/sr=jst. 2007-11-12 06:47:03 -08:00
Olli.Pettay@helsinki.fi
81061b1ed0 Bug 402680, document.activeElement returns wrong node, r+sr=bz, a=mtschrep 2007-11-12 04:45:39 -08:00
dwitte@stanford.edu
f9a3bc65c3 Bug 400552 - setting document.domain inconsistent in face of IDN whitelist. r+sr+a1.9=jst 2007-11-11 23:58:16 -08:00
bzbarsky@mit.edu
62c606de98 HTMLAppletElement.code should not be an absolute URI. Bug 400485, r+sr=sicking 2007-11-07 09:18:44 -08:00
bzbarsky@mit.edu
8e4bab3632 Fix bug 390975: when a form that is not an ancestor of a form control is removed, clear the control's mForm pointer if it points to the now-removed form. r+sr=jst, a=damons 2007-11-07 09:01:23 -08:00
jruderman@hmc.edu
1d384e219d Fix bug 313984 by turning this bogus assertion into a warning. r=peterv, sr=jst, a=debug-only change. 2007-11-06 22:44:02 -08:00
peterv@propagandism.org
6569759f62 Fix for bug 402284 (Switching between designMode and contentEditable broken). r=cpearce, sr=roc, a=beltzner. 2007-11-05 13:19:52 -08:00
roc+@cs.cmu.edu
586cd70499 Bug 389350. Making a display:none IFRAME editable doesn't work. patch by Chris Pearce, r=brade,sr=roc,a=damon 2007-11-01 17:51:08 -07:00
reed@reedloden.com
b360da4efd Bug 391429 - "Editor caret is hidden in XULRunner applications, but visible in Firefox" [p=matt@songbirdnest.com (Matt Crocker) r+sr=peterv aM9=beltzner] 2007-10-31 11:51:49 -07:00
peterv@propagandism.org
86ecd29446 Fix for bug 401288 (Crash in Composer [@ PresShell::GetSelection][@ nsCOMArray_base::InsertObjectAt]). r/sr=bz, a=endgame. 2007-10-29 11:22:48 -07:00
peterv@propagandism.org
c22071e55e Fix for bug 395340 (Crash [@ nsINode::GetNodeParent] with CSS counters and contentEditable). r/sr=bz, a=endgame. 2007-10-26 03:30:44 -07:00
dwitte@stanford.edu
91a72f29e8 rework effective tld service interface, fix normalization bugs and improve error propagation. b=368989, r=biesi, sr=dveditz 2007-10-25 01:14:26 -07:00
jst@mozilla.org
911b85904a Backing out second part of the fix for bug 116346 to fix regression bug 392982. a=dsicore@mozilla.com 2007-10-24 15:49:12 -07:00
jst@mozilla.org
ca4e63c851 Backing out fix for bug 116346 to fix regression bug 392982. a=dsicore@mozilla.com 2007-10-24 15:21:01 -07:00
bzbarsky@mit.edu
feaf83ff90 Put the notification about root removal in document.open inside an update batch. Bug 399803, r+sr+a=jst 2007-10-19 09:01:09 -07:00
roc+@cs.cmu.edu
bd6f1fc294 Backing out fix for bug 345339 because of test failures 2007-10-09 20:39:16 -07:00
roc+@cs.cmu.edu
a92c012e1a Bug 345339. Stop using a generic hashtable to store element session history state in nsPresState. patch by Karthik Sarma, r+sr=roc,a=sicking 2007-10-09 19:15:23 -07:00
bzbarsky@mit.edu
55cdff892c Don't leak strings from <keygen>. Bug 398665, r=kaie, sr=jst, a=dbaron 2007-10-09 19:10:00 -07:00
bugzilla@standard8.plus.com
78473044fa Bug 397783 Remove lots of redundant nsISupportsArray include/forward definitions from content. r/sr=jst,a=dbaron 2007-10-09 11:41:54 -07:00
dbaron@dbaron.org
1c49aa6978 Allow MapRuleInfoInto to map data for multiple structs at the same time. b=240117 r+sr=bzbarsky a=roc 2007-10-08 14:58:22 -07:00
bzbarsky@mit.edu
b2f334ff8c adding test 2007-10-05 21:02:29 -07:00
bzbarsky@mit.edu
87724c6b26 Make sure to notify on the root if a flush happens before we've done so. Bug 397856, r=peterv, sr=sicking 2007-10-03 22:16:35 -07:00
jonas@sicking.cc
bbf61f58f0 Backing out bug 348156 since it caused Tp perf regressions 2007-10-02 14:12:30 -07:00
jonas@sicking.cc
f0a388873a Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-10-02 11:20:02 -07:00
Olli.Pettay@helsinki.fi
a6b454f086 Bug 388558, 'change' event isn't dispatched if user selects input field value from the autocomplete list, r=jst, sr=sicking, a=mconnor 2007-10-02 09:56:07 -07:00
dbaron@dbaron.org
f670c849e4 Back out sicking's patch from bug 348156 (remove unbinds from nsDocument::Destroy) due to crashing during talos test (probably tp test). 2007-09-28 21:14:42 -07:00
jonas@sicking.cc
acfcebebbc Bug 348156: Remove unbinds from nsDocument::Destroy as they cause badness. Break cycles using cycle collector instead. r/sr/a=jst 2007-09-28 16:57:00 -07:00
bent.mozilla@gmail.com
e974d54046 Bug 397319 - "Add JSAutoRequest to other users of GetArgvPtr". r+sr+a=jst. 2007-09-28 11:15:26 -07:00
jst@mozilla.org
df7831eb06 Fixing bug 391777. Make window.close() work on a modal content dialogs. r+sr+a=jonas@sicking.cc 2007-09-27 14:53:25 -07:00
vladimir@pobox.com
4dd2e87496 b=396972, clean up canvas API to avoid using internal API in contexts, r/a=stuart 2007-09-25 13:46:08 -07:00
longsonr@gmail.com
dee95ff531 Bug 395155 - Changing CSS text inside svg:style has no effect. r=tor,sr=roc,a=roc 2007-09-25 02:11:12 -07:00
bzbarsky@mit.edu
3ca9091c29 Slight code simplification. 2007-09-20 20:42:59 -07:00
reed@reedloden.com
b9cabd0e97 Bug 392567 - "Impossible to submit forms to JAR URLs" [p=trev.moz@adblockplus.org (Wladimir Palant) r=bzbarsky sr=sicking a1.9=sicking] 2007-09-05 21:29:17 -07:00
Olli.Pettay@helsinki.fi
a8001bd18a Bug 394700, update selectedIndex when mutation event listener modifies option list, r+sr+a=sicking 2007-09-04 12:35:04 -07:00
bzbarsky@mit.edu
1629ea8f55 Checking in test for bug 324378 and bug 214577 2007-08-31 20:42:19 -07:00
cbarrett@mozilla.com
41d03dfc0f Bustage fix. Backslash in a comment in a makefile, Bad Waldo! No Cookie! irl-r=biesi 2007-08-29 15:06:14 -07:00
jwalden@mit.edu
128440f16f So this test also fails when run inside an iframe, so I'm just disabling it entirely, still followup to bug 199692 commit. 2007-08-29 14:52:31 -07:00
jwalden@mit.edu
08b40f42af I'm stupid, followup to bug 199692 commit. 2007-08-29 14:43:57 -07:00
jwalden@mit.edu
ef93f59265 Use ok(a === b) since we're getting null in one of the test failures, actually, followup to bug 199692 commit. 2007-08-29 14:37:54 -07:00
jwalden@mit.edu
6d0942bae4 Convert an is to a todo until we figure out what's wrong here, followup to bug 199692 commit. 2007-08-29 14:36:13 -07:00
jwalden@mit.edu
d610945e9f Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst 2007-08-29 13:38:44 -07:00
Olli.Pettay@helsinki.fi
57325958ce Bug 339501, r=bz, sr=sicking, a=1.9+ 2007-08-28 00:09:32 -07:00
bzbarsky@mit.edu
ee50c0fc2c Fix orange from bug 390168 by adopting a slightly different approach. Reviews from jst pending. 2007-08-24 18:45:15 -07:00
bzbarsky@mit.edu
99dad3c6fe Make sure to store the security info correctly for wyciwyg. Bug 390168, r+sr=jst 2007-08-24 17:25:41 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
295ac223f1 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
b20e634109 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
03372522d9 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
2eb6dc5b73 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
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