Re: CORS performance

2015-02-23 Thread Henri Sivonen
ere, but considering that the crossdomain.xml design was knowingly rejected, it's probably worthwhile to pay attention to why. -- Henri Sivonen hsivo...@hsivonen.fi https://hsivonen.fi/

Re: inline declarative manifest, was Re: New manifest spec - ready for FPWD?

2013-12-04 Thread Henri Sivonen
On Wed, Dec 4, 2013 at 8:16 AM, Jonas Sicking wrote: > On Dec 3, 2013 9:25 PM, "Marcos Caceres" wrote: >> On Wednesday, December 4, 2013 at 9:40 AM, Jonas Sicking wrote: >> > We currently have both ... and

Re: File API for Review

2013-03-08 Thread Henri Sivonen
ous behavior of said legacy code to the Web using the default settings of Firefox, so I'm hoping to remove the big chunk of legacy code instead of fixing it properly.) -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: File API for Review

2013-03-08 Thread Henri Sivonen
https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/Source/WebCore/fileapi/FileReaderLoader.cpp#282 right, WebKit doesn't. I didn't actually *test* either. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Review of the spec

2012-12-11 Thread Henri Sivonen
really want to make the bet?) -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: Proposal for "Cascading Attribute Sheets" - like CSS, but for attributes!

2012-10-05 Thread Henri Sivonen
ing compatible with IE7 a few years ago, why isn't there now similar concern that applying ARIA by a new mechanism would leave behind IE10 and earlier, which, presumably, currently have the same sort of expected enterprise lifespan as IE7 had when aria was introduced? -- Henri Sivo

Re: Making play nice with XML and tags-and-text

2012-08-05 Thread Henri Sivonen
27;re supposed to clone the template and then mutate the clone. > That's unfortunate. I guess that means CSS styles will get applied to them > as well, which wouldn't be what authors would want. That's not really a problem as long as subtrees with elements in the template namespaces are rooted at a display: none; element. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [webcomponents] HTML Parsing and the element

2012-06-15 Thread Henri Sivonen
On Tue, Jun 12, 2012 at 12:14 AM, Rafael Weinstein wrote: > On Mon, Jun 11, 2012 at 3:13 PM, Henri Sivonen wrote: >> On Thu, Jun 7, 2012 at 8:35 PM, Tab Atkins Jr. wrote: >>> Just saying that querySelector/All doesn't match elements in a >>> template (unless

Re: [webcomponents] HTML Parsing and the element

2012-06-15 Thread Henri Sivonen
a fragment that belongs to a different owner document. (My non-objection to creating normal children in the DOM should not be read as a commitment to support templates Gecko.) -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [webcomponents] HTML Parsing and the element

2012-06-11 Thread Henri Sivonen
ill open the floodgates for all sorts of arguments that we can make the parser generate whatever data structures regardless of what the input looks like and we'll end up in a world of pain. It's bad enough that isindex is a parser macro. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [webcomponents] HTML Parsing and the element

2012-06-07 Thread Henri Sivonen
sistency principle and features that don't work with the XHTML serialization should be considered huge red flags indicating faulty design. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: Implied Context Parsing (DocumentFragment.innerHTML, or similar) proposal details to be sorted out

2012-06-07 Thread Henri Sivonen
s don't matter, except insofar as the history of their > effects on the specs persists. The reason why I care about correcting recounts of past SVG working group opinion on this topic is that I think it's better for learning from mistakes if the learning is based on the truth of what happened. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [XHR] chunked

2012-06-07 Thread Henri Sivonen
ta is gone and doesn't fill up buffer space. (Some of my remarks on IRC were confused, because I mistook the Worker-specific API for the API proposed for the main thread.) -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-06-06 Thread Henri Sivonen
tops. > Even though it'll technically work, it might look ugly due to scaling. Shouldn't it be up to the user to refrain from using ugly apps instead of the developer preventing them? -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [webcomponents] HTML Parsing and the element

