<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>146049</bug_id>
          
          <creation_ts>2015-06-16 23:05:32 -0700</creation_ts>
          <short_desc>Web Inspector: Do not show JavaScriptCore builtins in inspector</short_desc>
          <delta_ts>2015-10-29 23:01:11 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joseph Pecoraro">joepeck</reporter>
          <assigned_to name="Joseph Pecoraro">joepeck</assigned_to>
          <cc>benjamin</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ggaren</cc>
    
    <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>jonowells</cc>
    
    <cc>mark.lam</cc>
    
    <cc>mattbaker</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>ossy</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1102491</commentid>
    <comment_count>0</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-06-16 23:05:32 -0700</bug_when>
    <thetext>* SUMMARY
Do not show JavaScriptCore builtins in inspector.

* STEPS TO REPRODUCE
1. Inspect about:blank
2. Do a global search for &quot;@call&quot;
  =&gt; get to see the source for things like Function.prototype.call and Array.prototype.map

* NOTES
- The format is a pseudo JavaScript that doesn&apos;t parse as proper JavaScript so syntax-highlighting is off
- Breakpoints don&apos;t really work in built-ins, though we somehow can pause in the scripts, so the experience is poor if we did allow it for now</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1102492</commentid>
    <comment_count>1</comment_count>
      <attachid>255002</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-06-16 23:06:20 -0700</bug_when>
    <thetext>Created attachment 255002
[PATCH] Proposed Fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1102494</commentid>
    <comment_count>2</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-06-16 23:07:50 -0700</bug_when>
    <thetext>*** Bug 145654 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1102495</commentid>
    <comment_count>3</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-06-16 23:08:30 -0700</bug_when>
    <thetext>&lt;rdar://problem/21247912&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1102649</commentid>
    <comment_count>4</comment_count>
      <attachid>255002</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-06-17 14:35:03 -0700</bug_when>
    <thetext>Comment on attachment 255002
[PATCH] Proposed Fix

Clearing flags on attachment: 255002

Committed r185670: &lt;http://trac.webkit.org/changeset/185670&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1102650</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-06-17 14:35:06 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1102908</commentid>
    <comment_count>6</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-06-18 07:24:45 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Comment on attachment 255002 [details]
&gt; [PATCH] Proposed Fix
&gt; 
&gt; Clearing flags on attachment: 255002
&gt; 
&gt; Committed r185670: &lt;http://trac.webkit.org/changeset/185670&gt;

It made 2 tests fail everywhere. Could you check it?
Maybe updating the expected file is the proper fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1102979</commentid>
    <comment_count>7</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-06-18 11:31:37 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #4)
&gt; &gt; Comment on attachment 255002 [details]
&gt; &gt; [PATCH] Proposed Fix
&gt; &gt; 
&gt; &gt; Clearing flags on attachment: 255002
&gt; &gt; 
&gt; &gt; Committed r185670: &lt;http://trac.webkit.org/changeset/185670&gt;
&gt; 
&gt; It made 2 tests fail everywhere. Could you check it?
&gt; Maybe updating the expected file is the proper fix.

Interesting. I have yet to reproduce this myself running the fast/profiler directory to these tests individually. I&apos;m updating to see if I can reproduce.

I agree, updating the expected results would be good, but it also seems as if the bots get different results from time to time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1102991</commentid>
    <comment_count>8</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-06-18 12:18:36 -0700</bug_when>
    <thetext>I am still unable to reproduce locally, but the bots can reproduce a lot. Rather than keep them red, I rolled this out while I investigate.

https://trac.webkit.org/changeset/185715</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137802</commentid>
    <comment_count>9</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-10-29 22:09:02 -0700</bug_when>
    <thetext>*** Bug 150710 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137803</commentid>
    <comment_count>10</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-10-29 22:12:51 -0700</bug_when>
    <thetext>Last time we tried this it broke profiler tests, and I think that was because we were doing this in the Recompiler visiting. This time I&apos;m doing the same thing but gathering the list of sources to inform the inspector about is separate from recompiling. Take 2!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137804</commentid>
    <comment_count>11</comment_count>
      <attachid>264381</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-10-29 22:13:08 -0700</bug_when>
    <thetext>Created attachment 264381
[PATCH] Proposed Fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137806</commentid>
    <comment_count>12</comment_count>
      <attachid>264381</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2015-10-29 22:14:34 -0700</bug_when>
    <thetext>Comment on attachment 264381
[PATCH] Proposed Fix

r=me

