Commit Graph

3950 Commits

Author SHA1 Message Date
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
aaronr@us.ibm.com
e97413050d change nsIAttribute so it can be used by extensions 390480, r+sr=bz a=jst 2007-08-07 16:01:57 -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
cbiesinger@gmx.at
6b6b771bea Bug 390385 make sure that plugins don't get instantiated before the first Reflow of the objectframe, so that the first NPP_SetWindow call contains the right dimensions r+sr=bz 2007-08-06 17:32:14 -07:00
benjamin@smedbergs.us
f8759d93ca Bug 387132 followup - build the reftest-fast tool correctly with libxul, r=vlad a=only functional change is NPOB 2007-08-06 13:13:19 -07:00
cbiesinger@gmx.at
3416bd0451 364235 don't instantiate plugins for URLs with unknown schemes unless we also have a type specified r+sr=bz 2007-08-06 11:02:14 -07:00
jwalden@mit.edu
8e969971b9 Fix Thunderbird/--disable-svg bustage from bug 379178. rs=jwatt 2007-08-06 11:00:01 -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
benjamin@smedbergs.us
0e047142a4 Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -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
sharparrow1@yahoo.com
17adf6b19b Followup to fix orange from bug 385536 2007-08-03 18:12:24 -07:00
sharparrow1@yahoo.com
74400dfa21 Bug 385536: a tree inside a panel doesn't respond to clicks (make clientX/Y sane). r+sr=roc, a=blocking1.9+ 2007-08-03 17:31:42 -07:00
vladimir@pobox.com
0f0bb07000 b=339553 followup, fix an issue in windows opt builds with uninitialized data, r+a=vlad, patch=robarnold 2007-08-03 15:47:48 -07:00
enndeakin@sympatico.ca
c6fa8c5df7 Bug 389573, context menus opening in wrong place, affects email address menu, r+sr=bz,a=dbaron 2007-08-03 10:57:44 -07:00
Olli.Pettay@helsinki.fi
5b2545c6f2 Backout bug 378866, the patch doesn't handle all testcases :( 2007-08-03 06:06:05 -07:00
Olli.Pettay@helsinki.fi
908f41f6dc Bug 378866, r+sr=bz, a=sicking 2007-08-02 23:53:01 -07:00
sharparrow1@yahoo.com
aa0edb581a Bug 390161: Make ScreenPixelToMillimeterX/Y return result in CSS pixels. r=jwatt, sr=roc, a19=dbaron 2007-08-02 18:12:19 -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
cbiesinger@gmx.at
9b77299b29 382378 call NotifyContentObjectWrapper after the plugin has been instantiated so that scriptable plugins work correctly r+sr=bz 2007-08-02 14:15:05 -07:00
cbiesinger@gmx.at
15ca9d3c96 322170 ignore errors from OnStartRequest (NPP_NewStream) for Shockwave on the Mac r=jst sr=bz 2007-08-02 13:16:49 -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
vladimir@pobox.com
ec69972c14 check cairo error code for errors in GetInputStream, as well as the surface 2007-08-02 00:45:58 -07:00
jonas@sicking.cc
3eaf4622de Remove tests accessing remote server 2007-07-30 18:16:24 -07:00
jonas@sicking.cc
da0e93de39 Bug 389508: Fix regressions and bugs in the new Cross Site XMLHttpRequest support. r/sr=jst a=roc 2007-07-30 17:42:16 -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
tor@cs.brown.edu
5ae1a82c12 Bug 373572 - Implement feTile filter.
Patch by longsonr@gmail.com, r=tor, sr=roc, a=schrep
2007-07-26 17:50:45 -07:00
mattwillis@gmail.com
e221e29198 reverting 1.34 - meant for trunk 2007-07-26 17:21:01 -07:00
mattwillis@gmail.com
99b92bd703 bug 389739 - Add IDL constants for XMLHttpRequest readyStates. r/sr=bzbarsky 2007-07-26 17:12:58 -07:00
jonas@sicking.cc
13974dde1b backout due to orange 2007-07-26 16:34:22 -07:00
jonas@sicking.cc
68ac48fc81 'extra ;'? Quit your whining gcc\! 2007-07-26 15:34:32 -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
tor@cs.brown.edu
57371777f8 Bug 383184 - Implement SVG lighting filters.
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
2007-07-25 23:57:42 -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
jst@mozilla.org
dadc7c619b Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc 2007-07-25 21:14:33 -07:00
roc+@cs.cmu.edu
61373b8418 Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc 2007-07-25 21:03:29 -07:00
sharparrow1@yahoo.com
5a87530c15 Bug 4821: Implement page zoom (backend). r+sr=roc. 2007-07-25 20:34:16 -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
vladimir@pobox.com
7c12866d18 b=339553, drawString enhancement for canvas, r=me; patch from robarnold 2007-07-25 11:21:34 -07:00
bzbarsky@mit.edu
1e0b05ffcf Add a flag that allows protocol handlers to indicate that they don't return any
data.  Bug 379819, patch by Ryan Jones <sciguyryan@gmail.com>, r=me, sr=biesi
2007-07-25 10:21:41 -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
bb10d2d59f add a sendAsBinary() method to XMLHttpRequest (for sending data from an <input type=file> element, among other things). b=371432, r+sr=jonas 2007-07-24 21:53:21 -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
masayuki@d-toybox.com
17ddd176c4 Bug 388602 ###!!! ASSERTION: invalid array index: 'i < Length()' when loading some webpages r+sr=roc 2007-07-24 04:47:22 -07:00
enndeakin@sympatico.ca
e28524ff33 Bug 388280, command event needs to know user input state, otherwise a popup could be blocked, r=jst,sr=bz 2007-07-23 17:55:52 -07:00
asqueella@gmail.com
cb307ac952 fix bug 388709 - "ASSERTION: Please remove this from the document properly: '!IsInDoc()'" with :after, floating :first-letter
Store the generated content as a nsCOMArray<nsIContent>* property on frames to make its clean-up on frame destruction less fragile.