2012-06-06 Thread Henri Sivonen
walking the parent chain (which normally won't be excessively long) as opposed to checking a flag on the owner document? I strongly believe that this template contents should be children of the template element in the DOM instead of being behind a special wormhole to another document while parsing and serializing as if the special wormhole wasn't there. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: Implied Context Parsing (DocumentFragment.innerHTML, or similar) proposal details to be sorted out

2012-06-06 Thread Henri Sivonen
over time what's > best for authors. At this point, what's best for authors includes considerations of consistent behavior across already-deployed browsers (including IE9, soon IE10 and the Android stock browser) and future browsers. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: Implied Context Parsing (DocumentFragment.innerHTML, or similar) proposal details to be sorted out

2012-06-06 Thread Henri Sivonen
we should try to change the order in which the scripts run. I definitely don't want that to be changed. I'm suggesting that working with markup literals shouldn't be advertised as a good way to insert scripts into a document. I see the value of being consistent with jQuery, thou

Re: Implied Context Parsing (DocumentFragment.innerHTML, or similar) proposal details to be sorted out

2012-05-15 Thread Henri Sivonen
On Fri, May 11, 2012 at 10:04 PM, Rafael Weinstein wrote: > Issue 1: How to handle tokens which precede the first start tag > > Options: > a) Queue them, and then later run them through tree construction once > the implied context element has been picked > > b) Create a new insertion like "waiting

Re: [webcomponents] Template element parser changes => Proposal for adding DocumentFragment.innerHTML

2012-05-11 Thread Henri Sivonen
On Fri, May 11, 2012 at 12:59 PM, Ryosuke Niwa wrote: > Yes! Can we re-use createDocumentFragment and add an optional argument > instead though? I think that makes sense in principle, but I worried that the name createDocumentFragment is the kind of name that's works OK if you're writing Java int

Re: [webcomponents] Template element parser changes => Proposal for adding DocumentFragment.innerHTML

2012-05-11 Thread Henri Sivonen
On Wed, May 9, 2012 at 7:45 PM, Rafael Weinstein wrote: > I'm very much of a like mike with Henri here, in that I'm frustrated > with the situation we're currently in WRT SVG & MathML & parsing > foreign content in HTML, etc... In particular, I'm tempted to feel > like SVG and MathML made this bed

Re: [webcomponents] Template element parser changes => Proposal for adding DocumentFragment.innerHTML

2012-05-09 Thread Henri Sivonen
G working group is on board and henceforth avoids local name collisions with HTML and MathML. If the API required the caller to request SVG explicitly, would it be a sure thing that jQuery would build magic heuristics on the library side? -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [webcomponents] Template element parser changes => Proposal for adding DocumentFragment.innerHTML

2012-05-09 Thread Henri Sivonen
XML experiences from non-browser contexts. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [webcomponents] HTML Parsing and the element

2012-04-18 Thread Henri Sivonen
ting inertness from the ancestor chain ( ancestor or DocumentFragment marked as inert as an ancestor). It's unclear to me what the performance impact will be. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [Clipboard] Mathematical Proofs in HTML5 Documents‏

2012-04-03 Thread Henri Sivonen
and semantics can overlay > the HTML5 and/or the RDFA can relate elements to referenced external > resources. What kind of software do expect to consume of this kind of data? -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [webcomponents] HTML Parsing and the element

2012-02-08 Thread Henri Sivonen
ser spec open right when everybody converged on the spec worry me, though. I'm still hoping for a design that doesn't require parser changes at all and that doesn't blow up in legacy browsers (even better if the results in legacy browsers were sane enough to serve as input for a polyfill). -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: Obsolescence notices on old specifications, again

2012-01-23 Thread Henri Sivonen
certification > processes and regulations. I think proliferating obsolete stuff is harmful. Which laws or regulations require compliance with some of the above-mentioned specs? Have bugs been filed on those laws and regulations? -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: String to ArrayBuffer

2012-01-12 Thread Henri Sivonen
ST support and supporting other encodings should be a "MUST NOT". What's the motivation for supporting encodings other than UTF-8 and BINARY? -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [XHR] responseType "json"

