<?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>156991</bug_id>
          
          <creation_ts>2016-04-25 12:47:04 -0700</creation_ts>
          <short_desc>Uncaught Exception: SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent.</short_desc>
          <delta_ts>2016-04-26 19:14: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>WebKit 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="Zach Li">a.tion.surf</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
    
    <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>mattbaker</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1187022</commentid>
    <comment_count>0</comment_count>
    <who name="Zach Li">a.tion.surf</who>
    <bug_when>2016-04-25 12:47:04 -0700</bug_when>
    <thetext>-------
Auto-generated details:

Inspected URL:        (unknown)
Loading completed:    false
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/602.1.30+ (KHTML, like Gecko)
Uncaught exceptions:
 - SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent. (at Setting.js:61:44)
 - ReferenceError: Can&apos;t find variable: InspectorBackend (at InspectorBackendCommands.js:32:17)
 - ReferenceError: Can&apos;t find variable: InspectorBackend (at Main.js:59:25)
-------

* STEPS TO REPRODUCE
1. What were you doing? Include setup or other preparations to reproduce the exception.
2. Include explicit, accurate, and minimal steps taken. Do not include extraneous or irrelevant steps.

* NOTES
Document any additional information that might be useful in resolving the problem, such as screen shots or other included attachments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1187025</commentid>
    <comment_count>1</comment_count>
    <who name="Zach Li">a.tion.surf</who>
    <bug_when>2016-04-25 12:51:52 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; -------
&gt; Auto-generated details:
&gt; 
&gt; Inspected URL:        (unknown)
&gt; Loading completed:    false
&gt; Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5)
&gt; AppleWebKit/602.1.30+ (KHTML, like Gecko)
&gt; Uncaught exceptions:
&gt;  - SecurityError: DOM Exception 18: An attempt was made to break through the
&gt; security policy of the user agent. (at Setting.js:61:44)
&gt;  - ReferenceError: Can&apos;t find variable: InspectorBackend (at
&gt; InspectorBackendCommands.js:32:17)
&gt;  - ReferenceError: Can&apos;t find variable: InspectorBackend (at Main.js:59:25)
&gt; -------
&gt; 
&gt; * STEPS TO REPRODUCE
&gt; 1. What were you doing? Include setup or other preparations to reproduce the
&gt; exception.

I was trying to inspect Safari Extensions Preferences.

I installed AnySearch extension.

&gt; 2. Include explicit, accurate, and minimal steps taken. Do not include
&gt; extraneous or irrelevant steps.
&gt; 
&gt; * NOTES
&gt; Document any additional information that might be useful in resolving the
&gt; problem, such as screen shots or other included attachments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1187027</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-04-25 12:53:32 -0700</bug_when>
    <thetext>&lt;rdar://problem/25913475&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1187056</commentid>
    <comment_count>3</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-04-25 14:08:58 -0700</bug_when>
    <thetext>In Safari&apos;s Privacy settings what is your &quot;Cookies and website data setting&quot;? If it is blocking this is a known bug (and a duplicate of others). If it is not, then it is a new issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1187067</commentid>
    <comment_count>4</comment_count>
    <who name="Zach Li">a.tion.surf</who>
    <bug_when>2016-04-25 14:43:23 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; In Safari&apos;s Privacy settings what is your &quot;Cookies and website data
&gt; setting&quot;? If it is blocking this is a known bug (and a duplicate of others).
&gt; If it is not, then it is a new issue.

&quot;Allow from websites I visit&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1187464</commentid>
    <comment_count>5</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2016-04-26 10:52:28 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 154448 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1187481</commentid>
    <comment_count>6</comment_count>
    <who name="Zach Li">a.tion.surf</who>
    <bug_when>2016-04-26 11:24:20 -0700</bug_when>
    <thetext>Hi Timothy,

Why did you mark this bug as a duplicate of bug 154448?

In my previous reply, my Cookies and website data setting is &quot;Allow from websites I visit&quot;. Also, I tried changing it to &quot;Always allow&quot;, still encountering the same problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1187595</commentid>
    <comment_count>7</comment_count>
      <attachid>277427</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-04-26 17:38:45 -0700</bug_when>
    <thetext>Created attachment 277427
[PATCH] Proposed Fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1187624</commentid>
    <comment_count>8</comment_count>
      <attachid>277427</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-04-26 19:14:08 -0700</bug_when>
    <thetext>Comment on attachment 277427
[PATCH] Proposed Fix

Clearing flags on attachment: 277427

Committed r200119: &lt;http://trac.webkit.org/changeset/200119&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1187625</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-04-26 19:14:11 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>277427</attachid>
            <date>2016-04-26 17:38:45 -0700</date>
            <delta_ts>2016-04-26 19:14:08 -0700</delta_ts>
            <desc>[PATCH] Proposed Fix</desc>
            <filename>open-source-1.patch</filename>
            <type>text/plain</type>
            <size>3367</size>
            <attacher name="Joseph Pecoraro">joepeck</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvbWFjL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQv
bWFjL0NoYW5nZUxvZwppbmRleCA2MjBhOGQ4Li4zY2RmZGU2IDEwMDY0NAotLS0gYS9Tb3VyY2Uv
V2ViS2l0L21hYy9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdC9tYWMvQ2hhbmdlTG9nCkBA
IC0xLDMgKzEsMTggQEAKKzIwMTYtMDQtMjYgIEpvc2VwaCBQZWNvcmFybyAgPHBlY29yYXJvQGFw
cGxlLmNvbT4KKworICAgICAgICBVbmNhdWdodCBFeGNlcHRpb246IFNlY3VyaXR5RXJyb3I6IERP
TSBFeGNlcHRpb24gMTg6IEFuIGF0dGVtcHQgd2FzIG1hZGUgdG8gYnJlYWsgdGhyb3VnaCB0aGUg
c2VjdXJpdHkgcG9saWN5IG9mIHRoZSB1c2VyIGFnZW50LgorICAgICAgICBodHRwczovL2J1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