Capturing diagnostics in web browser applications
First Claim
1. At a Web browser, a method for capturing diagnostics for a Web browser application executing on a client device, the method comprising:
- an act of sending a Web page request to a Web server;
an act of receiving, at the client device, a Web page from the Web server, the Web page configured to present content at the Web browser on the client device, the received Web page including each of the following;
content generated at least in part by a server-side script;
a reference to application code representing a portion of a Web based application, execution of the application code configured to generate a portion of the content for presentation of the Web page at the Web browser on the client device;
a client-side script reference wherein the client-side script reference is used to access additional client-side script code; and
a reference to diagnostic code configured to capture client-side diagnostic information related to errors in the application code during execution of the application code of the same Web page in which the diagnostic code is referenced, wherein the Web page and diagnostic code corresponds to a master page which is used to capture script errors across all pages that share the master page;
an act of the Web browser passing the application code to a script processor and the script processor executing the application code to generate the portion of content;
an act of the Web browser executing the diagnostic code;
an act of the executed diagnostic code capturing client-side diagnostic information related to errors in the executed application code; and
an act of sending the captured client-side diagnostic information to a published Web service, the published Web service configured to;
receive client-side diagnostic information related to execution of the application code at the Web browser on the client device; and
combine client-side diagnostic information with any server-side diagnostic information related to the Web based application for use in improving the quality of the Web based application.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention extends to methods, systems, and computer program products for capturing diagnostics for Web browser applications. Embodiments of the present invention can capture errors in client-side code for a Web application and automatically report them a Web Service. Diagnostics code can be automatically injected into client code to capture client-side diagnostic information, including but not limited to errors in Web application code (script code, managed code, etc) that runs in a Web browser. The client-side diagnostic information can be automatically forwarded to a Web service under the control of the Web application. The Web application operator can use this information to improve the quality and hence customer satisfaction of their Web application.
71 Citations
17 Claims
-
1. At a Web browser, a method for capturing diagnostics for a Web browser application executing on a client device, the method comprising:
-
an act of sending a Web page request to a Web server; an act of receiving, at the client device, a Web page from the Web server, the Web page configured to present content at the Web browser on the client device, the received Web page including each of the following; content generated at least in part by a server-side script; a reference to application code representing a portion of a Web based application, execution of the application code configured to generate a portion of the content for presentation of the Web page at the Web browser on the client device; a client-side script reference wherein the client-side script reference is used to access additional client-side script code; and a reference to diagnostic code configured to capture client-side diagnostic information related to errors in the application code during execution of the application code of the same Web page in which the diagnostic code is referenced, wherein the Web page and diagnostic code corresponds to a master page which is used to capture script errors across all pages that share the master page; an act of the Web browser passing the application code to a script processor and the script processor executing the application code to generate the portion of content; an act of the Web browser executing the diagnostic code; an act of the executed diagnostic code capturing client-side diagnostic information related to errors in the executed application code; and an act of sending the captured client-side diagnostic information to a published Web service, the published Web service configured to; receive client-side diagnostic information related to execution of the application code at the Web browser on the client device; and combine client-side diagnostic information with any server-side diagnostic information related to the Web based application for use in improving the quality of the Web based application. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. At a computer system, a method for capturing diagnostics for a Web browser application, the method comprising:
-
an act of receiving a Web page request from a Web browser, the Web browser being located at a client computing system; identifying a server-side page which corresponds to the Web page request, the server side page comprising a server-side script; executing the server-side script and generating content for return to the Web browser, wherein generating the content is done at least in part by executing the server-side script; an act of constructing a Web page to return to the Web browser in response to the Web page request, the constructed Web page including at least the content, a client-side script reference wherein the client-side script reference is used on the client to access additional client-side script code, and a reference to application code representing a portion of a Web based application, execution of the application code at the Web browser being configured to generate a portion of the content for presentation at the Web browser; an act of detecting that diagnostics are enabled for Web based applications; an act of injecting diagnostic code into the constructed Web page in response to diagnostics being enabled, the diagnostic code being included with the content and the reference to application code, and the diagnostic code being configured to capture client-side diagnostic information related to the application code during execution of the application code at the Web browser, wherein the Web page and diagnostic code corresponds to a master page which is used to capture script errors across all pages that share the master page; and an act of returning the constructed Web page to the Web browser of the client computing system; an act of publishing a Web service configured to receive client-side diagnostic information related to execution of the application code at the Web browser; an act of the Web service receiving captured client-side diagnostic information related to execution of the application code at the Web browser subsequent to sending the Web page to the Web browser, the client-side diagnostic information for use in improving the quality of the Web based application; and an act of combining the client-side diagnostic information with server-side diagnostic information related to the Web based application. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer program product for use at a computer system, the computer program product of implementing a method for capturing diagnostics for a Web browser application, the computer program product comprising one or more physical storage devices having stored thereon computer-executable instructions that, when executed at a processor, cause a Web server at the computer system to perform the method, including the following:
-
receive a Web page request from a Web browser, the Web browser being located at a client computing system; identify a server-side page which corresponds to the Web page request, the server side page comprising a server-side script; execute the server-side script and generate content for return to the Web browser; construct a Web page to return to the Web browser in response to the Web page request, the constructed Web page including at least the content generated at least in part by the server-side script, a client-side script reference which is used on the client to access additional client-side script code, and a reference to application code representing a portion of a Web based application, execution of the application code at the Web browser being configured to generate a portion of the content for presentation at the Web browser; detect that diagnostics are enabled for Web based applications; inject diagnostic code into the constructed Web page in response to diagnostics being enabled, the diagnostic code being included with the content and the reference to application code, and the diagnostic code being configured to capture diagnostic information related to the application code during execution of the application code;
return the constructed Web page to the Web browser, wherein the Web page and diagnostic code corresponds to a master page which is used to capture script errors across all pages that share the master page;return the constructed Web page to the Web browser of the client computing system; publish a Web service configured to receive client-side diagnostic information related to execution of the application code at the Web browser; receive, at the Web service, captured client-side diagnostic information related to execution of the application code at the Web browser subsequent to sending the Web page to the Web browser, the client-side diagnostic information for use in improving the quality of the Web based application; and combine the client-side diagnostic information with server-side diagnostic information related to the Web based application. - View Dependent Claims (15, 16, 17)
-
Specification