Re: Per-origin versus per-domain restrictions (Re: Restricting gUM to authenticated origins only)

2014-09-14 Thread Anne van Kesteren
On Sat, Sep 13, 2014 at 5:42 PM, Eric Rescorla e...@rtfm.com wrote:
 I just tested this and it appears that at least for gUM, IFRAMEs do *not*
 get persistent permissions even if they would have them if they were
 in the top level window. Rather, you always get prompted. You can
 test this yourself using:

 https://mozilla.github.io/webrtc-landing/gum_test.html
 and
 https://mozilla.github.io/webrtc-landing/gum_iframe.html (note: contains
 mixed content for
 test purposes) or the HTTP variant.

That sounds good. However, given that apparently that's not something
the permission manager takes care of, it might be nice to cover it
there, so this becomes easier for all kinds of APIs that require
permission.


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


How to run browser rooting analysis of mozharness locally?

2014-09-14 Thread Ting-Yu Chou
Hi,

The patch of bug 1049290 failed linux64-br-haz_try_dep, I am trying to debug it
locally. I read:

  
https://wiki.mozilla.org/ReleaseEngineering/Mozharness/How_to_run_tests_as_a_developer,

and use the command (I didn't see installer/test url in the log):

  $ python scripts/scripts/spidermonkey_build.py --config-file 
hazards/build_browser.py --config-file hazards/common.py --cfg 
developer_config.py

but it complains:

  11:37:00 INFO - #
  11:37:00 INFO - # Running checkout-source step.
  11:37:00 INFO - #
  11:37:00 INFO - Running main action method: checkout_source
  11:37:00FATAL - Uncaught exception: Traceback (most recent call last):
  11:37:00FATAL -   File 
/home/ting/w/fx/bz/1049290/scripts/mozharness/base/script.py, line 1258, in 
run
  11:37:00FATAL - self.run_action(action)
  11:37:00FATAL -   File 
/home/ting/w/fx/bz/1049290/scripts/mozharness/base/script.py, line 1200, in 
run_action
  11:37:00FATAL - self._possibly_run_method(method_name, 
error_if_missing=True)
  11:37:00FATAL -   File 
/home/ting/w/fx/bz/1049290/scripts/mozharness/base/script.py, line 1141, in 
_possibly_run_method
  11:37:00FATAL - return getattr(self, method_name)()
  11:37:00FATAL -   File scripts/scripts/spidermonkey_build.py, line 33, 
in wrapper
  11:37:00FATAL - assert (val is not None and None not in str(val)), 
invalid  + query.__name__
  11:37:00FATAL - AssertionError: invalid query_repo
  11:37:00FATAL - Running post_fatal callback...
  11:37:00FATAL - Exiting -1

I have tried to set environment PROPERTIES_FILE with a file which has
buildprops.json content from log, but still doesn't work.

Anyone know the correct command to run the test locally?

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