Loading ...
Sorry, an error occurred while loading the content.

Re: [exceptional-performance] Re: YSlow plugin does not always load after reboot - Firebug or YSlow?

Expand Messages
  • Adrian Yee
    Ran into this issue (it s even worse with Firebug 1.9) and put a hacky fix in since we need it to work properly with GTmetrix. Here s the ...
    Message 1 of 7 , Jan 9, 2012
    View Source
    • 0 Attachment
      Ran into this issue (it's even worse with Firebug 1.9) and put a hacky
      fix in since we need it to work properly with GTmetrix. Here's the
      patch we're using:

      --- yslow-3.0.4/chrome/content/yslow-firefox.js 2011-08-08
      13:15:15.000000000 -0700
      +++ yslow-3.0.4-gtmetrix/chrome/content/yslow-firefox.js 2012-01-05
      17:14:13.000000000 -0800
      @@ -112,6 +112,16 @@
      }

      if (typeof Firebug !== 'undefined') {
      + // There seems to be some sort of timing issue with YSlow and
      + // Firebug which causes an error in YSLOW.FBYSlow.init(),
      + // "YSLOW.firefox.startup():TypeError: FBL.extend is not a
      + // function". Hack around this by retrying the call to
      + // YSLOW.FBYSlow.init() if it fails.
      + if (typeof FBL.extend !== 'function') {
      + YSLOW.util.setTimer(function() {
      YSLOW.firefox.startup(wmode); }, 10);
      + return;
      + }
      +
      try {
      if (Firebug === null) {
      FBL.ns(function () {


      I'm not sure why FBL.extend isn't set up correctly sometimes and I don't
      know enough about Firebug internals to fix it properly. Hope this helps!

      Adrian

      On 01/06/12 02:57, Darren Person wrote:
      > Hi Betty,
      >
      > Has there been any update on this bug? The Firebug team has offered to
      > assist in fixing it. http://code.google.com/p/fbug/issues/detail?id=4970
      > - Please see comment #9.
      >
      > Thanks!
      > -Darren
      >
      > --- In exceptional-performance@yahoogroups.com
      > <mailto:exceptional-performance%40yahoogroups.com>, betty tso
      > <bettyytso@...> wrote:
      > >
      > > hi Darren,
      > >
      > > Thank you for providing detailed steps to reproduce the issue.
      > >
      > > We've found that user has to completely re-install FF8, latest
      > Firebug and YSlow to make YSlow work once user updated to FF8 and latest
      > Firebug.
      > >
      > > Thanks for filing the bug with Firebug; we'll also try to find a
      > workaround from YSlow side to take care of this. Will keep you posted.
      > >
      > > thanks,
      > > -betty
      > >
      > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      > > Engineering Manager, Exceptional Performance
      > > 701 First Avenue, Sunnyvale, CA, 94089
      > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      > > "I don't believe in the no-win scenario." - James T. Kirk from Star Trek.
      > >
      > >
      > >
      > >
      > >
      > > ________________________________
      > > From: Darren Person <dsperson1@...>
      > > To: exceptional-performance@yahoogroups.com
      > <mailto:exceptional-performance%40yahoogroups.com>
      > > Sent: Monday, November 21, 2011 12:09 PM
      > > Subject: [exceptional-performance] YSlow plugin does not always load
      > after reboot - Firebug or YSlow?
      > >
      > >
      > > Â
      > > Reported to Firebug as well:
      > http://code.google.com/p/fbug/issues/detail?id=4970
      > >
      > > TEST CASE:
      > > - YSlow installed an configured to autorun with each page view after
      > page loads. Typically works when Yslow is installed within the same
      > session or instance of firefox, however, when firefox is rebooted, yslow
      > plugin doesn't appear to get loaded into Firebug.
      > >
      > > Detailed STEPS TO REPRODUCE the issue
      > > - Installed Firebug & YSlow add-on into Firefox
      > > - Chose Yslow "Autorun" feature - right click in status menu, "Autorun"
      > > - Start Firefox and visit any webpage (notice Yslow tab in Firebug)
      > > - Shutdown the browser and restart Firefox (maybe two or three times)
      > > - Yslow no longer appears on the Firebug Add-on Menu nor runs.
      > >
      > > Expected result - Firebug should open with Yslow plugin and run upon
      > load of default "homepage". Instead, Firebug loads and YSlow appears to
      > be disables / doesn't run.
      > >
      > > I've tried this with multiple versions:
      > > Browser: Firefox 8
      > > Addon-on: Firebug 1.8.4
      > > Addon-on: Yslow 3.0.4
      > > OS: Windows 7
      > > OS: Windows Server 2008
      > > OS: CentOS.
      > >
      > > Note, this is happening after several reboots post installing YSlow /
      > Firebug (re-start firefox several times in a row). But once it happens,
      > it doesn't come back unless you re-install Yslow.
      > >
      > > When the failure happens, YSlow isn't listed in the Firebug toolbar
      > anymore. Also, the YSlow icon in the right bottom corner of the browser
      > shows the YSlow icon without the "YSlow" text to he right.
      > >
      > > I've tried this on Windows 7, Windows Server 2008 & CentOS without
      > issue. I've even tried it on a VM at Amazon to make sure it wasn't
      > something environmental. let me know if you are able to re-produce.
      > >
      > >
      > >
      > >
      > > [Non-text portions of this message have been removed]
      > >
      >
      >
    • Mark Abrams
      I just rebuilt (Jan 2012) a Win7 (64 Pro) installed Firefox, Firebug, and Yslow. Firebug runs - Yslow icon shows on the status bar but in Firebugs tabs, nor
      Message 2 of 7 , Jan 18, 2012
      View Source
      • 0 Attachment
        I just rebuilt (Jan 2012) a Win7 (64 Pro) installed Firefox, Firebug, and
        Yslow.
        Firebug runs - Yslow icon shows on the status bar but in Firebugs tabs, nor
        can I get it to run. It just transfers to the Yslow home ....




        -----Original Message-----
        From: exceptional-performance@yahoogroups.com
        [mailto:exceptional-performance@yahoogroups.com] On Behalf Of Adrian Yee
        Sent: Monday, January 09, 2012 4:32 PM
        To: exceptional-performance@yahoogroups.com
        Cc: Darren Person
        Subject: Re: [exceptional-performance] Re: YSlow plugin does not always load
        after reboot - Firebug or YSlow?

        Ran into this issue (it's even worse with Firebug 1.9) and put a hacky
        fix in since we need it to work properly with GTmetrix. Here's the
        patch we're using:

        --- yslow-3.0.4/chrome/content/yslow-firefox.js 2011-08-08
        13:15:15.000000000 -0700
        +++ yslow-3.0.4-gtmetrix/chrome/content/yslow-firefox.js 2012-01-05
        17:14:13.000000000 -0800
        @@ -112,6 +112,16 @@
        }

        if (typeof Firebug !== 'undefined') {
        + // There seems to be some sort of timing issue with YSlow and
        + // Firebug which causes an error in YSLOW.FBYSlow.init(),
        + // "YSLOW.firefox.startup():TypeError: FBL.extend is not a
        + // function". Hack around this by retrying the call to
        + // YSLOW.FBYSlow.init() if it fails.
        + if (typeof FBL.extend !== 'function') {
        + YSLOW.util.setTimer(function() {
        YSLOW.firefox.startup(wmode); }, 10);
        + return;
        + }
        +
        try {
        if (Firebug === null) {
        FBL.ns(function () {


        I'm not sure why FBL.extend isn't set up correctly sometimes and I don't
        know enough about Firebug internals to fix it properly. Hope this helps!

        Adrian

        On 01/06/12 02:57, Darren Person wrote:
        > Hi Betty,
        >
        > Has there been any update on this bug? The Firebug team has offered to
        > assist in fixing it. http://code.google.com/p/fbug/issues/detail?id=4970
        > - Please see comment #9.
        >
        > Thanks!
        > -Darren
        >
        > --- In exceptional-performance@yahoogroups.com
        > <mailto:exceptional-performance%40yahoogroups.com>, betty tso
        > <bettyytso@...> wrote:
        > >
        > > hi Darren,
        > >
        > > Thank you for providing detailed steps to reproduce the issue.
        > >
        > > We've found that user has to completely re-install FF8, latest
        > Firebug and YSlow to make YSlow work once user updated to FF8 and latest
        > Firebug.
        > >
        > > Thanks for filing the bug with Firebug; we'll also try to find a
        > workaround from YSlow side to take care of this. Will keep you posted.
        > >
        > > thanks,
        > > -betty
        > >
        > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        > > Engineering Manager, Exceptional Performance
        > > 701 First Avenue, Sunnyvale, CA, 94089
        > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        > > "I don't believe in the no-win scenario." - James T. Kirk from Star
        Trek.
        > >
        > >
        > >
        > >
        > >
        > > ________________________________
        > > From: Darren Person <dsperson1@...>
        > > To: exceptional-performance@yahoogroups.com
        > <mailto:exceptional-performance%40yahoogroups.com>
        > > Sent: Monday, November 21, 2011 12:09 PM
        > > Subject: [exceptional-performance] YSlow plugin does not always load
        > after reboot - Firebug or YSlow?
        > >
        > >
        > > Â
        > > Reported to Firebug as well:
        > http://code.google.com/p/fbug/issues/detail?id=4970
        > >
        > > TEST CASE:
        > > - YSlow installed an configured to autorun with each page view after
        > page loads. Typically works when Yslow is installed within the same
        > session or instance of firefox, however, when firefox is rebooted, yslow
        > plugin doesn't appear to get loaded into Firebug.
        > >
        > > Detailed STEPS TO REPRODUCE the issue
        > > - Installed Firebug & YSlow add-on into Firefox
        > > - Chose Yslow "Autorun" feature - right click in status menu, "Autorun"
        > > - Start Firefox and visit any webpage (notice Yslow tab in Firebug)
        > > - Shutdown the browser and restart Firefox (maybe two or three times)
        > > - Yslow no longer appears on the Firebug Add-on Menu nor runs.
        > >
        > > Expected result - Firebug should open with Yslow plugin and run upon
        > load of default "homepage". Instead, Firebug loads and YSlow appears to
        > be disables / doesn't run.
        > >
        > > I've tried this with multiple versions:
        > > Browser: Firefox 8
        > > Addon-on: Firebug 1.8.4
        > > Addon-on: Yslow 3.0.4
        > > OS: Windows 7
        > > OS: Windows Server 2008
        > > OS: CentOS.
        > >
        > > Note, this is happening after several reboots post installing YSlow /
        > Firebug (re-start firefox several times in a row). But once it happens,
        > it doesn't come back unless you re-install Yslow.
        > >
        > > When the failure happens, YSlow isn't listed in the Firebug toolbar
        > anymore. Also, the YSlow icon in the right bottom corner of the browser
        > shows the YSlow icon without the "YSlow" text to he right.
        > >
        > > I've tried this on Windows 7, Windows Server 2008 & CentOS without
        > issue. I've even tried it on a VM at Amazon to make sure it wasn't
        > something environmental. let me know if you are able to re-produce.
        > >
        > >
        > >
        > >
        > > [Non-text portions of this message have been removed]
        > >
        >
        >


        ------------------------------------

        --
        http://developer.yahoo.com/performance/
        Yahoo! Groups Links



        -----
        No virus found in this message.
        Checked by AVG - www.avg.com
        Version: 2012.0.1901 / Virus Database: 2109/4749 - Release Date: 01/17/12
      • Marcel Duran
        Please update YSlow for FF, the latest version is 3.0.9 -- Marcel Duran Sent from a mobile device ... [Non-text portions of this message have been removed]
        Message 3 of 7 , Feb 20, 2012
        View Source
        • 0 Attachment
          Please update YSlow for FF, the latest version is 3.0.9

          --
          Marcel Duran
          Sent from a mobile device

          On Jan 18, 2012, at 7:40 AM, "Mark Abrams" <mark@...> wrote:

          > I just rebuilt (Jan 2012) a Win7 (64 Pro) installed Firefox, Firebug, and
          > Yslow.
          > Firebug runs - Yslow icon shows on the status bar but in Firebugs tabs, nor
          > can I get it to run. It just transfers to the Yslow home ....
          >
          > -----Original Message-----
          > From: exceptional-performance@yahoogroups.com
          > [mailto:exceptional-performance@yahoogroups.com] On Behalf Of Adrian Yee
          > Sent: Monday, January 09, 2012 4:32 PM
          > To: exceptional-performance@yahoogroups.com
          > Cc: Darren Person
          > Subject: Re: [exceptional-performance] Re: YSlow plugin does not always load
          > after reboot - Firebug or YSlow?
          >
          > Ran into this issue (it's even worse with Firebug 1.9) and put a hacky
          > fix in since we need it to work properly with GTmetrix. Here's the
          > patch we're using:
          >
          > --- yslow-3.0.4/chrome/content/yslow-firefox.js 2011-08-08
          > 13:15:15.000000000 -0700
          > +++ yslow-3.0.4-gtmetrix/chrome/content/yslow-firefox.js 2012-01-05
          > 17:14:13.000000000 -0800
          > @@ -112,6 +112,16 @@
          > }
          >
          > if (typeof Firebug !== 'undefined') {
          > + // There seems to be some sort of timing issue with YSlow and
          > + // Firebug which causes an error in YSLOW.FBYSlow.init(),
          > + // "YSLOW.firefox.startup():TypeError: FBL.extend is not a
          > + // function". Hack around this by retrying the call to
          > + // YSLOW.FBYSlow.init() if it fails.
          > + if (typeof FBL.extend !== 'function') {
          > + YSLOW.util.setTimer(function() {
          > YSLOW.firefox.startup(wmode); }, 10);
          > + return;
          > + }
          > +
          > try {
          > if (Firebug === null) {
          > FBL.ns(function () {
          >
          > I'm not sure why FBL.extend isn't set up correctly sometimes and I don't
          > know enough about Firebug internals to fix it properly. Hope this helps!
          >
          > Adrian
          >
          > On 01/06/12 02:57, Darren Person wrote:
          > > Hi Betty,
          > >
          > > Has there been any update on this bug? The Firebug team has offered to
          > > assist in fixing it. http://code.google.com/p/fbug/issues/detail?id=4970
          > > - Please see comment #9.
          > >
          > > Thanks!
          > > -Darren
          > >
          > > --- In exceptional-performance@yahoogroups.com
          > > <mailto:exceptional-performance%40yahoogroups.com>, betty tso
          > > <bettyytso@...> wrote:
          > > >
          > > > hi Darren,
          > > >
          > > > Thank you for providing detailed steps to reproduce the issue.
          > > >
          > > > We've found that user has to completely re-install FF8, latest
          > > Firebug and YSlow to make YSlow work once user updated to FF8 and latest
          > > Firebug.
          > > >
          > > > Thanks for filing the bug with Firebug; we'll also try to find a
          > > workaround from YSlow side to take care of this. Will keep you posted.
          > > >
          > > > thanks,
          > > > -betty
          > > >
          > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          > > > Engineering Manager, Exceptional Performance
          > > > 701 First Avenue, Sunnyvale, CA, 94089
          > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          > > > "I don't believe in the no-win scenario." - James T. Kirk from Star
          > Trek.
          > > >
          > > >
          > > >
          > > >
          > > >
          > > > ________________________________
          > > > From: Darren Person <dsperson1@...>
          > > > To: exceptional-performance@yahoogroups.com
          > > <mailto:exceptional-performance%40yahoogroups.com>
          > > > Sent: Monday, November 21, 2011 12:09 PM
          > > > Subject: [exceptional-performance] YSlow plugin does not always load
          > > after reboot - Firebug or YSlow?
          > > >
          > > >
          > > > Â
          > > > Reported to Firebug as well:
          > > http://code.google.com/p/fbug/issues/detail?id=4970
          > > >
          > > > TEST CASE:
          > > > - YSlow installed an configured to autorun with each page view after
          > > page loads. Typically works when Yslow is installed within the same
          > > session or instance of firefox, however, when firefox is rebooted, yslow
          > > plugin doesn't appear to get loaded into Firebug.
          > > >
          > > > Detailed STEPS TO REPRODUCE the issue
          > > > - Installed Firebug & YSlow add-on into Firefox
          > > > - Chose Yslow "Autorun" feature - right click in status menu, "Autorun"
          > > > - Start Firefox and visit any webpage (notice Yslow tab in Firebug)
          > > > - Shutdown the browser and restart Firefox (maybe two or three times)
          > > > - Yslow no longer appears on the Firebug Add-on Menu nor runs.
          > > >
          > > > Expected result - Firebug should open with Yslow plugin and run upon
          > > load of default "homepage". Instead, Firebug loads and YSlow appears to
          > > be disables / doesn't run.
          > > >
          > > > I've tried this with multiple versions:
          > > > Browser: Firefox 8
          > > > Addon-on: Firebug 1.8.4
          > > > Addon-on: Yslow 3.0.4
          > > > OS: Windows 7
          > > > OS: Windows Server 2008
          > > > OS: CentOS.
          > > >
          > > > Note, this is happening after several reboots post installing YSlow /
          > > Firebug (re-start firefox several times in a row). But once it happens,
          > > it doesn't come back unless you re-install Yslow.
          > > >
          > > > When the failure happens, YSlow isn't listed in the Firebug toolbar
          > > anymore. Also, the YSlow icon in the right bottom corner of the browser
          > > shows the YSlow icon without the "YSlow" text to he right.
          > > >
          > > > I've tried this on Windows 7, Windows Server 2008 & CentOS without
          > > issue. I've even tried it on a VM at Amazon to make sure it wasn't
          > > something environmental. let me know if you are able to re-produce.
          > > >
          > > >
          > > >
          > > >
          > > > [Non-text portions of this message have been removed]
          > > >
          > >
          > >
          >
          > ------------------------------------
          >
          > --
          > http://developer.yahoo.com/performance/
          > Yahoo! Groups Links
          >
          > -----
          > No virus found in this message.
          > Checked by AVG - www.avg.com
          > Version: 2012.0.1901 / Virus Database: 2109/4749 - Release Date: 01/17/12
          >
          >


          [Non-text portions of this message have been removed]
        Your message has been successfully submitted and would be delivered to recipients shortly.