3938 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
73e6ccf0ea Flush layout before starting to pump data into plug-ins if we started the data
load ourselves.  Fixes various issues with a number of plug-ins that expect
NPP_SetWindow() to have been called before NPP_WriteReady or NPP_Write.  Bug
381512, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@231321 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 17:54:37 +00:00
jonas%sicking.cc
fba8ca8b70 Remove tests accessing remote server
git-svn-id: svn://10.0.0.236/trunk@231207 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-31 01:16:24 +00:00
jonas%sicking.cc
33c7643cbb Bug 389508: Fix regressions and bugs in the new Cross Site XMLHttpRequest support. r/sr=jst a=roc
git-svn-id: svn://10.0.0.236/trunk@231205 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-31 00:42:16 +00:00
jonas%sicking.cc
857bbdaa67 Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
git-svn-id: svn://10.0.0.236/trunk@231095 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 02:49:19 +00:00
mattwillis%gmail.com
ec87d9cb43 reverting 1.34 - meant for trunk
git-svn-id: svn://10.0.0.236/trunk@231084 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 00:21:01 +00:00
mattwillis%gmail.com
8e4d7f8c4f bug 389739 - Add IDL constants for XMLHttpRequest readyStates. r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231083 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 00:12:58 +00:00
jonas%sicking.cc
7552c132af backout due to orange
git-svn-id: svn://10.0.0.236/trunk@231082 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 23:34:23 +00:00
jonas%sicking.cc
9e620e55e6 'extra ;'? Quit your whining gcc\!
git-svn-id: svn://10.0.0.236/trunk@231080 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:34:32 +00:00
jonas%sicking.cc
52ff6b27a1 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
git-svn-id: svn://10.0.0.236/trunk@231078 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:20:32 +00:00
Olli.Pettay%helsinki.fi
bd9a96d5b9 Backing out bug 275196, xml:id, to fix tp regression
git-svn-id: svn://10.0.0.236/trunk@231054 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 14:16:21 +00:00
Olli.Pettay%helsinki.fi
76bd637ef6 Bug 275196, xml:id, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@231049 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 12:22:17 +00:00
tor%cs.brown.edu
0722ee44b2 Bug 383184 - Implement SVG lighting filters.
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@231040 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 06:57:43 +00:00
jst%mozilla.org
daccf057ae Bug 280959: Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@231016 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:14:35 +00:00
roc+%cs.cmu.edu
cb8c6e3a11 Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc
git-svn-id: svn://10.0.0.236/trunk@231012 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:03:31 +00:00
jonas%sicking.cc
54f24bdccb Bug 259332: Improve support for document.all such that we can deal with multiple elements with the same id and/or name. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@230997 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:36:20 +00:00
bzbarsky%mit.edu
82a282ff4b Add a flag that allows protocol handlers to indicate that they don't return any
data.  Bug 379819, patch by Ryan Jones <sciguyryan@gmail.com>, r=me, sr=biesi


git-svn-id: svn://10.0.0.236/trunk@230943 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 17:21:42 +00:00
dcamp%mozilla.com
9f40ca2397 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@230909 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 05:35:40 +00:00
dcamp%mozilla.com
a4cab6af44 add a sendAsBinary() method to XMLHttpRequest (for sending data from an <input type=file> element, among other things). b=371432, r+sr=jonas
git-svn-id: svn://10.0.0.236/trunk@230908 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 04:53:21 +00:00
dcamp%mozilla.com
2c8be0d039 Add an API to access <input type="file"> data. b=371432, r=smontagu (for charset stuff), r+sr=jonas
git-svn-id: svn://10.0.0.236/trunk@230905 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 04:29:49 +00:00
masayuki%d-toybox.com
83c2c7c32a Bug 388602 ###!!! ASSERTION: invalid array index: 'i < Length()' when loading some webpages r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@230742 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 11:47:22 +00:00
asqueella%gmail.com
e3a8e85fdf fix bug 388709 - "ASSERTION: Please remove this from the document properly: '!IsInDoc()'" with :after, floating :first-letter
Store the generated content as a nsCOMArray<nsIContent>* property on frames to make its clean-up on frame destruction less fragile.

r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@230686 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 23:31:12 +00:00
roc+%cs.cmu.edu
8cece87a6c Bug 336959. Use Pango to break inside Thai/Lao runs. Patch by Theppitak Karoonboonyanan, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@230260 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 03:26:53 +00:00
cbiesinger%gmx.at
84eeb649bd 385118 make sure to set mInstantiating to false again before returning
r+sr=jst,bzbarsky