r+sr=roc
2007-07-23 16:31:11 -07:00
bzbarsky@mit.edu
834f3365bd Use a Subsumes() chec, not same-origin. Bug 387202, r=vlad, sr=jst 2007-07-20 20:11:15 -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
Olli.Pettay@helsinki.fi
cbb771c688 Bug 321170, Templates needs to be able to load datasources other than RDF, p=laurent@xulfr.org, r=enndeakin, sr=peterv 2007-07-19 06:49:29 -07:00
roc+@cs.cmu.edu
c2ec402960 Bug 336959. Use Pango to break inside Thai/Lao runs. Patch by Theppitak Karoonboonyanan, r+sr=roc 2007-07-18 20:26:51 -07:00
cbiesinger@gmx.at
79d350e845 385118 make sure to set mInstantiating to false again before returning
r+sr=jst,bzbarsky
2007-07-18 17:28:39 -07:00
cbiesinger@gmx.at
32bc9aca2e bug 309523 remove now-addressed XXX comment
r+sr=bz
2007-07-18 15:02:04 -07:00
bzbarsky@mit.edu
a6139746d4 Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 14:56:57 -07:00
cbiesinger@gmx.at
c4a5306b2f bug 347736 instantiate <embed> plugins by extension if we don't have a MIME type
r+sr=bz
2007-07-18 14:48:18 -07:00
cbiesinger@gmx.at
58c915e6bf Bug 382113 make sure to add the request to the new loadgroup before removing it
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz
2007-07-18 14:37:39 -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
d59efa6763 More consistent handling of principals for loads across docshell type
boundaries.  Bug 388121, r+sr=jst
2007-07-17 18:47:07 -07:00
asqueella@gmail.com
41e2af866a Bug 342487 - XSLT should use CheckLoadURIWithPrincipal
p=Ryan Jones <sciguyryan@gmail.com>
r+sr=jonas
2007-07-17 14:15:49 -07:00
enndeakin@sympatico.ca
cf05956adc Bug 387659, popup coordinates are not set within popupshowing event,r=eli,sr=bz 2007-07-17 05:39:54 -07:00
longsonr@gmail.com
047eedf672 Bug 386083 - SVG code should check gfxASurface::CairoStatus() when it creates new surfaces. r=jwatt,sr=tor 2007-07-17 02:24:27 -07:00
Olli.Pettay@helsinki.fi
9f5ba5c69a Bug 386599, Recursive <object> with border hangs Firefox, r=biesi, sr=bz 2007-07-17 00:43:36 -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
flamingice@sourmilk.net
76b4af864e Bug 330511, Plugin-in blocklisting, r+sr=jst 2007-07-13 17:28:05 -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
longsonr@gmail.com
0a705dae4d Bug 384409 - Create a common GetContextForContent method in nsContentUtils and use it in nsScriptElement and svg. r=tor,r+sr=jonas 2007-07-13 01:49:07 -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
masayuki@d-toybox.com
af31f107a5 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r+sr=roc 2007-07-12 08:52:51 -07:00
tor@cs.brown.edu
18fe4d9a27 Bug 361745 - <svg:image> with negative width/height displaying inverted.
r=jwatt, sr=roc
2007-07-12 08:40:46 -07:00
peterv@propagandism.org
fc59f5fcf5 Mochitest for bug 386496. 2007-07-12 05:06:05 -07:00
bzbarsky@mit.edu
a7014a42ea Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00
peterv@propagandism.org
6567191b4d Correct error in testcase. 2007-07-11 11:52:24 -07:00
peterv@propagandism.org
2fb0fc711a Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz. 2007-07-11 06:05:05 -07:00
neil@parkwaycc.co.uk
11ed13d71f Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
bzbarsky@mit.edu
40d0244293 Don't start layout for XML just because the root has been opened. And don't
start layout until <html:head> closes if <html:head> gets opened.  For XHTML
documents, this should prevent flashes of unstyled content.

Also, don't flush tags unless forced to if a sheet is pending.

