[Webkit-unassigned] [Bug 151782] WebKit Nightly does not load plugins from /Library/Internet Plugins

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 13 12:46:31 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=151782

Daniel Bates <dbates at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|username field on           |WebKit Nightly does not
                   |fidelity.com does not show  |load plugins from
                   |a box to accept input       |/Library/Internet Plugins

--- Comment #3 from Daniel Bates <dbates at webkit.org> ---
The issue is that plugins are not loaded from /Library/Internet Plugins when using the nightly. Note that plugins are loaded if placed in ~/Library/Internet Plugins.

Loading <https://oltx.fidelity.com/ftgw/fbc/ofsummary/defaultPage> in Mac nightly r194016 I see a JavaScript ReferenceError in the Web Inspector console:

[Error] ReferenceError: Can't find variable: temp
    deviceprint_software (device_print.js:216)
    add_deviceprint (device_print.js:540:156)
    post_deviceprint (device_print.js:484)
    (anonymous function) (retailWidget.js:7)
    c (jquery-1.10.2.min.js:4:26042)
    fireWith (jquery-1.10.2.min.js:4:26842)
    ready (jquery-1.10.2.min.js:4:3317)
    q (jquery-1.10.2.min.js:4:723)

As indicated by the error, the code in deviceprint_software() (defined in <https://login.fidelity.com/ftgw/pages/js/common/device_print.js>) has a correctness issue on line 216 - it assumes the variable temp has been defined and performs a string concatenation of the value of temp and the empty string (temp += "";). We only reach line 216 when no plugins are loaded (i.e. navigator.plugins.length == 0) and navigator.mimeTypes.length > 0.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151213/9e4cff3a/attachment.html>


More information about the webkit-unassigned mailing list