4453 Commits

Author SHA1 Message Date
mats.palmgren%bredband.net
4c42bef2ef Null check current doc before using it. b=344787 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203436 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-22 11:07:29 +00:00
bzbarsky%mit.edu
2b95f9092d 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


git-svn-id: svn://10.0.0.236/trunk@203311 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 23:42:51 +00:00
cbiesinger%web.de
aa870d82f9 Bug 343604 make <applet> and <embed> handling consistent when there is no
src/code attribute, aka instantiate java even for <applet/>
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@203293 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 22:19:15 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
bzbarsky%mit.edu
721f49e2ed Use const char[], not const char*. Bug 114997, suggestion by biesi, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203010 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 19:32:00 +00:00
rob_strong%exchangecode.com
20f72aeb5f Bug 343182 - Password Manager asks multiple times to save a password. patch=mwu, r=jst, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@202271 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 00:18:32 +00:00
bzbarsky%mit.edu
0d9cbd7ca3 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


git-svn-id: svn://10.0.0.236/trunk@202270 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 00:18:19 +00:00
Olli.Pettay%helsinki.fi
21b33f7179 Bug 343303, onblur fires before onchange for comboboxes, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@202207 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-17 11:50:19 +00:00
martijn.martijn%gmail.com
dd28a1275b Bug 303730 - <textarea>s in other tabs mess up focus in current 'tab', patch by chpe(at)gnome.org, r=jst, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@202006 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 09:14:56 +00:00
cvshook%sicking.cc
aba7c6ff77 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
git-svn-id: svn://10.0.0.236/trunk@201460 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-02 07:23:10 +00:00
bzbarsky%mit.edu
0c1cb041d7 Make the innerHTML getter serialize all HTML-like content (text, etc) as HTML.
Bug 340800, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@201232 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 16:13:27 +00:00
leon.sha%sun.com
bd5a34d6b1 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+


git-svn-id: svn://10.0.0.236/trunk@201194 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 03:26:29 +00:00
mats.palmgren%bredband.net
c9f10be5a1 Don't create ALT attribute for standalone image that was found in the cache. b=177747 r=bzbarsky sr=neil
git-svn-id: svn://10.0.0.236/trunk@201189 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 02:42:27 +00:00
enndeakin%sympatico.ca
ed636c9217 Bug 333038, support inline spellchecking for designmode, r=brettw, sr=bz
CVS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@201064 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 03:39:41 +00:00
mrbkap%gmail.com
42ab54090e Clear mWyciwygChannel even if the loadgroup tells us there was an error since the call succeeds anyway. bug 342191, r=jst sr=darin
git-svn-id: svn://10.0.0.236/trunk@200868 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 16:50:09 +00:00
mats.palmgren%bredband.net
7b984aa700 Scroll <legend> into view when it receives focus. b=342372 r=aaronleventhal sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@200835 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-25 21:39:03 +00:00
jminta%gmail.com
703f4584d7 Bug 257781 vBulletin (message board) javascript causes wrong username/password to be remembered. patch by Michael Wu <mwu@mozilla.com>, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@200661 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 02:44:39 +00:00
mrbkap%gmail.com
17e58c9b0c 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


git-svn-id: svn://10.0.0.236/trunk@200484 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-21 00:39:24 +00:00
roc+%cs.cmu.edu
e5a9f18b1a Bug 341711. Compute offset* properties using unscrolled positions. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@200464 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 21:21:47 +00:00
mrbkap%gmail.com
abc730764f 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


git-svn-id: svn://10.0.0.236/trunk@200375 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 23:51:32 +00:00
bzbarsky%mit.edu
9209610724 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