Bug 380028, r+sr=sicking
2007-07-10 20:42:11 -07:00
bzbarsky@mit.edu
79013e30da Notify before firing mutation events. Bug 387460, r+sr=sicking 2007-07-10 18:14:55 -07:00
jwalden@mit.edu
eb1d6df056 Bug 387503 - Convert nsINode bits to an anonymous enum, and make a macro into an inline function for better debugging. rs=sicking 2007-07-10 15:49:42 -07:00
sayrer@gmail.com
bdca7dddeb Bug 386878. nsSVGSVGElement needs to init its members. r+sr=tor 2007-07-10 09:38:00 -07:00
bzbarsky@mit.edu
66922fe009 Eliminate more callers of CheckSameOriginPrincipal in favor of
Equals/Subsumes.  Bug 387212, r=mrbkap, sr=jst
2007-07-09 21:22:55 -07:00
bzbarsky@mit.edu
f6349051e7 Eliminate some uses of CheckSameOriginPrincipal in favor of Subsumes/Equals.
Bug 387204, r+sr=jst
2007-07-09 21:11:11 -07:00
dcamp@mozilla.com
d746712d75 implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst 2007-07-08 23:19:27 -07:00
philringnalda@gmail.com
abb9b1380f Bug 382947 - XMLHttpRequest should only set the charset in the Content-Type request header if we know the charset, patch by Ryan Jones <sciguyryan@gmail.com>, r=bzbarsky, sr=peterv 2007-07-08 19:33:07 -07:00
philringnalda@gmail.com
f48d442b06 Bug 386854 - Bustage build fix MOX_XUL disabled, patch by romaxa <romaxa@gmail.com>, r+sr=bzbarsky 2007-07-08 17:58:15 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
peterv@propagandism.org
944fbe2b30 Mochitest for bug 386728. r/sr=jst. 2007-07-07 09:51:37 -07:00
peterv@propagandism.org
6bc898324e Mochitest for bug 386495. r=Martijn. 2007-07-07 09:26:01 -07:00
Olli.Pettay@helsinki.fi
dcfbe5119a Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler (with bustage fix), r=sicking, sr=jst 2007-07-06 06:47:50 -07:00
kairo@kairo.at
951e15cd50 backing out bug 339649 due to breakage on multiple tinderboxen as requested in #developers 2007-07-06 06:13:46 -07:00
Olli.Pettay@helsinki.fi
c5dc887fc8 Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler, r=sicking, sr=jst 2007-07-06 04:49:53 -07:00
peterv@propagandism.org
d6c79f7763 Fix for bug 386728 (Setting the contenteditable attribute through js twice doesn't work). r/sr=jst. 2007-07-06 03:44:14 -07:00
Olli.Pettay@helsinki.fi
98f382ceb3 Bug 386914, r+sr=jst 2007-07-06 01:01:44 -07:00
sdwilsh@shawnwilsher.com
6697f407b6 Bug 374334 - Uncaught exception with cloneNode method and frameset element. Patch by Alex Vincent <ajvincent@gmail.com>. r=jst,sr=jst 2007-07-05 18:38:54 -07:00
dbaron@dbaron.org
69a76dfb14 Initialize mPendingInstantiateEvent to null. b=386889 r+sr=biesi 2007-07-05 15:44:27 -07:00
dbaron@dbaron.org
a6df82abe4 Make XUL prototype elements set mNumChildren to 0 when they stop owning their children in ReleaseSubtree. b=386947 r+sr=sicking 2007-07-05 15:40:26 -07:00
Olli.Pettay@helsinki.fi
2feaae333d Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz 2007-07-04 13:39:10 -07:00
enndeakin@sympatico.ca
6c8197be5f Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz 2007-07-04 08:49:38 -07:00
mrbkap@gmail.com
c0d870c1f9 Don't be confused by misleading tag names. bug 386794, r+sr=sicking 2007-07-04 00:45:04 -07:00
peterv@propagandism.org
ee83281d9c Fix for bug 386656 (Security Error: Content at moz-nullprincipal:{8c0f4edc-0aac-45cc-8471-895f07bb1bb2} may not load or link to resource://gre/res/hiddenWindow.html during install of latest NTT Build). r/sr=jst. 2007-07-04 00:27:36 -07:00
mats.palmgren@bredband.net
db689821bf Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
sharparrow1@yahoo.com
8801788a06 Bug 386141: Switch NS_FRAME_IS_BOX to use IsFrameOfType. Patch by fantasai, r+sr=roc. 2007-07-03 15:11:28 -07:00
mats.palmgren@bredband.net
37c59f403e Use predefined load types instead of rolling our own. b=385663 r+sr=bzbarsky 2007-07-03 14:41:32 -07:00
mats.palmgren@bredband.net
bf430d8c33 Fix crash [@ nsPopupSetFrame::Destroy]. b=384877 r=enndeakin sr=roc 2007-07-03 14:16:48 -07:00
bzbarsky@mit.edu
4976df8890 Fixing build bustage 2007-07-03 12:15:26 -07:00
bzbarsky@mit.edu
bdded13f7c Propagate the principal responsible an image load all the way to
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there.  Bug 310165, r=sicking, sr=dbaron
2007-07-03 11:45:39 -07:00
Olli.Pettay@helsinki.fi
4936825549 Add tests also for blur event (bug 238987) 2007-07-03 09:27:28 -07:00
gavin@gavinsharp.com
a60fe167e5 Bug 253851: wait for background image loads before firing onload (match behavior of IE/Safari/Opera), r+sr=dbaron 2007-07-03 06:59:02 -07:00
Olli.Pettay@helsinki.fi
c4f362e8c7 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 06:37:32 -07:00
Olli.Pettay@helsinki.fi
da6f6b0061 back out bug 238987 2007-07-03 05:37:00 -07:00
peterv@propagandism.org
13008c2c6d Fix for bug 386495 (Javascript is not disabled when designMode is on). r/sr=jst. 2007-07-03 04:54:41 -07:00
Olli.Pettay@helsinki.fi
5c3a599079 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 04:49:40 -07:00
roc+@cs.cmu.edu
f89a82a7f6 Bug 386548. Remove nsTextTransformer. r+sr=mats 2007-07-02 16:36:59 -07:00
enndeakin@sympatico.ca
3cac4d61c3 Bug 327920, issue with determining uri variable in query template syntax,r+sr=peterv 2007-07-02 14:40:56 -07:00
peterv@propagandism.org
c1f26cd35e Fix for bug 326337 (XMLHttpRequest.responseXML permission denied if document.domain set). r=jst, sr=bz. 2007-07-02 06:20:01 -07:00
longsonr@gmail.com
ed77976fba Bug 385905 - Collection of minor things. Mainly fixes coding style and indenting in SVG content. Simplifies one NS_NewSVGPoint call and changes one frame QueryInterface to use CallQueryInterface. r=jwatt,sr=tor 2007-07-02 02:54:11 -07:00
dbaron@dbaron.org
086900c009 Fix leak of nsJSRuntime due to unbalanced calls of HoldScriptObject (with null argument). b=386294 r+sr=jst 2007-06-29 20:06:04 -07:00
dbaron@dbaron.org
9b3e00551c Add nsCycleCollector_shouldBeFreed calls for elements. b=385549 r+sr=jst 2007-06-29 20:00:51 -07:00
enndeakin@sympatico.ca
271e5c520d Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:39:50 -07:00
enndeakin@sympatico.ca
95deb19d78 Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
peterv@propagandism.org
76a2c4d37f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0f0097ffc5 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
sharparrow1@yahoo.com
4e5da46ad5 Bug 385937: Remove nsIBlender. rs=pavlov 2007-06-27 12:06:09 -07:00
tor@cs.brown.edu
76ef425384 Bug 375846 - implement feConvolveMatrix filter primitive. r=longsonr, sr=roc 2007-06-27 12:02:58 -07:00
dbaron@dbaron.org
c28a83eb37 Move NOTIFY_OBSERVERS to the end of nsBindingManager::ContentRemoved (and avoid early returns so we get to it). b=382376 Patch by Daniel Holbert <dholbert@mozilla.com>. r=bzbarsky sr=sicking 2007-06-26 21:51:37 -07:00
Olli.Pettay@helsinki.fi
58218f2b53 wasn't going to check in this 2007-06-26 21:25:27 -07:00
Olli.Pettay@helsinki.fi
7a515960c9 Bug 385315, Remove unused parameters from XML/XBL/RDFContentSink::FlushText, r+sr=peterv 2007-06-26 21:22:35 -07:00
dveditz@cruzio.com
56a9050dc7 bug 381264 nix 'track' method; r=biesi, sr=sicking 2007-06-26 02:28:38 -07:00
Olli.Pettay@helsinki.fi
7821b6c9c1 Bug 385082, make nsDOMEvents ccollectable (to fix leak in wordpress.com), r+sr=peterv 2007-06-26 01:21:42 -07:00
vladimir@pobox.com
27adfe5287 b=385584, crash with toDataURL on large canvas, r=stuart 2007-06-25 09:24:19 -07:00
tor@cs.brown.edu
8c5ecf9cb8 Bug 305859 - em and ex units not implemented for SVGLength.
Patch by taken.spc@gmail.com, r=longsonr, sr=tor
2007-06-25 09:12:35 -07:00
kherron@fmailbox.com
a746e1c886 Disabling two tests by request of Christian Biesinger. Related to bug 382113. 2007-06-24 17:52:06 -07:00
cbiesinger@web.de
75a42fd777 bug 382113 make the test pass for now (mark it as todo). will be reenabled
once the additional patch from the bug is checked in.
2007-06-23 07:31:37 -07:00
cbiesinger@web.de
aece5fe57c bug 382113 set LOAD_DOCUMENT_URI for <object> loads that load a document
so that things like onload events work correctly
r+sr=bz
2007-06-23 01:44:27 -07:00
mats.palmgren@bredband.net
18256f6d26 Don't ref-count nsIScrollableViewProvider. b=385286 r+sr=roc 2007-06-23 00:39:40 -07:00
mats.palmgren@bredband.net
d02f9373bf Fix offsetLeft/Top regression for rel.pos. elements with a table(cell) offset parent. b=384419 r+sr=roc 2007-06-23 00:39:04 -07:00
asqueella@gmail.com
1ad08b1c7a tests for bugs 336359/336682 - WHATWG online/offline events
r+sr=jst
2007-06-21 12:10:03 -07:00
tor@cs.brown.edu
3bf4b46c55 Bug 385096 - make sure component transfer filter functions call base Init.
r=jwatt, sr=roc
2007-06-21 08:09:43 -07:00
sharparrow1@yahoo.com
6cc6875547 Bug 382092: Simple canvas cleanups. r+sr=vlad 2007-06-20 22:01:21 -07:00
jwatt@jwatt.org
f8ae555c59 Fixing bug 385218. Remove nsISVGSVGElement. r+sr=tor@acm.org 2007-06-20 14:56:03 -07:00
timeless@mozdev.org
cdb488901b Bug 383901 having two different gNameSpaceManagers is confusing (at least to debuggers)
r=bz sr=bz
2007-06-19 22:23:50 -07:00
bzbarsky@mit.edu
0eb40f4042 Make the ranges used by find code able to span anonymous content. Bug 384706,
r+sr=sicking
2007-06-18 20:01:03 -07:00
jonas@sicking.cc
50513d81cc Backing out previous checkin since leaks went up 2007-06-18 16:21:28 -07:00
sayrer@gmail.com
dd79d4341b bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst 2007-06-18 15:44:11 -07:00
jonas@sicking.cc
d53f4d97f7 Bug 348156: Don't rely on UnbindFromTree to break cycles since that puts us in an inconsistent state. r/sr=jst 2007-06-18 15:27:27 -07:00
Olli.Pettay@helsinki.fi
57208eb367 Bug 384663, r+sr=bz 2007-06-18 08:43:40 -07:00
kherron@fmailbox.com
fd55a81c64 Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 06:50:50 -07:00
kherron@fmailbox.com
10d7931b24 Bug 380668 - Extra newlines added after a meta element that already has them before and after. Patch by Ryan Jones <sciguyryan@gmail.com>. r+sr=bzbarsky. 2007-06-17 04:41:03 -07:00
kherron@fmailbox.com
3ef7e96849 Bug 381329 - Build fails with GCC-4.3 due to extra semi-colons and '-pedantic' flag. Patch by Art Haas <ahaas@airmail.net>. r+sr=roc. 2007-06-16 12:53:59 -07:00
enndeakin@sympatico.ca
e7e0ff1269 Bug 321171, See if this fixes build errors on Windows/Linux 2007-06-15 08:30:28 -07:00
enndeakin@sympatico.ca
78a410c31c Bug 321171 - support XML sources in XUL templates, r=smaug,sr=peterv CVS: ---------------------------------------------------------------------- 2007-06-15 08:03:44 -07:00
enndeakin@sympatico.ca
281a052101 Bug 378173, template removes content incorrectly with multiple queries, r=smaug,sr=peterv 2007-06-15 07:00:18 -07:00
bzbarsky@mit.edu
d7b47663a4 Don't allow loads to start in a docshell that's firing the unload event. Alsodon't allow document.open of the document in that docshell. Bug 371360,r=biesi, sr=jst 2007-06-14 11:18:05 -07:00
peterv@propagandism.org
1423e531e9 Fix for bug 384440 (txHandlerTable leaks). r/sr=sicking. 2007-06-14 09:54:34 -07:00
mats.palmgren@bredband.net
af93a34b6b Second attempt at mochitests for bug 375003. 2007-06-13 18:21:13 -07:00
mats.palmgren@bredband.net
8e2a241b4b Disabling tests for bug 375003 for now to fix orange. 2007-06-13 17:38:54 -07:00
mats.palmgren@bredband.net
4805e0ce39 Fix offsetLeft/Top for nested tables and clientLeft/Top for some elements with non-zero margins. b=375003 r+sr=roc 2007-06-13 17:08:10 -07:00
jonas@sicking.cc
5d6d0f52ff Bug 379959: Add checks to loadBindingDocument. r/sr=jst 2007-06-12 14:56:06 -07:00
jst@mozilla.org
23003dea8f Fixing bug 383424. Make the context pusher use the owner document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2007-06-12 14:16:58 -07:00
peterv@propagandism.org
021a3b60fc Mochitest for bug 343870. 2007-06-11 06:17:44 -07:00
peterv@propagandism.org
32b1b96921 Fix for bug 383951 (nsXMLContentSink:: ReportError should ignore NS_ERROR_HTMLPARSER_INTERRUPTED). r/sr=bz. 2007-06-11 03:15:17 -07:00
peterv@propagandism.org
b9ab4744f2 Fix for bug 343870 (Line breaks normalized twice). r/sr=bz. 2007-06-11 02:15:23 -07:00
vladimir@pobox.com
094107ca69 trying to figure out what's going on on the linux reftest tinderbox 2007-06-10 19:49:49 -07:00
bzbarsky@mit.edu
d479536899 Remove duplicated "is this an event attr?" code. Bug 383714, patch by RyanJones <sciguyryan@gmail.com>, r+sr=bzbarsky 2007-06-10 12:27:57 -07:00
mats.palmgren@bredband.net
2580b17d8a Redirect 'contextmenu' events targetted at 'window' to the root content element. b=380818 r+sr=jst 2007-06-08 04:54:16 -07:00
gavin@gavinsharp.com
218738d375 Bug 381031: make JS1.8 the default for <xul:script>, and add a JSVERSION_LATEST #define to simplify future changes, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=brendan 2007-06-07 15:50:12 -07:00
bzbarsky@mit.edu
4c062a36e2 Make the about:blank documents created by CreateAboutBlankContentViewer havethe same encoding as real about:blank documents (that is, UTF-8). Bug 380383,r+sr=jst 2007-06-07 00:13:04 -07:00
roc+@cs.cmu.edu
c71327187f Not Really Part Of The Build. Update nsLineBreaker interface to allow aSink to be null, in which case the computed linebreaks are just discarded. We use this to optimize cases where no breaking is enabled and the results of linebreaking are not required. Also exposes IsSpace and IsComplexChar methods that the linebreaker specification relies on. Renamed CJK stuff to ComplexChar because it's going to include Thai and probably other languages. 2007-06-06 21:17:55 -07:00
roc+@cs.cmu.edu
2bfebe1bc6 Bug 380538. Allow both ononline and onoffline to be specified in the body element. patch by Chris Double, r=Olli.Pettay,sr=jonas 2007-06-06 20:28:04 -07:00
bzbarsky@mit.edu
42abf7a12f Ignore mutations in anonymous content when deciding whether to reclone <use>targets. Bug 380101, r=tor, sr=peterv 2007-06-06 13:01:56 -07:00
bzbarsky@mit.edu
6dfd7347b4 When serializing a <q> as plaintext, put in quotes even if we're not doingformatted output. Bug 378407, r=glazman, sr=sicking 2007-06-05 12:24:55 -07:00
bzbarsky@mit.edu
25b1740402 Don't react to changes in anonymous content subtrees. Bug 383137, r+sr=sicking 2007-06-04 20:29:50 -07:00
bzbarsky@mit.edu
f5f6fbc39c Add an API to observe all loads in a CSSLoader. Change XML prettyprinting tonot start layout till after the prettyprinter stylesheet is loaded, so we don'treflow and reconstruct the whole thing twice. Bug 380612, r+sr=sicking 2007-05-30 18:42:48 -07:00
jonas@sicking.cc
607f8caad0 Bug 373756. Don't execute XBL ctors on the last EndUpdate if there were queued ctors when we got the first BeginUpdate. Patch by bz. r/sr=me 2007-05-30 18:36:06 -07:00
roc+@cs.cmu.edu
bc2c8b9809 Not (Really) Part Of The Build. Fix embarrassing error in nsLineBreaker... 2007-05-30 17:06:31 -07:00
roc+@cs.cmu.edu
ff7447834d Fixing bustage 2007-05-30 15:36:30 -07:00
roc+@cs.cmu.edu
cf38be799a Bug 174397. Support getClientRects and getBoundingClientRect on DOM elements. r=jonas,dbaron; sr=tor, plus help from Anne van Kesteren and Martijn Wargers 2007-05-30 15:32:54 -07:00
roc+@cs.cmu.edu
18223fc22d Not part of the build. Change nsLineBreaker so that breaks at element boundaries are always governed by the white-space property on the element that's the nearest common ancestor of the DOM nodes on each side of the break point --- fixes bug 382289. Also, pass NBSP through to textruns so that whitespace trimming doesn't trim NBSP. Also, count trimmed spaces correctly when updating mClusterCount. 2007-05-30 15:27:27 -07:00
jonas@sicking.cc
a8a2928a3a Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz 2007-05-30 13:43:41 -07:00
vladimir@pobox.com
cc19120042 dummy commit to kick unit test tinderboxes 2007-05-30 04:02:18 -07:00
bclary@bclary.com
7798f66122 Bug 382182 - script tag should support version 1.8, r=jonas,sr=brendan 2007-05-29 22:55:55 -07:00
roc+@cs.cmu.edu
314e02012b Bug 372970. Implement navigator.offlineResources. patch by Dave Camp, r+sr=jst 2007-05-29 02:45:30 -07:00
neil@parkwaycc.co.uk
975c75417a Bug 380364 Fix regressions from bug 236546 r+sr=jst 2007-05-25 13:47:30 -07:00
peterv@propagandism.org
417638f1b9 Fix for bug 375063 (Leaking nsJSContexts and nsXBLDocGlobalObjects at shutdown). r/sr=jst. 2007-05-25 09:05:42 -07:00
Olli.Pettay@helsinki.fi
b9a6965dbe Bug 381153, r+sr=roc 2007-05-25 03:09:29 -07:00
longsonr@gmail.com
d357f77ee4 Bug 381777 - filters crash browser. r+sr=sr=tor 2007-05-25 02:50:02 -07:00
jonas@sicking.cc
0a47e8baa7 Fix yet more regressions from the don't-flag-clone-xul-nodes-indocument landing. b=380872 r/sr=bz 2007-05-24 17:28:20 -07:00
peterv@propagandism.org
22935dfbc9 Try to fix leak regression and tinderbox orange from bug 368774. 2007-05-24 13:50:21 -07:00
peterv@propagandism.org
38e0fa4575 Followup to bug 368774, fix bustage the right way. 2007-05-24 11:39:49 -07:00
peterv@propagandism.org
c0c65da495 Temporary bustage fix. 2007-05-24 07:28:40 -07:00
peterv@propagandism.org
98955fbcad Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
roc+@cs.cmu.edu
197e7e6d0b Backing out to fix bustage :-( 2007-05-23 22:16:52 -07:00
roc+@cs.cmu.edu
e138eb3816 Bug 336959. Reland update to use Pango for linebreaking of Thai and CJK text on Linux. patch by Theppitak Karoonboonyanan, r+sr=roc 2007-05-23 20:16:16 -07:00
bent.mozilla@gmail.com
5c7024b338 Bug 380846 - "Make the build system friendlier for XULRunner apps and extensions." r=bsmedberg. Adds confvars.sh files for all major apps and makefiles.sh for all extensions. 2007-05-23 13:08:44 -07:00
bzbarsky@mit.edu
6a49a8fccf SVG Load events shouldn't need a presshell to fire. Bug 380417, r=jwatt andsmaug, sr=tor 2007-05-23 13:05:53 -07:00
bzbarsky@mit.edu
e1a7b2b6ef Make sure we flush out content before we try to set up the plug-in, sincethat's going to perform DOM access that can flush. Bug 377070, r+sr=biesi 2007-05-23 12:53:31 -07:00
tor@cs.brown.edu
56af31dc01 Bug 381622 - complete cairo removal from svg. r+sr=roc 2007-05-23 08:42:12 -07:00
enndeakin@sympatico.ca
335aceb277 Bug 381078, hang with recursive template, testcase is part of bug 378893, r=smaug,sr=jonas 2007-05-23 05:33:47 -07:00
jwatt@jwatt.org
604300c6e7 Fixing bug 381447. nsSVGLengthList::mCtxType is always set to nsSVGUtils::X. r+sr=tor@acm.org 2007-05-23 01:38:54 -07:00
roc+@cs.cmu.edu
5cf44de899 Backing out due to bustage. 2007-05-22 21:26:42 -07:00
roc+@cs.cmu.edu
daa8d1177d Bug 336959. Use Pango to break lines for CJK and Thai. r+sr=roc, patch by Theppitak Karoonboonyanan. 2007-05-22 21:06:20 -07:00
vladimir@pobox.com
bac6142c81 b=353144, new throws in canvas, r=stuart 2007-05-22 20:58:19 -07:00
sharparrow1@yahoo.com
5749eaf63e Bug 365189 document.width/document.height flush layout too late. r+sr=roc. 2007-05-22 20:52:53 -07:00
roc+@cs.cmu.edu
a56819194e Not Part Of The Build. Update nsTextFrameThebes whitespace handling; allow line breaking only at the end of a run of whitespace. 2007-05-22 16:45:47 -07:00
jonas@sicking.cc
4108fb711b Bug 380872: Bind nodes in insertion points directly under <children>. r/sr=bz 2007-05-22 15:41:32 -07:00
Olli.Pettay@helsinki.fi
7861277e76 Bug 378776, windows bustage 2007-05-22 15:08:36 -07:00
Olli.Pettay@helsinki.fi
da84b4a799 Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz 2007-05-22 14:45:03 -07:00
Olli.Pettay@helsinki.fi
0a6d3668cd Bug 380674, Move nsTObserverArray from content/* to xpcom/*, r=bsmedberg 2007-05-22 12:39:14 -07:00
jonas@sicking.cc
d8633e02b4 Bug 380872: Forgot to address bzs review comment to remove this assertion. r/sr=bz 2007-05-21 17:08:05 -07:00
mrbkap@gmail.com
6a241398b2 Don't assume that the parser is still enabled after we've returned to the event loop. bug 380590, r+sr=sicking 2007-05-21 15:40:59 -07:00
jonas@sicking.cc
0b6e5dff7a Bug 380872: Call BindToTree on anonymous children too when BindToTree is called on an element. r/sr=bz 2007-05-21 15:26:48 -07:00
jonas@sicking.cc
941dc3b4c4 Bug 53901: Make sure to also release controllers when unbinding xul elements from the DOM. r/sr=bz 2007-05-21 15:22:51 -07:00
tor@cs.brown.edu
734eed5f0c Build bustage fix (380757). 2007-05-21 15:13:56 -07:00
tor@cs.brown.edu
c3f20a0396 Bug 380757 - switch svg filters to thebes. r=jwatt, sr=roc 2007-05-21 14:41:53 -07:00
roc+@cs.cmu.edu
b7f3dc0143 Bug 381130. Small changes to layout to fix an inline reflow bug and add a new API to nsLineLayout to support tab stops. r+sr=dbaron 2007-05-20 20:44:26 -07:00
Olli.Pettay@helsinki.fi
6575fbf571 Bug 380716, Crash [@ nsContentUtils::ContentIsDescendantOf], r+sr=jst 2007-05-18 03:23:45 -07:00
mats.palmgren@bredband.net
b426f797d9 Move nsIDocShellTreeItem::childOffset to nsDocShell and remove all uses except internally by nsDocShell (it should be removed eventually). b=376562 r=Olli.Pettay sr=bzbarsky 2007-05-17 20:49:14 -07:00
mrbkap@gmail.com
9669228ea9 Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking 2007-05-17 16:54:35 -07:00
bzbarsky@mit.edu
54d9fbc29a Attach bindings via addBinding even to nodes not in a document. Bug 380990, r+sr=sicking 2007-05-17 11:31:31 -07:00
Olli.Pettay@helsinki.fi
ee6550ec40 Bug 380911, Remove nsRecycled.h, r+sr=bz 2007-05-16 13:37:35 -07:00
gavin@gavinsharp.com
d43420f5f7 Revert unintentional change from bug 374723, r=dolske 2007-05-16 11:59:32 -07:00
benjamin@smedbergs.us
7a23b59d17 Bug 319934 - Prevent shutdown crashes by having XMLHttpRequest objects hold the layout module alive, r+sr=dbaron 2007-05-16 10:05:47 -07:00
gavin@gavinsharp.com
19ca63911e Bug 374723: re-design password manager API and implement in JS rather than C++, patch by Justin Dolske <dolske@mozilla.com>, r=mconnor, r=me 2007-05-16 03:02:45 -07:00
bzbarsky@mit.edu
fcd6592fc2 Fix bug introduced into collapsing of long PIs and comments. Bug 379683followup, r+sr=sicking. 2007-05-15 19:52:30 -07:00
bzbarsky@mit.edu
26ddd49bca Push the new content on the stack before calling BindToTree, since someBindToTree implementations apparently flush out the sink (!). Bug 372323,r+sr=sicking. 2007-05-15 19:21:55 -07:00
jonas@sicking.cc
9a9515bed6 Bug 53901: Don't set is-in-doc flag on cloned XUL nodes. r/sr=jst 2007-05-15 18:13:47 -07:00
ginn.chen@sun.com
a334324e77 Bug 357969 container xul element which doesn't have a xbl def under a deck frame has no accessible objectpatch by nian.liu at sun.com r=surkov.alexander sr=neil 2007-05-15 02:46:06 -07:00
Olli.Pettay@helsinki.fi
e46f507021 Remove rest of nsIDOMEventReceivers, Bug 363089, r+sr=jst 2007-05-15 01:50:33 -07:00
cbiesinger@web.de
9b8503bb13 Bug 370195 – sql device for the offline cachepatch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest) 2007-05-14 13:09:20 -07:00
Olli.Pettay@helsinki.fi
23a27d0393 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:29:22 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
95764e882c Put content types and charsets on the text/plain parts of the form submissionfor multipart POST submissions. Bug 116346, patch by David Nesting<david@fastolfe.net>, r=bzbarsky, sr=sicking 2007-05-13 21:00:49 -07:00
bzbarsky@mit.edu
5b2ec7d443 Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
bzbarsky@mit.edu
64d30dda04 Make use of the wonders of inline-block to produce a much smaller DOM for XMLprettyprinting (fewer nodes, fewer frames, etc). Speeds up prettyprinting by afactor of 2 or so over here, with a 25% memory usage decrease. Bug 379683,r+sr=sicking 2007-05-13 20:00:14 -07:00
asqueella@gmail.com
1cafc60b98 Bug 331991 - Save as "Web Page, Complete" for HTML should include meta charset or encode all non-ASCII characters as entitiesp=Ryan Jones <sciguyryan@gmail.com>r=glazou, sr=peterv 2007-05-13 09:44:06 -07:00
asqueella@gmail.com
53f5456ba7 Bug 362043 - XMLHttpRequest should set a charset in the Content-Type request headerp=Ryan Jones <sciguyryan@gmail.com>r+sr=peterv 2007-05-13 09:41:46 -07:00
Olli.Pettay@helsinki.fi
dc641fc5d4 Bug 369644, make mouseover/out handle native anonymous content properly, r=jst, sr=sicking 2007-05-13 06:59:00 -07:00
peterv@propagandism.org
cf3c4a0ecf Fix for bug 324871 (UserData can cause reference cycles). r/sr=sicking. 2007-05-12 08:36:28 -07:00
bugzilla@standard8.demon.co.uk
f855a4e01a Part of bug 366673 Remove remaining contents.rdf from Suiterunner (stop using installed-chrome.txt) - content/xslt/tests/buster/jar.mn fix. r/sr=sicking 2007-05-12 03:45:43 -07:00
Olli.Pettay@helsinki.fi
3c2b2f46ce Bug 378390, Use a bit to track whether the binding manager has a pointer to an element, r+sr=peterv 2007-05-11 11:34:12 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e8ff68b577 windows bustage fix 2007-05-11 04:33:17 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
dbaron@dbaron.org
ce027d98d6 Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky 2007-05-10 23:00:26 -07:00
jonas@sicking.cc
36cb23b6c1 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-10 13:21:12 -07:00
jst@mozilla.org
bdfbc4a316 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request. 2007-05-09 17:42:33 -07:00
jonas@sicking.cc
ccae61e56a Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-09 16:33:28 -07:00
Olli.Pettay@helsinki.fi
07850bc536 xpcshell testcases for Bug 378247, p=Alex Vincent 2007-05-09 03:48:21 -07:00
bzbarsky@mit.edu
a78167f98d Store the charset we had when we were written into when document.open()happens. Then restore that as the document charset when loading from a wyciwygchannel, instead of just claiming to be UTF-16. Bug 255820, r+sr=jst 2007-05-08 19:47:58 -07:00
Olli.Pettay@helsinki.fi
0e0bf94150 Bug 379763, Need way to determine if a given element has an event handler of a certain type r+sr=jst 2007-05-08 14:13:13 -07:00
jonas@sicking.cc
1c214cc3a2 back out last patch since leaks went through the roof 2007-05-07 18:03:08 -07:00
jonas@sicking.cc
9179b005a4 Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987 2007-05-07 16:45:25 -07:00
bzbarsky@mit.edu
5e66b80452 Make the sync loader handle streams that close on EOF (e.g. data: URLs). Bug379957, r=biesi, sr=peterv 2007-05-07 15:11:53 -07:00
bzbarsky@mit.edu
2931d10719 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-04 23:47:09 -07:00
bzbarsky@mit.edu
5a139c8a8d Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron 2007-05-02 18:15:53 -07:00
masayuki@d-toybox.com
3d8a57b83a Bug 378752 Mnemonic of Menu doesn't work if an editor has focus and IME is on r+sr=roc 2007-05-02 08:34:35 -07:00
joshmoz@gmail.com
48cbd7d72e Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron 2007-05-02 00:46:50 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
0677644242 Don't throw from attribute sets if we can't find a script global to compile anevent handler attribute on. This happens; just don't compile it. Bug 379120,r+sr=peterv 2007-05-01 12:08:08 -07:00
bzbarsky@mit.edu
e83c55e645 Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron 2007-05-01 10:15:08 -07:00
mats.palmgren@bredband.net
7af6f06f71 Make nsWindow methods assume the caller holds a strong ref on 'this'. b=378273 r+sr=roc 2007-04-29 17:46:47 -07:00
gavin@gavinsharp.com
78b03c6869 Bug 233643: clone XUL element prototype inline style rules before they can be modified by script 2007-04-29 10:58:52 -07:00
gavin@gavinsharp.com
daff80acb4 Bug 377295: remove dependence on the binding constructor running before onload for the test from bug 366770, r=martijn 2007-04-29 10:29:19 -07:00
dbaron@dbaron.org
394f44d6ff Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky 2007-04-28 09:01:24 -07:00
asqueella@gmail.com
8b13adb4c2 Bug 375909 - nsCanvasRenderingContext2d incorrectly calculates some coordinates (has appunits * appunits, not appunits/appunits)p=Jeremy Lea <reg@freebsd.org>r+sr=roc 2007-04-27 07:45:21 -07:00
tor@cs.brown.edu
469ca7336a Bug 378508 - convert svg gradients to thebes. r=longsonr, sr=roc 2007-04-27 07:28:39 -07:00
asqueella@gmail.com
f6efd70be4 378327 - minor cleanup/simplification of ForwardReferences code in nsXULDocument- move AddForwardReference and ResolveForwardReferences from nsIXULDocument tonsXULDocument, make them non-virtual.- make mForwardReferences an nsTArray<nsAutoPtr<nsForwardReference> > insteadof nsAutoVoidArray.r=smaug, sr=roc 2007-04-27 07:15:25 -07:00
longsonr@gmail.com
e1a49a1bec Bug 378857 - Simplify clipPath frame access to units. r=tor,sr=roc 2007-04-27 01:42:51 -07:00
bzbarsky@mit.edu
1a863b611c Fix long-standing XBL bug where we didn't update insertion points correctly insome cases. Bug 375299, r+sr=sicking 2007-04-26 21:06:45 -07:00
bzbarsky@mit.edu
ff1caef5dc Don't unblock onload on the document if we no longer have a parser. Bug375051, r=mbkap, sr=sicking 2007-04-26 21:05:08 -07:00
bzbarsky@mit.edu
a11e2edb3f Flush tags before calling StartLayout; otherwise we might end updouble-constructing frames for whatever content we hadn't notified on yet. Bug378559, r+sr=sicking 2007-04-26 11:57:58 -07:00
enndeakin@sympatico.ca
446a76e214 Bug 377423, MemoryElements not removed from the pool properly, fixes topcrash, r=peterv,sr=sicking 2007-04-26 06:03:55 -07:00
ted.mielczarek@gmail.com
467c001632 bug 373181 - onload doesn't fire for XHTML documents that contain a script tag (Firefox's RSS preview is broken) - add mochikit test. r=sicking 2007-04-26 04:39:15 -07:00
bzbarsky@mit.edu
24c328d268 Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for aninitial reflow if we're doing that initial reflow a ways into the documentload. Bug 378480, r+sr=roc 2007-04-25 19:29:21 -07:00
jruderman@hmc.edu
9a4a508274 Remove bogus assertions. Bug 344888, r+sr=tor. 2007-04-25 17:24:28 -07:00
asqueella@gmail.com
f9b2a89c07 Bug 368700 - Using TLDs in document.domain should not be allowedp=Wladimir Palant <trev.moz@adblockplus.org>r=bz, sr=dveditz 2007-04-25 13:48:28 -07:00
bzbarsky@mit.edu
3cfe7cdfcc Don't drop the old sheet when "rel" changes from one value that contains"stylesheet" to anoher. Bug 360746, r+sr=sicking 2007-04-25 11:48:18 -07:00
peterv@propagandism.org
f61971e016 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
bzbarsky@mit.edu
1bd6d423f6 Back out. This actually hurts Tp2, the mac reftests are _still_ orange 2007-04-24 00:33:58 -07:00
bzbarsky@mit.edu
484674884d Another peformance test for bug 378480. Will back out in a few cycles. 2007-04-23 22:46:11 -07:00
Olli.Pettay@helsinki.fi
78227c5b37 Bug 378369, Crash [@ nsEventListenerManager::FixContextMenuEvent] when firing contextmenu event in display: none iframe, r+sr=jst 2007-04-23 20:13:52 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
longsonr@gmail.com
5a09e35207 Bug 378023 - Fix build warnings compiling nsSVGGlyphFrame. r+sr=tor 2007-04-23 01:39:54 -07:00
bzbarsky@mit.edu
d4cb1b7d7b Set the status bar before actually handling the DOM event. That way if theevent is canceled, we'll still show the right status bar text. Bug 40838,patch by Florian Quèze <f.qu@queze.net, r=smaug, sr=bzbarsky 2007-04-23 00:31:21 -07:00
sayrer@gmail.com
f21ac0b126 bug 378336. nsCanvasRenderingContext2D::GetInputStream uses wrong allocator. r+sr=roc 2007-04-22 21:11:04 -07:00
Olli.Pettay@helsinki.fi
74bd5a6654 Bug 378247, nsXTFElementWrapper::PostHandleEvent no longer checks NOTIFY_HANDLE_DEFAULT, p=ajvincent@gmail.com, r=me, sr=bz 2007-04-21 00:35:37 -07:00
bzbarsky@mit.edu
dd9c587591 Followup to bug 84582 to restore the old error-handling behavior here. Fixesone of the reftests. 2007-04-20 16:43:28 -07:00
bzbarsky@mit.edu
c585c92179 Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
enndeakin@sympatico.ca
f7b1a69686 Bug 377663, <titlebar> should move popup if inside one instead of the window, r+sr=roc 2007-04-20 03:56:49 -07:00
Olli.Pettay@helsinki.fi
8df77090be Bug 378102, Remove nsIDOMEventReceiver::HandleEvent r+sr=jst 2007-04-19 16:20:29 -07:00
neil@parkwaycc.co.uk
1e5179b1b2 Bug 377577 Allow templates to generate arbitrarily nested treeitems r=Enn sr=roc 2007-04-19 12:27:11 -07:00
Olli.Pettay@helsinki.fi
87770d8f70 Bug 373998, Use inner global window as the event target in the event target chain, but outer global as DOM event target, r+sr=jst 2007-04-17 02:18:36 -07:00
philringnalda@gmail.com
55c09af394 Bug 370561 - Make nsIFormSubmitObserver scriptable, patch by Justin Dolske <dolske@mozilla.com>, r+sr=jst 2007-04-16 21:06:12 -07:00
tor@cs.brown.edu
b3c5a03a7b Bug 376929 - Remove direct use of cairo from SVG path generation.r=jwatt, sr=roc 2007-04-16 13:57:09 -07:00
sayrer@gmail.com
d7d1c2bc07 Bug 311681 xhtml tests pass now that we have an incremental XML content sink. 2007-04-16 08:53:04 -07:00
sayrer@gmail.com
0ce8af1698 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
Olli.Pettay@helsinki.fi
f8dc235d9d Bug 350334, Core XBL widgets used in web pages can't listen to their own events, r+sr=jst+sicking 2007-04-15 09:28:53 -07:00
masayuki@d-toybox.com
9737b98f68 Bug 358899 [Cocoa] Improve nsIKBStateControl implementation r=josh+ere+masaki.katakai+roc, sr=roc 2007-04-15 06:43:55 -07:00
sayrer@gmail.com
51fd920a47 Bug 368994. Move mochitests near the code they test, round 6. r=bzbarsky 2007-04-14 10:46:36 -07:00
neil@parkwaycc.co.uk
41bb6169ac Bug 376802 Use one global tooltip listener instead of creating one for each XUL element that needs one r=Smaug sr=jst 2007-04-12 13:59:01 -07:00
martijn.martijn@gmail.com
9f26445a44 Mochikit test for bug 371724, r=sayrer 2007-04-12 09:10:42 -07:00
enndeakin@sympatico.ca
ff764a00c6 Bug 362906, assertion when root node in a template isn't XUL, r=smaug,sr=sicking 2007-04-12 08:55:54 -07:00
enndeakin@sympatico.ca
c3b7befff3 Bug 368721, issues with conditions on simple rules in templates,r=smaug,sr=sicking 2007-04-12 08:47:44 -07:00
bzbarsky@mit.edu
4ea7f3126e Adding testcase. 2007-04-11 23:40:27 -07:00
enndeakin@sympatico.ca
708500fbb3 Bug 375681, missed this file, add what-wg drag events, r=smaug,sr=roc 2007-04-11 22:56:13 -07:00
enndeakin@sympatico.ca
8b6667e253 Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc 2007-04-11 21:37:39 -07:00
bzbarsky@mit.edu
65e1a1fadf Don't block the parser on scripts we'll never execute. Bug 371743, r+sr=sicking 2007-04-11 13:18:11 -07:00
joshmoz@gmail.com
a96b0154ec Draw native scrollbars using nsITheme on Mac OS X. Don't use a cocoa control. Fixes a whole host of clipping and visibility bugs and bugs 339447, 369293, 370439. r=josh sr=roc 2007-04-10 17:25:11 -07:00
peterv@propagandism.org
5be4000455 Fix for bug 372713 (Add cycle collection to RDF datasources). r=bsmedberg, sr=dbaron. 2007-04-10 15:05:41 -07:00
bzbarsky@mit.edu
51ae229c59 Make sure to end our update before we decrement mSink->mInNotification. Bug373669, r+sr=sicking 2007-04-06 17:20:09 -07:00
mats.palmgren@bredband.net
8086139084 Workaround a docshell bug by searching the child list instead of indexing with GetChildOffset(). b=162283 r=Olli.Pettay sr=roc 2007-04-04 15:21:33 -07:00
enndeakin@sympatico.ca
1bc747f685 Bug 376428, don't parse onpageshow/onpagehide as events on xul elements, fixes regression in update window, r=sr=sicking 2007-04-04 11:31:56 -07:00
longsonr@gmail.com
600eebbc4b Bug 375696 - target attribute ignored on links. r=jwatt,sr=tor 2007-04-03 01:59:11 -07:00
enndeakin@sympatico.ca
532ad7a5c9 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
7060971da5 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
Olli.Pettay@helsinki.fi
2ac9d63c5d Bug 374547, regression: unable to repeat xbl bound element inside another with the same binding r=jst,sr=bz 2007-04-01 05:19:44 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
longsonr@gmail.com
86ec89aeff Bug 373624 - Support transparent as a gradient and filter stop-color. r=jwatt,sr=tor 2007-03-29 01:59:06 -07:00
bzbarsky@mit.edu
78dbcf82f4 Don't look for random JS contexts; if our target doesn't have one, just bailout. Bug 349467, r=peterv, sr=jst 2007-03-28 13:37:03 -07:00
bzbarsky@mit.edu
5c510e3130 Adding test, bug 371375. 2007-03-28 13:25:20 -07:00
longsonr@gmail.com
86bb049926 Bug 374882. r+sr=tor 2007-03-28 01:54:39 -07:00
roc+@cs.cmu.edu
f21e61b37c Bug 374988. MSVC doesn't pack PRPackedBool bitfields properly, and PRBool field:1 means that the value for 'true' is -1, so use PRUint32 instead. r+sr=sicking 2007-03-27 20:57:36 -07:00
dbaron@dbaron.org
a7d9802f77 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
dbaron@dbaron.org
20ccc7a91d Remove GetKey callbacks from nsDoubleHashtable users. b=374906 r=bsmedberg 2007-03-27 08:34:14 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
masayuki@d-toybox.com
8eb84cfb3e Bug 236546 newlines not added when copying table into clipboard with CTRL+mouse. patch by Jeff Schiller<codedread@gmail.com> r+sr=jst 2007-03-27 08:10:23 -07:00
jwatt@jwatt.org
c82c6a087a 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
cf1ccace7f 375196, r+sr=roc 2007-03-25 22:38:22 -07:00
asqueella@gmail.com
782392a877 Bug 371123 - XMLHttpRequest should trigger content policies
p=Wladimir Palant <trev@gtchat.de>r=jst, sr=sicking
2007-03-24 22:35:39 -07:00
asqueella@gmail.com
bde08ec16b fix bug 369828 - html/svg:style sheets don't work in XUL documents(the fix is to special-case these elements in nsXULDocument::ResumeWalkand manually call UpdateStylesheet on them after the element and its subtreeis fully constructed and inserted into the document)r=bz, sr=peterv 2007-03-24 22:20:29 -07:00
asqueella@gmail.com
b8c797ca40 Bug 373614 - remove nsIXULContentSink interface, use the underlying class directly.r=smaug, sr=roc 2007-03-24 22:02:10 -07:00
Olli.Pettay@helsinki.fi
056e66fd0c Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst 2007-03-24 05:18:02 -07:00
Olli.Pettay@helsinki.fi
31ed919c5c Bug 359113, Crashes [@ nsEventStateManager::ShiftFocusInternal], r+sr=jst 2007-03-24 04:47:28 -07:00
roc+@cs.cmu.edu
29a2c959bb No bug. A variety of fixes to fix various reftest failures. Not Part Of The Build. 2007-03-24 04:07:36 -07:00
Olli.Pettay@helsinki.fi
a04e1d18ae Bug 374584, r=peterv, sr=jst 2007-03-24 03:53:07 -07:00
mats.palmgren@bredband.net
662ee970c3 Fix comment nit. b=374229 r=emaijala sr=roc 2007-03-24 02:48:17 -07:00
mats.palmgren@bredband.net
a8f510b62f Only assert that we have a non-null frame if this event requires a frame. b=374229 r=emaijala sr=roc 2007-03-24 02:45:01 -07:00
roc+@cs.cmu.edu
9878eceb62 Bug 333659. nsLineBreaker fixes. Not Part Of The Build, used by new-textframe only. 2007-03-22 16:45:02 -07:00
hg@mozilla.com
465265d0d4 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