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
(3)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: third_party/WebKit/LayoutTests/presentation/resources/iframe-sandbox.html
Issue
2780583003
:
[Presentation API] Move sandbox check to PresentationRequest ctor (Closed)
Patch Set: add layout test
Created 3 years, 8 months 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:
third_party/WebKit/LayoutTests/presentation/presentation-request-sandbox-error.html
third_party/WebKit/LayoutTests/presentation/presentation-request-sandbox-success.html
third_party/WebKit/LayoutTests/presentation/resources/iframe-sandbox.html
third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
View unified diff
|
Download patch
« no previous file with comments
|
« third_party/WebKit/LayoutTests/presentation/presentation-request-sandbox-success.html
('k') |
third_party/WebKit/Source/modules/presentation/PresentationRequest.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
<!DOCTYPE html>
2
<html>
3
<body>
4
<script>
5
6
window.onmessage = function (ev) {
7
var request = null;
8
if (ev.data === 'create') {
9
try {
10
request = new PresentationRequest("https://example.com/");
11
parent.window.postMessage('success', '*');
12
}
13
catch (err) {
14
parent.window.postMessage(err.name, '*');
15
}
16
}
17
}
18
19
</script>
20
</body>
21
</html>
OLD
NEW
« no previous file with comments
|
« third_party/WebKit/LayoutTests/presentation/presentation-request-sandbox-success.html
('k') |
third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp »
('j') |
no next file with comments »
Issue 2780583003: [Presentation API] Move sandbox check to PresentationRequest ctor (Closed)
Created 3 years, 8 months ago by zhaobin
Modified 3 years, 8 months ago
Reviewers: mark a. foltz, imcheng
Base URL:
Comments: 0
This is Rietveld
408576698