bzbarsky@mit.edu
03372522d9
Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking.
2007-08-20 15:55:06 -07:00
cbiesinger@gmx.at
f626a42e8c
bug 392117 pass lowercase strings to LowerCaseEqualsLiteral r+sr=sicking
2007-08-20 10:27:47 -07:00
enndeakin@sympatico.ca
aef0ee7c4d
Bug 385275, handle tab navigation in popups properly, r+sr=roc
2007-08-15 18:09:58 -07:00
bzbarsky@mit.edu
0102a642c5
Don't play games with the <meta> tag when not serializing an entire document. Bug 390735, patch by Ryan Jones <sciguyryan@gmail.com>, r+sr=bzbarsky, a=jst
2007-08-10 17:38:53 -07:00
enndeakin@sympatico.ca
e400c46775
Bug 390420, select dropdowns appearing in the wrong place in some cases, r+bz,a=dbaron
2007-08-10 05:42:06 -07:00
bzbarsky@mit.edu
96ec7b6a69
Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking
2007-08-09 22:35:08 -07:00
bzbarsky@mit.edu
73073f4f3b
Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking
2007-08-07 18:16:09 -07:00
cbiesinger@gmx.at
6b6b771bea
Bug 390385 make sure that plugins don't get instantiated before the first Reflow of the objectframe, so that the first NPP_SetWindow call contains the right dimensions r+sr=bz
2007-08-06 17:32:14 -07:00
cbiesinger@gmx.at
3416bd0451
364235 don't instantiate plugins for URLs with unknown schemes unless we also have a type specified r+sr=bz
2007-08-06 11:02:14 -07:00
jwalden@mit.edu
8e969971b9
Fix Thunderbird/--disable-svg bustage from bug 379178. rs=jwatt
2007-08-06 11:00:01 -07:00
bzbarsky@mit.edu
d85872ea5d
Hoist the code for handling class and id up from nsGenericHTMLElement to the newly-created nsStyledElement so that it can be reused by MathML and to some extent by SVG. Bug 379178, patch by Daniel Kraft <domob@daniel-kraft.net>, r=jwatt for the SVG changes, r+sr=sicking for the rest, a=dsicore
2007-08-06 08:27:19 -07:00
benjamin@smedbergs.us
0e047142a4
Bug 386025 - Expose cycle-collection symbols, r=graydon
2007-08-06 07:34:02 -07:00
Olli.Pettay@helsinki.fi
5b2545c6f2
Backout bug 378866, the patch doesn't handle all testcases :(
2007-08-03 06:06:05 -07:00
Olli.Pettay@helsinki.fi
908f41f6dc
Bug 378866, r+sr=bz, a=sicking
2007-08-02 23:53:01 -07:00
cbiesinger@gmx.at
9b77299b29
382378 call NotifyContentObjectWrapper after the plugin has been instantiated so that scriptable plugins work correctly r+sr=bz
2007-08-02 14:15:05 -07:00
cbiesinger@gmx.at
15ca9d3c96
322170 ignore errors from OnStartRequest (NPP_NewStream) for Shockwave on the Mac r=jst sr=bz
2007-08-02 13:16:49 -07:00
bzbarsky@mit.edu
40f1f36bf8
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
2007-08-02 10:54:36 -07:00
jonas@sicking.cc
da0e93de39
Bug 389508: Fix regressions and bugs in the new Cross Site XMLHttpRequest support. r/sr=jst a=roc
2007-07-30 17:42:16 -07:00
jonas@sicking.cc
24c4c1d539
Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
2007-07-26 19:49:18 -07:00
jonas@sicking.cc
13974dde1b
backout due to orange
2007-07-26 16:34:22 -07:00
jonas@sicking.cc
68ac48fc81
'extra ;'? Quit your whining gcc\!
2007-07-26 15:34:32 -07:00
jonas@sicking.cc
29f28d46a0
Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
2007-07-26 15:20:29 -07:00
Olli.Pettay@helsinki.fi
81c89897e3
Backing out bug 275196, xml:id, to fix tp regression
2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
ad51500682
Bug 275196, xml:id, r=sicking, sr=dbaron
2007-07-26 05:22:01 -07:00
tor@cs.brown.edu
57371777f8
Bug 383184 - Implement SVG lighting filters.
...
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
2007-07-25 23:57:42 -07:00
jst@mozilla.org
dadc7c619b
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
2007-07-25 21:14:33 -07:00
roc+@cs.cmu.edu
61373b8418
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
2007-07-25 21:03:29 -07:00
jonas@sicking.cc
18a76cc5a2
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
2007-07-25 17:36:19 -07:00
bzbarsky@mit.edu
1e0b05ffcf
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
2007-07-25 10:21:41 -07:00
dcamp@mozilla.com
0eee14ff27
move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst
2007-07-24 22:35:39 -07:00
dcamp@mozilla.com
bb10d2d59f
add a sendAsBinary() method to XMLHttpRequest (for sending data from an <input type=file> element, among other things). b=371432, r+sr=jonas
2007-07-24 21:53:21 -07:00
dcamp@mozilla.com
67423b50ef
Add an API to access <input type="file"> data. r=smontagu (for charset stuff), r+sr=jonas
2007-07-24 21:29:47 -07:00
masayuki@d-toybox.com
17ddd176c4
Bug 388602 ###!!! ASSERTION: invalid array index: 'i < Length()' when loading some webpages r+sr=roc
2007-07-24 04:47:22 -07:00
asqueella@gmail.com
cb307ac952
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
2007-07-23 16:31:11 -07:00
cbiesinger@gmx.at
79d350e845
385118 make sure to set mInstantiating to false again before returning
...
r+sr=jst,bzbarsky
2007-07-18 17:28:39 -07:00
cbiesinger@gmx.at
32bc9aca2e
bug 309523 remove now-addressed XXX comment
...
r+sr=bz
2007-07-18 15:02:04 -07:00
bzbarsky@mit.edu
a6139746d4
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.
2007-07-18 14:56:57 -07:00
cbiesinger@gmx.at
c4a5306b2f
bug 347736 instantiate <embed> plugins by extension if we don't have a MIME type
...
r+sr=bz
2007-07-18 14:48:18 -07:00
bzbarsky@mit.edu
d59efa6763
More consistent handling of principals for loads across docshell type
...
boundaries. Bug 388121, r+sr=jst
2007-07-17 18:47:07 -07:00
Olli.Pettay@helsinki.fi
9f5ba5c69a
Bug 386599, Recursive <object> with border hangs Firefox, r=biesi, sr=bz
2007-07-17 00:43:36 -07:00
flamingice@sourmilk.net
76b4af864e
Bug 330511, Plugin-in blocklisting, r+sr=jst
2007-07-13 17:28:05 -07:00
longsonr@gmail.com
0a705dae4d
Bug 384409 - Create a common GetContextForContent method in nsContentUtils and use it in nsScriptElement and svg. r=tor,r+sr=jonas
2007-07-13 01:49:07 -07:00
bzbarsky@mit.edu
a4c90a1d9d
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.
2007-07-12 13:05:45 -07:00
masayuki@d-toybox.com
af31f107a5
Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r+sr=roc
2007-07-12 08:52:51 -07:00
peterv@propagandism.org
2fb0fc711a
Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
2007-07-11 06:05:05 -07:00
bzbarsky@mit.edu
40d0244293
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
2007-07-10 20:42:11 -07:00
bzbarsky@mit.edu
79013e30da
Notify before firing mutation events. Bug 387460, r+sr=sicking
2007-07-10 18:14:55 -07:00
bzbarsky@mit.edu
f6349051e7
Eliminate some uses of CheckSameOriginPrincipal in favor of Subsumes/Equals.
...
Bug 387204, r+sr=jst
2007-07-09 21:11:11 -07:00
dcamp@mozilla.com
d746712d75
implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst
2007-07-08 23:19:27 -07:00
philringnalda@gmail.com
abb9b1380f
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
2007-07-08 19:33:07 -07:00
philringnalda@gmail.com
f48d442b06
Bug 386854 - Bustage build fix MOX_XUL disabled, patch by romaxa <romaxa@gmail.com>, r+sr=bzbarsky
2007-07-08 17:58:15 -07:00
jwalden@mit.edu
e3c4baccae
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.
2007-07-08 00:08:04 -07:00
dbaron@dbaron.org
69a76dfb14
Initialize mPendingInstantiateEvent to null. b=386889 r+sr=biesi
2007-07-05 15:44:27 -07:00
Olli.Pettay@helsinki.fi
2feaae333d
Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz
2007-07-04 13:39:10 -07:00
enndeakin@sympatico.ca
6c8197be5f
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
2007-07-04 08:49:38 -07:00
mrbkap@gmail.com
c0d870c1f9
Don't be confused by misleading tag names. bug 386794, r+sr=sicking
2007-07-04 00:45:04 -07:00
peterv@propagandism.org
ee83281d9c
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.
2007-07-04 00:27:36 -07:00
mats.palmgren@bredband.net
db689821bf
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
sharparrow1@yahoo.com
8801788a06
Bug 386141: Switch NS_FRAME_IS_BOX to use IsFrameOfType. Patch by fantasai, r+sr=roc.
2007-07-03 15:11:28 -07:00
bzbarsky@mit.edu
4976df8890
Fixing build bustage
2007-07-03 12:15:26 -07:00
bzbarsky@mit.edu
bdded13f7c
Propagate the principal responsible an image load all the way to
...
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there. Bug 310165, r=sicking, sr=dbaron
2007-07-03 11:45:39 -07:00
roc+@cs.cmu.edu
f89a82a7f6
Bug 386548. Remove nsTextTransformer. r+sr=mats
2007-07-02 16:36:59 -07:00
peterv@propagandism.org
c1f26cd35e
Fix for bug 326337 (XMLHttpRequest.responseXML permission denied if document.domain set). r=jst, sr=bz.
2007-07-02 06:20:01 -07:00
dbaron@dbaron.org
086900c009
Fix leak of nsJSRuntime due to unbalanced calls of HoldScriptObject (with null argument). b=386294 r+sr=jst
2007-06-29 20:06:04 -07:00
dbaron@dbaron.org
9b3e00551c
Add nsCycleCollector_shouldBeFreed calls for elements. b=385549 r+sr=jst
2007-06-29 20:00:51 -07:00
enndeakin@sympatico.ca
271e5c520d
Bug 279703, backing out the popup changes due to performance regressions. sigh.
2007-06-29 15:39:50 -07:00
enndeakin@sympatico.ca
95deb19d78
Bug 279703, backing out the popup changes due to performance regressions. sigh.
2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3
Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz
2007-06-29 12:04:45 -07:00
peterv@propagandism.org
76a2c4d37f
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0f0097ffc5
Backing out to fix orange.
2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
2007-06-27 15:29:45 -07:00
tor@cs.brown.edu
76ef425384
Bug 375846 - implement feConvolveMatrix filter primitive. r=longsonr, sr=roc
2007-06-27 12:02:58 -07:00
dveditz@cruzio.com
56a9050dc7
bug 381264 nix 'track' method; r=biesi, sr=sicking
2007-06-26 02:28:38 -07:00
cbiesinger@web.de
aece5fe57c
bug 382113 set LOAD_DOCUMENT_URI for <object> loads that load a document
...
so that things like onload events work correctly
r+sr=bz
2007-06-23 01:44:27 -07:00
timeless@mozdev.org
cdb488901b
Bug 383901 having two different gNameSpaceManagers is confusing (at least to debuggers)
...
r=bz sr=bz
2007-06-19 22:23:50 -07:00
bzbarsky@mit.edu
0eb40f4042
Make the ranges used by find code able to span anonymous content. Bug 384706,
...
r+sr=sicking
2007-06-18 20:01:03 -07:00
jonas@sicking.cc
50513d81cc
Backing out previous checkin since leaks went up
2007-06-18 16:21:28 -07:00
sayrer@gmail.com
dd79d4341b
bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst
2007-06-18 15:44:11 -07:00
jonas@sicking.cc
d53f4d97f7
Bug 348156: Don't rely on UnbindFromTree to break cycles since that puts us in an inconsistent state. r/sr=jst
2007-06-18 15:27:27 -07:00
Olli.Pettay@helsinki.fi
57208eb367
Bug 384663, r+sr=bz
2007-06-18 08:43:40 -07:00
kherron@fmailbox.com
fd55a81c64
Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv.
2007-06-17 06:50:50 -07:00
kherron@fmailbox.com
10d7931b24
Bug 380668 - Extra newlines added after a meta element that already has them before and after. Patch by Ryan Jones <sciguyryan@gmail.com>. r+sr=bzbarsky.
2007-06-17 04:41:03 -07:00
kherron@fmailbox.com
3ef7e96849
Bug 381329 - Build fails with GCC-4.3 due to extra semi-colons and '-pedantic' flag. Patch by Art Haas <ahaas@airmail.net>. r+sr=roc.
2007-06-16 12:53:59 -07:00
enndeakin@sympatico.ca
78a410c31c
Bug 321171 - support XML sources in XUL templates, r=smaug,sr=peterv CVS: ----------------------------------------------------------------------
2007-06-15 08:03:44 -07:00
jonas@sicking.cc
5d6d0f52ff
Bug 379959: Add checks to loadBindingDocument. r/sr=jst
2007-06-12 14:56:06 -07:00
jst@mozilla.org
23003dea8f
Fixing bug 383424. Make the context pusher use the owner document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2007-06-12 14:16:58 -07:00
bzbarsky@mit.edu
d479536899
Remove duplicated "is this an event attr?" code. Bug 383714, patch by RyanJones <sciguyryan@gmail.com>, r+sr=bzbarsky
2007-06-10 12:27:57 -07:00
roc+@cs.cmu.edu
c71327187f
Not Really Part Of The Build. Update nsLineBreaker interface to allow aSink to be null, in which case the computed linebreaks are just discarded. We use this to optimize cases where no breaking is enabled and the results of linebreaking are not required. Also exposes IsSpace and IsComplexChar methods that the linebreaker specification relies on. Renamed CJK stuff to ComplexChar because it's going to include Thai and probably other languages.
2007-06-06 21:17:55 -07:00
roc+@cs.cmu.edu
2bfebe1bc6
Bug 380538. Allow both ononline and onoffline to be specified in the body element. patch by Chris Double, r=Olli.Pettay,sr=jonas
2007-06-06 20:28:04 -07:00
bzbarsky@mit.edu
6dfd7347b4
When serializing a <q> as plaintext, put in quotes even if we're not doingformatted output. Bug 378407, r=glazman, sr=sicking
2007-06-05 12:24:55 -07:00
jonas@sicking.cc
607f8caad0
Bug 373756. Don't execute XBL ctors on the last EndUpdate if there were queued ctors when we got the first BeginUpdate. Patch by bz. r/sr=me
2007-05-30 18:36:06 -07:00
roc+@cs.cmu.edu
bc2c8b9809
Not (Really) Part Of The Build. Fix embarrassing error in nsLineBreaker...
2007-05-30 17:06:31 -07:00
roc+@cs.cmu.edu
cf38be799a
Bug 174397. Support getClientRects and getBoundingClientRect on DOM elements. r=jonas,dbaron; sr=tor, plus help from Anne van Kesteren and Martijn Wargers
2007-05-30 15:32:54 -07:00
roc+@cs.cmu.edu
18223fc22d
Not part of the build. Change nsLineBreaker so that breaks at element boundaries are always governed by the white-space property on the element that's the nearest common ancestor of the DOM nodes on each side of the break point --- fixes bug 382289. Also, pass NBSP through to textruns so that whitespace trimming doesn't trim NBSP. Also, count trimmed spaces correctly when updating mClusterCount.
2007-05-30 15:27:27 -07:00
jonas@sicking.cc
a8a2928a3a
Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz
2007-05-30 13:43:41 -07:00
bclary@bclary.com
7798f66122
Bug 382182 - script tag should support version 1.8, r=jonas,sr=brendan
2007-05-29 22:55:55 -07:00
roc+@cs.cmu.edu
314e02012b
Bug 372970. Implement navigator.offlineResources. patch by Dave Camp, r+sr=jst
2007-05-29 02:45:30 -07:00
neil@parkwaycc.co.uk
975c75417a
Bug 380364 Fix regressions from bug 236546 r+sr=jst
2007-05-25 13:47:30 -07:00
Olli.Pettay@helsinki.fi
b9a6965dbe
Bug 381153, r+sr=roc
2007-05-25 03:09:29 -07:00
jonas@sicking.cc
0a47e8baa7
Fix yet more regressions from the don't-flag-clone-xul-nodes-indocument landing. b=380872 r/sr=bz
2007-05-24 17:28:20 -07:00