Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/resources/promise-access-control.php

Issue 1474983004: Mute non-CORS cross origin promise rejection events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?php
2 $allowOrigin = $_GET['allow'];
3 if ($allowOrigin == "true") {
4 header("Access-Control-Allow-Origin: *");
5 }
6 header('Content-Type: application/javascript');
7 ?>
8 new Promise(function(resolve, reject) { reject(42); });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698