Skip to content
  • eric.carlson@apple.com's avatar
    Fix QuickTime plug-in replacement scripting bugs · 6ad4acd0
    eric.carlson@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=125717
    
    Reviewed by Sam Weinig.
    
    Source/WebCore:
    
    No new tests, existing test updated.
    
    * Modules/plugins/QuickTimePluginReplacement.js:
    (Replacement): Change '' to "" to avoid "Empty character constant" warning when creating
        Derived Sources.
    (Replacement.prototype.createVideoElement): Handle qtsrc attribute. Remember base url.
    (Replacement.prototype.setURL): Resolve urls relative to base.
    
    LayoutTests:
    
    * plugins/quicktime-plugin-replacement-expected.txt:
    * plugins/quicktime-plugin-replacement.html: Update to test 'qtsrc' attribute, and to check
        that relative urls are resolved correctly.
    * plugins/resources/yellow.mov: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6ad4acd0