Commit Graph

1494 Commits

Author SHA1 Message Date
Peter Van der Beken
1add2c5c48 Remove redundant mWeakReference (also in nsINode::nsSlots). r=sicking.
--HG--
extra : rebase_source : 6c8d4b7a3930dff5ccac300af228a1bc3e1786c4
2009-08-25 13:13:30 -07:00
Peter Van der Beken
8b5c239aac Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Jesse Ruderman
e7e4dcc7df Bug 418928 - remove bogus assertion. r=roc 2009-08-25 18:44:59 -07:00
Benjamin Smedberg
0e0931b400 Bug 509798 - Create a ContentProcess protocol which manages IFrameEmbedding. ContentProcessChild is a globally-accessible singleton in the content process. For the moment, ContentProcessParent is a global singleton in the parent process, but that will change once we have process-per-domain or something similar.
--HG--
rename : dom/ipc/TabThread.cpp => dom/ipc/ContentProcessThread.cpp
rename : dom/ipc/TabThread.h => dom/ipc/ContentProcessThread.h
2009-08-12 12:18:08 -04:00
Johnny Stenback
039b7eb41d Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00
Blake Kaplan
fa51c49e3b Bug 504877 - Check for UniversalXPConnect access further down on the stack chain. r=jst sr=bzbarsky 2009-08-06 20:25:13 -07:00
Robert O'Callahan
e324cf9671 Bug 518659. Make nsHTMLMediaElement hold a reference to itself to keep itself alive while network or decoder activity could result in events being fired in the future. Also rework the handling of media elements in inactive documents. r=jst, r=doublec 2009-10-02 00:10:13 +10:00
Robert O'Callahan
5491b2a188 Bug 518659. Create nsIDocument::IsActive and IsVisible APIs so we can track HTML5 'active'ness. r=jst 2009-10-05 17:13:11 +13:00
Makoto Kato
523bfdfd54 Backout Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref 2009-10-26 21:53:41 +09:00
Makoto Kato
f04dad3982 Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r+sr=jst 2009-10-26 20:11:24 +09:00
Blake Kaplan
bc48a0588d Attempting to wallpaper over the topcrash reported in bug 408116. r+sr=jst@mozilla.com 2009-10-23 14:50:40 -07:00
Jaakko Kiviluoto
53ba8a7707 Bug 523333. nsContentUtils::HidePopupsInDocument() does not check for null nsIDocument argument properly. r=enndeakin 2009-10-23 16:24:47 -04:00
David Zbarsky
bef61061f8 Bug 487023. Refactor IsCaseSensitive() into non-virtual inline IsHTML(). r=hsivonen, sr=jst 2009-08-25 13:15:55 -04:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Doug Turner
db1a20b897 Bug 485943 - Device Orientation Support. r=olli 2009-08-21 07:42:37 -07:00
Zack Weinberg
1afe956ac2 Bug 444377 - preserve string form of color attributes; r=bzbarsky 2009-08-19 17:05:14 +02:00
Olli Pettay
2f12596208 Bug 495883 - ASSERTION: Unable to get an nsIScriptGlobalObject from the ScriptGlobalObjectOwner, r=sicking
--HG--
extra : rebase_source : 7e0670c8165de7e761ed5adec653dac676e00982
2009-08-19 12:09:26 +03:00
Mats Palmgren
663acda6e0 Bug 498240 - Range.insertNode() causing NS_ERROR_DOM_INDEX_SIZE_ERR. r+sr=peterv 2009-08-19 02:18:24 +02:00
Taras Glek
8943704095 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Mats Palmgren
51b2d8fe4b The traversal range end points are always part of the range. b=327694 r=jst 2009-08-27 20:05:23 +02:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Neil Deakin
3028324937 Bug 510388, check descendant documents for focus when closing popups, r=bz,sr=smaug 2009-08-27 08:51:41 -07:00
Ben Turner
fec47e4cf1 Remove annoying assertion when starting tab child process 2009-08-05 12:36:23 -07:00
Robert O'Callahan
7b301159c7 Bug 512367. Don't reset fullZoom level when zooming in/out of an image loaded in an <iframe>. r=smaug 2009-10-15 15:20:50 +13:00
Boris Zbarsky
a839677a8d Bug 522030 followup; do the release at a better point. Fixes orange. 2009-10-13 19:34:41 -04:00
Boris Zbarsky
7483a910e3 Bug 489925 and bug 522030 branch-safe fix. Hold strong refs in the id table. r=jst 2009-10-13 16:51:02 -04:00
Boris Zbarsky
c3214c55a5 Backed out changeset c5fe17b1caa9 (bug 489925) 2009-10-13 15:39:31 -04:00
Dão Gottwald
0153f907d0 Backed out unintended commit 2009-10-13 19:23:48 +02:00
Dão Gottwald
a1c4f0ea5b x 2009-10-13 16:56:06 +02:00
Ben Turner
cd1d42ffe0 Merge mozilla-central 2009-07-30 11:28:07 -07:00
Jonas Sicking
1c4ef732da Bug 507023: When inserting fragments into the DOM, use ContentAppended notification when possible. r/sr=jst 2009-07-30 02:27:24 -07:00
Ben Turner
fd28e9de5a Allow out of process tabs and plugins to be disabled via prefs or environment variables, and disable them both by default so that unit tests go green. 2009-07-24 15:21:07 -07:00
Boris Zbarsky
25c2a2fded Bug 488249 followup. Make some more HTML nodeinfos use the right namespace. 2009-10-01 11:54:10 -04:00
Benjamin Smedberg
0501b7a589 Make --disable-ipc work... mac-ppc now builds by default. 2009-07-20 15:04:52 -04:00
Benjamin Smedberg
1e808cd4ea Merge mozilla-central into Electrolysis
--HG--
rename : modules/plugin/base/src/nsPluginHostImpl.cpp => modules/plugin/base/src/nsPluginHost.cpp
2009-07-20 09:36:23 -04:00
Peter Van der Beken
3145f88586 Part 1 of fix for bug 500850 (Make inline style use wrapper cache and slimwrappers). r/sr=bz.
--HG--
extra : rebase_source : 21f9c86dc4024e0e23882226e8395d61d5b0c518
2009-07-13 13:14:57 +02:00
Henri Sivonen
5cfd6d5ab3 Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
fantasai
1a4e383ad9 Bug 499377 - Store float region on frame r+sr=roc 2009-07-14 22:19:31 -07:00
Peter Van der Beken
ed0899f1ce Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
Benjamin Smedberg
d072272ca2 Windows build fixup. I haven't really tested whether tabs actually *work* in this scenario (widget sizing and parenting might be interesting), but it's at least enough to allow other people to start really working on code. 2009-07-07 12:26:49 -04:00
Chris Jones
8aa21b1e90 merge plugin work from libchromiumipc. add env var check for OOP iframe. a few small bugfixes here and there. 2009-07-02 11:54:22 -05:00
Benjamin Smedberg
cdf4b869dc Land the remote-tab code from tmp-electrolysis. 2009-06-30 16:39:22 -04:00
Olli Pettay
6041f8abed Bug 496567 - Remove nsXULCommandEvent and nsIDOMXULListener, r=neil, sr=sicking 2009-06-30 10:56:40 +03:00
Josh Aas
4a7715939e Bug 501194 - Remove nsplugin.h. r/sr=jst 2009-06-30 01:55:05 -04:00
David Bolter
281b227c46 Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking 2009-06-29 14:36:25 -04:00
Robert O'Callahan
62129c7d37 Bug 500556. Split FRAMETREE_DEPENDS_ON_CHARS bit into NS_CREATE_FRAME_IF_NON_WHITESPACE and NS_REFRAME_IF_WHITESPACE so we don't need to reframe for every data change. r+sr=bzbarsky
--HG--
extra : rebase_source : 580aed3273c16e8402434a6f32d18dca542f29c0
2009-06-29 10:48:24 +12:00
Henri Sivonen
857e3285d1 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 01:28:32 +02:00
Olli Pettay
5f157c4ca7 Bug 500243 - range.surroundContents() adds an extraneous empty text node, r=ajvincent@gmail.com, sr=sicking 2009-06-28 22:48:05 +03:00
Olli Pettay
b0eab11c98 Bug 497780 - onmouseout's MouseEvent.relatedTarget is a chrome element and is completely inaccessible, r=mrbkap@gmail.com, sr=bz 2009-06-28 22:46:52 +03:00
Johnny Stenback
eb2ed73403 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
af98547431 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Henri Sivonen
28fcb8397f Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Chris Pearce
1a65d280a9 Bug 449156 - Implement HTMLVideoElement.poster, with correct reftests. r+=doublec,jst, sr+=roc 2009-06-26 19:25:17 +12:00
Chris Pearce
55076f0d9d Backout bug 449156 due to test-poster-9 failure. 2009-06-26 18:25:03 +12:00
Chris Pearce
7bb427a394 Bug 449156 - Implement HTMLVideoElement.poster r+=doublec,jst sr+=roc 2009-06-26 16:23:14 +12:00
Josh Aas
4734a09527 Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst 2009-06-25 17:06:54 -04:00
Henri Sivonen
496b19a91d Merge trunk into HTML5 repo 2009-06-23 10:17:29 +03:00
Henri Sivonen
02dfbcf3ff Bug 497865 - Make serializer not reverse attributes when HTML5 parser used (patch by Mats Palmgren) 2009-06-22 12:16:37 +03:00
Henri Sivonen
43e0fcb133 Merge trunk into HTML5 repo 2009-06-22 10:05:55 +03:00
Henri Sivonen
0ffb6117a2 Make HTML5 parser enablement use AddBoolPrefVarCache 2009-06-21 16:14:38 +03:00
Neil Deakin
463ebf9287 Bug 455590, use new drag and drop api with trees, r=neil,sr=smaug 2009-06-24 13:12:33 -04:00
Olli Pettay
965bce94cb Bug 495983 - Remove nsPageTransitionEvent, r+sr=jst 2009-06-24 16:33:02 +03:00
Olli Pettay
05d764dea7 Backout Bug 495983
--HG--
extra : rebase_source : d60b23f968d8279ef726de5baf4eaa622814687c
2009-06-24 14:32:50 +03:00
Olli Pettay
bbe57b86cd Bug 495764 - remove unused methods from nsIPrivateDOMEvent, r+sr=jst
--HG--
extra : rebase_source : a1ad4daa29a7025a0345ece37752b8e6374d7b1f
2009-06-24 12:02:37 +03:00
Olli Pettay
a22b555893 Bug 495983 - Remove nsPageTransitionEvent, r+sr=jst
--HG--
extra : rebase_source : e5dac1176973db9660eb109e03d237799acad35d
2009-06-24 11:47:46 +03:00
Henri Sivonen
420d38551f Merge trunk into HTML5 repo 2009-06-16 12:18:59 +03:00
Henri Sivonen
fa3e4b55a2 Disable HTML5 parser by default 2009-06-15 10:17:52 +03:00
L. David Baron
9a8d97752d Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
Boris Zbarsky
69367704d2 Bug 466409. If the load is stopped, don't run any pending scripts. r+sr=sicking 2009-07-07 22:55:05 -07:00
bjarne@runitsoft.com
6687250282 Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky 2009-07-07 22:23:20 -07:00
Ben Newman
94f19e102d Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Henri Sivonen
6f2dda34a3 Make HTML5 createContextualFragment support text nodes and documents as context 2009-06-12 17:31:55 +03:00
Henri Sivonen
2c937dc855 Avoid using HTML5 contextual fragment code path when context is not nsIContent 2009-06-12 16:42:35 +03:00
Peter Van der Beken
3e77cc7366 Fix for bug 499754 (Remove DocumentStyleSheetList from DOMCI). r/sr=bz.
--HG--
extra : rebase_source : 994c6ddd20bbc36df7e8c1fd75b146a3da9aad8b
2009-06-23 12:09:13 +02:00
Olli Pettay
1a534bf2c2 Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Henri Sivonen
bb1733dfd5 Merge trunk into HTML5 repo 2009-06-11 17:00:20 +03:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Peter Van der Beken
dd5bda7f79 Fix for bug 502730 (ASSERTION: Wrong scope, this is really bad!: 'JS_GetGlobalForObject(cx, obj) == newScope').
--HG--
extra : rebase_source : dbd409d54e6ecad801953d4cf76a57f95c419f94
2009-07-25 13:27:42 +02:00
Peter Van der Beken
82ce2b89d6 Fix for bug 500850 (Make inline style use wrapper cache and slimwrappers), add unlinking. r/sr=bz.
--HG--
extra : rebase_source : ec60be3645c020dd171e0ea4866759d6a508799c
2009-08-10 16:15:49 +02:00
Neil Deakin
27fcca5f3d Bug 507056, move scale atom as it's needed for both xul and svg, r=bz 2009-08-12 10:04:40 -04:00
Olli Pettay
cb4754240f Bug 501257 - Implement HTML 5's HTMLElement.classList property, p=sylvain.pasche@gmail.com, r=smaug, sr=sicking
--HG--
extra : rebase_source : cbbd5a5679af57f97122082213f44491431d87e3
2009-08-12 11:55:14 +03:00
Henri Sivonen
2b33dab370 Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Henri Sivonen
69949bfe89 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Christian Biesinger
75d4cbb2e8 bug 498433 Add [ ] to the EscapeURI whitelist, so that IPv6 literals get
serialized correctly.
r+sr=bz
2009-06-16 15:15:57 +02:00
Neil Deakin
5303f25260 Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron 2009-07-29 14:33:53 -04:00
David Zbarsky
a3748ef858 Bug 484200. src attribute on <style> makes styles not apply. r=bzbarsky 2009-07-28 12:07:31 -04:00
Olli Pettay
630314bd62 Bug 505730 - nsRange::ContentRemoved does too much work, r=sicking 2009-07-27 15:58:23 +03:00
Michael Kohler
39067b5db3 Bug 106386 - Correct misspellings in source code (old); Patch 1; r=timeless 2009-07-27 10:46:59 +02:00
Robert O'Callahan
14dbcb0874 Bug 371839. Simplify SetSelected signature and semantics, and reimplement it in nsTextFrame much more efficiently. r=bzbarsky
--HG--
extra : rebase_source : 18c390e3ebd09de82b1a23699c56b741f928ca37
2009-07-27 10:05:41 +12:00
David Zbarsky
065a422dab Bug 332893. <form>.elements['x'] order is not updated after reordering element using DOM. r=bzbarsky 2009-07-24 09:33:20 -04:00
Henri Sivonen
54e806273c Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Henri Sivonen
7b8db88561 Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03:00
timeless@mozdev.org
73ec0541b5 Bug 504453 nsAttrAndChildArray::GrowBy worries coverity
r=sicking sr=sicking
2009-07-22 17:31:01 -05:00
Robert O'Callahan
2ebc95776b Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug 2009-07-22 12:45:09 +12:00
Joe Drew
6c441f55f7 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Jonas Sicking
f3ab6311bc Add prefs to disable CORS, as well as fix compliance issue in Access-Control-Request-Headers header. r/sr/a=jst 2009-05-20 16:07:18 -07:00
Olli Pettay
1d0c8384b8 Bug 491063 - Mixed mode warning dialog (and other dialog windows) is sometimes not rendered, r+sr=bz 2009-05-20 11:00:04 +03:00
Boris Zbarsky
bc7e96f36d Fixing bug 488649 build bustage 2009-05-19 22:40:07 -04:00
Boris Zbarsky
0460675e76 Bug 489671. Make sure the error reporter doesn't suppress our error reports. r=mrbkap, sr=jst 2009-05-19 22:11:01 -04:00
Zack Weinberg
d1ad418dbf Bug 488649: Unify document.body.{bgColor,text,link,vLink,aLink} with the <body> attributes of the same names. Do not default to prescontext/CSS for these. Remove the unsafe function NS_RGBToHex(). 2009-05-19 22:11:01 -04:00
Jonas Sicking
d378472c28 Bug 481566: Add prefs to control making the content sink more responsive. r/sr=mrbkap 2009-05-19 08:54:42 -07:00
Olli Pettay
2fac929f6b Bug 495098 - [@ nsXMLHttpRequest::StreamReaderFunc ], r+sr=sicking
--HG--
extra : rebase_source : 29d31152455cd9f6702f0788539f0b62bbcf3a98
2009-06-15 13:11:04 +03:00
Olli Pettay
42ec618ee6 Trunk patch for Bug 491134, r+sr=jst 2009-06-15 11:27:29 +03:00
Olli Pettay
0909c69d98 Bug 384003 - XPathEvaluator does not accept a Node as NSResolver, r=sicking, sr=peterv 2009-06-14 21:06:22 +03:00
Laurent Jouanneau
1eaf91e8f7 Bug 494103 - nsXMLContentSerializer UMR during update.mar tests; r+sr=peterv 2009-06-13 15:27:35 +02:00
Robert O'Callahan
a2a28c523b Bug 479863. Stop buffering media elements by default, implement 'autobuffer' attribute to control buffering. r=doublec
--HG--
extra : rebase_source : 5fa0b63da981fdfcf7b1555174b6d1122bf2ae97
2009-05-18 14:00:44 +12:00
Robert O'Callahan
9eb2887534 Bug 489008. Destroy anonymous content off a script-runner. r=bzbarsky 2009-05-18 10:08:08 +12:00
Boris Zbarsky
0f6dae2977 Bug 489050. Make sure to not notify on our content once we've disconnected from the document. r=bent, sr=sicking 2009-05-17 10:22:55 -04:00
Boris Zbarsky
6f4f48e0e7 Bug 492196. Make it possible to disable dns prefetch on a per-docshell-tree level; disable it by default in embedding contexts, for api compat. r+sr=jst 2009-05-17 10:22:54 -04:00
Henri Sivonen
70bbf4241e Bug 468708 - Fix serializer code to live in the XHTML namespace world 2009-05-04 11:19:56 -07:00
Henri Sivonen
fee082ae9f Merge the trunk into HTML5 parsing repo 2009-05-04 11:19:16 -07:00
Blake Kaplan
7b08162c95 Bug 506838 - Deal with GetCxSubjectPrincipalAndFrame returning a non-scripted frame. r+sr=jst 2009-08-10 18:07:47 -07:00
Roy Frostig
249672820c bug 508487. elementFromPoint returns null outside of viewport when aIgnoreRootScrollFrame is true 2009-08-07 21:10:05 -07:00
L. David Baron
a24f75b42e Separate RuleProcessorData and derived structs into their own header file to reduce include dependencies. (Bug 435441) r=bzbarsky
--HG--
rename : layout/style/nsIStyleRuleProcessor.h => layout/style/nsRuleProcessorData.h
2009-08-01 08:53:40 -07:00
Henri Sivonen
91398b9466 Bug 479774 - Process cache manifests in the HTML5 parser 2009-04-30 15:41:50 -07:00
Brandon Sterne
0409e5a0a5 Bug 490760. Don't crash on changes to the child node list. r+sr=jst 2009-05-15 15:16:04 +12:00
Olli Pettay
a26f88717b Bug 461861, r=mrbkap, sr=jst
--HG--
extra : rebase_source : a5aea484f992785a3d67bb03d7fe074ce4f7f95a
2009-05-14 10:03:15 +03:00
Henri Sivonen
5c1801d482 Implement one single parsing quirk for HTML5 parser: <p><table>. Required to pass Acid2 and to be compatible with legacy content. 2009-04-22 12:17:08 +03:00
Henri Sivonen
458a64c0ce Merge in patch for bug 468708. 2009-04-16 13:36:59 +03:00
Henri Sivonen
51bb8f55eb Bug 468708 - Make namespace URI for HTML elements be http://www.w3.org/1999/xhtml 2009-04-16 13:28:40 +03:00
Henri Sivonen
5712cc9dc6 Avoid regressing bug 321781 in the HTML5 parser 2009-04-01 18:29:23 +03:00
Henri Sivonen
e096617179 Merge trunk into HTML5 parsing repo 2009-03-30 15:32:26 +03:00
Zack Weinberg
0412a0974c Bug 499543: handle total transparency in LegacyRGBToHex. r+sr=bzbarsky 2009-06-01 14:40:14 -04:00
Henri Sivonen
4a6930f177 Merge the trunk into HTML5 parsing repo 2009-03-26 14:10:18 +02:00
Arpad Borsos
726ab5be17 Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, content part; r+sr=sicking 2009-03-26 09:29:49 +01:00
Peter Van der Beken
ca8ccf47e0 Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Peter Van der Beken
210b12cddd Fix for bug 502055 (XBL leaks). r=smaug, sr=bz. 2009-07-02 14:05:32 +02:00
Peter Van der Beken
53bf054e46 Fix for bug 499910. r/sr=bz.
--HG--
extra : rebase_source : 923016caa3c0b3a4dd04ff14eedd512b2ed2706b
2009-06-25 15:13:38 +02:00
<jlebar@mozilla.com>
7de5d30e8d Bug 385434: Add support for HTML5 onhashchange. r=smaug, sr=sicking 2009-06-26 10:16:50 -07:00
Henri Sivonen
f34870fa9e Fix case-insensitivy in attribute manipulations (bug 468708) 2009-03-24 18:42:03 +02:00
Olli Pettay
e511e04fa7 Bug 484658 - element.focus() handing when called during event suppression, r+sr=jst 2009-03-25 16:11:11 +02:00
Peter Van der Beken
ee568a5ae0 Fix for bug 498897. r/sr=mrbkap.
--HG--
extra : rebase_source : d1f8c9d42fc5c0369e8674d7c148ddc25bdfaaed
2009-06-19 18:31:48 +02:00
Mats Palmgren
d04121109e Bug 382369. Distinguish click from click-drag on a <label> so text selection works. r+sr=roc, help from Zack Weinberg 2009-03-24 13:55:29 +13:00
Boris Zbarsky
1c1a3affbf Backing out changeset b47f0de93a82 (bug 457809) due to test failures 2009-03-24 19:18:25 -04:00
bjarne@runitsoft.com
2129bba0b3 Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bz 2009-03-24 12:52:00 -04:00
Henri Sivonen
d4a2fbc016 Merge trunk into HTML5 parsing repo 2009-03-20 17:09:05 +02:00
Boris Zbarsky
1d325109b3 Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Robert O'Callahan
0d7d241faf Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst
--HG--
extra : rebase_source : cf8294ebf52bf91b067dc065ccf92098c529a445
2009-05-08 13:32:32 +12:00
Robert Longson
983f8abcf2 Bug 484176 - Support allowReorder for switch. r=jwatt,sr=roc 2009-05-07 20:37:33 +01:00
Boris Zbarsky
64b2d5e1bf Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Olli Pettay
e64efde796 Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 7bce078904782a5a907eebbbff7b74a905cfa8c1
2009-05-07 16:59:51 +03:00
Olli Pettay
fc5f3a87aa backout bug484775 2009-05-07 10:19:06 +03:00
Olli Pettay
d9072725ae Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 9c6f8f9d3cd1283adb7b69b93440f7da01924326
2009-05-07 09:31:04 +03:00
L. David Baron
8adbc0edb6 Make it so nsDocument::mPendingTitleChangeEvent doesn't keep the document alive after cycle collection expects it to be destroyed. (Bug 488786) r+sr=jst r=bsmedberg 2009-05-06 13:46:01 -07:00
Boris Zbarsky
05780cc568 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
laurent@xulfr.org
cca4eaa78d Bug 422403 - improvements to the XML and XHTML serializers, r=smaug, sr=sicking
--HG--
extra : rebase_source : ead8a81eb95c4aec6122850ca58c20399f94758b
2009-04-25 12:00:14 +03:00
Olli Pettay
b6ef8520f2 bug 489988 - Java Applets reload when print is called, r+sr=roc 2009-04-25 02:46:16 +03:00
Olli Pettay
7f711199fa Bug 489581 - Reduce Addref/Release when calling event handlers, r+sr=jst 2009-04-24 12:18:37 +03:00
Blake Kaplan
54734b9d0b Bug 475864 - Move native anonymous content checks into a wrapper so that quickstubs don't sidestep them. r=jst sr=bzbarsky 2009-04-23 00:21:22 -07:00
Boris Zbarsky
4df63aaac7 Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst 2009-03-16 20:59:33 -04:00
Dave Townsend
c9bee16a1c Merge backout of bug 482659 2009-03-17 11:09:15 +00:00
Dave Townsend
36de5ef33a Backed out changeset 55d159b75f41 from bug 482659. 2009-03-17 11:08:59 +00:00
Boris Zbarsky
c6ba3c228b Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
Boris Zbarsky
1f8b3851ba Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst 2009-03-16 20:59:33 -04:00
Boris Zbarsky
ca51308331 Bug 483341. End updates before removing script blockers. r=smaug, sr=sicking 2009-03-16 07:46:32 -04:00
Benjamin Smedberg
ca96f9405e Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
--HG--
rename : dom/src/base/Makefile.in => dom/base/Makefile.in
rename : dom/src/base/crashtests/244933-1.html => dom/base/crashtests/244933-1.html
rename : dom/src/base/crashtests/275912-1.html => dom/base/crashtests/275912-1.html
rename : dom/src/base/crashtests/327571-1.html => dom/base/crashtests/327571-1.html
rename : dom/src/base/crashtests/327695-1.html => dom/base/crashtests/327695-1.html
rename : dom/src/base/crashtests/329481-1.xhtml => dom/base/crashtests/329481-1.xhtml
rename : dom/src/base/crashtests/338674-1.xhtml => dom/base/crashtests/338674-1.xhtml
rename : dom/src/base/crashtests/346381-1.html => dom/base/crashtests/346381-1.html
rename : dom/src/base/crashtests/359432-1.xhtml => dom/base/crashtests/359432-1.xhtml
rename : dom/src/base/crashtests/369413-1.html => dom/base/crashtests/369413-1.html
rename : dom/src/base/crashtests/372554-1.html => dom/base/crashtests/372554-1.html
rename : dom/src/base/crashtests/404869-1.xul => dom/base/crashtests/404869-1.xul
rename : dom/src/base/crashtests/439206-1.html => dom/base/crashtests/439206-1.html
rename : dom/src/base/crashtests/462947.html => dom/base/crashtests/462947.html
rename : dom/src/base/crashtests/473284.xul => dom/base/crashtests/473284.xul
rename : dom/src/base/crashtests/90613-1.html => dom/base/crashtests/90613-1.html
rename : dom/src/base/crashtests/crashtests.list => dom/base/crashtests/crashtests.list
rename : dom/src/base/domerr.msg => dom/base/domerr.msg
rename : dom/src/base/nsBarProps.cpp => dom/base/nsBarProps.cpp
rename : dom/src/base/nsBarProps.h => dom/base/nsBarProps.h
rename : dom/public/nsDOMCID.h => dom/base/nsDOMCID.h
rename : dom/src/base/nsDOMClassInfo.cpp => dom/base/nsDOMClassInfo.cpp
rename : dom/src/base/nsDOMClassInfo.h => dom/base/nsDOMClassInfo.h
rename : dom/public/nsDOMClassInfoID.h => dom/base/nsDOMClassInfoID.h
rename : dom/public/nsDOMError.h => dom/base/nsDOMError.h
rename : dom/src/base/nsDOMException.cpp => dom/base/nsDOMException.cpp
rename : dom/src/base/nsDOMException.h => dom/base/nsDOMException.h
rename : dom/public/nsDOMJSUtils.h => dom/base/nsDOMJSUtils.h
rename : dom/src/base/nsDOMScriptObjectFactory.cpp => dom/base/nsDOMScriptObjectFactory.cpp
rename : dom/src/base/nsDOMScriptObjectFactory.h => dom/base/nsDOMScriptObjectFactory.h
rename : dom/public/nsDOMScriptObjectHolder.h => dom/base/nsDOMScriptObjectHolder.h
rename : dom/public/nsDOMString.h => dom/base/nsDOMString.h
rename : dom/src/base/nsDOMWindowList.cpp => dom/base/nsDOMWindowList.cpp
rename : dom/src/base/nsDOMWindowList.h => dom/base/nsDOMWindowList.h
rename : dom/src/base/nsDOMWindowUtils.cpp => dom/base/nsDOMWindowUtils.cpp
rename : dom/src/base/nsDOMWindowUtils.h => dom/base/nsDOMWindowUtils.h
rename : dom/src/base/nsFocusController.cpp => dom/base/nsFocusController.cpp
rename : dom/src/base/nsFocusController.h => dom/base/nsFocusController.h
rename : dom/src/base/nsGlobalWindow.cpp => dom/base/nsGlobalWindow.cpp
rename : dom/src/base/nsGlobalWindow.h => dom/base/nsGlobalWindow.h
rename : dom/src/base/nsGlobalWindowCommands.cpp => dom/base/nsGlobalWindowCommands.cpp
rename : dom/src/base/nsGlobalWindowCommands.h => dom/base/nsGlobalWindowCommands.h
rename : dom/src/base/nsHistory.cpp => dom/base/nsHistory.cpp
rename : dom/src/base/nsHistory.h => dom/base/nsHistory.h
rename : dom/public/nsIBaseDOMException.h => dom/base/nsIBaseDOMException.h
rename : dom/public/nsIDOMClassInfo.h => dom/base/nsIDOMClassInfo.h
rename : dom/public/nsIDOMScriptObjectFactory.h => dom/base/nsIDOMScriptObjectFactory.h
rename : dom/public/nsIEntropyCollector.idl => dom/base/nsIEntropyCollector.idl
rename : dom/public/base/nsIFocusController.h => dom/base/nsIFocusController.h
rename : dom/public/nsIJSEventListener.h => dom/base/nsIJSEventListener.h
rename : dom/public/nsIJSNativeInitializer.h => dom/base/nsIJSNativeInitializer.h
rename : dom/public/nsIScriptChannel.idl => dom/base/nsIScriptChannel.idl
rename : dom/public/nsIScriptContext.h => dom/base/nsIScriptContext.h
rename : dom/public/nsIScriptExternalNameSet.h => dom/base/nsIScriptExternalNameSet.h
rename : dom/public/nsIScriptGlobalObject.h => dom/base/nsIScriptGlobalObject.h
rename : dom/public/nsIScriptGlobalObjectOwner.h => dom/base/nsIScriptGlobalObjectOwner.h
rename : dom/public/nsIScriptNameSpaceManager.h => dom/base/nsIScriptNameSpaceManager.h
rename : dom/public/nsIScriptObjectOwner.h => dom/base/nsIScriptObjectOwner.h
rename : dom/public/nsIScriptObjectPrincipal.h => dom/base/nsIScriptObjectPrincipal.h
rename : dom/public/nsIScriptRuntime.h => dom/base/nsIScriptRuntime.h
rename : dom/public/nsIScriptTimeoutHandler.h => dom/base/nsIScriptTimeoutHandler.h
rename : dom/src/base/nsJSEnvironment.cpp => dom/base/nsJSEnvironment.cpp
rename : dom/src/base/nsJSEnvironment.h => dom/base/nsJSEnvironment.h
rename : dom/src/base/nsJSTimeoutHandler.cpp => dom/base/nsJSTimeoutHandler.cpp
rename : dom/src/base/nsJSUtils.cpp => dom/base/nsJSUtils.cpp
rename : dom/src/base/nsJSUtils.h => dom/base/nsJSUtils.h
rename : dom/src/base/nsLocation.cpp => dom/base/nsLocation.cpp
rename : dom/src/base/nsMimeTypeArray.cpp => dom/base/nsMimeTypeArray.cpp
rename : dom/src/base/nsMimeTypeArray.h => dom/base/nsMimeTypeArray.h
rename : dom/public/base/nsPIDOMWindow.h => dom/base/nsPIDOMWindow.h
rename : dom/public/base/nsPIWindowRoot.h => dom/base/nsPIWindowRoot.h
rename : dom/src/base/nsPluginArray.cpp => dom/base/nsPluginArray.cpp
rename : dom/src/base/nsPluginArray.h => dom/base/nsPluginArray.h
rename : dom/src/base/nsScreen.cpp => dom/base/nsScreen.cpp
rename : dom/src/base/nsScreen.h => dom/base/nsScreen.h
rename : dom/src/base/nsScriptNameSpaceManager.cpp => dom/base/nsScriptNameSpaceManager.cpp
rename : dom/src/base/nsScriptNameSpaceManager.h => dom/base/nsScriptNameSpaceManager.h
rename : dom/src/base/nsWindowRoot.cpp => dom/base/nsWindowRoot.cpp
rename : dom/src/base/nsWindowRoot.h => dom/base/nsWindowRoot.h
rename : dom/public/nsWrapperCache.h => dom/base/nsWrapperCache.h
2009-03-11 10:10:19 -04:00
Henri Sivonen
d58c043926 Merge a newer trunk with HTML5 parsing in hope of avoiding imgCache crashes 2009-03-11 11:22:07 +02:00
Jonathan Kew
030030dc69 b=482439 don't risk dereferencing a possibly-null pointer in nsDocument::ElementFromPointHelper r=smaug 2009-03-11 15:23:10 +13:00
Blake Kaplan
f7fb1c08eb Bug 482625 - Fix some warnings and remove some unneeded type declarations. r+sr=jst 2009-03-10 16:21:40 -07:00
Dave Camp
405c933e3d Bug 482376 - remove some spew in nsContentUtils::DispatchChromeEvent(). r+sr=smaug 2009-03-10 14:58:00 -07:00
Olli Pettay
45080d5ed8 Bug 424377, r+sr=roc 2009-03-10 21:30:50 +02:00
Henri Sivonen
4c5eac28c5 Merge a newer trunk to HTML5 parsing 2009-03-10 16:07:49 +02:00
Boris Zbarsky
61feda8487 Bug 481335. Cache the href URI of <html:a> once we resolve it. r+sr=sicking 2009-03-10 09:51:34 -04:00
Boris Zbarsky
1e935ef8ae Bug 481318. Don't serialize then reparse the URI on anchor property mutations. r+sr=jst 2009-03-09 22:32:09 -04:00
Daniel Holbert
eae0d7096d Bug 473904 - Add an about:config option (defaulting to 'false' right now) for toggling SVG animation (SMIL) support. r+sr=roc 2009-03-09 18:20:17 -07:00
Henri Sivonen
a895ed96a7 Merge HTML5 work with trunk 2009-03-09 12:24:48 +02:00
Olli Pettay
468b832900 Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
Mats Palmgren
1f5b65512c Use the same type as mAttrAndChildCount when defining ATTRCHILD_ARRAY_MAX_CHILD_COUNT. b=480655 r+sr=jonas 2009-03-07 18:08:47 +01:00
Boris Zbarsky
bf8fc66ad9 Bug 481777. Don't fire DOMTitleChanged events to content. r+sr=smaug 2009-03-06 13:12:23 -05:00
Boris Zbarsky
2423744439 Bug 481688. Stop firing our DOMLink* events to content. r+sr=smaug 2009-03-06 13:12:20 -05:00
Ben Newman
a51681fb03 bug 461031. Make the max tokens deflected in low frequency mode a pref. r/sr=jonas 2009-03-05 12:12:43 -08:00
Dave Camp
c2401372fd Bug 471227 - rework offline update scheduling a bit to avoid losing/misscheduling updates. r+sr=bz 2009-03-04 13:37:29 -08:00
Olli Pettay
2219417624 Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay
486b27fd0a Bug 480956 - HTMLDocument and some other dom objects traverse member variables even if the document is in 'nsCCUncollectableMarker::InGeneration' r+sr=peterv 2009-03-03 14:14:13 +02:00
Henri Sivonen
e25067fc50 Make HTML5 innerHTML setter not crash; Change the tree builder interface never to read from the DOM 2009-02-26 16:05:43 +02:00
Matthew Gregan
9f3a5b2f76 Bug 470662 - Don't set paused to true when playback ends. Fix handling of playing/suspend attrs. r=chris.double, sr=roc
--HG--
extra : rebase_source : f5161f9a699015b41c4947b52624901786adc852
2009-02-27 00:55:30 +13:00
Henri Sivonen
9dd56634ea Add innerHTML parsing with HTML5 parser 2009-02-20 18:13:48 +02:00
Wladimir Palant
982be663a1 Bug 477979 - Add CheckLoadURI checks for more script loads. r+sr=jst 2009-02-11 15:51:37 +01:00
Boris Zbarsky
dceb36b6b7 Backing out bug 481440 (revision 8fddfa5d2748) 2009-03-23 13:32:06 -04:00
Boris Zbarsky
d8b2b9193c Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Arpad Borsos
553f494aee Bug 474369 - get rid of nsVoidArray, content followup; r+sr=sicking 2009-03-20 11:41:27 +01:00
Arpad Borsos
8dc04b2fe9 Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Olli Pettay
cb57be346c backout 333198 2009-03-02 22:21:46 +02:00
Mats Palmgren
d19706fb0a Initialize nsSyncLoader members. b=479709 r+sr=jonas 2009-02-27 18:48:48 +01:00
Asaf Romano
a06a82c972 comments and a hard-tab fix 2009-02-26 16:01:11 -08:00
Asaf Romano
fe4d91cd12 Bug 480149 - DOMLinkAdded and DOMLinkRemoved events for link elements should be dispatched when swapping docshells. r+sr=bz. 2009-02-26 14:05:42 -08:00
Olli Pettay
1380d66c68 Bug 479490 - 'ASSERTION: Mismatched calls to ResumeTimeouts'. r=bent, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:32 -08:00
Olli Pettay
e6f01244a1 Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
Dave Camp
9382bde2f2 More logging for bug 471227. 2009-02-25 21:57:28 -08:00
Boris Zbarsky
a1f888815b Bug 476245. Keep better track of our anonymous content. r=smaug, sr=jst 2009-02-24 13:39:09 -05:00
Dave Camp
fbbee40aa1 Bug 471227 - revert debug spew for now. 2009-02-25 01:03:13 -08:00
Dave Camp
1a8ea997f1 Bug 471227 - More debug spew. 2009-02-24 23:12:13 -08:00
Jonas Sicking
fea9eede61 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Jonas Sicking
0afd527e79 Merge - Backed out changeset 4130ff1e52f3 (bug 479521) due to test failures 2009-02-24 15:39:16 -08:00
Jonas Sicking
b2248a4405 Backed out changeset 4130ff1e52f3 (bug 479521) due to test failures. 2009-02-24 15:38:40 -08:00
L. David Baron
3edd7358b2 Merge backout of changeset a328b5ae57e0 (bug 476245) for causing failures of test_videocontrols.html across platforms (although Linux hasn't cycled yet). 2009-02-24 13:38:55 -08:00
L. David Baron
1e283adeaa Backed out changeset a328b5ae57e0 (bug 476245) for causing failures of test_videocontrols.html across platforms (although Linux hasn't cycled yet). 2009-02-24 13:38:35 -08:00
Jonas Sicking
ca2acd2b73 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Boris Zbarsky
58d51f648c Bug 476245. Keep better track of our anonymous content. r=smaug, sr=dbaron 2009-02-24 13:39:09 -05:00
Dave Camp
6ca99867e0 Bug 471227: Add some temporary debugging spew to help narrow down what's failing. 2009-02-23 23:02:00 -08:00
Dave Camp
720aaca207 Bug 462856 - offline app notification code doesn't handle subframes. r=mconnor, r=bz 2009-02-22 11:09:10 -08:00
Ben Turner
6efddae719 Bug 478304 - 'Let nsRunnableMethod be used with non-void-returning functions'. r=bsmedberg. 2009-02-17 20:11:09 -08:00
Jonas Sicking
a030b0ea69 Bug 476567: Clear Access-Control preflight cache when spec says to. Also rewrite cache test-runner to make it more sane. r/sr=jst
--HG--
extra : rebase_source : d92d2eccd14bc58d3e82dff969e27f00fd185f95
2009-02-17 14:10:50 -08:00
Ben Turner
8d1f3956c6 Bug 340345 - 'DOM timeouts can fire during a sync XMLHttpRequest'. r+sr=jst, a=blocking1.9.1+ 2009-02-17 12:07:39 -08:00
Boris Zbarsky
a6fe8cb324 Bug 477700 followup. Don't fail Push() calls for an event target that has no associated script context at all. r+sr=smaug pending 2009-02-16 13:53:11 -05:00
Boris Zbarsky
a2d0b2c43b Bug 477700. Push a null JSContext around editor init, so it'll work no matter what JS is on the stack. r+sr=smaug 2009-02-16 09:11:41 -05:00
Jim Chen
6513b5e77c Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP (relanding)
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-11 05:56:51 +09:00
Daniel Holbert
59d61972ae Bug 461047 follow-up patch - Fix a number of small issues from the nsStringArray to nsTArray<nsString> switchover, mostly related to signed vs unsigned array sizes. r+sr=roc 2009-02-10 12:39:43 -08:00
Masayuki Nakano
4755de05c7 Backing out the TSF patch of bug 88831. This might cause a timeout failure on test_keycodes.xul
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-11 03:02:05 +09:00
Jim Chen
41a1a807d6 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-10 20:15:36 +09:00
L. David Baron
ef5fe05834 Revert changeset fc8d54ab29a6 (Bug 88831, Support new IME API "Text Services Framework" from Office XP and Windows XP) due to failure (every time) of the new unit test it added (Test WinTSF) on the Windows tinderbox.
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-07 09:13:30 -08:00
Jim Chen
e53087b660 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-07 18:52:59 +09:00
Peter Van der Beken
9f7c4cead1 Fix for bug 474456. r/sr=bz. 2009-02-05 10:42:55 +01:00
Johnny Stenback
c262d55f79 Fixing bug 474022. Reflow if we're about to instantiate a plugin whose frame has not been reflown yet. This fixes a problem where the WMP plugin doesn't work right if its initial size is 0x0. r+sr=bzbarsky@mit.edu 2009-02-02 17:26:28 -08:00
Olli Pettay
b9593d2535 Bug 471166, r+sr=sicking 2009-01-31 14:53:01 +02:00
Olli Pettay
2474f75151 Bug 476097, ASSERTION: killing mutation events with <input type=file>, r+sr=bz 2009-01-31 14:34:01 +02:00
John Daggett
67113d5328 Bug 474704 - drop channel on cross-site load failure to avoid leak. r=bz,jonas, sr=jonas 2009-01-31 17:58:42 +09:00
L. David Baron
f5c868d3c6 Clear back-pointer in more cases. (Bug 475136) r+sr=bzbarsky 2009-01-29 12:39:21 -08:00
Boris Zbarsky
7011c1e34c Bug 307394 part 1. Create a non-COM way to get at XBL child nodes, and put an IndexOf() method on nsINodeList. r+sr=peterv 2009-01-29 14:46:18 -05:00
Jonas Sicking
41e86fb4e9 More bug 461555 fixes to fix orange by making sure to remove deferred-scripts' onloadblocker when the parser is terminated. r/sr=mrbkap 2009-01-26 21:41:25 -08:00
Jonas Sicking
8d2deed13d Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Jonas Sicking
6a95c287a3 Backed out changeset e8023bc83264 due to orange 2009-01-26 01:53:20 -08:00
Jonas Sicking
783650f7b1 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Jonas Sicking
cd13cb89e5 Backed out changeset 41045faa0ef6 due to leaks 2009-01-23 15:08:41 -08:00
Jonas Sicking
051c8e95e7 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Daniel Holbert
31c18a6827 Bug 458167 - Fix bad usage of "it's" in comments: patch for content folder. r+sr=jst 2009-01-23 01:02:09 -08:00
L. David Baron
d1dea6a86e Eliminate all callers to forms of nsROCSSPrimitiveValue::SetIdent other than the one taking nsCSSKeyword. (Bug 474712) r+sr=bzbarsky 2009-01-22 17:28:14 -08:00
Jonas Sicking
be65469e7c Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Peter Van der Beken
bedc63e082 Merge backout 2009-01-22 14:53:06 +01:00
Peter Van der Beken
533783d9ea Backed out changeset 9fc993ac4427 (Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz) to fix orange. 2009-01-22 14:52:34 +01:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Jonas Sicking
e0c26b7454 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Jonas Sicking
5b04c277ae Backed out changeset 2063e342b8e1 due to failing docshell tests 2009-01-21 18:07:29 -08:00
Jonas Sicking
e7e7213705 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Keith Rarick
7073f11143 Implement 'rem' unit from css3-values. (Bug 472195) r+sr=dbaron 2009-01-20 13:58:48 -08:00
Boris Zbarsky
9cc09e46b1 Bug 474041. Don't leak if we end up with a Reset() while we have a pending id change notification. r+sr=roc 2009-01-19 17:49:21 -05:00
Jonathan Kew
1cd66203c8 Bug 472593. Don't call line-breaker's Next() method when already at end of text. r=bz,sr=roc 2009-01-19 22:07:11 +13:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Kai Liu
4b0b5e5530 Bug 240536 - resizer direction is to the right, when interface is RTL; r=roc,mano sr=roc 2009-01-18 13:58:19 +03:30
Dave Camp
e27a8b62d1 Bug 473938 Stylesheets don't load without a safe browsing service r+sr=sicking 2009-01-16 21:54:39 +00:00
Gavin Sharp
21ff2ffc4c Bug 466751: setting .innerHTML to invalid markup in XHTML causes NS_ERROR_INVALID_POINTER, r+sr=jst 2009-01-16 14:19:27 -05:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Dave Camp
c12a3b0506 Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-13 23:13:48 -08:00
Boris Zbarsky
58af6bd7b1 Bug 453801. Make sure to not fire onload before deferred scripts have executed. r+sr=sicking 2009-01-15 14:49:20 -05:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Brian Birtles
adf1d4fa7c Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc 2009-01-14 20:38:07 -08:00
Ben Turner
9853f8d27d Backed out changeset 4c4d0bf8622e for failing unit tests. 2009-01-14 18:22:41 -08:00
Jonas Sicking
864d6c43fd Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Boris Zbarsky
00e66d09cf Bug 453736. Make <svg:script> more like other scripts and fix up a few other minor issues. r=roc, r+sr=sicking 2009-01-14 07:49:18 -05:00
Henri Sivonen
372ce72317 Merged HTML5 parsing with m-c from 2008-12-11 2009-01-03 15:01:17 +02:00
Joe Drew
64bbcf4155 Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs. 2009-04-21 23:02:17 -04:00
Boris Zbarsky
e5f6293681 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Serge Gautherie
c163c1d074 Bug 485808 - [FIX]Create iterator class to iterate using GetChildArray; (Bv1) Remove leftover 'i'; r+sr=jonas 2009-04-18 20:02:24 +02:00
Jonas Sicking
52bfc6ae03 Bug 483818: Remove the currently-running-script counter from the parser since it's hard to keep it correct when we're creating a new parser due to document.write etc. r/sr=mrbkap 2009-04-15 15:34:50 -07:00
Boris Zbarsky
307ccebf4c Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
2009-04-08 12:56:16 -04:00
Makoto Kato
fce1dd538a Bug 239499 - 64bit safe code for mozilla/content (WinXP AMD64) part 2. r+sr/peterv 2009-04-13 20:57:53 +09:00
Boris Zbarsky
62f2010d94 Bug 485808. Create an iterator class to do forward iteration over the result of GetChildArray(). r+sr=sicking 2009-04-09 21:36:41 -04:00
L. David Baron
d72622c8a1 Remove nsCSSOMFactory/nsICSSOMFactory. (Bug 376111) r+sr=bzbarsky 2009-04-08 13:52:37 -07:00
Boris Zbarsky
25164496ef Backed out changeset 0ea22856b5d9 (bug 484448). 2009-04-08 15:56:43 -04:00
Boris Zbarsky
f70fe28e08 Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
rename : layout/reftests/table-anonymous-boxes/white-space-1-ref.html => layout/reftests/table-anonymous-boxes/white-space-ref.html
2009-04-08 12:56:16 -04:00
Olli Pettay
68311f0ff6 Bug 487345, Crash [@ nsObjectLoadingContent::Instantiate], r+sr=bz 2009-04-08 18:28:52 +03:00
Boris Zbarsky
d1064d6aa3 Bug 486547 part 4. Switch some more code off nsIDOMNode/nsIDOMRange r+sr=smaug 2009-04-06 13:17:38 -04:00
Boris Zbarsky
e95b3b80d3 Bug 486547 part 2. Switch nsFrameSelection::mMaintainRange to storing nsIRange, not nsIDOMRange. r+sr=smaug 2009-04-06 13:17:38 -04:00
Boris Zbarsky
b4295b1789 Bug 486547 part 1. Switch nsTypedSelection to storing nsIRange, not nsIDOMRange, objects. r+sr=smaug 2009-04-06 13:17:37 -04:00
Boris Zbarsky
a8e468bd0d Backing out changeset ec2bec209571 and changeset 140f64990c51 (fix for bug 481566) due to test failures. 2009-04-04 01:55:51 -04:00
Jonas Sicking
0e4cf0bee1 [mq]: sinkstuff 2009-04-03 18:25:13 -07:00
Boris Zbarsky
8ce6a46269 Backing out changeset 37661caab4ce due to the Tp regression 2009-04-02 22:55:26 -04:00
bjarne@runitsoft.com
e8b29e9cb0 Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky 2009-04-02 17:39:58 -04:00
Jim Mathies
bf62e148ca Bug 479901 - Add WM_GESTURE support for Windows 7. r=vlad+smaug. 2009-04-02 14:34:31 -05:00
Jeremy D. Lea
39f62f1364 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Neil Deakin
5d99cbc1d8 Bug 475286, support a movetoclick mode for scales. Use this by default for mac and video position widget, r+sr=neil 2009-03-31 14:11:35 -04:00
Tom Dyas
b86ed018a1 Bug 479093 - Text sent to services includes body of <script> tags. r=smaug, r=josh, sr=roc 2009-03-17 19:04:01 -07:00
Boris Zbarsky
d115591997 Backing out changeset c428086801d0 (bug 457809 and bug 457810) on suspicion of causing the Tp3 regression 2009-03-30 20:21:32 -04:00
bjarne@runitsoft.com
8b3f7126dc Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bzbarsky 2009-03-30 11:31:16 -04:00
Robert O'Callahan
d0c58fb22f Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Daniel Holbert
d369b7dab0 Bug 519883: Use PRPackedBool instead of PRBool for bitfields in nsObjectLoadingContent. r=sicking 2009-10-01 00:18:12 -07:00
Boris Zbarsky
7f82173541 Bug 514425. Be a little more careful about our ClearForm calls. r=sicking 2009-09-30 18:56:50 -04:00
David Zbarsky
bb6a0e81f4 Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron 2009-09-28 23:07:45 -07:00
Shawn Wilsher
628afb918d Merge for back out of changeset 50be346999f6 (bug 515494). This fix is not what we want. 2009-09-28 12:27:23 -07:00
Shawn Wilsher
58d4b4d270 Backed out changeset 50be346999f6 (bug 515494). This fix is not what we want. 2009-09-28 12:25:49 -07:00
Henri Sivonen
08400cbd56 Bug 500937 - Make the output of XMLSerializer more HTML-friendly. r=laurent, sr=jst. 2009-09-28 10:59:52 +03:00
Justin Lebar
b5b0c28999 Bug 209275 - Links' hrefs should be updated when a <base>'s href changes. r=bzbarsky 2009-09-25 12:50:26 -04:00
Paul O’Shannessy
1f9630e89e merge. CLOSED TREE 2009-09-24 15:11:39 -07:00
Paul O’Shannessy
25d9c99012 backing out 00377b2a7c75 (bug 209275) due to mochitest timeouts 2009-09-24 15:05:54 -07:00
liucougar
5104b445c7 Bug 396392 - Support for getClientRects and getBoundingClientRect in DOM Range
r=roc sr=(jonas, roc)
2009-09-24 23:01:48 +02:00
Justin Lebar
b3e255230a Bug 209275 - Links' hrefs should be updated when a <base>'s href changes. r=bzbarsky 2009-09-24 13:59:43 -04:00
Daniel Holbert
dc13c359cc Bug 474049: followup bustage fix for Solaris -- use .get() to explicitly return a normal pointer from nsGenericElement::GetSMILOverrideStyleRule. r=dbaron 2009-09-24 10:58:04 -07:00
Roy Frostig
049a9fbdc8 Bug 514732. Issue a DOM event for document resizing. r=smaug sr=roc 2009-09-11 16:13:56 -07:00
Henri Sivonen
bfe0f0b410 Initial attempt at HTML5 parsing in Gecko 2008-12-12 15:10:39 -08:00
Blake Kaplan
07b49e5e6a Bug 444322 - Ignore OnDataAvailable calls when we're executing a script. r+sr=bzbarsky 2008-12-11 14:20:45 -08:00
Oleg Romashin
d13954cc90 Bug 428988 - Expose mouse event pressure. r=Olli.Pettay, sr=roc. 2008-12-11 18:55:15 -05:00
Robert Sayre
6e72ceca59 Merge 2008-12-11 02:43:25 -08:00
Robert Sayre
dc78653a53 backout bug 428988, checked in on persistent orange. 2008-12-11 02:43:04 -08:00
Robert Sayre
58f4455a2a Backout JOEDREW! patches for bug 89419 and bug 393936. Looks like they make mochitest leak. 2008-12-11 01:27:58 -08:00
Oleg Romashin
06b0d6f7f4 Bug 428988 - Expose mouse event pressure. r=Olli.Pettay, sr=roc. 2008-12-11 03:04:46 -05:00
Joe Drew
294499eab5 Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad 2008-12-10 16:25:34 -08:00
Olli Pettay
c7ab97407d Relanding Bug 472260, r+sr=bz 2009-01-14 13:01:46 +02:00
Dan Fabulich
b3132f8800 b=347174, implement document.readystate == 'complete'; r=sicking 2009-01-09 09:12:09 -08:00
Jonas Sicking
2dc8a2f1eb Bug 464848: XMLHttpRequest doesn't send the right content-type for non-document request bodies. r/sr=bz 2009-01-13 22:53:43 -08:00
Boris Zbarsky
788d6a77a8 Bug 473162. Make getElementsByClassName case-insensitive in quirks mode, per spec. r+sr=jst 2009-01-13 14:32:30 -05:00
Boris Zbarsky
21eb2434f8 Bug 449780. When doing a frameloader swap, clear the bfcache on both docshells, since we can't deal with all those presentations. r+sr=jst 2009-01-13 14:32:30 -05:00
Nick Kreeger
6373ae3766 Fixing Bug 454632 - Resizing tree widget always re-scrolls to current index. r=enndeakin,sr=bz. Patch by Stephen Lau <steve@grommit.com>. 2009-01-13 10:50:26 -08:00
Olli Pettay
2369da62ec Bug 460700 - Use the right delay with XHR progress events, r+sr=jonas 2009-01-13 19:38:01 +02:00
Dave Camp
b18d454609 Backed out changeset 44890ee1d15f for leaks 2009-01-13 02:22:59 -08:00
Dave Camp
ca7e07e266 Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-12 21:52:00 -08:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Masatoshi Kimura
a682e0d618 Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron 2008-12-06 11:08:26 -08:00
Patrick McManus
36e0dca600 Bug 464838: Tweak DNS prefetch to hopefully fix a tp3 regression. r+sr=bz 2008-12-05 12:53:24 -08:00
Daniel Holbert
03c259e522 Backed out changeset 78d662c2c878 (Bug 335531) on suspicion of causing mochitest failures in test_bug399284.html on linux & windows unittest boxes. 2008-12-05 11:52:01 -08:00
Masatoshi Kimura
2171389689 Bug 335531 - Correct misuse of "UTF-16BE", "UTF-16LE", "UTF-32BE", and "UTF-32LE" charset labels; r=smontagu sr=dbaron 2008-12-05 18:31:00 +01:00
Olli Pettay
4cf99f9474 Bug 467123 - Document.cloneNode() failed in a JS component, r+sr=bz 2008-12-05 12:48:27 +02:00
Boris Zbarsky
882c93dc0b Bug 454821. Better signature for GetChildArray. r+sr=sicking 2008-12-03 09:02:03 -05:00
Olli Pettay
8dfbd47e9e Bug 462517, r=biesi, sr=roc 2008-12-03 12:53:50 +02:00
Olli Pettay
865f72a9f1 Bug 464009, patch2, r+sr=sicking 2008-12-03 12:39:21 +02:00
Olli Pettay
a16f803c95 Bug 465767 - document.adoptNode() stops working if node was previously adopted in another document, r+sr=bz 2008-12-03 12:25:21 +02:00
Olli Pettay
058e5bdf6d Bug 465934 - ASSERTION: Trying to re-bind content from native anonymous subtree to non-native anonymous parent, r+sr=sicking 2008-12-03 12:18:57 +02:00
Olli Pettay
8680c8b59d Bug 448993 - Crash [@ nsRange::CutContents] using deleteContents after extractContents and GC, r+sr=sicking 2008-12-03 12:14:51 +02:00
Olli Pettay
758f164a46 Bug 463410 - Ranges should participate in cycle collection, r+sr=peterv 2008-12-03 12:03:10 +02:00
Olli Pettay
64c81a3364 Bug 467291 - Reduce Addrefing while creating event target chain, r+sr=jst 2008-12-03 11:26:38 +02:00
Olli Pettay
09d00c4cbf Bug 467383 - Reduce QIs and AddRef/Releases caused by nsContentUtils::HasMutationListeners, r+sr=sicking 2008-12-03 11:22:39 +02:00
Shawn Wilsher
3bc6a3921f Merge to tip for peterv's bundle 2008-11-27 20:07:06 -08:00
Peter Van der Beken
97f5b22d33 Fix for bug 464067 (memory leak while running SVG reftests). r/sr=jst. 2008-11-27 18:45:25 +01:00
Ben Turner
29227edb60 Bug 464983 - 'Workers: Throw exceptions properly from XHR status getters and fake abort events in race conditions.' r+sr=sicking, a=blocking1.9.1+. 2008-11-27 01:16:37 -05:00
Boris Zbarsky
c07a04cc4f Bug 465455. Use the charset we'll send in the header to encode with. r+sr=sicking, a=beltzner 2008-11-26 23:10:28 -05:00
Boris Zbarsky
e801383a04 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05:00
Boris Zbarsky
670661df89 Drop extra semicolons. Fix build bustage in CLOSED TREE 2008-11-24 13:41:07 -05:00
Boris Zbarsky
92c0e38ba1 Bug 457153. Introduce an nsILoadContext interface so that consumers can get load context information from a channel/loadgroup without having to depend on getInterface of docshell stuff. r=dwitte for cookie part, r=jst for rest, sr=jst, a=beltzner for CLOSED TREE 2008-11-24 13:32:04 -05:00
Phil Ringnalda
b6fe1a7700 Builds are neccesary, even if you can spell necessary, and even in a CLOSED TREE 2009-01-11 00:46:35 -08:00
Olli Pettay
51f168081f Backout Bug 472260 (CLOSED TREE) 2009-01-09 21:52:01 +02:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Blake Kaplan
27e5c4bb99 Bug 464754 - nsIContentPolicy.shouldLoad() called without context for scripts. r/sr=bz a=beltzner 2008-11-19 02:05:05 -05:00
Boris Zbarsky
127c0998fe Bug 445004. Make the base and document URI of document.written documents be the base and document URI of the document on whose current context our code is running. r+sr=jst, r=dcamp 2008-11-18 17:54:36 -05:00
bjarne@runitsoft.com
3da6f6083b Fixing bug 380418. Prevent XMLHttpRequest from reading HTTPOnly cookies. r+sr=jonas@sicking.cc, a=b2 blocker 2008-11-13 18:18:01 -08:00
Johnny Stenback
becb9748e5 Fixing bug 425153. Fix script filenames such that our wrapper automation story is more consistent. r=jonas@sicking.cc, sr=bzbarsky@mit.edu, a=b2 blocker 2008-11-13 16:00:11 -08:00
Peter Van der Beken
c39cb1e482 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-13 17:54:52 +01:00
Patrick McManus
92f594cb63 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky, a=beltzner 2008-11-07 18:00:26 -05:00
Boris Zbarsky
21d64b0e5f Bug 461735. Use the final channel URI as the script URI. r+sr=jst, a=beltzner 2008-11-10 16:09:30 -05:00
Peter Van der Beken
c39e172979 Backed out changeset 874aba8a9a8a to fix orange 2008-11-06 15:01:22 +01:00
Peter Van der Beken
88df046c41 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-06 12:09:30 +01:00
John Daggett
e5a0f4c565 Bug 457825 - Support access control headers when downloading fonts. r=jonas,dbaron, sr=jonas 2008-11-06 09:32:12 +09:00
Honza Bambas
c8fedd2705 Bug 461325: Cache implicit entries when the manifest is not changed. r=dcamp, sr=biesi 2008-11-05 16:01:08 -08:00
Honza Bambas
d82181a981 Bug 460353: app caches should be per iframe, not per toplevel browsing context. r=dcamp, r+sr=jst 2008-11-05 16:01:07 -08:00
Justin Dolske
b851587e76 Investigating leaks in bug 463263, backout bug 453403. 2008-11-05 12:55:38 -08:00
Justin Dolske
4c397f756a Backed out changeset e8fd3f4c52b6 2008-11-05 12:54:51 -08:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Olli Pettay
6528b75171 Bug 472260 - Crash [@ nsDocShell::EnsureContentViewer], r+sr=bz 2009-01-09 10:45:14 +02:00
Olli Pettay
7654fbb66c Bug 472312, change NS_ERROR to NS_WARNING for now 2009-01-08 23:36:22 +02:00
Olli Pettay
8f1ea12925 Bug 472312, r+sr=bz 2009-01-08 22:16:33 +02:00
Dave Camp
d4f7aed7eb Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp
c3150e042c Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Craig Topper
5d6ba2df4a Bug 471165. Make SVG animated class storage an nsAutoPtr<nsString> and make the DOM 'className' object a tear-off. r=longsonr,sr=roc
--HG--
extra : rebase_source : 8ba937100e482ea0dab88a310ad378afd76c8953
2009-01-05 14:13:56 +13:00
L. David Baron
82d6666100 Remove the VerifyReflow code that checked the space manager state. (Bug 191448) r+sr=roc 2009-01-04 14:52:38 -05:00
Peter Van der Beken
78fa6325a2 Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst. 2009-01-02 18:00:18 +01:00
Olli Pettay
28e3d7cf73 Bug 436965, r+sr=sicking 2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892 Back out bug 436965 2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e Bug 436965, r+sr=sicking 2009-01-02 14:40:43 +02:00
Ben Turner
ecdcc79104 Bug 470334 - 'Workers: relative urls for XHR are incorrect'. r+sr=jst, a=blocking1.9+ 2008-12-30 16:24:58 -06:00
Olli Pettay
f90f05f0b4 Bug 471246, r+sr=jst 2008-12-30 14:27:37 +02:00
L. David Baron
23d4f4d4b2 Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
L. David Baron
43923a2427 DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
Boris Zbarsky
ee6c3e172a Bug 449778. Don't fire pageshow in the new place on viewer swap if it's about to fire anyway. Do fire it in the old spot in that case, though. r+sr=jst 2008-12-28 10:34:00 -08:00
Peter Van der Beken
821bb2cd78 Bug 418970 - DOMNodeInsertedIntoDocument mistyped as *InfoDocument; r+sr=jonas 2008-12-20 02:10:46 +01:00
Joe Drew
a29562512b Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad 2008-12-19 17:35:50 -05:00
Taras Glek
c18cefc04f Bug 466578. Speed up XBL parsing by increasing the buffer size. r+sr=bzbarsky 2008-12-18 14:27:43 +13:00
Robert O'Callahan
50bd83420a Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Mats Palmgren
9f762e2a40 Use an iterative algorithm when deleting lists to avoid exhausting the stack space. b=460444 r+sr=dbaron r=jst 2008-12-15 12:33:56 +01:00
Masayuki Nakano
229283883c Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc 2008-12-15 12:54:54 +09:00
Chris Pearce
bae9b8c1a5 Bug462570 - Change Network state and Ready state names in HTMLMediaElement to match spec - r=doublec sr=roc 2008-12-15 16:38:16 +13:00
Olli Pettay
f8412fdedc Bug 431082 - Crash [@ nsDocShell::DoChannelLoad], r+sr=bz 2008-12-13 22:30:02 +02:00
Olli Pettay
c1f1a51313 Bug 469020 - range.surroundContents throws a NS_ERROR_INVALID_POINTER, r+sr=sicking 2008-12-13 22:09:29 +02:00
Boris Zbarsky
4e90868638 Bug 468263. Handle the src attribute being removed or set to by dropping the image. r+sr=sicking 2008-12-12 14:41:11 -05:00
Robert O'Callahan
3a0de0fcd6 Bug 455314. RemoveIDTargetObserver doesn't need to do the full GetElementByIdInternal because we don't need or want to set up an mIdentifierMap entry if no entry is found for the ID. r+sr=jst 2008-12-12 21:20:30 +13:00
Gavin Sharp
326a75031f Bug 461803: add elementFromPoint method on nsIDOMWindowUtils which optionally ignores root scroll frame and lets callers avoid flushing layout, r+sr=bzbarsky 2008-11-04 22:58:22 -05:00
Dave Camp
9e7892628c merge 2008-11-04 11:58:28 -08:00
Peter Van der Beken
3bb228a9e8 Backed out changeset 81c0a2ec449f to fix orange 2008-11-04 20:54:50 +01:00
Peter Van der Beken
5a6c152342 Backed out changeset 81c0a2ec449f to fix orange 2008-11-04 20:54:08 +01:00
Peter Van der Beken
24a73db424 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-04 18:10:43 +01:00
Patrick McManus
346822dba8 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 11:14:29 -05:00
Boris Zbarsky
f3130e5161 Backing out changesets 374d3cf7b48d, 5d9dc9b6127e, 8c4f57a5674d, cd9a392337b7 2008-11-04 11:03:10 -05:00
Patrick McManus
7f731cfb6e Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 10:14:50 -05:00
Markus Stange
7a9f82ce7e Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc 2008-11-04 15:38:16 +01:00
Dave Camp
075a71489f Bug 445544: Navigating away from an offline app fails. r=honzab, r+sr=bz 2008-11-04 02:20:27 -08:00
Peter Van der Beken
2b8cf3c2d4 Backed out changeset ba895ab8cbe7 to fix orange 2008-11-03 16:28:50 +01:00
Peter Van der Beken
28ba94cca8 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-03 14:49:53 +01:00
Peter Van der Beken
e743beb9c4 Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst. 2008-11-03 11:31:47 +01:00
Mats Palmgren
77fc9308b0 ASSERTION: disconnected nodes. b=424276 r+sr=bzbarsky 2008-11-02 17:31:29 +01:00
Peter Van der Beken
9a338d486e Fix for bug 461560 (Make nsNamedArraySH::NamedItem not AddRef/Release). r/sr=bz. 2008-10-31 14:40:35 -07:00
Peter Van der Beken
71167e05be Backed out changeset 5d65342d7287 to fix orange 2008-10-31 11:07:26 -07:00
Peter Van der Beken
155edafd57 Fix for bug 461560 (Make nsNamedArraySH::NamedItem not AddRef/Release). r/sr=bz. 2008-10-31 08:55:59 -07:00
Blake Kaplan
b91e4a69a6 Bug 461031 - Bring a little more sanity to parser notifications of the content sink. This should help increase responsiveness, especially on pages with lots of inline scripts. r+sr=jst 2008-10-30 14:31:00 -07:00
Olli Pettay
e23e79f0c6 Bug 461772, don't crash when using XBL in external svg docs, r+sr=bz 2008-10-30 12:35:44 +02:00
Olli Pettay
a35c95e48d Bug 422856, Improve XHR cycle collection, r+sr=sicking 2008-10-28 20:30:10 +02:00
tdyas@zecador.org
479713d218 Bug 412486 - widget/event-detection support for multi-touch trackpad gestures, r=smaug,josh, sr=roc 2008-10-23 23:15:20 +03:00
Olli Pettay
e50b75ec73 Bug 450920, fix a warning in XHR, r+sr=sicking 2008-10-23 20:16:45 +03:00
Jesse Ruderman
6a02e83886 Fix assertion message that was missing a space 2008-10-22 17:55:04 -07:00
Peter Van der Beken
f3f2a880fb Fix for bug 460512 (Avoid AddRef/Release in scriptable helper methods for NodeList). r/sr=bz. 2008-10-22 16:31:14 +02:00
Laurent Jouanneau
0e765dd76c Bug 424359. Fix OutputBodyOnly to not output a stray </html> and fix newline stuff for doctypes, comments, and the entire XML serializer. Now with even better passing tests. Third time is the charm! r=smaug, sr=bzbarsky 2008-10-21 16:30:09 -04:00
Olli Pettay
d5328ab301 Bug 460751 - Progress events should use long long, not long for .total and .loaded, r=chris.double, sr=sicking 2008-10-21 12:06:53 +03:00
Arpad Borsos
3585c944f1 Bug 456388 - "Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree" (followup for mozilla-central) [r+sr=brendan] 2008-10-21 01:50:05 -05:00
Neil Deakin
912ddd5424 Bug 450990, make template generate recursive instead of lazy, improves performance as well, r=peterv,sr=bz 2008-10-20 11:36:05 -04:00
Dave Camp
a1df547c6e Bug 495822: Move OfflineAppAllowed from nsIOService to nsOfflineCacheUpdateService. r+sr=biesi 2008-10-19 21:12:25 -07:00
Olli Pettay
f4719aaf0a Bug 444546 - Don't dispatch progress event more often than every 350msec, r+sr=sicking 2008-10-20 00:26:37 +03:00
Olli Pettay
c14ae01411 Bug 460156 - bring back the old behavior of range.isPointInRange(), r=surkov, sr=sicking 2008-10-19 23:41:21 +03:00
Asaf Romano
ea32ac412c Bug 459323 - Drag and Drop in input controls is broken. r=smaug, sr=sicking. 2008-10-17 22:04:55 +02:00
Brad Lassey
29475226ef Backed out changeset 9fde2bdd93ef 2008-10-16 14:09:08 -04:00
Laurent Jouanneau
d8485a11a8 Bug 424359. Fix OutputBodyOnly to not output a stray </html> and fix newline stuff for doctypes, comments, and the entire XML serializer. Now with passing tests. r=smaug, sr=bzbarsky 2008-10-16 11:16:52 -04:00
Alex Vincent
d2b20b8ddc Bug 283861 - Want Text3.isElementContentWhitespace; r+sr=jonas 2008-10-16 03:23:17 +02:00
Robert O'Callahan
f2edf72f79 Bug 455988. Optimize MozAfterPaint so we never even dispatch an XPCOM event if there are no listeners. r=smaug,sr=mats 2008-10-16 10:06:32 +13:00
Mats Palmgren
426e3534c3 Ignore the keypress event if DOMEventToNativeKeyEvent() fails. b=456273 r=Olli.Pettay sr=jonas 2008-10-15 12:50:42 +02:00
Olli Pettay
9d96a5cb3f bug 302775 - extractContents doesn't work if start and end node of a Range object is an attribute node, r=peterv, sr=sicking 2008-10-15 12:40:28 +03:00
Jonas Sicking
f381c7312c backout due to test failure 2008-10-14 17:12:28 -07:00
Jonas Sicking
f0100d3fdf Fix XHR unit test 2008-10-14 15:26:09 -07:00
Jonas Sicking
21b9e9e8e4 Fix compile errors 2008-10-14 14:24:53 -07:00
Jonas Sicking
41226fb2a1 Move Access-Control implemenation fully in to nsCrossSiteListenerProxy.cpp from and make some additional cleanup. No behavioral changes. r/sr=mrbkap b=459770 2008-10-14 14:05:41 -07:00
Boris Zbarsky
04e1cee63b Relanding bug 459424 (backing out backout changeset 530f1077cae4). Don't pass null documents to the enumerator. r+sr=roc. 2008-10-14 10:24:55 -04:00
Ben Turner
528a45ba6e Backed out changeset b5b7b5523c66 to see if it fixes unit tests. 2008-10-13 19:54:46 -07:00
Boris Zbarsky
0293ef22e1 Bug 459424. Don't pass null documents to the enumerator. r+sr=roc 2008-10-13 16:32:10 -04:00
Boris Zbarsky
69caa46727 Backing out changeset 43d8e57c41e9 2008-10-13 14:21:31 -04:00
Laurent Jouanneau
a5f3d21b7e Bug 424359. Fix OutputBodyOnly to not output a stray </html> and fix newline stuff for doctypes, comments, and the entire XML serializer 2008-10-13 12:49:14 -04:00
Olli Pettay
c5f1cf16e3 Bug 456271, r+sr=bz 2008-10-13 19:12:26 +03:00
Boris Zbarsky
0017c27e5c Fixing bug due to missing parentheses. Bug 344258 followup, no bug. 2008-10-12 13:26:58 -04:00
Jonas Sicking
07f04921b1 Ensure that documentURI and baseURI is correct for XHR created documents. For cross-site loaded XHR documents make the two URIs that of the loading page, just to be on the safe side.
r/sr=bz b=459470
2008-10-11 23:30:14 -07:00
Olli Pettay
12d7219070 Bug 454325 - Range.extractContents doesn't clone partially selected nodes, r+sr=sicking 2008-10-11 22:46:05 +03:00
Boris Zbarsky
12d064dd87 Backing out bug 450990 to try to fix leaks 2008-10-10 15:45:32 -04:00
Boris Zbarsky
640f3ebdac Bug 450990. Build bustage fix 2008-10-10 14:29:13 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Ben Turner
ab6dd2646b Backed out changeset 92e24ee719b8 2008-10-09 22:13:30 -07:00
Taras Glek
000fd0a466 Bug 455595: deCOMtaminate nsINameSpaceManager r+sr=jst 2008-10-09 16:32:00 -07:00
Taras Glek
aeff3cbe81 Bug 455742: outparamdel nsIForm r+sr=jst 2008-10-09 16:31:40 -07:00
Taras Glek
2c733370d0 Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst 2008-10-09 16:23:07 -07:00
Olli Pettay
5e572d60cd Bug 457776 - 'ASSERTION: didn't call Disconnect', r+sr=jst 2008-10-09 09:38:04 +03:00
L. David Baron
e6467e8066 Merge backout of changeset 4e7a2d27d636: relanding part of bug 433616 to test the theory that it was the cause of the regression, and something else caused an equal regression when we backed it out. 2008-10-04 13:00:50 -07:00
Boris Zbarsky
f819f89b7d Backed out changeset 4e7a2d27d636: relanding Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-10-04 13:00:09 -07:00
Blake Kaplan
fb7c695968 Bug 364315 - Implement speculative parsing. r+sr=jst 2008-09-30 23:48:47 -07:00
Jonas Sicking
20448df0ab Fix shutdown leak in Access-Control implementation. 2008-09-30 23:17:15 -07:00
Jonas Sicking
3dcc908655 Fix tests since network code or mochitest server can't deal with DELETE and PUT. r/sr=me 2008-09-30 17:54:04 -07:00
Jonas Sicking
cce6fbac9b Implement cookieless requests for Access-Control. b=389508 r=biesi sr=jst 2008-09-30 17:52:52 -07:00
Jonas Sicking
7a655650a9 Ensure that you can't use upload ProgressEvents to do server detection when using Access-Control. b=389508 r=smaug sr=jst 2008-09-30 17:51:53 -07:00
Jonas Sicking
6f2a7e0f6b Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Jonas Sicking
83bda6d42d Reland old Access-Control implementation. b=389508 r/sr=jst 2008-09-30 17:49:30 -07:00
Ben Turner
21e1a3e936 Bug 450452 - 'Implement XHR (minus X) for worker threads. r+sr=jst' 2008-09-30 16:56:57 -07:00
Daniel
7655de15e3 Bug 433065 - remove support for -moz-pre-wrap. r=dbaron sr=bz 2008-10-01 01:49:47 +02:00
L. David Baron
ba09bf22bc Backed out changeset c1f6a55626be (bug 433616, part 2) because it probably caused a Windows XP performance regression. 2008-09-30 09:51:26 -07:00
Robert O'Callahan
016f579354 Relanding bug 433616 part 2 to see if it's the cause of a Tp regression 2008-09-30 14:45:02 +13:00
Boris Zbarsky
0aca64705d Bug 456980. Make it possible to swap chrome docshells as well, if there is no session history involved. Can be used for sidebars and such. r+sr=jst 2008-10-08 09:04:32 -04:00
Olli Pettay
256070b717 Bug 458202 - Speed up event handling, r+sr=jst 2008-10-08 14:35:29 +03:00