[yocto] [OE-core] layers.openembedded.org upgraded

Randy MacLeod randy.macleod at windriver.com
Fri Sep 28 12:22:38 PDT 2018


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<paul.eggleton at intel.com>  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.


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 
> <https://layers.openembedded.org/static/js/jquery-3.3.1.js>
> Sizzle</Sizzle.error 
> https://layers.openembedded.org/static/js/jquery-3.3.1.js:1541:8 
> Sizzle</Sizzle.tokenize 
> https://layers.openembedded.org/static/js/jquery-3.3.1.js:2193:4 
> Sizzle</Sizzle.select 
> 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


More information about the yocto mailing list