Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Issue 67225: Use null for default value of event handler attributes in XMLHttpRequest.... (Closed)

Created:
11 years, 8 months ago by Fumitoshi Ukai
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Use null for default value of event handler attributes in XMLHttpRequest. blogger expects typeof(new XMLHttpRequest().onreadystatuschange) is not 'undefined'. In other browsers, it is 'object' (onreadystatechange is null). cf.http://www.whatwg.org/specs/web-apps/current-work/#event-handler-attributes An event handler attribute, unless otherwise specified, can either have the value null or be set to a Function object. Initially, an event handler attribute must be set to null. BUG=8536, 10552

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Messages

Total messages: 15 (0 generated)
Fumitoshi Ukai
11 years, 8 months ago (2009-04-16 17:26:42 UTC) #1
tony
Does this fail in SFX (Safari's JS engine) as well? If so, we should fix ...
11 years, 8 months ago (2009-04-16 17:33:59 UTC) #2
Fumitoshi Ukai
Thanks for reviewing. On 2009/04/16 17:33:59, tony wrote: > Does this fail in SFX (Safari's ...
11 years, 8 months ago (2009-04-16 18:28:46 UTC) #3
Pam (message me for reviews)
This is not in my area of expertise, but it looks correct to me, with ...
11 years, 8 months ago (2009-04-16 20:32:15 UTC) #4
Fumitoshi Ukai
Thanks for reviewing. I've added layout test for this change. Could you take a look ...
11 years, 8 months ago (2009-04-16 20:59:01 UTC) #5
tony
LGTM. Can you try to send the test upstream? We will then get it in ...
11 years, 8 months ago (2009-04-16 21:25:51 UTC) #6
Fumitoshi Ukai
On 2009/04/16 21:25:51, tony wrote: > LGTM. Can you try to send the test upstream? ...
11 years, 8 months ago (2009-04-16 21:41:54 UTC) #7
tony
On 2009/04/16 21:41:54, ukai wrote: > On 2009/04/16 21:25:51, tony wrote: > I'm not committer ...
11 years, 8 months ago (2009-04-16 21:50:13 UTC) #8
Fumitoshi Ukai
On 2009/04/16 21:50:13, tony wrote: > On 2009/04/16 21:41:54, ukai wrote: > > On 2009/04/16 ...
11 years, 8 months ago (2009-04-16 21:52:46 UTC) #9
Pam (message me for reviews)
Please don't add files to LayoutTests/chrome/. We're trying to unfork that directory. Just send them ...
11 years, 8 months ago (2009-04-16 21:59:31 UTC) #10
tony
Ok, I'll only check in the .cpp change. We should get the layout test in ...
11 years, 8 months ago (2009-04-16 22:02:31 UTC) #11
tony
Actually, I can't land this for you. This change is in third_party/WebKit/ which we pull ...
11 years, 8 months ago (2009-04-17 00:07:18 UTC) #12
Fumitoshi Ukai
On 2009/04/17 00:07:18, tony wrote: > Actually, I can't land this for you. This change ...
11 years, 8 months ago (2009-04-17 00:21:51 UTC) #13
Fumitoshi Ukai
On 2009/04/17 00:21:51, ukai wrote: > On 2009/04/17 00:07:18, tony wrote: > > Actually, I ...
11 years, 8 months ago (2009-04-17 03:14:44 UTC) #14
Fumitoshi Ukai
11 years, 8 months ago (2009-04-24 20:31:04 UTC) #15
On 2009/04/17 03:14:44, ukai wrote:
> On 2009/04/17 00:21:51, ukai wrote:
> > On 2009/04/17 00:07:18, tony wrote:
> > > Actually, I can't land this for you.  This change is in
third_party/WebKit/
> > > which we pull from the upstream svn.webkit.org.  You need to make a bug in
> > > bugs.webkit.org and attach a patch there.  You can include this test case
> with
> > > that patch.
> > 
> > Ok.  I'll send this patch to upstream webkit.
> > Thanks!
> 
> Submitted: https://bugs.webkit.org/show_bug.cgi?id=25257

Landed as: http://trac.webkit.org/changeset/42828

Powered by Google App Engine
This is Rietveld 408576698