Index: ppapi/api/dev/ppb_testing_dev.idl |
diff --git a/ppapi/api/dev/ppb_testing_dev.idl b/ppapi/api/dev/ppb_testing_dev.idl |
index 2ec6832e8bad2cd8ba992af4e1d7c19c8645afc8..60b5253f89189a16ff0b5c466f2d68ae966aa16a 100644 |
--- a/ppapi/api/dev/ppb_testing_dev.idl |
+++ b/ppapi/api/dev/ppb_testing_dev.idl |
@@ -11,7 +11,8 @@ |
label Chrome { |
M14 = 0.7, |
- M15 = 0.8 |
+ M15 = 0.8, |
+ M17 = 0.9 |
}; |
interface PPB_Testing_Dev { |
@@ -102,4 +103,15 @@ interface PPB_Testing_Dev { |
[version=0.8] |
void SimulateInputEvent([in] PP_Instance instance, |
[in] PP_Resource input_event); |
+ |
+ /** |
+ * Returns the URL for the document. This is a safe way to retrieve |
+ * window.location.href. |
+ * The components pointer, if non-NULL and the canonicalized URL is valid, |
+ * will identify the components of the resulting URL. Components may be NULL |
+ * to specify that no component information is necessary. |
bbudge
2011/12/13 18:55:29
A little awkward. How about:
If the canonicalized
ygorshenin
2011/12/14 17:41:10
Done.
|
+ */ |
+ [version=0.9] |
+ PP_Var GetDocumentURL([in] PP_Instance instance, |
+ [out] PP_URLComponents_Dev components); |
}; |