git-svn-id: svn://10.0.0.236/trunk@230251 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 00:28:39 +00:00
cbiesinger%gmx.at
554e4422a3 bug 309523 remove now-addressed XXX comment
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@230244 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 22:02:04 +00:00
bzbarsky%mit.edu
4738c3572d Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.


git-svn-id: svn://10.0.0.236/trunk@230242 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:56:58 +00:00
cbiesinger%gmx.at
c20638b685 bug 347736 instantiate <embed> plugins by extension if we don't have a MIME type
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@230238 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:48:18 +00:00
cbiesinger%gmx.at
811a46363f Bug 382113 make sure to add the request to the new loadgroup before removing it
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@230234 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:37:40 +00:00
bzbarsky%mit.edu
c57e87303d More consistent handling of principals for loads across docshell type
boundaries.  Bug 388121, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@230161 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 01:47:07 +00:00
Olli.Pettay%helsinki.fi
29c87c6a3f Bug 386599, Recursive <object> with border hangs Firefox, r=biesi, sr=bz
git-svn-id: svn://10.0.0.236/trunk@230099 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 07:43:36 +00:00
flamingice%sourmilk.net
499adb6a0e Bug 330511, Plugin-in blocklisting, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229935 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 00:28:06 +00:00
longsonr%gmail.com
f44235784c Bug 384409 - Create a common GetContextForContent method in nsContentUtils and use it in nsScriptElement and svg. r=tor,r+sr=jonas
git-svn-id: svn://10.0.0.236/trunk@229886 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 08:49:10 +00:00
bzbarsky%mit.edu
b5b433a6b7 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
masayuki%d-toybox.com
f1d60fea6d Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@229815 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 15:52:52 +00:00
peterv%propagandism.org
6dccfe3ea8 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@229697 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 13:05:06 +00:00
neil%parkwaycc.co.uk
998c53a562 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]


git-svn-id: svn://10.0.0.236/trunk@229689 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 08:46:49 +00:00
bzbarsky%mit.edu
3906ef0e33 Don't start layout for XML just because the root has been opened. And don't
start layout until <html:head> closes if <html:head> gets opened.  For XHTML
documents, this should prevent flashes of unstyled content.

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

Bug 380028, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@229666 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 03:42:12 +00:00
bzbarsky%mit.edu
d8f73b13b2 Notify before firing mutation events. Bug 387460, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@229651 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 01:14:55 +00:00
jwalden%mit.edu
fd6b81d6e4 Bug 387503 - Convert nsINode bits to an anonymous enum, and make a macro into an inline function for better debugging. rs=sicking
git-svn-id: svn://10.0.0.236/trunk@229637 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 22:49:42 +00:00
bzbarsky%mit.edu
28a8b72f15 Eliminate some uses of CheckSameOriginPrincipal in favor of Subsumes/Equals.
Bug 387204, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@229586 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 04:11:11 +00:00
dcamp%mozilla.com
807016d25e implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229529 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-09 06:19:29 +00:00
philringnalda%gmail.com
3ed48cc6d2 Bug 382947 - XMLHttpRequest should only set the charset in the Content-Type request header if we know the charset, patch by Ryan Jones <sciguyryan@gmail.com>, r=bzbarsky, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@229526 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-09 02:33:07 +00:00
philringnalda%gmail.com
6f4b88819f Bug 386854 - Bustage build fix MOX_XUL disabled, patch by romaxa <romaxa@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@229519 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-09 00:58:15 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
dbaron%dbaron.org
b45e3985f6 Initialize mPendingInstantiateEvent to null. b=386889 r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@229391 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-05 22:44:27 +00:00
Olli.Pettay%helsinki.fi
8823bd9f8d Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@229335 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 20:39:11 +00:00
enndeakin%sympatico.ca
66f6fed78b Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz
git-svn-id: svn://10.0.0.236/trunk@229322 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 15:49:46 +00:00
mrbkap%gmail.com
202a0a8507 Don't be confused by misleading tag names. bug 386794, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@229308 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 07:45:04 +00:00
peterv%propagandism.org
610697d402 Fix for bug 386656 (Security Error: Content at moz-nullprincipal:{8c0f4edc-0aac-45cc-8471-895f07bb1bb2} may not load or link to resource://gre/res/hiddenWindow.html during install of latest NTT Build). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@229307 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 07:27:36 +00:00
mats.palmgren%bredband.net
fd18364353 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +00:00
sharparrow1%yahoo.com
e8da7b7a3f Bug 386141: Switch NS_FRAME_IS_BOX to use IsFrameOfType. Patch by fantasai, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@229283 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 22:11:29 +00:00