Le 13/08/2015 14:25, Greg Weng a écrit : > Okay, after I downloaded and ran the newer version: > > https://tools.taskcluster.net/task-inspector/#GgZ99-1xSpWbEtMVRdtUig/0 > > It now works well! Thanks Alexandre.
And I just got the proper link so I have updated MDN page. > > 2015-08-13 17:40 GMT+08:00 Alexandre Lissy <ali...@mozilla.com>: >> Le 13/08/2015 11:00, Greg Weng a écrit : >>> Hi, >>> >>> I post my log from screen: >>> >>> https://gist.github.com/snowmantw/737f621c6484d561b408 >>> >>> I use npm v2 + node 0.12 on both Mac and Ubuntu, hope it doesn't >>> affect the result >>> If you need any verbosed log please tell me what flags I need to set. >>> Thanks. >> >> Ok, I think I get it: Intl API is quite brand new. >> >> The link on MDN points to a task that is 4 months old: >> https://tools.taskcluster.net/task-inspector/#-J0EU0jiSm6VSScU5JMxgQ/ >> >> I think it's just that you picked a too old Mulet and I don't know why >> this link points to such a old build :( >> >>> >>> 2015-08-13 16:40 GMT+08:00 Alexandre Lissy <ali...@mozilla.com>: >>>> Le 13/08/2015 09:02, Alexandre Lissy a écrit : >>>>> Might be easier if you provide full logs for the error. >>>>> >>>>> Greg Weng a écrit : >>>>>> (send to dev-b2g since it looks like a Mulet issue, not Gaia itself) >>>>>> >>>>>> Hi all, >>>>>> >>>>>> I tried to reproduce some intermittent bugs on my local console >>>>>> (Ubuntu 14.04), and have found that even with the fresh Ubuntu, Gaia, >>>>>> npm + nodejs, and Mulet, I always got a >>>>>> >>>>>> " ReferenceError: Intl is not defined" >>>>>> >>>>>> error. I know it's a recent change to use Intl API instead of l10n >>>>>> API, and it works well on device and b2g-desktop (tried to run the >>>>>> test with that as a comparison). So I wonder why I got that. Moreover, >>>>>> after several tries, I've found that it also works well on Mac, with >>>>>> the same command that I was suggested yesterday: >>>>>> >>>>>> RUNTIME=<mulet>/firefox >>>>>> TEST_FILES=<gaia>/apps/system/test/marionette/lockscreen_media_playback_test.js >>>>>> make test-integration-test >>>> >>>> Ok I'm trying this now in the train and I'm surprised: doing so triggers >>>> a download of B2G Desktop ... (with make test-integration target). >>>> >>>>>> >>>>>> And I downloaded Mulet by following the instruction on MDN: >>>>>> >>>>>> https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Different_ways_to_run_Gaia#Using_Gaia_in_Firefox_Mulet >>>>>> >>>>>> Which says: >>>>>> >>>>>> "The Mulet builds are the packages whose names start with firefox-*, >>>>>> for example firefox-36.0a1.en-US.mac64.dmg. The Linux builds are >>>>>> called target.linux-x86_64.tar.bz2" >>>>>> >>>>>> I downloaded both the latest Mac and Linux build from the links it >>>>>> gave, and got the different results. Does that mean I did something >>>>>> wrong to run the test? Since on Treeheader it works well without such >>>>>> error (the intermittent error is about other issues).> -- >>>>>> Greg Weng >>>>>> >>>>>> http://about.me/snowmantw >>>>>> >>>>>> Understand y f = f [ y f ] ; lose last remaining non-major friend >>>>>> -- Anonymous >>>>> >>>> >>> >>> >>> >> > > > _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g