Title: [244379] trunk/Tools
Revision
244379
Author
[email protected]
Date
2019-04-17 09:20:01 -0700 (Wed, 17 Apr 2019)

Log Message

[ews-app] Clicking 'submit to new ews' doesn't reload status-bubble
https://bugs.webkit.org/show_bug.cgi?id=196675

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-app/ews/views/submittoews.py:
(SubmitToEWS): Added @xframe_options_exempt similar to statusbubble.py

Modified Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/ews-app/ews/views/submittoews.py (244378 => 244379)


--- trunk/Tools/BuildSlaveSupport/ews-app/ews/views/submittoews.py	2019-04-17 16:10:09 UTC (rev 244378)
+++ trunk/Tools/BuildSlaveSupport/ews-app/ews/views/submittoews.py	2019-04-17 16:20:01 UTC (rev 244379)
@@ -28,6 +28,7 @@
 from django.http import HttpResponse
 from django.shortcuts import redirect, render
 from django.views import View
+from django.views.decorators.clickjacking import xframe_options_exempt
 
 from ews.fetcher import BugzillaPatchFetcher
 from ews.models.patch import Patch
@@ -39,6 +40,7 @@
     def get(self, request):
         return render(request, 'submittoews.html', {})
 
+    @xframe_options_exempt
     def post(self, request):
         try:
             patch_id = request.POST.get('patch_id')

Modified: trunk/Tools/ChangeLog (244378 => 244379)


--- trunk/Tools/ChangeLog	2019-04-17 16:10:09 UTC (rev 244378)
+++ trunk/Tools/ChangeLog	2019-04-17 16:20:01 UTC (rev 244379)
@@ -1,3 +1,13 @@
+2019-04-17  Aakash Jain  <[email protected]>
+
+        [ews-app] Clicking 'submit to new ews' doesn't reload status-bubble
+        https://bugs.webkit.org/show_bug.cgi?id=196675
+
+        Reviewed by Lucas Forschler.
+
+        * BuildSlaveSupport/ews-app/ews/views/submittoews.py:
+        (SubmitToEWS): Added @xframe_options_exempt similar to statusbubble.py
+
 2019-04-16  Wenson Hsieh  <[email protected]>
 
         [iOS] [WebKit2] Add support for honoring -[UIMenuItem dontDismiss]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to