Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / common / WebInspector.js
index 73b4e80..2350f14 100644 (file)
@@ -4,14 +4,10 @@
  * found in the LICENSE file.
  */
 
-window.WebInspector = {
+self.WebInspector = {
     _queryParamsObject: {}
 }
 
-WebInspector.Events = {
-    InspectorLoaded: "InspectorLoaded"
-}
-
 /**
  * @param {string} name
  * @return {?string}
@@ -23,7 +19,7 @@ WebInspector.queryParam = function(name)
 
 {(function parseQueryParameters()
 {
-    var queryParams = window.location.search;
+    var queryParams = location.search;
     if (!queryParams)
         return;
     var params = queryParams.substring(1).split("&");