{"id":2687,"date":"2015-03-27T10:03:12","date_gmt":"2015-03-27T15:03:12","guid":{"rendered":"http:\/\/mikeconley.ca\/blog\/?p=2687"},"modified":"2023-12-20T16:25:11","modified_gmt":"2023-12-20T21:25:11","slug":"the-joy-of-coding-episode-7-code-review-and-a-regression","status":"publish","type":"post","link":"https:\/\/mikeconley.ca\/blog\/2015\/03\/27\/the-joy-of-coding-episode-7-code-review-and-a-regression\/","title":{"rendered":"The Joy of Coding (Episode 7): Code review, and a Regression"},"content":{"rendered":"<p>In this episode, I started with some code review. <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1133981\">I was reviewing a patch<\/a> to make the Findbar (particularly, <a href=\"https:\/\/www.mozilla.org\/access\/type-ahead\/\">the Find As You Type feature<\/a>) e10s-friendly.<\/p>\n<p>With that review out of the way, I had to swap a bunch of information about the plugin crash UI for e10s in my head &#8211; and in particular, some non-determinism that we have to handle. I explained that stuff (and hopefully didn&#8217;t spend too much time on it).<\/p>\n<p>Then, I showed how far I&#8217;d gotten with the plugin crash UI for e10s. I was able to submit a crash report, but I found I wasn&#8217;t able to type into the comment text area.<\/p>\n<p>After a while, I noticed that I couldn&#8217;t type into the comment text area on Nightly, even without my patch. And then I reproduced it in Aurora. And then in Beta. Luckily, I couldn&#8217;t reproduce it in Release &#8211; but with Beta transitioning to Release in only a few days, I didn&#8217;t have a lot of time to get <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1147521\">a bug on file<\/a> to shine some light on it.<\/p>\n<p>Luckily, our brilliant Steven Michaud was on the case, and has just landed a patch to fix this. Talk about fast work!<\/p>\n<p><a href=\"https:\/\/www.evernote.com\/l\/AbJGwcy3Gt1I3qlhCpUuZebtW82W3tnAujk\">Episode Agenda<\/a><\/p>\n<p>References:<br \/>\n<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1133981\"> Bug 1133981 &#8211; [e10s] Stop sending unsafe CPOWs after the findbar has been closed in a remote browser<\/a><\/p>\n<p><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1110887\">Bug 1110887 &#8211; With e10s, plugin crash submit UI is broken<\/a> &#8211; <a href=\"https:\/\/www.evernote.com\/shard\/s434\/sh\/cbf01ebf-abe3-40e3-969c-5bbc1e1eddb2\/909d6f1ae89a2d00\">Notes<\/a><\/p>\n<p><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1147521\">Bug 1147521 &#8211; Cannot type into comment area of plugin crash UI<\/a><\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/air.mozilla.org\/the-joy-of-coding-mconley-livehacks-on-firefox-episode-7\/video\/\" width=\"896\" height=\"524\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this episode, I started with some code review. I was reviewing a patch to make the Findbar (particularly, the Find As You Type feature) e10s-friendly. With that review out of the way, I had to swap a bunch of information about the plugin crash UI for e10s in my head &#8211; and in particular, [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[454,5,874,1117,861],"tags":[501,1108,1116,1069,1119,1120,1118,125,1115,1114,1103,35,637,1113],"class_list":["post-2687","post","type-post","status-publish","format-standard","hentry","category-code-reviews","category-computer-science","category-firefox-mozilla-2","category-livecoding","category-mozilla-2","tag-code-review","tag-cpow","tag-crash-report","tag-e10s","tag-fayt","tag-find-as-you-type","tag-findbar","tag-firefox","tag-gecko-media-plugins","tag-gmp","tag-livehacking","tag-mozilla","tag-plugins","tag-regression"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/prmTy-Hl","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/posts\/2687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/comments?post=2687"}],"version-history":[{"count":1,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/posts\/2687\/revisions"}],"predecessor-version":[{"id":2688,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/posts\/2687\/revisions\/2688"}],"wp:attachment":[{"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/media?parent=2687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/categories?post=2687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/tags?post=2687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}