Can we test this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137807</commentid>
    <comment_count>13</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-10-29 22:19:10 -0700</bug_when>
    <thetext>(In reply to comment #12)
&gt; Comment on attachment 264381 [details]
&gt; [PATCH] Proposed Fix
&gt; 
&gt; r=me
&gt; 
&gt; Can we test this?

We can write some form of test. I&apos;ll look into that tomorrow.

In this case we could do a search for &quot;@call&quot; and ensure that we don&apos;t see such results, but that test is weak in the sense that if built-ins ever change syntax and that &quot;@call&quot; or some equivalent goes away and we end up testing nothing. Still worth looking into though!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137812</commentid>
    <comment_count>14</comment_count>
      <attachid>264381</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-10-29 23:01:07 -0700</bug_when>
    <thetext>Comment on attachment 264381
[PATCH] Proposed Fix

Clearing flags on attachment: 264381

Committed r191779: &lt;http://trac.webkit.org/changeset/191779&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137813</commentid>
    <comment_count>15</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-10-29 23:01:11 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>255002</attachid>
            <date>2015-06-16 23:06:20 -0700</date>
            <delta_ts>2015-10-29 22:13:08 -0700</delta_ts>
            <desc>[PATCH] Proposed Fix</desc>
            <filename>builtins.patch</filename>
            <type>text/plain</type>
            <size>1160</size>
            <attacher name="Joseph Pecoraro">joepeck</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cgYi9Tb3VyY2UvSmF2
YVNjcmlwdENvcmUvQ2hhbmdlTG9nCmluZGV4IDQ0NTdmYjIuLmUxMDU0OWIgMTAwNjQ0Ci0tLSBh
L1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL0phdmFTY3JpcHRD
b3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDE1LTA2LTE2ICBKb3NlcGggUGVjb3Jh
cm8gIDxwZWNvcmFyb0BhcHBsZS5jb20+CisKKyAgICAgICAgV2ViIEluc3BlY3RvcjogRG8gbm90
IHNob3cgSmF2YVNjcmlwdENvcmUgYnVpbHRpbnMgaW4gaW5zcGVjdG9yCisgICAgICAgIGh0dHBz
Oi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xNDYwNDkKKworICAgICAgICBSZXZp
ZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIGRlYnVnZ2VyL0RlYnVnZ2VyLmNw
cDoKKwogMjAxNS0wNi0xNiAgTWljaGFlbCBTYWJvZmYgIDxtc2Fib2ZmQGFwcGxlLmNvbT4KIAog
ICAgICAgICBJbmxpbmluZyBpbiB0aGUgREZHIHRyYXNoZXMgQnl0ZUNvZGVQYXJzZXI6Om1fY3Vy
cmVudEluc3RydWN0aW9uIGZvciB0aGUgY2FsbGluZyBmdW5jdGlvbgpkaWZmIC0tZ2l0IGEvU291
cmNlL0phdmFTY3JpcHRDb3JlL2RlYnVnZ2VyL0RlYnVnZ2VyLmNwcCBiL1NvdXJjZS9KYXZhU2Ny
aXB0Q29yZS9kZWJ1Z2dlci9EZWJ1Z2dlci5jcHAKaW5kZXggNTc0MTA2OS4uMWYzMTA5MiAxMDA2
NDQKLS0tIGEvU291cmNlL0phdmFTY3JpcHRDb3JlL2RlYnVnZ2VyL0RlYnVnZ2VyLmNwcAorKysg
Yi9Tb3VyY2UvSmF2YVNjcmlwdENvcmUvZGVidWdnZXIvRGVidWdnZXIuY3BwCkBAIC03Niw3ICs3
Niw3IEBAIGlubGluZSB2b2lkIFJlY29tcGlsZXI6OnZpc2l0KEpTQ2VsbCogY2VsbCkKICAgICAg
ICAgcmV0dXJuOwogCiAgICAgSlNGdW5jdGlvbiogZnVuY3Rpb24gPSBqc0Nhc3Q8SlNGdW5jdGlv
bio+KGNlbGwpOwotICAgIGlmIChmdW5jdGlvbi0+ZXhlY3V0YWJsZSgpLT5pc0hvc3RGdW5jdGlv
bigpKQorICAgIGlmIChmdW5jdGlvbi0+aXNIb3N0T3JCdWlsdGluRnVuY3Rpb24oKSkKICAgICAg
ICAgcmV0dXJuOwogCiAgICAgRnVuY3Rpb25FeGVjdXRhYmxlKiBleGVjdXRhYmxlID0gZnVuY3Rp
b24tPmpzRXhlY3V0YWJsZSgpOwo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>264381</attachid>
            <date>2015-10-29 22:13:08 -0700</date>
            <delta_ts>2015-10-29 23:01:07 -0700</delta_ts>
            <desc>[PATCH] Proposed Fix</desc>
            <filename>take-2.patch</filename>
            <type>text/plain</type>
            <size>1534</size>
            <attacher name="Joseph Pecoraro">joepeck</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2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