2011-12-13 Thread Henri Sivonen
SON parser > in our first iteration of implementing the "json" responseType. FWIW, Gecko parses XML and HTML in a streaming way as data arrives from the network. When readyState changes to DONE, the document has already been parsed. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [XHR] responseType "json"

2011-12-12 Thread Henri Sivonen
ns in the future, I think we shouldn't expose responseText for JSON. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [XHR] responseType "json"

2011-12-02 Thread Henri Sivonen
7;t support UTF-32. It has no use cases as an interchange encoding beyond writing evil test cases. Defining it as a valid encoding is reprehensible. Does anyone actually transfer JSON as UTF-16? -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: XPath and find/findAll methods

2011-11-29 Thread Henri Sivonen
hen tested against attributes. And that trick only works with (X)HTML nodes. Selectors have the advantage that they wildcard the namespace by default, so it's feasible to define APIs that don't even have namespace binding mechanisms. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: XPath and find/findAll methods

2011-11-25 Thread Henri Sivonen
to use XSLT2 in browsers to license Saxon-CE (XSLT2 implemented in JavaScript) from Saxonica instead of expecting native implementations in browsers. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: XPath and find/findAll methods

2011-11-24 Thread Henri Sivonen
ense to spec what they already support instead inventing a new API. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: XPath and find/findAll methods

2011-11-24 Thread Henri Sivonen
ot;compatibility mode" for interpreting existing XPath 1.0 queries, but it seems like a bad idea to build on a spec whose authors have put compatibility into a side mode and what's considered the main thing isn't fully compatible with existing queries. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [XHR2] HTML in XHR implementation feedback

2011-11-24 Thread Henri Sivonen
On Mon, Nov 21, 2011 at 8:26 PM, Jonas Sicking wrote: > On Wed, Nov 16, 2011 at 2:40 AM, Henri Sivonen wrote: >>  * For text/html responses for response type "" and "document", the >> character encoding is established by taking the first match from this >>

Re: XPath and find/findAll methods

2011-11-22 Thread Henri Sivonen
leave a wide safety margin around optional features. Otherwise, there's a risk of getting sucked into implementing bad optional features anyway. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [XHR2] HTML in XHR implementation feedback

