See <http://trac.webkit.org/changeset/51104> and bug 48531 and bug 48561. All ports require duplicated code to cancel the main resource load when it's handed off to a plugin or media engine. This code should be shared instead.