WebKit Bugzilla
Attachment 347216 Details for
Bug 188607
: EWS bubbles are being hidden due to lack of space.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-188607-20180815155148.patch (text/plain), 3.69 KB, created by
Ross Kirsling
on 2018-08-15 15:51:49 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Ross Kirsling
Created:
2018-08-15 15:51:49 PDT
Size:
3.69 KB
patch
obsolete
>Subversion Revision: 234863 >diff --git a/Websites/bugs.webkit.org/ChangeLog b/Websites/bugs.webkit.org/ChangeLog >index 5aa77bc05c85121b9c5331147b9726edd5eb9dfb..f191057d546a334c4ac6bde605e82f6ee1a9b565 100644 >--- a/Websites/bugs.webkit.org/ChangeLog >+++ b/Websites/bugs.webkit.org/ChangeLog >@@ -1,3 +1,14 @@ >+2018-08-15 Ross Kirsling <ross.kirsling@sony.com> >+ >+ EWS bubbles are being hidden due to lack of space. >+ https://bugs.webkit.org/show_bug.cgi?id=188607 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * template/en/default/attachment/edit.html.tmpl: >+ * template/en/default/attachment/list.html.tmpl: >+ Set the iframe dimensions via postMessage, like on the Review Patch screen. >+ > 2018-06-22 Daniel Bates <dabates@apple.com> > > EWS for security bugs >diff --git a/Websites/bugs.webkit.org/template/en/default/attachment/edit.html.tmpl b/Websites/bugs.webkit.org/template/en/default/attachment/edit.html.tmpl >index 51533acfbf20ff2e6085918e5c88f65cd2f72fe8..908879ae8511da0ee5c91c166f283b959fc0b4ec 100644 >--- a/Websites/bugs.webkit.org/template/en/default/attachment/edit.html.tmpl >+++ b/Websites/bugs.webkit.org/template/en/default/attachment/edit.html.tmpl >@@ -34,6 +34,20 @@ > [% can_edit = attachment.validate_can_edit %] > [% editable_or_hide = can_edit ? "" : " bz_hidden_option" %] > >+<script> >+window.addEventListener('message', function (e) { >+ if (e.origin !== 'https://webkit-queues.webkit.org' || !e.data.height) >+ return; >+ >+ $('.statusBubble')[0].style.height = e.data.height; >+ $('.statusBubble')[0].style.width = e.data.width; >+}, false); >+ >+function handleStatusBubbleLoad(e) { >+ e.target.contentWindow.postMessage('containerMetrics', 'https://webkit-queues.webkit.org'); >+} >+</script> >+ > <form method="post" action="attachment.cgi" onsubmit="normalizeComments();"> > <input type="hidden" name="id" value="[% attachment.id %]"> > <input type="hidden" name="action" value="update"> >@@ -260,7 +274,7 @@ > > <div class="statusBubble"> > <iframe src="https://webkit-queues.webkit.org/status-bubble/[% attachment.id %]" >- style="width: 600px; height: 20px; border: none;" scrolling="no"> >+ style="width: 600px; height: 20px; border: none;" scrolling="no" onload="handleStatusBubbleLoad();"> > </iframe> > </div> > <br> >diff --git a/Websites/bugs.webkit.org/template/en/default/attachment/list.html.tmpl b/Websites/bugs.webkit.org/template/en/default/attachment/list.html.tmpl >index eadbd201e8d7570696fdc5646a0e64ea46b5061d..197ceee9fb811e2e803d2ff7316d6ba9e9c7d761 100644 >--- a/Websites/bugs.webkit.org/template/en/default/attachment/list.html.tmpl >+++ b/Websites/bugs.webkit.org/template/en/default/attachment/list.html.tmpl >@@ -38,6 +38,18 @@ function toggle_display(link) { > > return false; > } >+ >+window.addEventListener('message', function (e) { >+ if (e.origin !== 'https://webkit-queues.webkit.org' || !e.data.height) >+ return; >+ >+ $('.statusBubble')[0].style.height = e.data.height; >+ $('.statusBubble')[0].style.width = e.data.width; >+}, false); >+ >+function handleStatusBubbleLoad(e) { >+ e.target.contentWindow.postMessage('containerMetrics', 'https://webkit-queues.webkit.org'); >+} > //--> > </script> > >@@ -153,7 +165,7 @@ function toggle_display(link) { > [% IF attachment.ispatch %] > <div class="statusBubble"> > <iframe src="https://webkit-queues.webkit.org/status-bubble/[% attachment.id %]" >- style="width: 600px; height: 20px; border: none;" scrolling="no"> >+ style="width: 600px; height: 20px; border: none;" scrolling="no" onload="handleStatusBubbleLoad();"> > </iframe> > </div> > [% END %]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 188607
:
347175
|
347177
|
347195
|
347216
|
347325
|
347557
|
347559
|
347623
|
347964
|
347967
|
347969