2011-11-21 Thread Henri Sivonen
On Wed, Nov 16, 2011 at 12:40 PM, Henri Sivonen wrote: >  * Making XHR not support HTML parsing in the synchronous mode. In reference to the other thread about discouraging synchronous XHR (outside Workers), this change ended up being made in Gecko. (HTML parsing in XHR still hasn't made

Re: TAG Comment on

2011-11-21 Thread Henri Sivonen
the description of what needs to be implemented in order to successfully render the Web. By all means put some kind of Surgeon General's warning about race conditions on localStorage but, please, let's not hide the description of the feature from specs. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

[XHR2] HTML in XHR implementation feedback

2011-11-16 Thread Henri Sivonen
making yet but might make in near future: * Making responseType == "" not support HTML parsing at all and to treat text/html as an unknown type for the purpose of character encoding. * Making XHR not support HTML parsing in the synchronous mode. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: innerHTML in DocumentFragment

2011-11-11 Thread Henri Sivonen
On Fri, Nov 11, 2011 at 1:42 PM, Henri Sivonen wrote: > As a bonus, developers would need to call createDocumentFragement() first. Doh. Would *not* need to call createDocumentFragement() first. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: innerHTML in DocumentFragment

2011-11-11 Thread Henri Sivonen
ergonomics go. > someTableElement.innerHTML = "..."; > > will just drop the div on the floor. By what mechanism? (It didn't implement and run Yehuda's suggestion, but I'm pretty sure it wouldn't drop the div. Why would we put additional effort into dropping the div?) -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: innerHTML in DocumentFragment

2011-11-11 Thread Henri Sivonen
ier and why doing something different would be bad. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: innerHTML in DocumentFragment

2011-11-11 Thread Henri Sivonen
On Fri, Nov 11, 2011 at 11:49 AM, Anne van Kesteren wrote: >> Unfortunately

Re: Sanatising HTML content through sandboxing

2011-11-10 Thread Henri Sivonen
rt for HTML parsing. No need to first get responseText and then pass it to something else. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: innerHTML in DocumentFragment

2011-11-10 Thread Henri Sivonen
IM for all elements? I don't want to add DWIM to support , , etc., but I'd like to have good confidence that the selection of elements that we add DWIM support for is the right set (neither too broad to drive up implementation cost without use cases nor too narrow to end up needing wha

Re: innerHTML in DocumentFragment

2011-11-10 Thread Henri Sivonen
he sanitizer does. Stuff to debate includes what to do about Content MathML, what to do about elements that appear to reference SVG and what to do about elements that bear Microdata attributes. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: innerHTML in DocumentFragment

2011-11-10 Thread Henri Sivonen
is a problem with , but developing a complete solution that works sensibly even when you do stuff like frag.innerHTML = "" frag.innerHTML = "" frag.innerHTML = "a" frag.innerHTML = "foobar" frag.innerHTML = "foo" frag.innerHTML = "" frag.innerHTML

Re: [XHR2] responseText for text/html before the encoding has stabilized

2011-11-07 Thread Henri Sivonen
e parts of the world from > transitioning to developing "AJAX" based websites if we drop all of > these things, however I have not yet gathered that data. I think we shouldn't take the encoding of the invoking page into account. We have an excellent opportunity to avoid propagating that kind of legacy badness. I think we should take the opportunity to make a new feature less crazy. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [XHR2] Streamed send or receive

2011-10-06 Thread Henri Sivonen
d in Firefox Aurora by adding chunked text and chunked ArrayBuffer response types: https://bugzilla.mozilla.org/show_bug.cgi?id=687087 -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [XHR2] responseText for text/html before the encoding has stabilized

2011-10-03 Thread Henri Sivonen
On Fri, Sep 30, 2011 at 8:05 PM, Jonas Sicking wrote: > Unless responseType=="" or responseType=="document" I don't think we > should do *any* HTML or XML parsing. Even the minimal amount needed to > do charset detection. I'd be happy to implement it that way. > For responseType=="text" we curre

Re: [XHR2] responseText for text/html before the encoding has stabilized

2011-09-30 Thread Henri Sivonen
On Fri, Sep 30, 2011 at 3:35 PM, Anne van Kesteren wrote: > On Fri, 30 Sep 2011 14:29:32 +0200, Henri Sivonen wrote: >> >> On Fri, Sep 30, 2011 at 3:04 PM, Anne van Kesteren >> wrote: >>> >>> I do not see why "text" and "moz-chunked-te

Re: [XHR2] responseText for text/html before the encoding has stabilized

2011-09-30 Thread Henri Sivonen
Seems reasonable for the modes that have a non-null responseXML for text/html. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [XHR2] Avoiding charset dependencies on user settings

2011-09-29 Thread Henri Sivonen
I think we should design new features to make authors everywhere get their act together and declare their encodings. (Note that this position is much less extreme than the more enlightened position e.g. HTML5 App Cache manifests take: Requiring everyone to use UTF-8 for a new feature so that declarations aren't needed.) -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

[XHR2] responseText for text/html before the encoding has stabilized

2011-09-29 Thread Henri Sivonen
ules. * "text" and "moz-chunked-text" use the same encoding detection rules. * "moz-chunked-text" uses the same encoding for all chunks. * All imaginable badly written comet apps are guaranteed to continue working. * responseXML considers in a deterministic way (no timer for bailing out before 1024 bytes if the network stalls). Which property do we give up? -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [XHR2] Avoiding charset dependencies on user settings

2011-09-29 Thread Henri Sivonen
onseText using the same encoding that's used for responseXML? If yes, that would mean changing the way responseText decodes in Gecko when there's no declaration. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [XHR2] Avoiding charset dependencies on user settings

2011-09-28 Thread Henri Sivonen
loaded from after the fact, so debugging doesn't seem any > harder. If that counts as "not harder", I concede this point. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [XHR2] Avoiding charset dependencies on user settings

2011-09-26 Thread Henri Sivonen
On Mon, Sep 26, 2011 at 12:46 PM, Jonas Sicking wrote: > On Fri, Sep 23, 2011 at 1:26 AM, Henri Sivonen wrote: >> On Thu, Sep 22, 2011 at 9:54 PM, Jonas Sicking wrote: >>> I agree that there are no legacy requirements on XHR here, however I >>> don't think tha

Re: [XHR2] Avoiding charset dependencies on user settings

2011-09-23 Thread Henri Sivonen
On Fri, Sep 23, 2011 at 11:26 AM, Henri Sivonen wrote: > Applying all the legacy text/html craziness Furthermore, applying full legacy text/html craziness involves parser restarts for GET requests. With a browsing context, that means renavigation, but I really don't want to suppor

Re: [XHR2] Avoiding charset dependencies on user settings

2011-09-23 Thread Henri Sivonen
n the XHR data loading machinery of an app, it's much harder to figure out what part of the system the problem should be attributed to. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

[XHR2] Avoiding charset dependencies on user settings

2011-09-22 Thread Henri Sivonen
back for responseText and responseText is already used with text/html. As it stands, the XHR2 spec defers to a part of HTML that has legacy-oriented optional features. It seems that it makes sense to clamp down those options for XHR. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: Adding Web Intents to the Webapps WG deliverables

2011-09-22 Thread Henri Sivonen
m space without a new HTML element: https://github.com/mozilla/openwebapps/blob/master/docs/ACTIVITIES.md -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

[XHR2] Overriding the MIME type in XHR2 after the request has started

2011-04-19 Thread Henri Sivonen
Adding [XHR2] to the subject to comply with the instructions. Sorry about the noise. On Tue, 2011-04-19 at 12:04 +0300, Henri Sivonen wrote: > In reference to > http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#dom-xmlhttprequest-overridemimetype > > It seems to me that

Overriding the MIME type in XHR2 after the request has started

2011-04-19 Thread Henri Sivonen
? I assume that typically one would use overrideMimeType() when knowing ahead of time that the config of the server responding to XHR is bogus. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Use cases for Range::createContextualFragment and script nodes

2010-10-20 Thread Henri Sivonen
already started' flag set, so the script behaves like a script created with document.createElement("script") when inserted into a document. I'd be interested in use cases around createContextualFragment in order to get a better idea of which behavior should be the correct beh

Please special-case "html" as the context of Range.createContextualFragment when the doc is an HTML doc

2010-09-06 Thread Henri Sivonen
an identifiable context element node even after walking the parent chain, the context passed to the HTML fragment parsing algorithm should be "body" in the XHTML namespace. I don't know DOM Range well enough to say how this situation can arise.) -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: Issues with XML Dig Sig and XML Canonicalization; was Re: Rechartering WebApp WG

2010-02-22 Thread Henri Sivonen
the call that widget signing is flawed. And it's > important to note that no one that has implemented has come back to the WG > raising any concerns or screaming bloody murder. It could be that people don't sign widgets very often. I don't recall ever seeing a signed Firefox extension or a signed Eclipse plug-in. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: Notifications

2010-02-12 Thread Henri Sivonen
API to the least common > denominator for a small fraction of users? Especially when there's no > technical reason why these providers could not be made more advanced (for > example, embed webkit to display fully functional notifications)? It's not a given that it's an advancement in user experience terms not to force all ambient notifications into a consistent form. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: Notifications

2010-02-10 Thread Henri Sivonen
ing to keep a browsing context or a worker active at the notification time. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: XMLHttpRequest Comments from W3C Forms WG

2009-12-17 Thread Henri Sivonen
s like XHR in browsers--the system as a whole still doesn't interoperate with Web browsers. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [selectors-api] querySelector with namespace

2009-11-26 Thread Henri Sivonen
ses that hard-wiring IDness to id doesn't address. > Having said all that, I'm not very keen on adding native support for xml:id. > I'd > rather just make 'id' in the null namespace "special" if at all possible. > KISS, > right? Indeed. Works for everything I've seen so far, except Chemical Markup Language. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [selectors-api] querySelector with namespace

2009-11-26 Thread Henri Sivonen
element doesn't have a single attribute that has IDness. Instead, it has to have two (the natural choice flowing from XML specs) or the IDness of attributes has to depend on the presence of other attributes (the choice taken by SVG 1.2 Tiny). -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: XMLSerializer should run HTML serialization algorithm when input doc is HTML

2009-07-02 Thread Henri Sivonen
On Jul 2, 2009, at 12:11, Giovanni Campagna wrote: 2009/7/2 Cameron McCormack : Henri Sivonen: Gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=500937 The proposed patch there and (based on black-box testing) WebKit solve the issue by running the HTML serialization algorithm when

XMLSerializer should run HTML serialization algorithm when input doc is HTML

2009-07-01 Thread Henri Sivonen
somewhere. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [widgets] Please include a statement of purpose and user interaction expectations for

2009-06-23 Thread Henri Sivonen
On Jun 2, 2009, at 16:02, Robin Berjon wrote: On Jun 2, 2009, at 14:57 , Henri Sivonen wrote: Please include a corresponding UA requirement to obtain authorization from the user for the features imported with . (It seems that the security aspect requires an authorization and doesn't

Re: [widgets] Please include a statement of purpose and user interaction expectations for

2009-06-22 Thread Henri Sivonen
make it quite clear. I notice that now the definition of what a feature is includes a video codec in addition to APIs. Does BONDI expect video codecs to be sensitive to security policies? Do you envision undeclared video codecs to be withheld from the HTML5 fallback and canPlayTy

[widgets] Please include a statement of purpose and user interaction expectations for

2009-06-02 Thread Henri Sivonen
ity aspect requires an authorization and doesn't make sense if the dangerous feature are simply imported silently.) As far as I can tell, the spec doesn't currently explain what the UA is supposed to do with the 'feature list' once built. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

[widgets] What does it mean to have an unavailable API

2009-06-02 Thread Henri Sivonen
activated with . If a widget UA has an implementation for window.frob() and frob() requires activation, what should happen when frob() hasn't been activated with ? Should there be no function object for frob()? Or should it be there but throw upon calling? Or something else. Please spe

Re: [widgets] Purpose and utility of unclear

2009-06-02 Thread Henri Sivonen
d of being presumptively required for new features in general. I'll start new threads for additional comments -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [widgets] Purpose and utility of unclear

2009-06-01 Thread Henri Sivonen
On Jun 1, 2009, at 16:44, Marcos Caceres wrote: On Mon, Jun 1, 2009 at 1:25 PM, Henri Sivonen wrote: Using a feature element denotes that, at runtime, a widget may attempt to access the feature identified by the feature element's name attribute. Why is this useful to denote?

[widgets] Purpose and utility of unclear

2009-06-01 Thread Henri Sivonen
If there are two such engines, how do they converge on the same feature name string of the specifiers of the feature itself just meant it to be available to Web content unconditionally and didn't bother to mint a widget feature string? -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [widgets] Public keys in widgets URI scheme?

2009-05-27 Thread Henri Sivonen
isolate even different instances of the same widget. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [widgets] Widgets URI scheme... it's baaaack!

2009-05-22 Thread Henri Sivonen
since it's neither in the title nor in the actual URI scheme. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [widgets] Jar signing vs. XML signatures

2009-04-17 Thread Henri Sivonen
d epoch seconds?) -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [widgets] Jar signing vs. XML signatures

2009-04-16 Thread Henri Sivonen
aries that browsers use for their existing crypto operations. And again, XML security solves a more complex problem than the smallest problem that really needs solving for zip archive signing. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [widgets] Jar signing vs. XML signatures

2009-04-15 Thread Henri Sivonen
On Apr 15, 2009, at 15:00, Marcos Caceres wrote: On Tue, Apr 14, 2009 at 4:19 PM, Henri Sivonen wrote: On Apr 14, 2009, at 14:38, Marcos Caceres wrote: I think it would be more productive to help us address the issues that you mentioned, instead of asking us to dump everything and start

Re: [widgets] Jar signing vs. XML signatures

2009-04-14 Thread Henri Sivonen
traditional way, you are a step away from using jar-compatible manifests. :-) This would address issue #3. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [widgets] Jar signing vs. XML signatures

2009-04-14 Thread Henri Sivonen
On Apr 14, 2009, at 13:01, Thomas Roessler wrote: On 14 Apr 2009, at 11:42, Henri Sivonen wrote: XSD datatypes are too vague, allow whitespace where the spec writer didn't mean to allow whitespace or allow surprising values (like "0" and "1" when the spec writer t

Re: [widgets] Jar signing vs. XML signatures

2009-04-14 Thread Henri Sivonen
On Apr 14, 2009, at 11:57, Thomas Roessler wrote: On 14 Apr 2009, at 10:27, Henri Sivonen wrote: Wouldn't it be simpler to use jar signing instead of inventing a new way of signing zip files with implementation dependencies on XML signatures and spec dependencies on XSD? (Why does the

[widgets] Jar signing vs. XML signatures

2009-04-14 Thread Henri Sivonen
but unsigned widgets could omit it, and it isn't much uglier than an XML signature file on the top level of the zip archive. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [widgets] Content-type sniffing and file extension to MIME mapping

2009-03-09 Thread Henri Sivonen
defined by RFC 3236. As implemented, the media type isn't restricted to a particular point version of XHTML and browsers don't implement 1.1. (In fact, the media types in the table aren't defined by the specs in the "Defined by" column in general, but are defined by

Re: [selectors-api] SVG WG Review of Selectors API

2009-01-28 Thread Henri Sivonen
between an ancestor svg element and the selector subject would be good enough. -- Henri Sivonen hsivo...@iki.fi http://hsivonen.iki.fi/

Re: [widgets] Trimming attribute values, a bad idea?

2008-12-03 Thread Henri Sivonen
form any trimming. Note that in XML this is specified in terms of DTD datatypes, but the config document is described in RELAX NG. So as far as the XML processor is concerned, all the attributes are CDATA. RELAX NG does not feed back to AVNormalize. -- Henri Sivonen [EMAIL PROTE

Re: [widgets] Trimming attribute values, a bad idea?

2008-12-03 Thread Henri Sivonen
, implementors don't always do it. My conclusion is that it's better to specify that keyword attribute values are compared without trimming. (Unless, of course, the attribute in question takes a whitespace-separated list of tokens.) -- Henri Sivonen [EMAIL PROTECTED] http://hsivonen.iki.fi/

Re: [Widgets] URI Scheme revisited.... again

2008-10-14 Thread Henri Sivonen
he principle of least surprise with an old scheme? Aren't URIs extensible at the scheme point in order to avoid forcing implementors to give special contextual meaning to existing schemes? -- Henri Sivonen [EMAIL PROTECTED] http://hsivonen.iki.fi/

Re: [widgets] Updates FPWD published

2008-10-10 Thread Henri Sivonen
27;s Draft link points to the Editor's Draft of another spec. The processing model should probably say that non-DOM implementations are allowed if the result isn't black-box-distinguishable. -- Henri Sivonen [EMAIL PROTECTED] http://hsivonen.iki.fi/

Re: Support for compression in XHR?

2008-09-12 Thread Henri Sivonen
he requests and can update the JS program immediately. (Validator.nu also advertises Accept-Encoding: gzip via OPTIONS, but I'm not aware of any client automatically picking it up from there.) -- Henri Sivonen [EMAIL PROTECTED] http://hsivonen.iki.fi/