Commit Graph

5152 Commits

Author SHA1 Message Date
jonas@sicking.cc
b8e5a0e2ea Bug 397828: Make window.document and document.open no longer be allAccess 2007-12-01 10:24:24 -08:00
jonas@sicking.cc
72c3e3035b 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
929e6f34af Backing out due to mochitest failure 2007-11-29 01:34:51 -08:00
jonas@sicking.cc
33299d3be4 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
8c1798748b 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
ec1cd4b887 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
d7bccf6f0d fix test bustage from bug 369814. 2007-11-26 22:40:07 -08:00
bzbarsky@mit.edu
eea905a151 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
8da3f16fa9 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
a2bba38560 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
885859c9d1 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
799740fff1 Fix build bustage 2007-11-15 19:58:27 -08:00
bzbarsky@mit.edu
15bd8eb8f4 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
a92adda3f5 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
5ba21b5fff 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
b19f405d98 Bug 402680, document.activeElement returns wrong node, r+sr=bz, a=mtschrep 2007-11-12 04:45:39 -08:00
dwitte@stanford.edu
7cd1a3bd1d 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
fbf6a41b48 HTMLAppletElement.code should not be an absolute URI. Bug 400485, r+sr=sicking 2007-11-07 09:18:44 -08:00
bzbarsky@mit.edu
b0e8154180 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
b6c57e11be 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
ec4d8ee149 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
649d6098d8 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
fad15ee5ce 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
9d8d683515 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
06888e0fcb 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
aa18a20ec3 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
223e6e9765 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
d4a5f4b693 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
7dbe0c2c0a 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
2763f9f7df Backing out fix for bug 345339 because of test failures 2007-10-09 20:39:16 -07:00
roc+@cs.cmu.edu
24f20d0cd0 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
07549c4ecf 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
9d3c3788b2 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
2bc4978388 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
e6d067fbcb adding test 2007-10-05 21:02:29 -07:00
bzbarsky@mit.edu
af2ed127ad 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
d5f33192a5 Backing out bug 348156 since it caused Tp perf regressions 2007-10-02 14:12:30 -07:00
jonas@sicking.cc
556991d5f5 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
7a162df868 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
50aed981d0 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
b2005734d6 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
1232ee381c Bug 397319 - "Add JSAutoRequest to other users of GetArgvPtr". r+sr+a=jst. 2007-09-28 11:15:26 -07:00
jst@mozilla.org
f9c2361632 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
8797e1dcc2 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
2cec607bf8 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
cf73a81f30 Slight code simplification. 2007-09-20 20:42:59 -07:00
reed@reedloden.com
9700f559c3 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
a07c6b326b 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
4f2dea1152 Checking in test for bug 324378 and bug 214577 2007-08-31 20:42:19 -07:00
cbarrett@mozilla.com
6b28d91e85 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
96c9a35da2 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
cb1e7c5b56 I'm stupid, followup to bug 199692 commit. 2007-08-29 14:43:57 -07:00
jwalden@mit.edu
6c83591ea2 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
ac914ef61f 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
4c25808b29 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
7980966643 Bug 339501, r=bz, sr=sicking, a=1.9+ 2007-08-28 00:09:32 -07:00
bzbarsky@mit.edu
5c53461a8a 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
54df6f7d82 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
a20d56bd8d 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
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
peterv@propagandism.org
a884abd3f8 Mochitest for bug 386728. r/sr=jst. 2007-07-07 09:51:37 -07:00
peterv@propagandism.org
ed5920ea00 Mochitest for bug 386495. r=Martijn. 2007-07-07 09:26:01 -07:00
peterv@propagandism.org
22a714aaea 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
bdca2685a3 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
42a227c78a Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
mats.palmgren@bredband.net
b125d74ea1 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
1bcd1f75b3 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
d57c010537 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
09de4e615b back out bug 238987 2007-07-03 05:37:00 -07:00
peterv@propagandism.org
cad259320f 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
c1fe374f29 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
6662efd338 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
90c374d7c3 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
7bf2741259 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
vladimir@pobox.com
0889c5fdd3 b=385584, crash with toDataURL on large canvas, r=stuart 2007-06-25 09:24:19 -07:00
mats.palmgren@bredband.net
3832520367 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
ac44cecea7 Backing out previous checkin since leaks went up 2007-06-18 16:21:28 -07:00
sayrer@gmail.com
5939f50f17 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
9d0c915718 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
ac7d66789b 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
7292bc0d11 Second attempt at mochitests for bug 375003. 2007-06-13 18:21:13 -07:00
mats.palmgren@bredband.net
edc38b37ee Disabling tests for bug 375003 for now to fix orange. 2007-06-13 17:38:54 -07:00
mats.palmgren@bredband.net
88e0a73d19 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
db2f43135f 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
de3fe36c4c 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
e34c7dff59 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
e8b9b78604 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
5acbaf5478 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
fb6e0510ad 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
b0100770e3 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
f101b9d312 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
54305fd674 Revert unintentional change from bug 374723, r=dolske 2007-05-16 11:59:32 -07:00
gavin@gavinsharp.com
405957fd02 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
383c82c5d9 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
7817abfbca Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
8e8c2513e1 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
2704d6350d 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
40178e46a3 backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
dbaron@dbaron.org
9920e003d3 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
2dac207d0b 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
51671d60c6 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
086c2eb0c0 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
7983f1a9af 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
b93abe4bf4 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
b620304f75 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
3fca79e5c1 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
f091506c2b Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
benjamin@smedbergs.us
baab01ada6 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
bcfbc64387 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
75d0ec2b2f 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
811bd70baf 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
e917fa2f97 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
b80cfd9871 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
sayrer@gmail.com
045ddc70c2 Bug 368994. Move mochitests near the code they test, round 6. r=bzbarsky 2007-04-14 10:46:36 -07:00
bzbarsky@mit.edu
3cbd119e85 Make sure to end our update before we decrement mSink->mInNotification. Bug373669, r+sr=sicking 2007-04-06 17:20:09 -07:00
enndeakin@sympatico.ca
7bf55f72a1 Bug 366478 - consolidate lists of onX event attributes, r=smaug,jwatt,sr=sicking 2007-04-02 10:17:36 -07:00
Olli.Pettay@helsinki.fi
46bd54500f Bug 373483, Crash [@ nsHTMLButtonElement::PostHandleEvent] when right-clicking on the button in this testcase, r+sr=jst 2007-04-02 09:13:45 -07:00
bzbarsky@mit.edu
a6d4a05c45 Adding test, bug 371375. 2007-03-28 13:25:20 -07:00
dbaron@dbaron.org
e7bb1b1c38 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
dbaron@dbaron.org
d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
jwatt@jwatt.org
f6ee23df95 Fixing bug 372098. HTML links with target="" should use the base target. r=Olli.Pettay@gmail.com, sr=jonas@sicking.cc 2007-03-26 06:19:33 -07:00
Olli.Pettay@helsinki.fi
a1dca72a56 375196, r+sr=roc 2007-03-25 22:38:22 -07:00
Olli.Pettay@helsinki.fi
bd6edd6ac3 Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst 2007-03-24 05:18:02 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
gavin%gavinsharp.com
8f78c94994 Add mochitest for bug 373589, original testcase by Jesse Ruderman <jruderman@gmail.com>, r=roc 2007-03-20 19:40:34 +00:00
gavin%gavinsharp.com
5ec080614d Bug 373589: fix crash [@ nsPresContext::DefaultLinkColor] trying to get link color for <body> that has been removed from the document, which was a regression from the patch for bug 372971, patch by Taras Glek <tglek@mozilla.com>, r+sr=roc 2007-03-20 00:21:29 +00:00
peterv%propagandism.org
e5d3f5db52 Fix for bug 373035 (Make content/dom code get nsDOMClassInfo without going through nsIDOMScriptObjectFactory). r/sr=jst. 2007-03-19 09:19:16 +00:00
mats.palmgren%bredband.net
1af15d8682 Implement DOM clientLeft and clientTop. b=111207 r+sr=roc 2007-03-15 23:05:13 +00:00
mats.palmgren%bredband.net
df5e2413a1 Fix DOM client/scroll/offsetWidth regression for tables. b=372365 r+sr=roc 2007-03-15 20:43:02 +00:00
roc+%cs.cmu.edu
81867edd87 Bug 367447. Support <link rel="offline-resource">. Patch by Dave Camp, r+sr=biesi 2007-03-14 01:52:07 +00:00
roc+%cs.cmu.edu
314f2ab5fd Bug 336682. Fix online/offline events to target and bubble propertly, and so that <body ononline= onoffline=> works. Patch by Chris Double, r+sr=jst,r=dbaron 2007-03-14 01:42:42 +00:00
bzbarsky%mit.edu
098348b001 Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking 2007-03-09 23:43:50 +00:00
gavin%gavinsharp.com
d7651009f5 Bug 372971: macro expansion for nsHTMLBodyElement, patch by Taras Glek <tglek@mozilla.com>, r+sr=roc 2007-03-09 19:34:30 +00:00
peterv%propagandism.org
a267e57680 Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron. 2007-03-09 13:14:06 +00:00
peterv%propagandism.org
12f2917956 Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst. 2007-03-08 11:17:16 +00:00
Olli.Pettay%helsinki.fi
baadb13165 Bug 372797, Convert ScrollFrameIntoView users to use ScrollContentIntoView, r+sr=roc 2007-03-07 19:08:36 +00:00
bzbarsky%mit.edu
372e1553c0 Back out bug 267833 to test performance effect. 2007-03-06 21:12:49 +00:00
bzbarsky%mit.edu
448ba1fa30 Fire XBL constructors asynchronously after binding attachment, unless we're in
the middle of an update.  In that case, fire them at the end of the update.
Bug 267833, r+sr=sicking, fingers-crossed=me
2007-03-06 19:36:36 +00:00
Olli.Pettay%helsinki.fi
4e0ebc823d Bug 372665 ��� Crash [@ PresShell::ScrollFrameIntoView] when focusing br during pageload. (Adding ScrollContentIntoView), r+sr=roc 2007-03-06 09:53:56 +00:00
jonas%sicking.cc
25f98dc2f4 Bug 371576: Execute scripts syncronously when inserted in the tree whenever possible. r/sr=bz 2007-03-01 08:11:40 +00:00
philringnalda%gmail.com
fac15b5568 Bug 265300: Check for subject in email form submission should be case-insensitive, r+sr=bz 2007-02-28 04:57:13 +00:00
martijn.martijn%gmail.com
27c63ebcaa Should have used tabs, instead of spaces for the Makefile.in, this fixes it (bug 330705) 2007-02-24 23:14:46 +00:00
martijn.martijn%gmail.com
00f2c4fcd0 Adding mochikit tests for bug 330705, r=asqueella 2007-02-19 14:55:46 +00:00
asqueella%gmail.com
e70812ddff bug 370371 - remove nsIImageControlFrame, have the frame set the last clicked point as a property on its mContent instead.
r+sr=roc
2007-02-18 16:49:54 +00:00
peterv%propagandism.org
0e04a8b0f2 Fix for bug 368549 (Cycle collector doesn't handle tearoffs correctly). r=graydon, sr=jst. 2007-02-18 14:38:04 +00:00
sharparrow1%yahoo.com
eb357147b1 Bug 370492: Stop using views for event.PageX/Y, event.layerX/Y, image.x/y. r+sr=roc. 2007-02-18 10:43:12 +00:00
Olli.Pettay%helsinki.fi
b9fb6b8e8b Bug 370521, TextArea not firing onchange event, r=mats, sr=bz 2007-02-16 16:19:28 +00:00
Olli.Pettay%helsinki.fi
805e0ff0f8 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking 2007-02-15 23:04:33 +00:00
jonas%sicking.cc
ccd6aa3575 Bug 370230: unbreak --enable-perf-metrics. Patch by me and Mats Palmgren. r/sr=jst 2007-02-13 21:18:25 +00:00
Olli.Pettay%helsinki.fi
aec6ee9631 Bug 339287, support accesskey attribute, p=surkov, r=me+mats, sr=jst 2007-02-13 15:02:57 +00:00
sharparrow1%yahoo.com
d19f64369b Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
Olli.Pettay%helsinki.fi
15622f9e99 Bug 197052, crash/hang when using innerHTML recursively, r+sr=jst 2007-02-11 00:30:20 +00:00
bzbarsky%mit.edu
a4d21ad523 Make the is() do the right thing. 2007-02-10 02:30:16 +00:00
bzbarsky%mit.edu
86e366bfb8 Make location check an is() now that bug 269270 is fixed. 2007-02-09 06:52:52 +00:00
bzbarsky%mit.edu
8c89c88908 Fix bug 348809. r+sr=dbaron 2007-02-09 06:20:47 +00:00
sharparrow1%yahoo.com
76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
sayrer%gmail.com
0ef873eec0 Bug 368994. more mochitests in content/. r=bzbarsky 2007-02-06 00:20:25 +00:00
sayrer%gmail.com
5d42df0c63 Bug 368994. move more tests. r=bzbarsky 2007-02-05 03:19:35 +00:00
sayrer%gmail.com
0a01963833 Bug 368994. move tests for bug 100533. r=bz 2007-02-04 00:55:27 +00:00
bzbarsky%mit.edu
0b8624e346 Hoist the ref-scrolling stuff up to nsContentSink. Bug 369015, r+sr=sicking 2007-02-03 00:48:29 +00:00
bzbarsky%mit.edu
9db5bfa7c8 Make sure to initialize all members and that sort of thing. Bug 369011, r+sr=sicking 2007-02-02 02:12:48 +00:00
sayrer%gmail.com
b578414ff5 Bug 368994. move more content/ unit tests. r=sicking 2007-02-01 21:44:40 +00:00
sayrer%gmail.com
0c7db29caf Bug 368994. moving test cases closer to the code they test. r=bzbarsky 2007-02-01 18:24:32 +00:00
sayrer%gmail.com
477c951cff Bug 368994. moving test cases closer to the code they test. r=bzbarsky 2007-02-01 18:06:09 +00:00
sayrer%gmail.com
a04f24f617 Bug 357450. Implement getElementsByClassName. r=jst, sr=peterv 2007-02-01 15:14:00 +00:00
dbaron%dbaron.org
1e0db05c93 Make default table and hr border colors be gray rather than special values that depend on the background color, and remove the special values that depend on the background. b=84307 Patch by fantasai <fantasai.bugs@inkedblade.net>. r=bzbarsky sr=dbaron 2007-02-01 02:45:55 +00:00
jonas%sicking.cc
a9f34ee020 Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking 2007-01-30 21:21:06 +00:00
bzbarsky%mit.edu
fcd7e069de Make <style> elements notice text content changes. Bug 367612, r+sr=sicking 2007-01-30 05:50:22 +00:00
bzbarsky%mit.edu
b38b5e7e7c Fix bug 300691. r+sr=sicking 2007-01-30 05:48:22 +00:00
cvshook%sicking.cc
a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
sayrer%gmail.com
77bca2a8a4 Bug 368531. add content/html/document/test to the automatic run. r=bzbarsky 2007-01-29 17:56:19 +00:00
bzbarsky%mit.edu
bc0bc2fe1a Adding test for bug 172261 and bug 301510 2007-01-26 04:41:46 +00:00
bzbarsky%mit.edu
38c39c075b When going back or forward to wyciwyg pages, make sure to correctly restore
their principal from session history.  Bug 172261 and bug 301510, r+sr=jst
2007-01-26 04:37:16 +00:00
sayrer%gmail.com
5e2b571c62 Bug 366993. HTML doctype should always be capitalized. r+sr=jst 2007-01-23 01:16:27 +00:00
bzbarsky%mit.edu
42f3ef7afc Don't inherit the charset from the parent document if it comes from a different
origin.  Bug 356280, r+sr=jst
2007-01-13 03:28:00 +00:00
bzbarsky%mit.edu
3e855c8ae7 Back out part of the change for bug 351633 -- javascript: channels are wacky
enough that we still need special handling of them in form submission.  In
particular, they background themselves even when they're the document
channel, so forms don't get the notifications they expect.  Bug 364436, r+sr=jst
2007-01-11 17:58:36 +00:00
graydon%mozilla.com
40e2228cd0 Bug 366063: better fix to critical crasher, replacing band-aid submitted in 333078.
r=dbaron
2007-01-09 01:33:02 +00:00
graydon%mozilla.com
2296397878 Bug 333078, Temporary band-aid for nsImageDocument cycle collection crashers.
r=dbaron
2007-01-06 22:09:38 +00:00
mrbkap%gmail.com
7113bce53f Only do this security check if we don't already have a parser, since this call
won't do anything anyway. bug 364309, r+sr=bzbarsky
2007-01-05 22:02:22 +00:00
graydon%mozilla.com
4525ab79d9 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
jwatt%jwatt.org
bbb6339dc9 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc 2007-01-04 10:53:59 +00:00
peterv%propagandism.org
019102b4fd Fix for bug 362937 (Merge element's List and DumpContent implementations). r/sr=jst. 2006-12-27 17:26:32 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
374488b52a Don't forget to assign to rv. b=340554 r=sayrer 2006-12-22 17:28:48 +00:00
dbaron%dbaron.org
2084e073f8 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc 2006-12-20 01:23:45 +00:00
martijn.martijn%gmail.com
5a1320c6b6 Bug 330705 - Using blur() on some unfocused element also blurs the focused element, r=jst, sr=dbaron 2006-12-14 13:59:50 +00:00
cst%yecc.com
e3ced1732c Bug 301477 image zoom cursor does not change after resizing browser window
r=bz sr=jst
2006-12-14 02:06:49 +00:00
dbaron%dbaron.org
d5af630c22 Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc 2006-12-13 23:04:57 +00:00
bzbarsky%mit.edu
e1973f01bc Use string buffers to store strings in nsCSSValue so we don't have to alloc in
copy constructors and such.  Bug 350141, r+sr=dbaron
2006-12-13 15:49:36 +00:00
dbaron%dbaron.org
31f1898810 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
402faf8c9e Allow subframes that come from a different domain to document.write/open
themselves.  Bug 362837, r+sr=jst
2006-12-05 19:36:40 +00:00
bzbarsky%mit.edu
8bfd20a05a Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst 2006-12-05 15:46:18 +00:00
mats.palmgren%bredband.net
6a982b16f4 Use the EventStateManager to focus the for-element. b=360009 r=zeniko sr=bzbarsky 2006-12-01 17:18:34 +00:00
cvshook%sicking.cc
57b60e5e58 Bug 359888: Don't return NS_CONTENT_SCRIPT_IS_EVENTHANDLER to the sink/parser since they can't deal. r/sr=jst a=stuart 2006-11-30 00:06:00 +00:00
mats.palmgren%bredband.net
df6357f4ed Make sure text input onchange handler is called before onblur. b=357684 r=Olli.Pettay sr=bzbarsky 2006-11-28 13:08:23 +00:00
bzbarsky%mit.edu
91f9d8f94c Fix bug 277724 -- make <select>, <textarea>, <button> restore disabled state. r+sr=jst 2006-11-28 03:17:03 +00:00
vladimir%pobox.com
82a10357c9 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com
3748c8bf4f b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
bzbarsky%mit.edu
ff12d65834 This wasn't supposed to land 2006-11-22 18:52:32 +00:00
peterv%propagandism.org
e9fd67c3b6 Fix for bug 47903 (WRONG_DOCUMENT_ERR not being thrown). r=sicking, sr=bz. 2006-11-22 18:35:05 +00:00
bzbarsky%mit.edu
8a1b6c5e34 Make the redirect check get principals the same way we get them elsewhere.
Clean up some code to use the new security manager method.  Bug 354693,
r=dveditz, sr=sicking
2006-11-22 18:27:54 +00:00
cvshook%sicking.cc
636e4e6e5f Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron 2006-11-21 21:28:14 +00:00
Olli.Pettay%helsinki.fi
8b6f4c022e Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply 2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu
0a3a624149 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin
2006-11-10 23:49:08 +00:00
cvshook%sicking.cc
cefc7502df Fix svg:script and only flag inline scripts as executed once they contain non-empty script content. b=359598 r/sr=bz 2006-11-09 00:02:21 +00:00
cvshook%sicking.cc
e2a50bac16 Bug 359657: Fix crash due to wrong signature in overload. Patch by bz. r/sr=sicking 2006-11-07 01:05:15 +00:00
cvshook%sicking.cc
6152b2cf4d Bug 359490: Put BeginUpdate call before FlushText call in FlushTags. r/sr=bz 2006-11-06 23:50:33 +00:00
cvshook%sicking.cc
17ded5692c Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz 2006-11-04 05:45:02 +00:00
cvshook%sicking.cc
ab9eb703d2 Bug 330872: Make nsGenericDOMDataNode::AppendData send out proper notifications and add nsIContent::AppendText to allow appending text without sending out notifications. r/sr=bz 2006-10-28 01:22:53 +00:00
cst%yecc.com
a57aad3493 Bug 351969 nsImageDocument image scaling should never scale a dimension to 0px
r=biesi sr=jst
2006-10-26 01:49:38 +00:00
cvshook%sicking.cc
5a6d9399ce Bug 357445: Some cleanup of range code. r/sr=jst 2006-10-21 01:30:54 +00:00
bzbarsky%mit.edu
9468056c63 Make javascript: URI execution asynchronous. Bug 351633, r=jst, sr=biesi 2006-10-17 00:55:14 +00:00
cvshook%sicking.cc
98353dbc64 Fix assertion from bug 355451 rs=jst 2006-10-16 21:43:08 +00:00
ted.mielczarek%gmail.com
4d389ef1ef bug 296237, remove assert in getElementById, use the console service to provide feedback. patch by asqueella@gmail.com, r+sr=jst 2006-10-14 19:14:24 +00:00
cvshook%sicking.cc
f7d4a5a20e Bug 355451: Be more efficient when creating HTML elements. r/sr=jst 2006-10-13 22:54:12 +00:00
martijn.martijn%gmail.com
9a434cde5d Bug 339824 - use nsContentUtils priv checks in canvas, r=vladimir, sr=roc 2006-10-12 14:38:35 +00:00
ginn.chen%sun.com
ce8a3c3940 Bug 335900 add a null check for previous selected radio
r=neil
2006-10-12 13:30:07 +00:00
bzbarsky%mit.edu
c1ea034443 Remove nsIHTMLDocument::WasDomainSet. Use the principal instead, Luke! Bug
355948, r+sr=sicking
2006-10-10 01:07:45 +00:00
peterv%propagandism.org
1c221a6a94 Checking in fix for bug 349465 again since it didn't affect Ts/Tp. 2006-10-07 10:27:45 +00:00
peterv%propagandism.org
95ef08a41b Backing out fix for bug 349465 to see if it affects Ts/Tp (for bug 355457). 2006-10-06 15:55:30 +00:00
cvshook%sicking.cc
f5312f3542 Bug 355433: Add an array of cached nodeinfos to the html content sinks. r/sr=jst 2006-10-04 22:02:17 +00:00
peterv%propagandism.org
30e25afde3 Fix for bug 349465 (Adopting a node should change the cx of all its event handlers). r=smaug, sr=sicking. 2006-10-04 12:23:27 +00:00
Olli.Pettay%helsinki.fi
e570a5020d Bug 328907, Remove selectHas(No)Groups events, r+sr=sicking 2006-10-03 20:16:51 +00:00
bzbarsky%mit.edu
3070ad4f2c Create a faster, less COMy internal method for accessing the sorted list of
form control elements.  Bug 347165, patch by jpl24 <jlurz24@gmail.com>, r+sr=bzbarsky
2006-09-18 04:53:54 +00:00
peterv%propagandism.org
88c9a50cca Fix for bug 351823 (Consider copying more properties when changing ownerDocument). r/sr=bz. 2006-09-16 17:15:38 +00:00
cvshook%sicking.cc
9241f85443 Bug 352583: Add functions to nsContentUtils for getting and setting the text content of a node. Use those functions rather than the multiple instances of such code we have now. r/sr=jst 2006-09-15 19:54:45 +00:00
bzbarsky%mit.edu
60d105a0c2 Remove unneeded notification on node creation. Bug 351910, r+sr=sicking 2006-09-12 04:48:12 +00:00
Olli.Pettay%helsinki.fi
b7137c1ce5 Bug 343953, @ nsGenericHTMLElement::PostHandleEventForAnchors, r=bryner, sr=jst, p=mh+mozilla@glandium.org 2006-09-06 09:17:24 +00:00
peterv%propagandism.org
64ec124ee5 Fix for bug 347524 (Refactor adoptNode, importNode and cloneNode to share implementation). r/sr=bz. 2006-09-05 10:22:54 +00:00
Olli.Pettay%helsinki.fi
9856e8851d Bug 349069, Move more things from ~nsINode to nsNodeUtils::LastRelease, r+sr=sicking 2006-09-02 13:21:05 +00:00
Olli.Pettay%helsinki.fi
64e491c833 Bug 351036, Combine NS_IMAGE_ERROR and NS_SCRIPT_ERROR, r+sr=jst 2006-09-02 10:00:26 +00:00
Olli.Pettay%helsinki.fi
a42613e4f6 Bug 350846, Combine NS_***_LOAD events, r+sr=jst 2006-08-31 19:33:01 +00:00
timeless%mozdev.org
82e8b0f232 Bug 106386 Correct misspellings in source code
patch by alfred.peng@sun.com r=brade
2006-08-28 20:13:59 +00:00
pkasting%google.com
581157178e Bug 346373: Resync children when parent spellcheck attribute changes.
r=bzbarsky
sr=sicking
2006-08-25 00:15:14 +00:00
mats.palmgren%bredband.net
acfdb8a613 Make bordercolor attribute imply border-style:solid (for compat reasons). b=349655 r+sr=bzbarsky 2006-08-23 22:37:51 +00:00
pkasting%google.com
439b7f4033 Bug 348981: Crash toggling designMode.
This reverts the patch from bug 347200 and instead fixes that problem a
different way to avoid exposing crashes.
r+sr=bzbarsky
2006-08-18 02:38:40 +00:00
bzbarsky%mit.edu
acafb95d8a Fix build bustage. Bug 302186. 2006-08-16 05:21:44 +00:00
bzbarsky%mit.edu
a3a40f6eb5 Implement the :default CSS3 pseudo-class. Bug 302186, patch by Allan Beaufour
<allan@beaufour.dk> and jpl24 <jlurz24@gmail.com>, r+sr=bzbarsky
2006-08-16 03:20:19 +00:00
bzbarsky%mit.edu
e9379f3679 Remove special-casing of about:blank for security purposes; give about:blank
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst
2006-08-15 17:31:16 +00:00
timeless%mozdev.org
ba2c063b89 Bug 330331 Building with option --disable-xul failed
patch by romaxa@gmail.com r=timeless r=biesi sr=bz
Removing last traces of RDF dependency from HTMLDocument (bug 101995)

Only build toolkit download ifdef MOZ_RDF
Only build windowdatesource and the charset menu ifdef MOZ_RDF

Enable nsExternalHelperAppService to build w/o RDF.
Enable nsDirectoryViewer to build, this is enables geckos to work around bug 347782
Don't build nsHTTPIndex at all.
2006-08-14 22:36:15 +00:00
sayrer%gmail.com
6fa03a1730 Bug 340554. Provide sanitizing fragment sinks for use with feeds. r=mrbkap. sr=jst 2006-08-12 04:46:43 +00:00
pkasting%google.com
ff8e0408ce Bug 347200: Designmode documents aren't spellchecked by default.
r=brettw
sr=bryner
2006-08-08 00:32:43 +00:00
pkasting%google.com
db6d88984f Bug 133874: Remove link URL from status bar on blur.
r=Olli.Pettay
sr=sicking
2006-08-03 17:21:27 +00:00
mrbkap%gmail.com
a4bc274aec Protect document.open and document.close against some potential problems. bug 343168, r+sr=bzbarsky 2006-08-01 21:48:03 +00:00
cvshook%sicking.cc
2736630041 Bug 346744: Get rid of implementations of nsIContent::AppendChildTo and let it just forward to nsIContent::InsertChildAt. r/sr=bz 2006-07-31 22:38:07 +00:00
pkasting%google.com
e8d7da04bd Followup to bug 339127: Only sync the editor on attribute changes that
have aNotify true.  When aNotify is false, there shouldn't be an editor
to sync, so this should save a little time.
r+sr=bzbarsky
2006-07-31 22:07:51 +00:00
pkasting%google.com
2070e797b8 Bug 339127: Add "spellcheck" attribute to control spellchecking.
r=brettw
sr=sicking
2006-07-29 00:04:40 +00:00
cvshook%sicking.cc
fb232b36e6 Bug 338649. Only honor honor options that only have opgroup ancestors. r/sr=bz 2006-07-27 21:06:27 +00:00
mats.palmgren%bredband.net
5ddc7604b1 Null check current doc before using it. b=344787 r+sr=bzbarsky 2006-07-22 11:07:29 +00:00
bzbarsky%mit.edu
4a5022a00d Make some props absolute URIs resolved relative to other props (eg. codebase).
Bug 213701, patch by Florian Qu�ze <f.qu@queze.net>, r+sr=bzbarsky
2006-07-20 23:42:51 +00:00
cbiesinger%web.de
3fcddd0dfd Bug 343604 make <applet> and <embed> handling consistent when there is no
src/code attribute, aka instantiate java even for <applet/>
r+sr=bz
2006-07-20 22:19:15 +00:00
cvshook%sicking.cc
3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
bzbarsky%mit.edu
4a9b91c73b Use const char[], not const char*. Bug 114997, suggestion by biesi, r+sr=bzbarsky 2006-07-18 19:32:00 +00:00
rob_strong%exchangecode.com
9aab7b5b89 Bug 343182 - Password Manager asks multiple times to save a password. patch=mwu, r=jst, sr=bzbarsky 2006-07-18 00:18:32 +00:00
bzbarsky%mit.edu
063e887ba0 Go back to creating an inconsistent DOM and add a null-check elsewhere, because
the little mind of the focus code is blown by having no documentElement,
apparently.  Bug 341730, r+sr=sicking
2006-07-18 00:18:19 +00:00
Olli.Pettay%helsinki.fi
83ae878c3e Bug 343303, onblur fires before onchange for comboboxes, r+sr=bz 2006-07-17 11:50:19 +00:00
martijn.martijn%gmail.com
69a13bf0db Bug 303730 - <textarea>s in other tabs mess up focus in current 'tab', patch by chpe(at)gnome.org, r=jst, sr=bryner 2006-07-13 09:14:56 +00:00
cvshook%sicking.cc
2c39937d84 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz 2006-07-02 07:23:10 +00:00
bzbarsky%mit.edu
d2f4362686 Make the innerHTML getter serialize all HTML-like content (text, etc) as HTML.
Bug 340800, r+sr=peterv
2006-06-29 16:13:27 +00:00
leon.sha%sun.com
2b1dfdc45f Bug 315859 Crash when using any arrow key on a radio input enclosed in a fieldset, and radio name is the same than fieldset id [@ nsHTMLFormElement::GetNextRadioButton].
Patch by alfred.peng@sun.com
mats.palmgren: review+
neil: superreview+
2006-06-29 03:26:29 +00:00
mats.palmgren%bredband.net
7bcf5f44f6 Don't create ALT attribute for standalone image that was found in the cache. b=177747 r=bzbarsky sr=neil 2006-06-29 02:42:27 +00:00
enndeakin%sympatico.ca
54382237e7 Bug 333038, support inline spellchecking for designmode, r=brettw, sr=bz
CVS: ----------------------------------------------------------------------
2006-06-28 03:39:41 +00:00
mrbkap%gmail.com
edc12afdc0 Clear mWyciwygChannel even if the loadgroup tells us there was an error since the call succeeds anyway. bug 342191, r=jst sr=darin 2006-06-26 16:50:09 +00:00
mats.palmgren%bredband.net
9aa2d8535b Scroll <legend> into view when it receives focus. b=342372 r=aaronleventhal sr=bzbarsky 2006-06-25 21:39:03 +00:00
jminta%gmail.com
eac20cd727 Bug 257781 vBulletin (message board) javascript causes wrong username/password to be remembered. patch by Michael Wu <mwu@mozilla.com>, r=jst, sr=sicking 2006-06-23 02:44:39 +00:00
mrbkap%gmail.com
1979b01fd6 Close shouldn't send any real text for the parser to parse, since there might
be elements open that make the text appear in the final content model. bug 342223, r+sr=jst
2006-06-21 00:39:24 +00:00
roc+%cs.cmu.edu
84304f7c5a Bug 341711. Compute offset* properties using unscrolled positions. r+sr=bzbarsky 2006-06-20 21:21:47 +00:00
mrbkap%gmail.com
a0302c1e9e Prevent assertions when a document that has had document.open called is closed
suddenly (without an intervening document.close call). bug 332896, r=bzbarsky, sr=sicking
2006-06-19 23:51:32 +00:00
bzbarsky%mit.edu
878f5ab09c Remove ourselves as an observer when we're done building the DOM, not when we
get destroyed, since the DOM can be messed with in ways that confuse us between
those two points in time.  Bug 341062, r=mrbkap, sr=sicking
2006-06-19 21:10:29 +00:00
timeless%mozdev.org
27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
dbaron%dbaron.org
8ade31392b Implement a stub imgIDecoderObserver to save code size in content and layout. b=339612 r+sr=sicking 2006-06-16 21:07:47 +00:00
mrbkap%gmail.com
0f8195a254 Quiet this warning for the one known case that it fires since we do a passable job of handling this case anyway. bug 341320, r+sr=sicking 2006-06-16 19:13:17 +00:00
dbaron%dbaron.org
d7f089f08f Disable support for proportional widths on <col>. b=333352 r=bernd sr=roc 2006-06-15 19:20:20 +00:00
mhammond%skippinet.com.au
0f241835df Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
mrbkap%gmail.com
98997f8669 Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan 2006-06-12 22:39:55 +00:00
cbiesinger%web.de
f116f57d3a Bug 341077 Show intrinsic state in content tree dumps
r+sr=bz
2006-06-12 17:03:31 +00:00
longsonr%gmail.com
37551a947a Bug 340542 - SVG Consolidate functionality to get primary frame. r=tor,r+sr=bzbarsky 2006-06-12 16:14:31 +00:00
martijn.martijn%gmail.com
0a6dcb125d Bug 333922 - Setting designMode doesn't work with enhanced privileges on a frame with a different domain, r+sr=bzbarsky 2006-06-12 08:55:37 +00:00
bzbarsky%mit.edu
d82cef21db Fix notifications so we don't double-notify when closing tags. Bug 339249,
r=mrbkap, sr=sicking
2006-06-08 04:38:44 +00:00
bzbarsky%mit.edu
9d3573c2a5 Add assertion to catch issues like bug 312704. r=mrbkap, sr=sicking 2006-06-08 04:29:28 +00:00
bzbarsky%mit.edu
6e37157407 Cache the list of form controls, so loading a large page with lots of form
controls outside forms is not O(N^2).  Bug 336062, r+sr=sicking
2006-06-08 04:28:20 +00:00
roc+%cs.cmu.edu
4c63027607 Bug 334765. Testing backout to see if it was responsible for btek's Tp change. 2006-06-07 02:35:57 +00:00
roc+%cs.cmu.edu
47e312e575 Bug 334765. Don't include scroll offsets in DOM element offset calculations. r+sr=bzbarsky 2006-06-06 22:31:17 +00:00
bzbarsky%mit.edu
81b20d42d1 Fix IsDoneAddingChildren() for <embed>. Bug 339327, r+sr=peterv 2006-06-06 15:33:54 +00:00
Olli.Pettay%helsinki.fi
5e667ae978 Bug 338954, Make .innerHTML to work without DOM Ranges, r=sicking, sr=jst 2006-06-05 20:32:48 +00:00
cvshook%sicking.cc
47a9061831 Bug 90983: Don't fire mutation events during parsing, i.e. when aNotify is false. Also make us fire mutation events on nodes that are in an orphaned subtree. r/sr=jst 2006-06-02 00:58:04 +00:00
dbaron%dbaron.org
cd4d6ee0e9 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky 2006-06-01 18:35:21 +00:00
bzbarsky%mit.edu
d2c22c3455 Remove some pointless nsIChannel impls. Bug 337748, r=sicking, sr=darin 2006-05-30 17:26:00 +00:00
peterv%propagandism.org
73709cee4f Fix for bug 338834 (plugins are broken (PDF, WPM, MPG, AVI etc files won't load)). r/sr=sicking. 2006-05-23 15:33:15 +00:00
peterv%propagandism.org
8e523aa71d Fix for bug 236873 (Share class for more elements). r/sr=sicking. 2006-05-21 21:00:09 +00:00
Olli.Pettay%helsinki.fi
cb1f0a0bb9 Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc 2006-05-19 10:26:44 +00:00
cvshook%sicking.cc
114883abc4 Bug 337543: Use nsINode more. r/sr+peterv 2006-05-19 10:01:22 +00:00
ginn.chen%sun.com
1ca25be70e Bug 335900 no state change event fired when take action on HTML input
element
patch by evan.yan@sun.com r+sr=roc
2006-05-16 03:54:46 +00:00
Olli.Pettay%helsinki.fi
6f0e67928a Bug 337586, Crash [@ PresShell::InitialReflow] when window gets destroyed duren beforeunload event handler, pressing reload, r+sr=bz 2006-05-15 17:51:35 +00:00
gavin%gavinsharp.com
d5a5b1ade6 Bug 337970: assert that the bookmarks charset resolver doesn't ask to be notified of the final resolved charset, since we can't currently notify, r+sr=bzbarsky 2006-05-15 17:40:51 +00:00
gavin%gavinsharp.com
ea64757e58 Bug 337970: don't pass null to RequestCharset, r+sr=bzbarsky 2006-05-15 17:17:04 +00:00
cvshook%sicking.cc
073093c129 Bug 334075: Push mFlagsOrSlots to nsINode to allow storing flags and (in the future) slots on nsGenericDOMDataNodes. r=mrbkap sr=bz 2006-05-15 07:03:15 +00:00
bzbarsky%mit.edu
b41cf96c5d Fix the way we do notifications so we don't notify twice for <head>. Bug
332644, r=mrbkap, sr=peterv
2006-05-12 20:36:39 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
peterv%propagandism.org
45638e3b46 Syncing with nsHTMLObjectElement.cpp r1.95 (this file was a cvs copy of nsHTMLObjectElement.cpp, but they diverged). NPOTB. 2006-05-07 17:16:50 +00:00
timeless%mozdev.org
3bc663a937 Bug 331023 Cleanup of IDL files; fixing type inconsistencies
r=dbaron
2006-05-07 00:19:46 +00:00
timeless%mozdev.org
28fa63a8f5 Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
r=bz sr=bz
2006-05-06 22:09:20 +00:00
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
7c1bc218fa Don't half-support document.write in XHTML. Bug 332848, r=mrbkap, jst, sr=dvediz, a=dvediz 2006-05-03 21:19:26 +00:00
cls%seawood.org
7179faa0f3 Use NS_REINTERPRET_CAST to convert from jschar* to PRUnichar*. Fixing mingw bustage.
Bug #336331 r=vladimir
2006-05-03 04:28:12 +00:00
vladimir%pobox.com
df84d0046c b=336331, fix toDataURL to be more in line with the whatwg spec, r+sr=roc 2006-05-03 00:48:27 +00:00
bzbarsky%mit.edu
b1ee2830dd Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking
2006-05-01 05:25:52 +00:00
bzbarsky%mit.edu
0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
mrbkap%gmail.com
042cc59781 Fixing bustage from bug 333697 2006-04-26 20:21:31 +00:00
mrbkap%gmail.com
fcb69da993 When a document's scope object changes (e.g., for a call to document.open), actually change the scope object and move all of the wrappers in the old scope into the new one. bug 333697, r+sr=jst 2006-04-26 19:53:27 +00:00
roc+%cs.cmu.edu
4667a9b409 Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 01:57:22 +00:00
cvshook%sicking.cc
e9a820078f Bug 334977. Separate mFileName from mValue. r/sr=bz 2006-04-25 09:18:42 +00:00
smontagu%smontagu.org
e8b07e7e07 Don't propagate encoding up to the parent document viewer. Bug 315381, r+sr=jst 2006-04-25 06:57:31 +00:00
bzbarsky%mit.edu
7f9b937064 Dispatch mutation events even in documents that are not rendered in a window.
Bug 201236, patch by Alex Vincent <ajvincent@gmail.com>, r=smaug, sr=peterv
2006-04-24 19:52:21 +00:00
leon.sha%sun.com
0960e6fd1d Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
cvshook%sicking.cc
6d6c050e52 More bug 114997. Don't strip whitespace from mValue, only when getting the value from the attribute. r/sr=bz 2006-04-24 05:20:44 +00:00
bryner%brianryner.com
8ac62cb3ed Fix focus-stealing for button elements (bug 299677). Patch by darin, r+sr=me. 2006-04-21 02:10:53 +00:00
bzbarsky%mit.edu
dc9b0ff079 HTMLTableElement.rows should include rows that are not in table sections. Bug
309433, r+sr=sicking
2006-04-21 01:44:58 +00:00
bzbarsky%mit.edu
e69e268856 Make sure documents have a content type at creation time. Bug 311218,
r=sicking, sr=jst
2006-04-21 01:24:44 +00:00
vladimir%pobox.com
5d02ec5b40 b=333177, update canvas internal interfaces, optimize canvas, and fix some implementation bugs; r=stuart 2006-04-18 21:23:15 +00:00
bzbarsky%mit.edu
ff35061446 Don't trim whitespace off hidden input values. Bug 114997, patch by Steuard
Jensen <steuard+moz@slimy.com>, r=sicking, sr=bzbarsky
2006-04-17 21:28:47 +00:00
dbaron%dbaron.org
d27ca98de2 Null-check mBodyContent. b=334080 r+sr=bzbarsky 2006-04-15 07:20:14 +00:00
mrbkap%gmail.com
f36ff98d32 Remove defunct assertions from debug-only code. bug 334055, r+sr=sicking 2006-04-15 00:39:35 +00:00
benjamin%smedbergs.us
70a0f2207b Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
Olli.Pettay%helsinki.fi
d8829e2853 Bug 330494, changing the category names per bz' suggestion 2006-04-11 17:05:25 +00:00
jwatt%jwatt.org
c62d927714 Partial fix for bug 331630. Remove nsEventStatus. r=olli.pettay@gmail.com, sr=bzbarsky@mit.edu 2006-04-11 13:17:29 +00:00
Olli.Pettay%helsinki.fi
107fe84cd5 Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst 2006-04-10 17:04:54 +00:00
bzbarsky%mit.edu
f44b17e6c0 Make sure the write termination function only terminates the parser that was
active when it was set.  Bug 331620, r=mrbkap, sr=jst
2006-04-08 01:45:27 +00:00
mrbkap%gmail.com
5903c86738 Set mStackPos early to avoid bad re-entrancy problems when inserting the new content into its parent does something interesting. bug 332971, r=jst sr=sicking 2006-04-08 00:32:03 +00:00
dbaron%dbaron.org
04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu
9a516496f4 Fix notifications for framesets. Bug 315369, r+sr=sicking 2006-04-04 22:37:23 +00:00
martijn.martijn%gmail.com
d268cd4acf Bug 197305 - setting designMode on data: URLs throws security exception, r=bzbarsky, sr=dveditz 2006-04-03 18:12:37 +00:00
martijn.martijn%gmail.com
46d4159822 Bug 331491 - I can't access the editor object of a text control using enableprivilege, r+sr=roc 2006-04-02 23:20:46 +00:00
darin%meer.net
20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
Olli.Pettay%helsinki.fi
ee372ff167 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst 2006-03-25 22:03:49 +00:00
cvshook%sicking.cc
af857a00d6 Bug 331547: Get rid of nsGenericElement::WillAddOrRemove 2006-03-24 22:43:23 +00:00
cvshook%sicking.cc
e26140ab7d Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364. 2006-03-23 08:21:21 +00:00
bryner%brianryner.com
7a96206e10 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
cvshook%sicking.cc
6c450d021d Bug 330084: Don't crash when removing an node from the tree that noone holds on to. r/sr=jst 2006-03-17 00:28:26 +00:00
Olli.Pettay%helsinki.fi
9a528f9417 Bug 329437, Push DispatchClickEvent up to nsGenericElement r+sr=bz 2006-03-14 19:57:33 +00:00
Olli.Pettay%helsinki.fi
3efe2532d5 Bug 329435, Fix EventTargetIn (in nsHTMLLabelElement.cpp) to get the target from the event. r+sr 2006-03-12 19:57:14 +00:00
cvshook%sicking.cc
32e600a440 Attempt to fix startup bustage 2006-03-09 08:36:19 +00:00
cvshook%sicking.cc
9f4b50c028 Bug 326645: Remove mRootContent from nsDocument to avoid all the pains of keeping it in sync with the childlist. Also remove mBodyContent from nsHTMLDocument for the same reason. r=bz sr=jst 2006-03-09 07:29:41 +00:00
Olli.Pettay%helsinki.fi
7f852eb898 Bug 328885, r+sr=bz 2006-03-08 20:22:35 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
cst%andrew.cmu.edu
f5378d061c Bug 197263 The automatic image resizing pref should toggle the default zoomed state of images, and not disable zooming entirely
r+sr=jst
2006-03-07 01:44:44 +00:00
cvshook%sicking.cc
4268fdb2d6 Reland bug 324918 with fixes for regressions. r/sr=bz for the additional fixes 2006-03-02 21:30:23 +00:00
roc+%cs.cmu.edu
3e3e700faf Bug 293244. Secure <canvas> against cross-domain image stealing. r=vlad,sr=bzbarsky 2006-03-02 00:44:01 +00:00
roc+%cs.cmu.edu
83be2170b7 Backing out fix for bug 324918 so that <select> actually works again. 2006-03-02 00:21:20 +00:00
cvshook%sicking.cc
6eb082c936 Bug 324918: Make nsHTMLSelectElement deal better with options in unknown children. r=bz sr=jst 2006-03-01 01:10:20 +00:00
Olli.Pettay%helsinki.fi
30edc27d11 Bug 328566, r+sr=bz 2006-02-28 16:41:31 +00:00
roc+%cs.cmu.edu
1fac9c6d76 Backing out changes for bug 326944, really this time\! 2006-02-27 04:13:51 +00:00
roc+%cs.cmu.edu
b7126ee8e0 Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell 2006-02-27 02:33:26 +00:00
bzbarsky%mit.edu
83dfdb538f Look at all continuations for offset*. Bug 328264, r=uriber@gmail.com, sr=dbaron 2006-02-24 21:18:29 +00:00
bzbarsky%mit.edu
2cf70e9fb9 Better mType management when type changes. Bug 325947, r=sicking, sr=dveditz 2006-02-09 16:34:06 +00:00
bzbarsky%mit.edu
f7c4367c85 Trying to fix Tp regression. Bug 324828, r+sr=jst 2006-02-08 05:56:13 +00:00
bzbarsky%mit.edu
f8c6589625 Fix bug 324828. r=sicking, sr=peterv 2006-02-07 22:10:29 +00:00
peterv%propagandism.org
a8a430a797 Fix for bug 315901 (Move RangeList and EventListenerManager hashes to nsContentUtils). r/sr=jst. 2006-02-07 14:34:10 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
c454ec77e3 Fix build bustage. Bug 324600 2006-02-02 20:25:51 +00:00
bzbarsky%mit.edu
263cf7dc11 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
cvshook%sicking.cc
f209ff3536 More bug 325404. Use the right charset when parsing baseuris, and fix copy-n-paste error. r/sr=jst 2006-02-02 00:17:15 +00:00
cvshook%sicking.cc
68d4747601 Bug 325404: Get rid of _base_href and _base_target attributes and use properties instead. r/sr=jst 2006-02-01 04:43:55 +00:00
mrbkap%gmail.com
3d59a68ee7 When we don't find a </script> tag, we should put the entire rest of the document into the script element, but not execute the script. This also makes serialization not serialize the end tags for scripts that don't have them (to preserve round tripping). bug 305873, r=sicking sr=jst 2006-01-31 22:19:46 +00:00
mrbkap%gmail.com
c4f20f9306 Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst 2006-01-30 23:45:19 +00:00
bzbarsky%mit.edu
5454eda94d Make sure first attr always wins, even for <html> and <head>. Bug 324378,
r=sicking, sr=jst
2006-01-27 01:13:00 +00:00
bzbarsky%mit.edu
3b4e80ae91 Don't lose text in the head context. Bug 324476, r=mrbkap, sr=jst 2006-01-27 01:05:54 +00:00
mrbkap%gmail.com
5e3b39b84e bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst 2006-01-26 19:07:41 +00:00
darin%meer.net
f7517500ad fixes bug 323793 "Expose .ping attribute for <a> and <area> elements" r=jst sr=bzbarsky 2006-01-24 05:48:32 +00:00
mrbkap%gmail.com
5886c8dad3 bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst 2006-01-24 01:25:14 +00:00
cbiesinger%web.de
1f2c34903f bug 323551 make the in-tree cairo compile on beos (if a system-installed
freetype and fontconfig is present)
r=bsmedberg,vlad
2006-01-21 15:58:24 +00:00
bzbarsky%mit.edu
b64fcb4a39 Implement an nsINode interface; move some common stuff from nsIContent and
nsIDocument to nsINode.  Bug 323311, r=sicking, sr=jst
2006-01-19 03:34:18 +00:00
cvshook%sicking.cc
15c2397445 Bug 323910: Merge atom lists in gklayout
r/sr=jst
2006-01-19 00:58:12 +00:00
roc+%cs.cmu.edu
48887d6411 Fixing build bustage 2006-01-18 04:29:17 +00:00
bzbarsky%mit.edu
4392a55ac9 Fix bug 297801 by making removal and reinsertion of the root element less
magical.  r=peterv, sr=jst
2006-01-12 17:11:57 +00:00
bzbarsky%mit.edu
348b6d247f Fix init of HTML documents to set the right case-sensitivity on the CSS parser
even for XSLT.  Bug 322461, r+sr=jst
2006-01-06 02:53:10 +00:00
cbiesinger%web.de
2f52d47057 Remove aForceType argument of LoadObject, make it a capability instead
bug 322128 r+sr=bz
2006-01-05 13:30:19 +00:00
darin%meer.net
eb3847a802 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-01-02 02:30:32 +00:00
cbiesinger%web.de
1efb68569c bug 314453 Rename ImageURIChanged and ObjectURIChanged to LoadImage and
LoadObject, respectively, in order to make it clear what they do rather than
prescribing when they should be called. r+sr=bz
2006-01-01 11:25:43 +00:00
cvshook%sicking.cc
462757fa67 Bug 232639: Make nsXULElement::GetAttrNameAt actually work.
r/sr=bz
2005-12-30 20:12:35 +00:00
gavin%gavinsharp.com
ed469ba116 Bug 307616: <input type="image"> with missing image gives "ASSERTION: Form control has a frame, but it's not a form frame", remove bogus assertion, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=bzbarsky 2005-12-30 16:50:11 +00:00
mrbkap%gmail.com
ae1ba9d2c7 bug 321558: document.write into a new window or frame won't set the title of the
new document. Void out the old title so that we know that there hasn't been a
real <title> yet. r+sr=bzbarsky
2005-12-29 20:38:06 +00:00
cvshook%sicking.cc
79b8f5fc24 Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
cbiesinger%web.de
72ac26b6ce Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz
2005-12-26 16:45:59 +00:00
timeless%mozdev.org
63408ce9ed Bug 320498 Fix NewChannel impls to handle null in argument
r=darin sr=darin
2005-12-18 01:50:50 +00:00
roc+%cs.cmu.edu
b65c655ed9 Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc 2005-12-12 23:53:06 +00:00
bzbarsky%mit.edu
b688dbf9f0 Make sure to update the sheet even if the URI has not changed if something else
that matters (type, media, etc) has changed.  Bug 303313, r+sr=peterv
2005-12-09 19:20:42 +00:00
mrbkap%gmail.com
c44ffb682c bug 319123: document.close in an external script that is being document.written doesn't close the document and leaks parsers and content sinks and documents. r+sr=jst 2005-12-09 18:50:59 +00:00
bzbarsky%mit.edu
c6d3927bf1 Fix bug 318856 (<hr> attributes not getting the special treatment they
should).  Patch by Marco Perez <bugmail@millibyte.net>, r+sr=bzbarsky
2005-12-04 16:31:26 +00:00
jst%mozilla.jstenback.com
7223904a81 Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-12-01 19:35:27 +00:00
mrbkap%gmail.com
1789e54d33 bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst 2005-11-30 23:41:49 +00:00
jst%mozilla.jstenback.com
61c4a775a7 Fixing bug 318106. Stop assertion about setting mutation bits on outer window. r+sr=bzbarsky@mit.edu 2005-11-29 21:51:53 +00:00
bzbarsky%mit.edu
bf70da4532 Remove content ids. Bug 166637, r=sicking, sr=peterv 2005-11-29 16:47:18 +00:00
bzbarsky%mit.edu
6d003a9d96 Make ParseAttribute handle namespaced attributes too, since SVG needs to
ParseAttribute things like xlink:href.  Bug 314568, r=sicking, sr=jst
2005-11-29 16:37:15 +00:00
jst%mozilla.jstenback.com
6a31de4539 Fixing tinderbox orange. Add event listeners on inner windows when processing event attributes on body elements, make sure to use the inner window, not the outer. 2005-11-29 01:34:37 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
timeless%mozdev.org
db820cf720 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
joshmoz%gmail.com
c9f99b4dba fix totally incorrect comment. b=317035 sr=bz 2005-11-22 05:20:32 +00:00
joshmoz%gmail.com
4c7cb54832 Remove some nsSupportsArray usage from mozilla/content. b=317035 r=dbaron sr=bz 2005-11-22 00:24:48 +00:00
masayuki%d-toybox.com
fd5514c77b Bug 316867 Should clean up the changed code by bug 55751 and bug 316715 r+sr=roc 2005-11-18 05:22:04 +00:00