git-svn-id: svn://10.0.0.236/trunk@200351 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 21:10:29 +00:00
timeless%mozdev.org
d7d1bbda1f Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
dbaron%dbaron.org
f019e59995 Implement a stub imgIDecoderObserver to save code size in content and layout. b=339612 r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@200151 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 21:07:47 +00:00
mrbkap%gmail.com
a4191ffd29 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
git-svn-id: svn://10.0.0.236/trunk@200142 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 19:13:17 +00:00
dbaron%dbaron.org
d9a07d316b Disable support for proportional widths on <col>. b=333352 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@200024 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 19:20:20 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
mrbkap%gmail.com
0b7523274b 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
git-svn-id: svn://10.0.0.236/trunk@199768 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 22:39:55 +00:00
cbiesinger%web.de
ff3a0eb166 Bug 341077 Show intrinsic state in content tree dumps
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@199711 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 17:03:31 +00:00
longsonr%gmail.com
869aa6b8a1 Bug 340542 - SVG Consolidate functionality to get primary frame. r=tor,r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199707 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 16:14:31 +00:00
martijn.martijn%gmail.com
473ab4d909 Bug 333922 - Setting designMode doesn't work with enhanced privileges on a frame with a different domain, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199691 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 08:55:37 +00:00
bzbarsky%mit.edu
44f31a2103 Fix notifications so we don't double-notify when closing tags. Bug 339249,
r=mrbkap, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@199491 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 04:38:44 +00:00
bzbarsky%mit.edu
81c2afd375 Add assertion to catch issues like bug 312704. r=mrbkap, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@199490 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 04:29:28 +00:00
bzbarsky%mit.edu
13b92c95bf 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


git-svn-id: svn://10.0.0.236/trunk@199489 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 04:28:20 +00:00
roc+%cs.cmu.edu
e721b11f6d Bug 334765. Testing backout to see if it was responsible for btek's Tp change.
git-svn-id: svn://10.0.0.236/trunk@199411 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 02:35:57 +00:00
roc+%cs.cmu.edu
2e8a699503 Bug 334765. Don't include scroll offsets in DOM element offset calculations. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199159 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 22:31:17 +00:00
bzbarsky%mit.edu
49d01c96a5 Fix IsDoneAddingChildren() for <embed>. Bug 339327, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@199114 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 15:33:54 +00:00
Olli.Pettay%helsinki.fi
7c801d8db3 Bug 338954, Make .innerHTML to work without DOM Ranges, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@199056 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 20:32:48 +00:00
cvshook%sicking.cc
83253303c8 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
git-svn-id: svn://10.0.0.236/trunk@198844 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 00:58:04 +00:00
dbaron%dbaron.org
7be4b9c543 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
git-svn-id: svn://10.0.0.236/trunk@198815 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 18:35:21 +00:00
bzbarsky%mit.edu
2f83475c96 Remove some pointless nsIChannel impls. Bug 337748, r=sicking, sr=darin
git-svn-id: svn://10.0.0.236/trunk@198653 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 17:26:00 +00:00
peterv%propagandism.org
399ad6834c Fix for bug 338834 (plugins are broken (PDF, WPM, MPG, AVI etc files won't load)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@198264 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-23 15:33:15 +00:00
peterv%propagandism.org
19e43c6647 Fix for bug 236873 (Share class for more elements). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@198125 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-21 21:00:09 +00:00
Olli.Pettay%helsinki.fi
fe4e09853e Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@197990 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:26:44 +00:00
cvshook%sicking.cc
e96a4f70c3 Bug 337543: Use nsINode more. r/sr+peterv
git-svn-id: svn://10.0.0.236/trunk@197985 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:01:22 +00:00
ginn.chen%sun.com
572a01fca2 Bug 335900 no state change event fired when take action on HTML input
element
patch by evan.yan@sun.com r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@196642 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 03:54:46 +00:00
Olli.Pettay%helsinki.fi
8c8d5effa7 Bug 337586, Crash [@ PresShell::InitialReflow] when window gets destroyed duren beforeunload event handler, pressing reload, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@196551 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:51:35 +00:00
gavin%gavinsharp.com
50ec5c816c 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
git-svn-id: svn://10.0.0.236/trunk@196548 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:40:51 +00:00
gavin%gavinsharp.com
aff52b7588 Bug 337970: don't pass null to RequestCharset, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@196537 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:17:04 +00:00
cvshook%sicking.cc
98f1d1c517 Bug 334075: Push mFlagsOrSlots to nsINode to allow storing flags and (in the future) slots on nsGenericDOMDataNodes. r=mrbkap sr=bz
git-svn-id: svn://10.0.0.236/trunk@196502 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 07:03:15 +00:00
bzbarsky%mit.edu
572b6ceade Fix the way we do notifications so we don't notify twice for <head>. Bug
332644, r=mrbkap, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@196410 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-12 20:36:39 +00:00