Are crashtests allowed to access chrome (e.g. set preferences)?

2012-10-15 Thread Henrik Skupin
Hi all,

I want to start with crashtests for webrtc crashes which have been fixed
recently. Sadly this feature is disabled on mozilla-central and
mozilla-aurora. So I would have to set two preferences to get access to
all the features. Now I see that crashtests are getting run through the
reftest framework and wonder if there is a way to modify preferences
before the test, or is that forbidden?

In either way, what would be the best way to get those tests into the
tree? I assume a place like /dom/media/tests/crashtests/ is a good location?

Thanks!
Henrik
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: nsresult is now a strongly typed enum

2012-10-15 Thread Aryeh Gregor
On Mon, Oct 15, 2012 at 2:09 PM, Ted Mielczarek t...@mielczarek.org wrote:
 On Sat, Oct 13, 2012 at 12:48 PM, Ehsan Akhgari ehsan.akhg...@gmail.com 
 wrote:
 This is currently enabled on all compilers which support strongly typed
 enums (recent clang, gcc = 4.4, and Visual C++ 2012).

 So this is all of our official builds except for Windows right now?

Seems so, yes.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Are crashtests allowed to access chrome (e.g. set preferences)?

2012-10-15 Thread Bobby Holley
Now that bug 792029 has landed, you should be able to use
SpecialPowers in crashtests.

On Mon, Oct 15, 2012 at 2:09 PM, Henrik Skupin hsku...@gmail.com wrote:
 Hi all,

 I want to start with crashtests for webrtc crashes which have been fixed
 recently. Sadly this feature is disabled on mozilla-central and
 mozilla-aurora. So I would have to set two preferences to get access to
 all the features. Now I see that crashtests are getting run through the
 reftest framework and wonder if there is a way to modify preferences
 before the test, or is that forbidden?

 In either way, what would be the best way to get those tests into the
 tree? I assume a place like /dom/media/tests/crashtests/ is a good location?

 Thanks!
 Henrik
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Call for help landing b2g patches on aurora

2012-10-15 Thread Ted Mielczarek
On Sat, Oct 13, 2012 at 10:18 AM, Justin Lebar justin.le...@gmail.com wrote:
 Landing on Aurora should be a simple matter of

   $ hg transplant -se /path/to/your/m-i/repo rev-to-land
   # edit the commit message to include a=whoever
   $ hg push

Just wanted to point out that I have a little script you can configure
to make this even easier:
https://blog.mozilla.org/ted/2009/12/02/easy-branch-landing-of-patches/

-Ted
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Are crashtests allowed to access chrome (e.g. set preferences)?

2012-10-15 Thread Henrik Skupin
Bobby Holley wrote on 10/15/12 2:12 PM:
 Now that bug 792029 has landed, you should be able to use
 SpecialPowers in crashtests.

Wow, great response time and great answer! Thank you a lot Bobby!

-- 
Henrik
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: nsresult is now a strongly typed enum

2012-10-15 Thread Ted Mielczarek
On Mon, Oct 15, 2012 at 8:11 AM, Aryeh Gregor a...@aryeh.name wrote:
 On Mon, Oct 15, 2012 at 2:09 PM, Ted Mielczarek t...@mielczarek.org wrote:
 On Sat, Oct 13, 2012 at 12:48 PM, Ehsan Akhgari ehsan.akhg...@gmail.com 
 wrote:
 This is currently enabled on all compilers which support strongly typed
 enums (recent clang, gcc = 4.4, and Visual C++ 2012).

 So this is all of our official builds except for Windows right now?

 Seems so, yes.

OK, just wanted to clarify. That's good, since most instances of
breakage here should cause compile errors on tinderbox.

Great work, btw!

-Ted
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Are crashtests allowed to access chrome (e.g. set preferences)?

2012-10-15 Thread Henrik Skupin
Ted Mielczarek wrote on 10/15/12 2:16 PM:

 The reftest manifest format (which crashtest uses, since crashtests
 run in the reftest harness) has explicit support for setting
 preferences per-test:
 http://mxr.mozilla.org/mozilla-central/source/layout/tools/reftest/README.txt#160

Sounds good. I will make use of it. Sadly it cannot set the preference
globally for all the tests referenced by that crashtests.list file.

-- 
Henrik
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Concerning to Firefox OS binary on GalaxyS2

2012-10-15 Thread Wonsuk Lee
Hi. All.

 

I tried to build the binary for GalaxyS2 with latest version of Firefox OS,
but it was not working. So I would like to ask the questions to you guys.

I got the source of Firefox OS (Version of Oct. 14th) with [1] instruction.
Then, I refer the GETTING AND BUILDING BOOT TO GECKO part in [2] for
building the Firefox OS on GalaxyS2.

After burn the binary to the GalaxyS2, I tried to boot the device.
Unfortunately I got the result like black screen with “Mozilla” in right
bottom side. It seems Gaia UI is not working.

 

