Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Randy MacLeod <randy.macleod@windriver.com>
To: Paul Eggleton <paul.eggleton@intel.com>
Cc: yocto@yoctoproject.org,
	openembedded-devel <openembedded-devel@lists.openembedded.org>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [yocto] layers.openembedded.org upgraded
Date: Fri, 28 Sep 2018 15:22:38 -0400	[thread overview]
Message-ID: <d8427b2a-b63f-e19c-1fc7-6cb365dc63ff@windriver.com> (raw)
In-Reply-To: <ca07c8cc-7ff0-eba4-e235-0707c6c8ada1@windriver.com>

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@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


  reply	other threads:[~2018-09-28 19:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-27 20:42 layers.openembedded.org upgraded Paul Eggleton
2018-09-27 20:59 ` Andreas Müller
2018-09-27 21:28 ` [yocto] " Nicolas Dechesne
2018-09-27 23:22   ` Randy MacLeod
2018-09-27 23:33     ` Paul Eggleton
2018-09-28  0:01       ` Randy MacLeod
2018-09-28 19:22         ` Randy MacLeod [this message]
2018-09-29 17:40           ` Randy MacLeod
2018-10-01  4:14             ` Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d8427b2a-b63f-e19c-1fc7-6cb365dc63ff@windriver.com \
    --to=randy.macleod@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=paul.eggleton@intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox