derekstucki has asked for the wisdom of the Perl Monks concerning the following question:

perldoc.perl.org search box isn't functioning properly in Google Chrome in debian based linux distributions. No results are displayed, and it does not automatically go to the page that it should, like it does in Firefox. I've tested on two different computers running different debian based OSs. Can anyone reproduce this, or verify that it's only in Chrome on Debian based OS?

On the search result page, I get the following javascript errors in Chrome:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
Uncaught InvalidStateError: Failed to execute 'overrideMimeType' on 'X +MLHttpRequest': MimeType cannot be overridden when the state is LOADI +NG or DONE. ScriptLoader.load perldocSearch.doQuickSearch perldocSearch.run (anonymous function)

Replies are listed 'Best First'.
Re: perldoc search
by LanX (Saint) on Feb 26, 2015 at 22:03 UTC
    I can make sense of the errors, some browsers want only asynchronous AJAX requests (first A sic :) and you get a timing problem (the type shouldn't be touched before the answer arrived)

    I already had to adapt some JS code.

    You should file a bug report.

    Personally I prefer binding bookmarklets to keywords, works great in FF though no idea of chrome.¹

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)

    PS: Je suis Charlie!

    update
    ¹) I thought you were talking about a search add on for your browser.
Re: perldoc search
by Anonymous Monk on Feb 27, 2015 at 00:49 UTC
    What this means is that perldoc.perl.org needs to update its mootools ... mootools ought to have fixed this issue by now