From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id DF7A1745F1; Sat, 29 Sep 2018 17:40:40 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id w8THedkT007745 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Sat, 29 Sep 2018 10:40:39 -0700 (PDT) Received: from [172.25.44.4] (172.25.44.4) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.408.0; Sat, 29 Sep 2018 10:40:38 -0700 From: Randy MacLeod To: Paul Eggleton References: <1721109.tuLG3TFsTU@localhost.localdomain> <156dc277-4255-aaf3-cb9f-f25a4481189f@windriver.com> <1907640.U4zZL0Bqpb@localhost.localdomain> Message-ID: <300c15ce-48f1-dde7-c231-b604b38d0922@windriver.com> Date: Sat, 29 Sep 2018 13:40:30 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [172.25.44.4] Cc: yocto@yoctoproject.org, openembedded-devel , Patches and discussions about the oe-core layer Subject: Re: [yocto] layers.openembedded.org upgraded X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2018 17:40:41 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit On 09/28/2018 03:22 PM, Randy MacLeod wrote: > On 09/27/2018 08:01 PM, Randy MacLeod wrote: >> On 09/27/2018 07:33 PM, Paul Eggleton wrote: >>> Hi Randy >>> >>> On Friday, 28 September 2018 11:22:29 AM NZST Randy MacLeod wrote: >>>> On 09/27/2018 05:28 PM, Nicolas Dechesne wrote: >>>>> On Thu, Sep 27, 2018 at 10:43 PM Paul >>>>> Eggleton  wrote: >>>>>> I'm very happy to announce that we've finally been able to upgrade >>>>>> the layer >>>>>> index athttp://layers.openembedded.org  to the latest revision on >>>>>> master, >>>>>> incorporating quite a bit of work that's been going on for the >>>>>> past few >>>>>> months. Improvements now visible: >>>> Nice new features, thanks! >>>> >>>> The "Branch:" and "Filter layers" selection menus don't work >>>> for me when using Firefox 62.0 (64-bit) on Ubuntu-18.04. >>>> >>>> Google Chrome Version 69.0.3497.100 (Official Build) (64-bit) >>>> works fine. >>> Hmm, I do my development with Firefox and I just checked - with Firefox >>> 62.0 (64-bit) here on Fedora 28 both work. Do you perhaps have an add-on >>> enabled that might prevent these from working? I believe they both >>> rely on >>> javascript (the filter dropdown definitely does). >> >> Does anyone else see this problem? >> I've also asked on IRC. >> >> I did have Firefox Lightbeam (disabled) and Quiick Java but I removed >> them both, >> re-started FF and still no joy/menus. > > One co-worker said that it works for him using >     Firefox 62.0 (64-bit) on Ubuntu-18.04 > he has uBlock and Ghostery > and another has no problems with the new code when using: >     Firefox 52.8.0 (32-bit) > > ( 32 bit!! yikes! :)  ) > > I've restarted FF again, cut back on the crazy number of tabs > and the problem persists. Let me know if you know of any other > sites that use this JS code and I'd be happy to test with my > setup. I'll likey also reboot (sigh) and if needed try using a > test account on the laptop. It works for me now but it's not clear why. It seems that it was a problem with my firefox profile. Work log below in case it might help someone else. ../Randy I rebooted: - still no menu. I logged out and then into another account on the same laptop: - it worked. I created another firefox profile in my usual account: - it worked. I deleted that profile and used my default profile: - still no menu. While visiting layers.openembedded.org, I opened the firefox console using Shift+Control+K - I re-loaded the site. - it worked! I closed the console: - it worked! I restarted firefox: - it still works! Hmmm, oh well. ../Randy > > > According my read of the traceback, the failing code is in: > view-source:https://layers.openembedded.org/static/js/jquery-3.3.1.js > > ... > Sizzle.matchesSelector = function( elem, expr ) { >     // Set document vars if needed >     if ( ( elem.ownerDocument || elem ) !== document ) { >         setDocument( elem ); >     } > >     // Make sure that attribute selectors are quoted >     expr = expr.replace( rattributeQuotes, "='$1']" ); > >     if ( support.matchesSelector && documentIsHTML && >         !compilerCache[ expr + " " ] && >         ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && >         ( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) { > >         try { >             var ret = matches.call( elem, expr ); > >             // IE 9's matchesSelector returns false on disconnected nodes >             if ( ret || support.disconnectedMatch || >                     // As well, disconnected nodes are said to be in a > document >                     // fragment in IE 9 >                     elem.document && elem.document.nodeType !== 11 ) { >                 return ret; >             } >         } catch (e) {} >     } > >     return Sizzle( expr, document, null, [ elem ] ).length > 0; > }; > > I don't see any relevant issues here: >    https://github.com/jquery/sizzle/issues/ > but I don't speak javascript. > > ../Randy >> >> >> Looking at: >> Menu->Web Developer -> Browser Console ( Control+Shift+J ) >> I see: >> >> Error: Syntax error, unrecognized expression: # jquery-3.3.1.js:1541:8 >> >> Sizzle> https://layers.openembedded.org/static/js/jquery-3.3.1.js:1541:8 >> Sizzle> https://layers.openembedded.org/static/js/jquery-3.3.1.js:2193:4 >> Sizzle> https://layers.openembedded.org/static/js/jquery-3.3.1.js:2620:20 >> Sizzle https://layers.openembedded.org/static/js/jquery-3.3.1.js:845:9 >> find https://layers.openembedded.org/static/js/jquery-3.3.1.js:2873:4 >> jQuery.fn.init >> https://layers.openembedded.org/static/js/jquery-3.3.1.js:2983:14 >> jQuery >> https://layers.openembedded.org/static/js/jquery-3.3.1.js:139:10 >> getParent >> https://layers.openembedded.org/static/js/bootstrap.js:754:27 >> clearMenus/< >> https://layers.openembedded.org/static/js/bootstrap.js:741:7 each >> https://layers.openembedded.org/static/js/jquery-3.3.1.js:354:10 each >> https://layers.openembedded.org/static/js/jquery-3.3.1.js:189:10 >> clearMenus >> https://layers.openembedded.org/static/js/bootstrap.js:740:5 dispatch >> https://layers.openembedded.org/static/js/jquery-3.3.1.js:5182:16 >> add/elemData.handle >> https://layers.openembedded.org/static/js/jquery-3.3.1.js:4991:6 >> >> Does that help at all? >> >> ../Randy >> >> >> >>> Cheers, >>> Paul >>> >> >> -- >> # Randy MacLeod >> # Wind River Linux >> > > -- # Randy MacLeod # Wind River Linux