pkasting%google.com
6069428d8f
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
git-svn-id: svn://10.0.0.236/trunk@207804 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-18 02:38:40 +00:00
bzbarsky%mit.edu
36b317d733
Implement the :default CSS3 pseudo-class. Bug 302186, patch by Allan Beaufour
...
<allan@beaufour.dk> and jpl24 <jlurz24@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@207539 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 03:20:19 +00:00
bzbarsky%mit.edu
0583386559
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
git-svn-id: svn://10.0.0.236/trunk@207471 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 17:31:16 +00:00
timeless%mozdev.org
c16dc8b542
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.
git-svn-id: svn://10.0.0.236/trunk@207383 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 22:36:15 +00:00
sayrer%gmail.com
95b0f24a09
Bug 340554. Provide sanitizing fragment sinks for use with feeds. r=mrbkap. sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@207207 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 04:46:43 +00:00
pkasting%google.com
b7991a9493
Bug 347200: Designmode documents aren't spellchecked by default.
...
r=brettw
sr=bryner
git-svn-id: svn://10.0.0.236/trunk@206794 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 00:32:43 +00:00
mrbkap%gmail.com
3b3e656905
Protect document.open and document.close against some potential problems. bug 343168, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@206341 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 21:48:03 +00:00
pkasting%google.com
0f0eee34d2
Bug 339127: Add "spellcheck" attribute to control spellchecking.
...
r=brettw
sr=sicking
git-svn-id: svn://10.0.0.236/trunk@205107 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 00:04:40 +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
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
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
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
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
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
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
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
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
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
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
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
timeless%mozdev.org
1a5bcd5020
Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
...
r=bz sr=bz
git-svn-id: svn://10.0.0.236/trunk@196118 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 22:09:20 +00:00
cvshook%sicking.cc
cec9ea1123
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
86c63016f2
Don't half-support document.write in XHTML. Bug 332848, r=mrbkap, jst, sr=dvediz, a=dvediz
...
git-svn-id: svn://10.0.0.236/trunk@195934 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 21:20:14 +00:00
bzbarsky%mit.edu
bf19ef708d
Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
mrbkap%gmail.com
d506ee0a4b
Fixing bustage from bug 333697
...
git-svn-id: svn://10.0.0.236/trunk@195460 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 20:21:31 +00:00
mrbkap%gmail.com
b8f2621c76
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
...
git-svn-id: svn://10.0.0.236/trunk@195456 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 19:53:27 +00:00
roc+%cs.cmu.edu
0efb95265d
Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@195411 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 01:57:22 +00:00
smontagu%smontagu.org
a42a849983
Don't propagate encoding up to the parent document viewer. Bug 315381, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@195343 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 06:57:31 +00:00
bzbarsky%mit.edu
fe80ff3c7a
Make sure documents have a content type at creation time. Bug 311218,
...
r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@195015 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:24:44 +00:00
bzbarsky%mit.edu
0b800bdc50
Don't trim whitespace off hidden input values. Bug 114997, patch by Steuard
...
Jensen <steuard+moz@slimy.com>, r=sicking, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194535 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 21:28:47 +00:00
dbaron%dbaron.org
0972328eae
Null-check mBodyContent. b=334080 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@194453 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 07:21:41 +00:00
benjamin%smedbergs.us
6e24a5d20a
Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@194221 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 15:43:32 +00:00
Olli.Pettay%helsinki.fi
0364c240e0
Bug 330494, changing the category names per bz' suggestion
...
git-svn-id: svn://10.0.0.236/trunk@194142 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 17:05:25 +00:00
Olli.Pettay%helsinki.fi
52e2d4c325
Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@194006 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:04:54 +00:00
bzbarsky%mit.edu
688678ad2e
Make sure the write termination function only terminates the parser that was
...
active when it was set. Bug 331620, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@193899 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 01:45:27 +00:00
mrbkap%gmail.com
9f3c532118
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
...
git-svn-id: svn://10.0.0.236/trunk@193852 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 00:32:03 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00