Closed Bug 1399644 Opened 7 years ago Closed 4 years ago

nubuilderpro: window.controllers/Controllers is deprecated. Do not use it for UA detection.

Categories

(Web Compatibility :: Site Reports, defect, P3)

Firefox 55
defect

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: giuseppe.calamita, Unassigned)

Details

Attachments

(1 file)

Attached file nuBuilderpro app.sql
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36

Steps to reproduce:

I use Windows pro 10.
I install xampp;
I install nubuilderpro,
I import my application;



Actual results:

when accessing the page you may see in this video: https://youtu.be/kX0RoYwHTSU
its content is not displayed;
the same happens after I have disabled all of the extensions of Firefox.


Expected results:

The content (browse object) had to be displayed as you may see in the video.
When clicking the circle icon bottom right of the web application (see video) the content is properly displayed.
I have tried to edit the code of the application to add a refresh but it didn't work.
Component: Untriaged → Desktop
Flags: needinfo?(giuseppe.calamita)
Product: Firefox → Tech Evangelism
Version: 55 Branch → Firefox 55
Hello Dave, this is my first time here. Feel free to ask me anything.
Flags: needinfo?(giuseppe.calamita)
Apologies, I just meant to move components - needinfo request was a mistake.
I don' know what do you mean but I'm available if it is the case.
Hi Guiseppe, the youtube video is no longer available. Do you still see this problem?
Flags: needinfo?(giuseppe.calamita)
Priority: -- → P3
(In reply to Mike Taylor [:miketaylr] from comment #5)
> Hi Guiseppe, the youtube video is no longer available. Do you still see this
> problem?

Hello, here is the video: http://www.dailymotion.com/video/x6hpo83
Flags: needinfo?(giuseppe.calamita)
Thanks! So when you click Enrollments, it's blank until you click Refresh Form? 

Are there any error messages in the console before you click that refresh icon?

https://developer.mozilla.org/en-US/docs/Tools/Web_Console/Opening_the_Web_Console
Yes, here is another video and the messages displayed:

http://www.dailymotion.com/video/x6hrfrl


Messages:
window.controllers/Controllers is deprecated. Do not use it for UA detection.
ace.js:1368
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/
jquery-1.8.3.js:8400:6
window.controllers/Controllers is deprecated. Do not use it for UA detection.
ace.js:1368
window.controllers/Controllers is deprecated. Do not use it for UA detection.
ace.js:1368
window.controllers/Controllers is deprecated. Do not use it for UA detection.
Summary: nubuilderpro → nubuilderpro: window.controllers/Controllers is deprecated. Do not use it for UA detection.
Product: Tech Evangelism → Web Compatibility
  1. does it still happen? Trying to clean up the queue here?
  2. Does it happen with chrome or Edge on Chromium

About window.controllers
https://developer.mozilla.org/en-US/docs/Web/API/Window/controllers

It has probably changed a lot since the last 2 years
https://github.com/steven-copley/nubuilder4

I still see the code using a lot of outdated JS libraries wrt Firefox.
https://github.com/steven-copley/nubuilder4/search?q=firefox&unscoped_q=firefox

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(giuseppe.calamita)
Resolution: --- → INACTIVE

(In reply to Karl Dubost💡 :karlcow from comment #9)

  1. does it still happen? Trying to clean up the queue here?
  2. Does it happen with chrome or Edge on Chromium

About window.controllers
https://developer.mozilla.org/en-US/docs/Web/API/Window/controllers

It has probably changed a lot since the last 2 years
https://github.com/steven-copley/nubuilder4

I still see the code using a lot of outdated JS libraries wrt Firefox.
https://github.com/steven-copley/nubuilder4/search?q=firefox&unscoped_q=firefox

Ok, it seems all right now. No edit from my side in the meanwhile.
Maybe just the regular improvements of the browser.

Flags: needinfo?(giuseppe.calamita)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: