AMO:Editors/EditorGuide/AddonReviews/Security: Difference between revisions

Line 20: Line 20:


There is a canned response that points developers to this page: https://developer.mozilla.org/En/XUL/Iframe#a-browser.type
There is a canned response that points developers to this page: https://developer.mozilla.org/En/XUL/Iframe#a-browser.type
==== Bad ====
==== Bad - no type parameter ====
<pre><iframe src="https://www.google.com/"></pre>
<pre><iframe src="https://www.google.com/"></pre>


==== Good ====
==== Good - type set to content ====
<pre><iframe src="https://www.google.com/" type="content"></pre>
<pre><iframe src="https://www.google.com/" type="content"></pre>


The type attribute <b>must</b> be set before any page is loaded or it is ignored.  (There is a [https://bugzilla.mozilla.org/show_bug.cgi?id=705271 request] to stop this)
<b>The type attribute <em>must</em> be set before any page is loaded or it is ignored.</b> (There is a [https://bugzilla.mozilla.org/show_bug.cgi?id=705271 request] to stop this)


==== Bad ====
==== Bad ====
Confirmed users
448

edits