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

Unified Diff: chrome/test/data/webrtc/manual/constraints.html

Issue 18769010: Updated Chrome Test pages to use adapter.js (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/webrtc/manual/constraints.html
===================================================================
--- chrome/test/data/webrtc/manual/constraints.html (revision 210952)
+++ chrome/test/data/webrtc/manual/constraints.html (working copy)
@@ -2,6 +2,10 @@
<html>
<head>
<title>WebRTC GetUserMedia Constraints Manual Test</title>
+ <!-- Load the polyfill to switch-hit between Chrome and Firefox -->
+ <script type="text/javascript"
+ src="https://webrtc.googlecode.com/svn/trunk/samples/js/base/adapter.js">
+ </script>
<script type="text/javascript" src="constraints.js"></script>
<link rel="StyleSheet" type="text/css" href="stylesheet.css">
<meta charset="utf-8">
@@ -46,7 +50,7 @@
<input type="text" id="optional-max-height" size="4"/>
FPS: <input type="text" id="optional-max-fps" size="2"/>
Aspect ratio: <input type="text" id="optional-max-ar" size="2"/><br/>
- <button id="re-request" onclick="getUserMedia();">
+ <button id="re-request" onclick="doGetUserMedia();">
Request GetUserMedia
</button>
<h2>Messages</h2>

Powered by Google App Engine
This is Rietveld 408576698