Is these a bug

Post on 13-Jan-2015

3.176 views 2 download

Tags:

description

 

Transcript of Is these a bug

Is these a bug?

Mike Taylor,Opera Software

@miketaylr

Sunday, October 17, 2010

Web Opener

Sunday, October 17, 2010

-o-mg {}

Sunday, October 17, 2010

“Is these a bug?”

fix plz

Sunday, October 17, 2010

3 Scenarios

1. Halp.

2. I’ve found a bug.

3. I’ve got a patch for that.

Sunday, October 17, 2010

Worst Bug Reports Ever

Sunday, October 17, 2010

Sunday, October 17, 2010

Sunday, October 17, 2010

Sunday, October 17, 2010

The best bug report ever?

Sunday, October 17, 2010

Sunday, October 17, 2010

Sunday, October 17, 2010

Sunday, October 17, 2010

Sunday, October 17, 2010

Search

• Trac

• Google

• IRC

Sunday, October 17, 2010

Build the sauce

• git clone http://github.com/jquery/jquery.git

• make/rake/ant

Sunday, October 17, 2010

Reduce the problem

Sunday, October 17, 2010

Sunday, October 17, 2010

Sunday, October 17, 2010

Sunday, October 17, 2010

Test Case

• Test page on your server >

• jsfiddle/jsbin >

• Production site >

• Nothing

Sunday, October 17, 2010

Sunday, October 17, 2010

Sunday, October 17, 2010

Sunday, October 17, 2010

Sunday, October 17, 2010

Recreate the Issue

• State the browser(s) and platform

• Define observed behavior

• Define expected behavior

• Define sequential steps to reproduce behavior

Sunday, October 17, 2010

exemplia gratia

• IE8/XP and Win7 (dump UA string too)

• jQuery(‘option[selected]’).length == 0

• The attribute selector should work

• 1) navigate to www.testcase.com

• 2) observe selector not working

Sunday, October 17, 2010

Submit a patch

Sunday, October 17, 2010

Sunday, October 17, 2010

Sunday, October 17, 2010

• http://goo.gl/xZHv

• http://dev.jquery.com

• http://github.com/jquery/jquery

Resources

Sunday, October 17, 2010

Thanks.

Sunday, October 17, 2010