Add defpatch for webactions

Change-Id: I6c8e3749f9501070e6b100fdf952025770cfe20f