Could anyone comments for this result?

Thanks in advance!

 

[1] git clone git://github.com/mozilla-b2g/B2G.git

[2] https://developer.mozilla.org/en-
US/docs/Mozilla/Boot_to_Gecko/Building_and_installing_Boot_to_Gecko

 

Best regards,

Wonsuk.

= 

이 원 석 (Wonsuk, Lee) / Principal Engineer, Ph.D

SAMSUNG ELECTRONICS Co., LTD. (三星電子)

Mobile: +82-10-5800-3997

E-mail:  mailto:wonsuk11@samsung.com wonsuk11@samsung.com

 http://www.wonsuk73.com/ http://www.wonsuk73.com/, twitter: @wonsuk73

-

Inspire the World, Create the Future !!!

=

 

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: W3C Proposed Recommendation: WOFF File Format 1.0

2012-10-15 Thread alexander . alisani
 Any properly licensed TrueType/OpenType/Open Font Format file can be packaged 
in WOFF format for Web use.

anybody else see problems here.  W3C its main goal is to open standards 
right ? 

i think Mozilla's Jonathan Kew, needs to stick this where it does not shine 
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Are crashtests allowed to access chrome (e.g. set preferences)?

2012-10-15 Thread L. David Baron
On Monday 2012-10-15 15:00 +0200, Henrik Skupin wrote:
 Ted Mielczarek wrote on 10/15/12 2:16 PM:
 
  The reftest manifest format (which crashtest uses, since crashtests
  run in the reftest harness) has explicit support for setting
  preferences per-test:
  http://mxr.mozilla.org/mozilla-central/source/layout/tools/reftest/README.txt#160
 
 Sounds good. I will make use of it. Sadly it cannot set the preference
 globally for all the tests referenced by that crashtests.list file.

There's a reviewed patch in
https://bugzilla.mozilla.org/show_bug.cgi?id=788967 that adds
support for this, but apparently it had failures on try.

-David

-- 
턞   L. David Baron http://dbaron.org/   턂
턢   Mozilla   http://www.mozilla.org/   턂
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: W3C Proposed Recommendation: WOFF File Format 1.0

2012-10-15 Thread Jonathan Kew

On 15/10/12 15:28, alexander.alis...@gmail.com wrote:

 Any properly licensed TrueType/OpenType/Open Font Format file can be packaged in 
WOFF format for Web use.

anybody else see problems here.  W3C its main goal is to open standards 
right ?


No, I don't see a problem there.

WOFF *is* an open standard.

The fact that it's an open standard has nothing to do with the licensing 
of any content (fonts) delivered in this format, whether extremely free 
and open or highly restrictive - just as the HTTP protocol, for example, 
may be used to deliver either free or proprietary content.


That sentence, IMO, is merely a reminder that packaging a font file in 
WOFF format does not in itself magically alter or remove any copyright 
restrictions or licensing terms that may be applicable; and conversely, 
that a font delivered as a WOFF file is still subject to whatever terms 
the font owner chooses (just like any other content, regardless of how 
it is packaged).

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: W3C Proposed Recommendation: WOFF File Format 1.0

2012-10-15 Thread Boris Zbarsky

On 10/15/12 10:28 AM, alexander.alis...@gmail.com wrote:
  Any properly licensed TrueType/OpenType/Open Font Format file can
 be packaged in WOFF format for Web use.

 anybody else see problems here.

No, explain?

 i think Mozilla's Jonathan Kew, needs to stick this where it does not 
shine


But no matter what, this is unacceptable.  If you can't be civil, please 
just don't say anything.


-Boris
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Are crashtests allowed to access chrome (e.g. set preferences)?

2012-10-15 Thread Henrik Skupin
L. David Baron wrote on 10/15/12 4:31 PM:

 There's a reviewed patch in
 https://bugzilla.mozilla.org/show_bug.cgi?id=788967 that adds
 support for this, but apparently it had failures on try.

Exactly what I need. Will watch when it lands. Thanks!

-- 
Henrik
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Why we avoid making private modifications to NSPR and NSS (was Re: Imported code)

2012-10-15 Thread Ehsan Akhgari

On 2012-10-15 5:32 PM, Robert O'Callahan wrote:

On Tue, Oct 16, 2012 at 4:18 AM, Ehsan Akhgari ehsan.akhg...@gmail.comwrote:


Sure, I was not suggesting that.  What I was suggesting was to take our
implementation of the TimeStamp class for Windows and use the same ideas in
the NSPR implementation of that function, for callers who prefer to use the
PRTime API.



But are there any such callers in Gecko? I don't know of any. If there
aren't any, then I don't think we would want to do this work.


Not as far as I know, and I also don't plan on working on that myself. 
I mostly said that for the sake of other NSPR consumers.


Ehsan

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform