mhammond%skippinet.com.au
311e841004
NS_CreateJSArgv takes a JSContext
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@181842 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-09 08:50:19 +00:00
mhammond%skippinet.com.au
c27dc527ee
* Introduce nsIJSArgArray interface, to allow a native JS argv pointer to
...
be passed. Matching component that supports the new interface and
nsIArray. Thus js->js calls can avoid any nsISupports conversion
overhead. Every JS specific event firer uses this.
* New NS_SL_* macros to make it easy for objects that use an array
of nsIScriptContext objects.
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@181433 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-02 13:24:41 +00:00
mhammond%skippinet.com.au
e7f5eb6c2c
Revert some of the "script binding" work I did into a model closer to the
...
existing one
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@180485 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 08:59:31 +00:00
mhammond%skippinet.com.au
b831717c1a
Add an NS_ERROR that we are temporarily ignoring the script args. Now I
...
just need to work out how to make it fire!
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179762 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 01:42:37 +00:00
mhammond%skippinet.com.au
e7a4ad7042
First checkin on the road to making the DOM language agnostic.
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179648 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-05 00:18:30 +00:00
peterv%propagandism.org
f5f85d2946
Fix for bug 298064 (nsContentUtils::GetDocumentFromCaller() is broken.). r=jst, sr=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@179553 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 18:02:51 +00:00
bzbarsky%mit.edu
fd42ca7d92
Restore disabled state for all form controls. Bug 306616, r+sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@179484 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 18:58:31 +00:00
allan%beaufour.dk
c03c593368
Ooops, part of bug 306620 sneaked in together with the checkin for bug 306614
...
git-svn-id: svn://10.0.0.236/trunk@179475 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 17:07:12 +00:00
allan%beaufour.dk
af331a6879
fieldset should not match :enabled/:disabled. Bug 306614, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@179474 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 16:49:36 +00:00
pavlov%pavlov.net
f576800073
adding support for toDataURL and toDataURLAs on canvas. bug 245684. patches from Brett Wilson <brettw@gmail.com>. r=me, sr=vlad
...
git-svn-id: svn://10.0.0.236/trunk@179437 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 22:16:51 +00:00
mats.palmgren%bredband.net
06ad257375
Implement HTML4 align=middle according to spec. Correct the DOM attribute value mapping for some of the other values as well. b=192077 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@179347 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 22:46:45 +00:00
bzbarsky%mit.edu
1812f65d2f
Implement :enabled and :disabled CSS pseudo-classes. Bug 84400, patch by Allan
...
Beaufour <allan@beaufour.dk >, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179280 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 03:31:47 +00:00
cbiesinger%web.de
36b464860c
Bug 306260 call methods of the direct base class, instead of
...
nsGenericHTMLElement
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@179190 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 11:06:19 +00:00
bzbarsky%mit.edu
049e52625b
Fix comment per my review comments. Bug 305640.
...
git-svn-id: svn://10.0.0.236/trunk@179124 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-27 05:16:06 +00:00
aaronleventhal%moonset.net
b326dc4b07
Bug 305840. Focus problems with XUL textbox, causing problems in findbar, help and address bar because of exception thrown. Patch by Mats Palmgren. r=aaronleventhal, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@179069 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 18:45:23 +00:00
vladimir%pobox.com
f561d566b0
b=304561, firefox unsuitable for browsing high-res image galleries due to preview on tab icon, r=mconnor,sr=bzbarsky,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@178982 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 20:05:24 +00:00
peterv%propagandism.org
bcd5fc4014
Fix for bug 301490 (Rich text editor property useCSS changed meaning). r=brade, sr=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@178929 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 11:51:04 +00:00
smontagu%smontagu.org
ddb207b389
Bug 300270: GetDir() returns empty string instead of 'ltr' or 'rtl'. r=sicking, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@178918 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 06:49:53 +00:00
jst%mozilla.jstenback.com
b4ac0c9234
Fixing bug 305640. Make document.getElementById() work correctly when the hash changes when flushing. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@178909 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 05:17:06 +00:00
bzbarsky%mit.edu
a8c7d445d5
Make sure that a reflow flush on the document makes the sink start layout if
...
needed. Bug 253951, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178851 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 20:56:58 +00:00
aaronleventhal%moonset.net
16ef919f61
Bug 303620. Focus system goes haywire when focus changed in onblur or onchange handler. r=mats, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@178814 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 19:06:07 +00:00
bryner%brianryner.com
811a3afa66
Fix for focus-stealing via blur(). Bug 299677, patch by martijn.martijn@gmail.com, r=me, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@178774 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 06:10:44 +00:00
roc+%cs.cmu.edu
5525e0f045
Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
...
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
jst%mozilla.jstenback.com
52b17d9aec
Fixing bug 277434. Make object.type comply with the DOM spec again and expose the actual mimetype as .actualType on an interface that's *not* exposed w/o explicit QI. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@178648 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 23:44:55 +00:00
bzbarsky%mit.edu
d1afb179ba
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl >, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
bzbarsky%mit.edu
a13a43b362
Restore some frame recursion protection that got lost. Bug 303163, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@178604 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 15:44:49 +00:00
cst%andrew.cmu.edu
0e0b27bf8a
Bug 305215 Fix crash going back while loading an image [@ ImageListener::OnStopRequest] (regression from bug 292503)
...
patch by Frank Wein <bugzilla@mcsmurf.de >, r=biesi sr=jst
git-svn-id: svn://10.0.0.236/trunk@178522 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 22:47:10 +00:00
bzbarsky%mit.edu
e79cce1c42
Allow passing a cached nsIContentPolicy service pointer to
...
NS_CheckContent*Policy if the caller has one. Bug 304845, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178242 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 15:00:01 +00:00
bzbarsky%mit.edu
1815bcf181
Make sure that non-image inputs don't claim to have a useful image via
...
nsIImageLoadingContent. Bug 301635, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178241 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 14:55:07 +00:00
cst%andrew.cmu.edu
88c4924d49
Bug 292503 Working images should not have alt text that says there is an error
...
r=biesi sr=jst
git-svn-id: svn://10.0.0.236/trunk@177926 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 02:49:47 +00:00
bzbarsky%mit.edu
ed6b561eb2
Make sure to set base tag info on the leaf forms we create when HTML is
...
misnested. Bug 73818, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@177916 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 22:57:11 +00:00
bzbarsky%mit.edu
d934c405c0
Make content lists smarter about match functions that don't actually depend on
...
attributes. Bug 299703, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@177803 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 01:43:53 +00:00
mrbkap%gmail.com
1990895d08
bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@177765 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 18:16:42 +00:00
bzbarsky%mit.edu
1d38f76c13
Don't leak radio visitors through shutdown. Bug 302706, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@177738 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 02:42:59 +00:00
bzbarsky%mit.edu
adb845da63
Make table.rows["rowid"] work like it should. Bug 295561, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@177734 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 02:34:21 +00:00
mrbkap%gmail.com
674ac13620
Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained.
...
git-svn-id: svn://10.0.0.236/trunk@177687 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 03:54:29 +00:00
mrbkap%gmail.com
7d07d878fd
bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078.
...
git-svn-id: svn://10.0.0.236/trunk@177684 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 00:53:39 +00:00
dbaron%dbaron.org
f5fb8ddaff
Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@177663 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 22:53:22 +00:00
jst%mozilla.jstenback.com
a9f668bc25
Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
roc+%cs.cmu.edu
a4e5443b20
Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there.
...
git-svn-id: svn://10.0.0.236/trunk@177512 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 20:21:44 +00:00
rbs%maths.uq.edu.au
5c823e99f8
Fallback to about:blank to fix bustage of document.open() in consumers such as View MathML Source, b=289363 r+sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@177303 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 03:15:56 +00:00
jst%mozilla.jstenback.com
792744ce69
Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
...
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
bzbarsky%mit.edu
550f9ef2ed
Fix firing of mutation events on buttons. Bug 288721, r+sr=jst, a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@176766 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 16:16:09 +00:00
bzbarsky%mit.edu
57cdc102f5
Disable just the script loader during innerHTML sets, not all script
...
execution. Bug 299231, r=sicking, sr=peterv, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176619 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 15:40:25 +00:00
timeless%mozdev.org
87548d54ac
Bug 301675 : default value of size DOM attribute of HTMLSelectElement should be 0 when the attribute is missing,
...
patch by Anne van Kesteren <bug@annevankesteren.nl >
r+sr=bzbarsky, a=bsmedberg
fixing this correctly instead of incurring build bustage by removing the previous definition
git-svn-id: svn://10.0.0.236/trunk@176604 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 08:11:42 +00:00
gavin%gavinsharp.com
be5d4609df
backing out last patch
...
git-svn-id: svn://10.0.0.236/trunk@176603 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 08:08:22 +00:00
gavin%gavinsharp.com
fe35860663
Bug 301675 : default value of size DOM attribute of HTMLSelectElement should be 0 when the attribute is missing, patch by Anne van Kesteren <bug@annevankesteren.nl>, r+sr=bzbarsky, a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@176602 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 07:45:05 +00:00
mats.palmgren%bredband.net
2bf311b23d
Prefer a MAP that has AREAs over an empty one with the same name (in quirks mode). b=264624 r+sr=bzbarsky a=benjamin
...
git-svn-id: svn://10.0.0.236/trunk@176584 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 23:37:56 +00:00
bryner%brianryner.com
1f319207af
Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg.
...
git-svn-id: svn://10.0.0.236/trunk@176571 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 22:09:39 +00:00
aaronleventhal%moonset.net
1fc846a154
Bug 300783. Fix unsafe firing of events and perf regression for multi select in HTML listboxes. r+sr=bz, a=mkaply
...
git-svn-id: svn://10.0.0.236/trunk@176567 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 21:40:31 +00:00