Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(556)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: LayoutTests/http/tests/serviceworker/resources/fetch-event-async-respond-with-worker.js
Issue
723063002
:
Service Worker: Add a test for calling respondWith() asynchronously. (Closed)
Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: actualyl upload
Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
LayoutTests/http/tests/serviceworker/fetch-event-async-respond-with.html
LayoutTests/http/tests/serviceworker/resources/fetch-event-async-respond-with-worker.js
Source/modules/serviceworkers/RespondWithObserver.cpp
View unified diff
|
Download patch
|
Annotate
|
Revision Log
« no previous file with comments
|
« LayoutTests/http/tests/serviceworker/fetch-event-async-respond-with.html
('k') |
Source/modules/serviceworkers/RespondWithObserver.cpp »
('j') |
no next file with comments »
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
var result;
2
3
self.addEventListener('message', function(event) {
4
event.data.port.postMessage(result);
5
});
6
7
self.addEventListener('fetch', function(event) {
8
setTimeout(function() {
9
try {
10
event.respondWith(new Response());
11
result = 'FAIL: did not throw';
12
} catch (error) {
13
if (error.name == 'InvalidStateError')
14
result = 'PASS';
15
else
16
result = 'FAIL: Unexpected exception: ' + error;
17
}
18
}, 0);
19
});
OLD
NEW
« no previous file with comments
|
« LayoutTests/http/tests/serviceworker/fetch-event-async-respond-with.html
('k') |
Source/modules/serviceworkers/RespondWithObserver.cpp »
('j') |
no next file with comments »
Issue 723063002: Service Worker: Add a test for calling respondWith() asynchronously. (Closed)
Created 6 years, 1 month ago by falken
Modified 6 years, 1 month ago
Reviewers: horo
Base URL: svn://svn.chromium.org/blink/trunk
Comments: 0
This is Rietveld
408576698