Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 309010

Summary: Google IE Canvas should be available as a bundle
Product: [RT] RAP Reporter: Austin Riddle <austin.riddle>
Component: IncubatorAssignee: Project Inbox <rap.incubator-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: rsternberg
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
IE canvas bundle for RAP custom widgets none

Description Austin Riddle CLA 2010-04-13 11:02:19 EDT
Created attachment 164728 [details]
IE canvas bundle for RAP custom widgets

Many custom widgets utilize the excanvas from Google for HTML5 support in older IE browsers.  Bloat can occur if custom widget bundles all contribute the IE canvas as a resource.  Making it available as a bundle in the incubator would alleviate this problem.
Comment 1 Austin Riddle CLA 2010-04-13 11:03:41 EDT
Ref CQ 3933
Comment 2 Austin Riddle CLA 2010-04-15 16:55:54 EDT
CQ 3950 - references the use of the 3rd part non-EPL ExplorerCanvas Javascript library.
Comment 3 Ralf Sternberg CLA 2010-05-03 14:39:29 EDT
Could it be a problem that the order in which resources are loaded is undefined? If a Javascript library is contributed by a bundle of its own, dependent code must not require the library at load time, but only at runtime.
Comment 4 Austin Riddle CLA 2010-05-03 15:37:10 EDT
(In reply to comment #3)
Hi Ralf,

In the custom widgets that I have written and the libraries that I have seen that use ExCanvas, it is only used at runtime since most are just initializing a canvas tag.  However, I do suppose it is possible that a library could use a canvas tag at load time. But in my view it isn't a big issue.  We have been using this bundle  in our dashboard and have not seen any problems with our custom widgets.
Comment 5 Austin Riddle CLA 2010-05-03 15:55:05 EDT
Initial checkin complete in accordance with parallel IP.

Waiting for full approval for newsgroup announcement.
Comment 6 Austin Riddle CLA 2010-06-18 15:06:58 EDT
This contribution has now received full IP approval.
Newsgroup announcement made: http://www.eclipse.org/forums/index.php?t=msg&th=170309&start=0&