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

Side by Side Diff: third_party/WebKit/LayoutTests/payments/promises-keep-request-alive.html

Issue 2028603004: Rename 'items' into 'displayItems' in PaymentDetails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script> 2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 3 <script src="../resources/testharnessreport.js"></script>
4 <script src="../resources/mojo-helpers.js"></script> 4 <script src="../resources/mojo-helpers.js"></script>
5 <script src="resources/payment-request-mock.js"></script> 5 <script src="resources/payment-request-mock.js"></script>
6 <script> 6 <script>
7 var details = { 7 var details = {
8 items: [ 8 displayItems: [
9 { 9 {
10 label: 'Sub-total', 10 label: 'Sub-total',
11 amount: { currency: 'USD', value : '55.00' }, // US$55.00 11 amount: { currency: 'USD', value : '55.00' }, // US$55.00
12 }, 12 },
13 { 13 {
14 label: 'Sales Tax', 14 label: 'Sales Tax',
15 amount: { currency: 'USD', value : '5.00' }, // US$5.00 15 amount: { currency: 'USD', value : '5.00' }, // US$5.00
16 } 16 }
17 ] 17 ]
18 }; 18 };
(...skipping 19 matching lines...) Expand all
38 // Return before calling gc() to make sure reference to response 38 // Return before calling gc() to make sure reference to response
39 // is gone. 39 // is gone.
40 }) 40 })
41 .then(() => { 41 .then(() => {
42 gc(); 42 gc();
43 mock.onComplete(); 43 mock.onComplete();
44 return completeResult; 44 return completeResult;
45 }); 45 });
46 }, 'Promises resolve even without references to request or response.'); 46 }, 'Promises resolve even without references to request or response.');
47 </script> 47 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698