This patch makes the beforeload event fire on script elements.
Created attachment 40727 [details] Patch
Comment on attachment 40727 [details] Patch > +++ WebCore/dom/ScriptElement.h (working copy) > @@ -44,9 +44,10 @@ public: > virtual String languageAttributeValue() const = 0; > virtual String forAttributeValue() const = 0; > > + virtual bool dispatchBeforeLoadEvent(const String& sourceURL) = 0; > virtual void dispatchLoadEvent() = 0; > virtual void dispatchErrorEvent() = 0; > - > + Unneeded whitespace change here. I think you could share the dispatchBeforeLoadEvent implementation by making it a static protected helper function on ScriptElement. r=me
Fixed in r49194.