Граф коммитов

5412 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky bc068d0e54 Bug 1618011 part 7. Switch most error messages used in bindings to having a method name prefix. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D64888

--HG--
extra : moz-landing-system : lando
2020-03-06 20:39:10 +00:00
Boris Zbarsky 0a681b4df5 Bug 1618011 part 6. Pass a BindingCallContext (if neded) and source description to primitive conversions. r=peterv
The BindingCallContext tracks what method the conversion is for, and the source
description is how the primitive is involved in that method (e.g. "argument 5").

Differential Revision: https://phabricator.services.mozilla.com/D64887

--HG--
extra : moz-landing-system : lando
2020-03-06 20:38:55 +00:00
Boris Zbarsky 539c585bfc Bug 1618011 part 5. Use a BindingCallContext for Web IDL callback guts. r=peterv
We basically need this because some of the type conversions those guts need to
do may need a BindingCallContext.

We could probably do more optimization here to only generate the
BindingCallContext bits if we will really need them, more or less based on our
return type.  But for now that doesn't seem worthwhile.

Differential Revision: https://phabricator.services.mozilla.com/D64886

--HG--
extra : moz-landing-system : lando
2020-03-06 20:38:11 +00:00
Boris Zbarsky 242fd385c0 Bug 1618011 part 4. Pass a BindingCallContext to dictionary Init() methods. r=peterv
Dictionaries always need a BindingCallContext, because they can throw
MSG_NOT_DICTIONARY from Init().

We allow non-binding callsites to pass JSContext*, in which case they will not
get quite-as-nice error reporting.

Differential Revision: https://phabricator.services.mozilla.com/D64885

--HG--
extra : moz-landing-system : lando
2020-03-06 20:30:52 +00:00
Boris Zbarsky 8cc6fcde91 Bug 1618011 part 3. Pass a BindingCallContext to union setters. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D64884

--HG--
extra : moz-landing-system : lando
2020-03-06 20:30:40 +00:00
Boris Zbarsky 0dbc444246 Bug 1618011 part 2. Add a BindingCallContext class. r=peterv
We instantiate this class in various binding methods.  Future patches will make
use of it to throw errors.

Differential Revision: https://phabricator.services.mozilla.com/D64883

--HG--
extra : moz-landing-system : lando
2020-03-06 20:30:22 +00:00
Boris Zbarsky 7b42d528f1 Bug 1618011 part 1. Implement support for error context in ThrowErrorMessage. r=peterv
This does not change behavior at the moment, because the only callers of
ThrowErrorMessage that pass an error number that has a context pass an empty
string for the first (context) arg.  Both of those callers are changed to pass
nullptr for the context in this patch.

We want to support nullptr to mean "empty context", because that way at
callsites we can avoid having extra empty strings.

We could avoid putting this machinery in place if we hardcoded the trailing
": " at all the callsites, but that would reduce future flexibility in where the
context is placed in the message string (e.g. if we wanted to move it to the
end instead of the beginning) and increase the amount of string data we have to
cart around in the binary quite noticeably: we have a _lot_ of places in
bindings where we call ThrowErrorMessage.

Differential Revision: https://phabricator.services.mozilla.com/D64882

--HG--
extra : moz-landing-system : lando
2020-03-06 20:29:54 +00:00
Boris Zbarsky 0b8d2cf399 Bug 1617974. Simplify OOMReporter setup. r=peterv
We don't really need the OOMReporterInstantiator bit.  We can just use
FastErrorResult on the binding side, with casting to OOMReporter to ensure
callees take that, not an ErrorResult.

Differential Revision: https://phabricator.services.mozilla.com/D64184

--HG--
extra : moz-landing-system : lando
2020-03-04 16:52:13 +00:00
Boris Zbarsky 9d69c2d87d Bug 1617972. Add a table that stores the exception type of DOM errors. r=peterv
The callsite in DOMIntersectionObserver did end up throwing a RangeError, as the
spec requires, because in the end we just used the exception code to determine
the kind of exception to throw, but was misleading about what it was doing.

Differential Revision: https://phabricator.services.mozilla.com/D64175

--HG--
extra : moz-landing-system : lando
2020-03-03 15:47:22 +00:00
Andrew McCreight 4babb2b5ab Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
Patch by bhackett and jlaster. Also reviewed by mccr8.

Differential Revision: https://phabricator.services.mozilla.com/D60197

--HG--
extra : moz-landing-system : lando
2020-02-27 17:39:15 +00:00
Boris Zbarsky f6cdd2b50e Bug 911444 part 4. Expose a print method on PDF viewer windows. r=bholley
The method is exposed only if the consumer has the same principal as the PDF
would have if it were not getting the PDF viewer treatment.

The method just calls the print() method in the PDF viewer window.

It's enough to expose this on nsOuterWindowProxy, not RemoteOuterWindowProxy,
because PDF documents end up in the process they would have been in based on
their pre-PDF-viewer principal, since we do process determination in the parent
process but only run the pdfjs stream converter in the content process, once we
have decided which one to use.

Differential Revision: https://phabricator.services.mozilla.com/D63711

--HG--
extra : moz-landing-system : lando
2020-02-27 14:54:53 +00:00
Ciure Andrei 00dd87f6f4 Backed out changeset d407a28318e6 (bug 1609815) for causing windows ming bustages CLOSED TREE
--HG--
extra : histedit_source : b2c748e31e0f6ba8fcf9960a336e0bbd361b07e6
2020-02-27 07:05:19 +02:00
Andrew McCreight b197e1f783 Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
Patch by bhackett and jlaster. Also reviewed by mccr8.

Differential Revision: https://phabricator.services.mozilla.com/D60197

--HG--
extra : moz-landing-system : lando
2020-02-27 04:43:48 +00:00
Tetsuharu OHZEKI bc1492747e Bug 1496147 - part 1: Remove nsAutoPtr usages from dom/bindings. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D64057

--HG--
extra : moz-landing-system : lando
2020-02-25 17:20:34 +00:00
Tetsuharu OHZEKI 2a9b28c762 Bug 1496147 - part 0: Use alias template to define StrongPtrForMember<T>. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D64056

--HG--
extra : moz-landing-system : lando
2020-02-25 16:49:58 +00:00
Dorel Luca 1def5d818a Backed out 4 changesets (bug 911444) for Mochitest failures in dom/base/test/test_pdf_print.html. CLOSED TREE
Backed out changeset d156bbaabbd5 (bug 911444)
Backed out changeset a32592af0b11 (bug 911444)
Backed out changeset b96d0a37ed1a (bug 911444)
Backed out changeset fd2e3e8728d9 (bug 911444)
2020-02-25 00:11:50 +02:00
Boris Zbarsky b4ea855936 Bug 911444 part 4. Expose a print method on PDF viewer windows. r=bholley
The method is exposed only if the consumer has the same principal as the PDF
would have if it were not getting the PDF viewer treatment.

The method just calls the print() method in the PDF viewer window.

It's enough to expose this on nsOuterWindowProxy, not RemoteOuterWindowProxy,
because PDF documents end up in the process they would have been in based on
their pre-PDF-viewer principal, since we do process determination in the parent
process but only run the pdfjs stream converter in the content process, once we
have decided which one to use.

Differential Revision: https://phabricator.services.mozilla.com/D63711

--HG--
extra : moz-landing-system : lando
2020-02-22 05:25:35 +00:00
Mike Shal c8abdd68c2 Bug 1616630 - Use py3_action for GENERATED_FILES that already support it; r=firefox-build-system-reviewers,kvark,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D63438

--HG--
extra : moz-landing-system : lando
2020-02-21 00:05:17 +00:00
Csoregi Natalia 6360b24e80 Backed out 2 changesets (bug 1616630) for Android bustage. CLOSED TREE
Backed out changeset 15016546c954 (bug 1616630)
Backed out changeset dcb7dc51633b (bug 1616630)
2020-02-20 21:24:11 +02:00
Mike Shal 39492660f4 Bug 1616630 - Use py3_action for GENERATED_FILES that already support it; r=firefox-build-system-reviewers,kvark,rstewart
Depends on D63437

Differential Revision: https://phabricator.services.mozilla.com/D63438

--HG--
extra : moz-landing-system : lando
2020-02-20 16:21:55 +00:00
Simon Giesecke 8fc0c81644 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/bindings. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D63137

--HG--
extra : moz-landing-system : lando
2020-02-20 15:47:53 +00:00
Simon Giesecke 9350e6b741 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

Differential Revision: https://phabricator.services.mozilla.com/D62604

--HG--
extra : moz-landing-system : lando
2020-02-20 11:40:14 +00:00
Dorel Luca d5f9df8ee1 Backed out 2 changesets (bug 1613985) for Build bustage on Windows2012. CLOSED TREE
Backed out changeset fd177b40b561 (bug 1613985)
Backed out changeset fb6d62b7f28d (bug 1613985)
2020-02-19 22:22:41 +02:00
Simon Giesecke 59b23375c0 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

Differential Revision: https://phabricator.services.mozilla.com/D62604

--HG--
extra : moz-landing-system : lando
2020-02-19 18:05:38 +00:00
Boris Chiou 4f3959bfee Bug 1610981 - Eliminate usage of CSSPseudoElement from KeyframeEffect. r=birtles,smaug
Replace ElementOrCSSPseudoElement with Element and add PseudoElement (which is
a DOMString) into KeyframeAnimationOptions and KeyframeEffect.

Differential Revision: https://phabricator.services.mozilla.com/D62667

--HG--
extra : moz-landing-system : lando
2020-02-18 20:44:14 +00:00
Edgar Chen 960446a64e Bug 1615741 - Make converting a buffer source follow the spec when a shared buffer is passed in; r=bzbarsky
Converting a shared buffer source to buffer souce type should
always throw if the type isn't annotated with [AllowShared].

Differential Revision: https://phabricator.services.mozilla.com/D63047

--HG--
extra : moz-landing-system : lando
2020-02-18 21:03:17 +00:00
Mike Shal d8e4653d19 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-14 13:22:46 +00:00
Boris Zbarsky 6cef0413af Bug 1615719 followup to fix review comment.
Differential Revision: https://phabricator.services.mozilla.com/D62962

--HG--
extra : moz-landing-system : lando
2020-02-14 21:23:46 +00:00
Boris Zbarsky 8ed7224b37 Bug 1615719. Refactor how we get IDL method names for error reporting. r=peterv
The only behavior change here is that now we consistently use "Foo constructor"
to describe constructors.  Before this we used "Foo" for the argument count and
arguments up to the overload resolution distinguishing argument and "Foo
constructor" for later arguments.

Differential Revision: https://phabricator.services.mozilla.com/D62346

--HG--
extra : moz-landing-system : lando
2020-02-14 21:20:19 +00:00
Boris Zbarsky f781fa6569 Bug 1615022 part 3. Disallow conversion of CopyableErrorResult to ErrorResult&. r=farre
This keeps us from passing it to functions that are planning to throw on the
ErrorResult and might throw a JS exception on it.

Differential Revision: https://phabricator.services.mozilla.com/D62633

--HG--
extra : moz-landing-system : lando
2020-02-14 10:19:05 +00:00
Boris Zbarsky 6c66fa85a4 Bug 1615022 part 2. Require an rvalue reference to reject a Promise with an ErrorResult. r=farre,kvark
The rejection process consumes the ErrorResult, so an rvalue reference is the honest thing here.

Differential Revision: https://phabricator.services.mozilla.com/D62632

--HG--
extra : moz-landing-system : lando
2020-02-14 15:42:30 +00:00
Boris Zbarsky 7c42333b8a Bug 1615022 part 1. Allow move-constructing ErrorResult from CopyableErrorResult. r=farre
We need the explicit constructor because otherwise which conversion operator to
use when constructing an ErrorResult from a CopyableErrorResult&& is
ambiguous.  And we want the conversion operator to allow passing
CopyableErrorResult& to functions that expect ErrorResult&&.

Differential Revision: https://phabricator.services.mozilla.com/D62631

--HG--
extra : moz-landing-system : lando
2020-02-14 08:37:39 +00:00
Cosmin Sabou ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Mike Shal ad0c283ab2 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Brindusan Cristian e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
Mike Shal e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Simon Giesecke b50347f917 Bug 1611415 - Prefer using std::move over forget. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60980

--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
shindli 91aa0518dd Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE 2020-02-12 20:13:29 +02:00
Simon Giesecke f604a47fa5 Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60980

--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
Dzmitry Malyshau bf6b5347b2 Bug 1611024 - Turn WebGPU programmable passes into interface mixins r=jgilbert,webidl,bzbarsky
this makes us closer to the upstream spec and removes a bunch of useless code

Differential Revision: https://phabricator.services.mozilla.com/D62377

--HG--
extra : moz-landing-system : lando
2020-02-11 03:03:47 +00:00
Boris Zbarsky 05327f8a52 Bug 1613978. Allow passing u"...", not just nsAStrings, to templated ThrowType/RangeError. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D62061

--HG--
extra : moz-landing-system : lando
2020-02-10 13:08:48 +00:00
Boris Zbarsky 1395be1f23 Bug 1613013 part 3. Annotate TypeErrors and RangeErrors from WebIDL implementations with the method they come from. r=peterv
Please review the changes to Errors.msg very carefully.  I caught a number of
mistakes there in self-review (e.g. not renumbering replacement markers
correctly when I added {0} to the beginnings of strings), and my confidence
that I caught them all is only middling.

A few lines (MSG_USELESS_SETTIMEOUT, MSG_TYPEDARRAY_IS_DETACHED,
MSG_NOT_SUBMIT_BUTTON) were removed from Errors.msg either because they were
already unused or because they either were single-user constant strings or
became such in the new setup and we could just use the string version of
ThrowTypeError.

Differential Revision: https://phabricator.services.mozilla.com/D61523

--HG--
extra : moz-landing-system : lando
2020-02-06 21:22:32 +00:00
Boris Zbarsky 09a1a6496e Bug 1613013 part 2. Change ThrowErrorMessage to be templated on the error number. r=peterv
This makes it easier to static_assert correct use.  It caught several bugs in
the next patch in this stack.

I had to disambiguate some calls to the templated ThrowDOMException that are
inside the binding_detail namespace, because otherwise they were trying to call
teh non-template function of the same name that's declared in binding_detail.

Differential Revision: https://phabricator.services.mozilla.com/D61522

--HG--
extra : moz-landing-system : lando
2020-02-06 20:40:36 +00:00
Boris Zbarsky 747a4d9f0a Bug 1613013 part 1. Annotate DOMExceptions from WebIDL implementations with the method they come from. r=peterv
This adds the name of the interface and method to the beginning of the exception
string when reporting the exception from Web IDL codegen, so it's clearer what
was called.

Some existing error messages are adjusted to not duplicate the information
about which method was called.

Differential Revision: https://phabricator.services.mozilla.com/D61521

--HG--
extra : moz-landing-system : lando
2020-02-06 21:16:10 +00:00
Boris Zbarsky 02b5075a4f Bug 1152078. Remove the const_cast<ErrorResult> bits from DOM cache code. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D61651

--HG--
extra : moz-landing-system : lando
2020-02-05 16:15:07 +00:00
Edgar Chen f2e63f3027 Bug 1543570 - Make CustomElementConstructor exceptions more consistent; r=smaug
See https://github.com/whatwg/html/pull/4525.

Differential Revision: https://phabricator.services.mozilla.com/D61247

--HG--
extra : moz-landing-system : lando
2020-02-04 23:47:18 +00:00
Emilio Cobos Álvarez 322cec0c5e Bug 1612510 - Remove IsChromeOrXBL*. r=bzbarsky
XBL is no longer a thing... Also, should we rename AllowContentXBLScope?

Differential Revision: https://phabricator.services.mozilla.com/D61359

--HG--
extra : moz-landing-system : lando
2020-02-04 21:28:57 +00:00
Boris Zbarsky 9b0b56bfc7 Bug 1612213 part 3. Switch Promise::RejectWithDOMException consumers to new convenience methods. r=smaug,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D61269

--HG--
extra : moz-landing-system : lando
2020-02-03 20:37:32 +00:00
Boris Zbarsky 7a16020858 Bug 1612213 part 2. Move the DOMException definitions from ErrorResult.h into a separate file. r=smaug
This way we can use the for Promise too.

Differential Revision: https://phabricator.services.mozilla.com/D61268

--HG--
extra : moz-landing-system : lando
2020-01-30 08:57:42 +00:00
Boris Zbarsky b88d5ac5a8 Bug 1612213 part 1. Switch most consumers of ThrowDOMException to the new methods. r=smaug,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D61267

--HG--
extra : moz-landing-system : lando
2020-02-03 20:19:11 +00:00
Boris Zbarsky a389959875 Bug 1412856 part 1. Change ClientOpPromise to use a CopyableErrorResult for its rejection type. r=dom-workers-and-storage-reviewers,sg?
Differential Revision: https://phabricator.services.mozilla.com/D61196

--HG--
extra : moz-landing-system : lando
2020-01-30 09:01:26 +00:00
Boris Zbarsky 5cd4320f78 Bug 1612007. Add convenience methods for throwing various spec-defined DOMExceptions on ErrorResult. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61202

--HG--
extra : moz-landing-system : lando
2020-01-29 09:09:11 +00:00
Boris Zbarsky c9e8a8042b Bug 1611509 part 3. Remove the Date type from Web IDL. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D61054

--HG--
extra : moz-landing-system : lando
2020-01-27 08:50:35 +00:00
Boris Zbarsky e1ebd96a21 Bug 1611509 part 2. Stop using Date in Reporting.webidl. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D61053

--HG--
extra : moz-landing-system : lando
2020-01-25 05:57:04 +00:00
Boris Zbarsky 2f0e749001 Bug 1611505. Remove now-unnecessary null-checks. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61007

--HG--
extra : moz-landing-system : lando
2020-01-26 14:10:26 +00:00
Edgar Chen 9e846bd48a bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D60514

--HG--
extra : moz-landing-system : lando
2020-01-23 03:22:06 +00:00
Edgar Chen c4e4fdbd64 Bug 1575425 - Part 5: Remove DataAllowShared and LengthAllowShared from TypedArray bindings; r=bzbarsky
There's no need for two explicit APIs as we get safety from the IDL layer. And
treating a SharedArrayBuffer as an empty buffer is wrong too.

Differential Revision: https://phabricator.services.mozilla.com/D60003

--HG--
extra : moz-landing-system : lando
2020-01-22 13:09:49 +00:00
Edgar Chen 57d1c9d779 Bug 1575425 - Part 3: Add support for [AllowShared]; r=bzbarsky,jwalden
Differential Revision: https://phabricator.services.mozilla.com/D59999

--HG--
extra : moz-landing-system : lando
2020-01-23 14:18:53 +00:00
Edgar Chen 7572e4a211 Bug 1575425 - Part 2: Merge ArrayBuffer and SharedArrayBuffer in DOM binding; r=bzbarsky,jwalden
We need this for upcoming change which supports having [AllowShared] on
ArrayBuffer type in WebIDL.

Differential Revision: https://phabricator.services.mozilla.com/D59989

--HG--
extra : moz-landing-system : lando
2020-01-23 13:48:02 +00:00
Edgar Chen 1ff24dddf7 Bug 1575425 - Part 1: Remove SharedArrayBuffer type in WebIDL parser; r=bzbarsky
There is no SharedArrayBuffer type defined in WebIDL spec.

Differential Revision: https://phabricator.services.mozilla.com/D59988

--HG--
extra : moz-landing-system : lando
2020-01-22 13:03:41 +00:00
Emilio Cobos Álvarez 256c124f94 Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj
This was done by:

This was done by applying:

```
diff --git a/python/mozbuild/mozbuild/code-analysis/mach_commands.py b/python/mozbuild/mozbuild/code-analysis/mach_commands.py
index 789affde7bbf..fe33c4c7d4d1 100644
--- a/python/mozbuild/mozbuild/code-analysis/mach_commands.py
+++ b/python/mozbuild/mozbuild/code-analysis/mach_commands.py
@@ -2007,7 +2007,7 @@ class StaticAnalysis(MachCommandBase):
         from subprocess import Popen, PIPE, check_output, CalledProcessError

         diff_process = Popen(self._get_clang_format_diff_command(commit), stdout=PIPE)
-        args = [sys.executable, clang_format_diff, "-p1", "-binary=%s" % clang_format]
+        args = [sys.executable, clang_format_diff, "-p1", "-binary=%s" % clang_format, '-sort-includes']

         if not output_file:
             args.append("-i")
```

Then running `./mach clang-format -c <commit-hash>`

Then undoing that patch.

Then running check_spidermonkey_style.py --fixup

Then running `./mach clang-format`

I had to fix four things:

 * I needed to move <utility> back down in GuardObjects.h because I was hitting
   obscure problems with our system include wrappers like this:

0:03.94 /usr/include/stdlib.h:550:14: error: exception specification in declaration does not match previous declaration
0:03.94 extern void *realloc (void *__ptr, size_t __size)
0:03.94              ^
0:03.94 /home/emilio/src/moz/gecko-2/obj-debug/dist/include/malloc_decls.h:53:1: note: previous declaration is here
0:03.94 MALLOC_DECL(realloc, void*, void*, size_t)
0:03.94 ^
0:03.94 /home/emilio/src/moz/gecko-2/obj-debug/dist/include/mozilla/mozalloc.h:22:32: note: expanded from macro 'MALLOC_DECL'
0:03.94     MOZ_MEMORY_API return_type name##_impl(__VA_ARGS__);
0:03.94                                ^
0:03.94 <scratch space>:178:1: note: expanded from here
0:03.94 realloc_impl
0:03.94 ^
0:03.94 /home/emilio/src/moz/gecko-2/obj-debug/dist/include/mozmemory_wrap.h:142:41: note: expanded from macro 'realloc_impl'
0:03.94 #define realloc_impl mozmem_malloc_impl(realloc)

   Which I really didn't feel like digging into.

 * I had to restore the order of TrustOverrideUtils.h and related files in nss
   because the .inc files depend on TrustOverrideUtils.h being included earlier.

 * I had to add a missing include to RollingNumber.h

 * Also had to partially restore include order in JsepSessionImpl.cpp to avoid
   some -WError issues due to some static inline functions being defined in a
   header but not used in the rest of the compilation unit.

Differential Revision: https://phabricator.services.mozilla.com/D60327

--HG--
extra : moz-landing-system : lando
2020-01-20 16:19:48 +00:00
Emilio Cobos Álvarez aa3a695712 Bug 1609996 - Remove mozilla/Move.h. r=froydnj
rg -l 'mozilla/Move.h' | xargs sed -i 's/#include "mozilla\/Move.h"/#include <utility>/g'

Further manual fixups and cleanups to the include order incoming.

Differential Revision: https://phabricator.services.mozilla.com/D60323

--HG--
extra : moz-landing-system : lando
2020-01-20 16:18:20 +00:00
Andreas Farre 68ac0a2401 Bug 1583863 - Part 3: WindowContext using SyncedContext, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D56743

--HG--
extra : moz-landing-system : lando
2020-01-20 14:58:52 +00:00
pbz 70e1dba79e Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55811

--HG--
extra : moz-landing-system : lando
2020-01-16 14:38:40 +00:00
Andrea Marchesini a91dd40dff Bug 1024312 - Get rid of IDBDatabase.mozCreateFileHandle, r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D59499

--HG--
extra : moz-landing-system : lando
2020-01-14 15:09:02 +00:00
Tom Schuster 163e9d47af Bug 1565170 - Disable toSource/uneval in non-chrome code. r=jwalden,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D37689

--HG--
extra : moz-landing-system : lando
2020-01-09 11:48:58 +00:00
Sylvestre Ledru c521758c5e Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D58175

--HG--
extra : moz-landing-system : lando
2020-01-09 21:50:11 +00:00
Masatoshi Kimura ef626b5951 Bug 1448967 - Remove enablePrivilege. r=mccr8,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D57243

--HG--
rename : testing/firefox-ui/resources/security/enable_privilege.html => js/xpconnect/tests/mochitest/test_enable_privilege.html
extra : moz-landing-system : lando
2020-01-08 23:14:48 +00:00
Jeff Gilbert e1d0fe64bb Bug 1477756 - Client-side bindings mirror for precise CC, and merge similar codepaths. r=handyman
* Context loss using RAII
* Move Program reflection Client-side

Depends on D54018

Differential Revision: https://phabricator.services.mozilla.com/D54019

--HG--
extra : moz-landing-system : lando
2020-01-08 22:19:16 +00:00
David Parks 198fa063c2 Bug 1477756 - Initial out-of-process WebGL implementation. r=mccr8,handyman
Splits WebGLContext into ClientWebGLContext and HostWebGLContext.  The Client enables the JS-control of a WebGL context in a content procecss while the Host executes the WebGL graphics operations (via a WebGLContext that maintains much of the existing code) in the compositor process.  At this point, the cross-process behavior is disabled -- this series of patches is an incremental step toward that final goal.

Differential Revision: https://phabricator.services.mozilla.com/D54018

--HG--
extra : moz-landing-system : lando
2020-01-08 22:19:14 +00:00
Emilio Cobos Álvarez 3f5e15cdd8 Bug 1607796 - Simplify usage of std::enable_if with std::enable_if_t. r=bzbarsky
This one is manual.

Depends on D59145

Differential Revision: https://phabricator.services.mozilla.com/D59146

--HG--
extra : moz-landing-system : lando
2020-01-08 16:11:51 +00:00
Emilio Cobos Álvarez 80322da13a Bug 1607796 - Use <type_traits> in dom/bindings. r=bzbarsky
Automatic but manually checked via s/IsBaseOf</std::is_base_of</g and so on.

Differential Revision: https://phabricator.services.mozilla.com/D59145

--HG--
extra : moz-landing-system : lando
2020-01-08 16:40:12 +00:00
Emilio Cobos Álvarez f210527c4f Bug 1607595 - Manual fixups, and remove mozilla::IsBaseOf. r=froydnj
This is manual, but hopefully trivial.

Differential Revision: https://phabricator.services.mozilla.com/D59014

--HG--
extra : moz-landing-system : lando
2020-01-08 14:52:18 +00:00
Emilio Cobos Álvarez e363a41bd4 Bug 1607595 - Remove uses of mozilla::IsBaseOf. r=froydnj
Automatically generated by:

$ rg 'IsBaseOf<' | cut -d : -f 1 | xargs sed -i 's/mozilla::IsBaseOf</std::is_base_of</g'
$ rg 'IsBaseOf<' | cut -d : -f 1 | xargs sed -i 's/IsBaseOf</std::is_base_of</g

Differential Revision: https://phabricator.services.mozilla.com/D59013

--HG--
extra : moz-landing-system : lando
2020-01-08 14:52:10 +00:00
Emilio Cobos Álvarez 400567dcde Bug 1606958 - Use FakeString for UTF8String. r=bzbarsky,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D58683

--HG--
extra : moz-landing-system : lando
2020-01-07 21:37:12 +00:00
Boris Zbarsky 330b219787 Bug 1607347. Back out part of revision 3c1f509939f1 to fix null-dereference crashes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D58989

--HG--
extra : moz-landing-system : lando
2020-01-07 19:00:07 +00:00
Emilio Cobos Álvarez 4d059556c2 Bug 1607406 - Add TypedArray::Create(Span<T>) and remove an ugly cast in TextEncoder. r=bzbarsky
The bounds check becomes needed now, though it should hopefully be optimized
away too as all the involved calls that you need to know about to determine that
it can't happen are inline.

Differential Revision: https://phabricator.services.mozilla.com/D58909

--HG--
extra : moz-landing-system : lando
2020-01-07 15:42:19 +00:00
Arthur Iakab dbec32e5b0 Backed out changeset 05d084629569 (bug 1606958) for causing Valgrind bustages. 2020-01-07 03:07:00 +02:00
Emilio Cobos Álvarez ae30f1a7bb Bug 1606958 - Use FakeString for UTF8String. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D58683

--HG--
extra : moz-landing-system : lando
2020-01-06 21:24:10 +00:00
Boris Zbarsky 810b6b879b Bug 1601175. Make sure the mDoc of an inner window is set before we call SetScriptGlobalObject on the document. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D56218

--HG--
extra : moz-landing-system : lando
2020-01-06 14:53:00 +00:00
Emilio Cobos Álvarez 6bb42bfdf8 Bug 1449861 - Add codegen support for UTF8String. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D58629

--HG--
extra : moz-landing-system : lando
2020-01-04 10:36:49 +00:00
Emilio Cobos Álvarez b58f2e72e8 Bug 1449861 - Add UTF8String to the WebIDL parser. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D58628

--HG--
extra : moz-landing-system : lando
2020-01-04 10:35:21 +00:00
nordzilla 869949428a Bug 1604340 - Allow [Pref] for WebIDL constructor r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D57723

--HG--
extra : moz-landing-system : lando
2019-12-21 00:46:20 +00:00
Chris Peterson 406763af7f Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj
This changeset is a simple find and replace of `MOZ_FALLTHROUGH` and `[[fallthrough]]`.

Unfortunately, the MOZ_FALLTHROUGH_ASSERT macro (to assert on case fallthrough in debug builds) is still necessary after switching from [[clang::fallthrough]] to [[fallthrough]] because:

* MOZ_ASSERT(false) followed by [[fallthrough]] triggers a -Wunreachable-code warning in DEBUG builds
* but MOZ_ASSERT(false) without [[fallthrough]] triggers a -Wimplicit-fallthrough warning in NDEBUG builds.

Differential Revision: https://phabricator.services.mozilla.com/D56440

--HG--
extra : moz-landing-system : lando
2019-12-20 07:16:43 +00:00
Edgar Chen b1c69ce2d9 Bug 1603461 - Add support for extended attributes on nullable types; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56954

--HG--
extra : moz-landing-system : lando
2019-12-17 09:29:35 +00:00
Oana Pop Rus 5f3c83c29f Backed out changeset f911e3de6e53 (bug 1603461) for eslint in test_attributes_on_types.html on a CLOSED TREE 2019-12-17 00:39:02 +02:00
Edgar Chen 88a6fd3ca7 Bug 1603461 - Add support for extended attributes on nullable types; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56954

--HG--
extra : moz-landing-system : lando
2019-12-16 16:07:52 +00:00
Oana Pop Rus 661db3a39f Backed out 7 changesets (bug 1432856) for build bustages failures in nsWindow.h on a CLOSED TREE
Backed out changeset 3d08c3cce533 (bug 1432856)
Backed out changeset 49d03dd89b17 (bug 1432856)
Backed out changeset 62fc84c8ce99 (bug 1432856)
Backed out changeset a8a4fa63f5b2 (bug 1432856)
Backed out changeset c81f3d5b9bf3 (bug 1432856)
Backed out changeset 8351a8b1d96a (bug 1432856)
Backed out changeset a303b775a51b (bug 1432856)
2019-12-16 23:53:35 +02:00
pbz e03ecc2171 Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55811

--HG--
extra : moz-landing-system : lando
2019-12-16 21:06:11 +00:00
Boris Zbarsky c4055059c2 Bug 1603289. Stop calling binding functions that take some T* via a pointer to a function type that takes void*. r=edgar
We can just take void* and then cast it explicitly, which avoids the undefined-behavior issue here.

Differential Revision: https://phabricator.services.mozilla.com/D57168

--HG--
extra : moz-landing-system : lando
2019-12-16 17:14:21 +00:00
Edgar Chen 12f24b3f73 Bug 1603615 - [Clamp] and [EnforceRange] should only appear on integer types; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D57018

--HG--
extra : moz-landing-system : lando
2019-12-14 04:40:14 +00:00
Ricky Stewart 479b38bcac Bug 1603262 - mozbuild/makeutil.py and mozbuild/test_makeutil.py support python3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D56968

--HG--
extra : moz-landing-system : lando
2019-12-13 20:49:13 +00:00
Andrew McCreight 236d942845 Bug 1575939 - Make test_crossOriginWindowSymbolAccess.html test the cross-process case. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56798

--HG--
extra : moz-landing-system : lando
2019-12-12 04:55:58 +00:00
Jeff Walden 62a130ba0a Bug 1602882 - Move array operations to a new js/Array.h header. r=sfink,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56595

--HG--
extra : moz-landing-system : lando
2019-12-11 06:17:44 +00:00
Dzmitry Malyshau 69c53e713c Bug 1600929 - WebGPU buffer creation and mapping r=jgilbert,bzbarsky
This is the basic functionality needed to work with buffers.
What it doesn't have:
  - ability to re-map the buffer for writing
  - async writing map
  - most of the validation

Differential Revision: https://phabricator.services.mozilla.com/D55656

--HG--
extra : moz-landing-system : lando
2019-12-10 17:07:18 +00:00
Razvan Maries c59654e8be Backed out changeset 2968e233f172 (bug 1600929) for hazzard bustages on Device.cpp. CLOSED TREE 2019-12-10 01:26:09 +02:00
Dzmitry Malyshau b3d867ca6e Bug 1600929 - WebGPU buffer creation and mapping r=jgilbert,bzbarsky
This is the basic functionality needed to work with buffers.
What it doesn't have:
  - ability to re-map the buffer for writing
  - async writing map
  - most of the validation

Differential Revision: https://phabricator.services.mozilla.com/D55656

--HG--
extra : moz-landing-system : lando
2019-12-09 21:43:13 +00:00
Boris Zbarsky 8596a2beaa Bug 1601717. Avoid Tsan warnings about unsychronized access to our "have we inited the Xray ids?" boolean. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D56237

--HG--
extra : moz-landing-system : lando
2019-12-09 10:37:54 +00:00
Kris Maglione a71c8e64ff Bug 1588839 - Part 1 - Add helper to allow structured cloning Error/Exception objects. r=bzbarsky
In order to be able to reasonably debug error results from things like
JSWindowActor.sendQuery, we need to be able to clone errors across process
boundaries, so that they can be propagated to the caller that initiated a
query. The standard for the structured clone algorithm does not allow cloning
errors directly, so this patch instead adds a chrome-only wrapper object which
supports structured clone writing, and on reading, automatically decodes to
the error object it wraps. Callers who wish to clone an Error or Exception
object simply need to wrap it in a ClonedErrorHolder before sending.

Differential Revision: https://phabricator.services.mozilla.com/D50881

--HG--
extra : moz-landing-system : lando
2019-12-07 18:59:14 +00:00
Ciure Andrei cbb1fe8008 Backed out 4 changesets (bug 1588839) for causing JSWindowActor.cpp failures CLOSED TREE
Backed out changeset 7cfcd0f5da4f (bug 1588839)
Backed out changeset cde41501372a (bug 1588839)
Backed out changeset 65cc1910918c (bug 1588839)
Backed out changeset 2f8b5b48c896 (bug 1588839)
2019-12-07 19:41:36 +02:00
Kris Maglione 32678cd302 Bug 1588839 - Part 1 - Add helper to allow structured cloning Error/Exception objects. r=bzbarsky
In order to be able to reasonably debug error results from things like
JSWindowActor.sendQuery, we need to be able to clone errors across process
boundaries, so that they can be propagated to the caller that initiated a
query. The standard for the structured clone algorithm does not allow cloning
errors directly, so this patch instead adds a chrome-only wrapper object which
supports structured clone writing, and on reading, automatically decodes to
the error object it wraps. Callers who wish to clone an Error or Exception
object simply need to wrap it in a ClonedErrorHolder before sending.

Differential Revision: https://phabricator.services.mozilla.com/D50881

--HG--
extra : moz-landing-system : lando
2019-12-07 04:43:24 +00:00
Gabriele Svelto ace6d1063f Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

Differential Revision: https://phabricator.services.mozilla.com/D55442

--HG--
extra : moz-landing-system : lando
2019-12-06 09:24:56 +00:00
Peter Van der Beken 0e2faee17d Bug 1601636 - Remove some obsolete XUL entries from Bindings.conf. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D55975

--HG--
extra : moz-landing-system : lando
2019-12-05 17:07:04 +00:00
Boris Zbarsky 75124bdd98 Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53067

--HG--
extra : moz-landing-system : lando
2019-12-05 04:44:32 +00:00
Edgar Chen 3b92c91a78 Bug 1202706 - Part 3: Hook up worker use counters to WebIDL bindings; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53749

--HG--
extra : moz-landing-system : lando
2019-12-04 23:21:58 +00:00
Thomas Nguyen 1e82cdc161 Bug 1483631 - Prompt with both first party and third party origin if we are delegating permission with allows all feature policy. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D51839

--HG--
extra : moz-landing-system : lando
2019-12-04 15:39:26 +00:00
Dorel Luca a381d5c96d Backed out changeset f6e53d1c6518 (bug 1600545) for Android build bustage. CLOSED TREE 2019-12-04 17:32:27 +02:00
Gabriele Svelto bc9290f767 Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

Differential Revision: https://phabricator.services.mozilla.com/D55442

--HG--
extra : moz-landing-system : lando
2019-12-04 15:01:19 +00:00
Gurzau Raul 4f21dcd081 Backed out 4 changesets (bug 1483631) for failing at browser_temporary_permissions.js on a CLOSED TREE.
Backed out changeset f5bb5f6a148f (bug 1483631)
Backed out changeset c5e562c1d590 (bug 1483631)
Backed out changeset 7ef09193a7ef (bug 1483631)
Backed out changeset a909dcbbea2b (bug 1483631)
2019-12-03 21:57:55 +02:00
Calixte Denizet 80d6d0d91e Bug 1600992 - Remove self header inclusion on generated webidl bindings r=bzbarsky
These self inclusions are useless so just remove them.

Differential Revision: https://phabricator.services.mozilla.com/D55701

--HG--
extra : moz-landing-system : lando
2019-12-03 18:06:18 +00:00
Thomas Nguyen 14991f5ba2 Bug 1483631 - Prompt with both first party and third party origin if we are delegating permission with allows all feature policy. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D51839

--HG--
extra : moz-landing-system : lando
2019-12-03 16:24:39 +00:00
John Dai 9186958d1f Bug 1552301 - Implement form.requestSubmit(); r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54278

--HG--
extra : moz-landing-system : lando
2019-12-03 10:13:41 +00:00
Karl Tomlinson 6e2e92b6ca Bug 1599952 Include chromium-config.mozbuild for dom/bindings/test r=dmajor
as for dom/bindings.

Differential Revision: https://phabricator.services.mozilla.com/D55212

--HG--
extra : moz-landing-system : lando
2019-12-03 00:37:26 +00:00
Coroiu Cristina 679f321343 Backed out 5 changesets (bug 1599952) for failures at webaudio/the-audio-api/the-audioworklet-interface/audioworklet-messageport.https.html.ini
Backed out changeset 78adc22d922a (bug 1599952)
Backed out changeset b07c89cbc212 (bug 1599952)
Backed out changeset 7768d524d914 (bug 1599952)
Backed out changeset 7012927838fe (bug 1599952)
Backed out changeset dbf476d4eab6 (bug 1599952)
2019-12-03 02:33:23 +02:00
Karl Tomlinson 8ab389e66b Bug 1599952 Include chromium-config.mozbuild for dom/bindings/test r=dmajor
as for dom/bindings.

Differential Revision: https://phabricator.services.mozilla.com/D55212

--HG--
extra : moz-landing-system : lando
2019-12-02 12:23:33 +00:00
Nathan Froyd 2d0615e3f4 Bug 1599133 - enable constructing Sequence from moved nsTArrays; r=bzbarsky
This change saves a step in several places around the tree and is
epsilon more efficient.

Differential Revision: https://phabricator.services.mozilla.com/D54545

--HG--
extra : moz-landing-system : lando
2019-12-02 21:17:58 +00:00
Arthur Iakab 9d31553698 Backed out 4 changesets (bug 1202706) for causing mochitest assertion failures on BindingUtils.cpp
Backed out changeset 10409e01c086 (bug 1202706)
Backed out changeset 5b8427cf16b3 (bug 1202706)
Backed out changeset b8068238928b (bug 1202706)
Backed out changeset 38419ebb5494 (bug 1202706)
2019-11-28 01:13:02 +02:00
Edgar Chen a8a12bf5b1 Bug 1202706 - Part 3: Hook up worker use counters to WebIDL bindings; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53749

--HG--
extra : moz-landing-system : lando
2019-11-26 05:08:39 +00:00
Emma Malysz 9fe1d82da8 Bug 1595908, replace .xul test files in dom/ to .xhtml r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D52775

--HG--
rename : dom/base/crashtests/1027461-inner.xul => dom/base/crashtests/1027461-inner.xhtml
rename : dom/base/crashtests/1353529.xul => dom/base/crashtests/1353529.xhtml
rename : dom/base/crashtests/1369363.xul => dom/base/crashtests/1369363.xhtml
rename : dom/base/crashtests/1370968-inner.xul => dom/base/crashtests/1370968-inner.xhtml
rename : dom/base/crashtests/384663-1-inner.xul => dom/base/crashtests/384663-1-inner.xhtml
rename : dom/base/test/chrome/cpows_parent.xul => dom/base/test/chrome/cpows_parent.xhtml
rename : dom/base/test/chrome/file_bug1139964.xul => dom/base/test/chrome/file_bug1139964.xhtml
rename : dom/base/test/chrome/file_bug1209621.xul => dom/base/test/chrome/file_bug1209621.xhtml
rename : dom/base/test/chrome/file_bug549682.xul => dom/base/test/chrome/file_bug549682.xhtml
rename : dom/base/test/chrome/file_bug616841.xul => dom/base/test/chrome/file_bug616841.xhtml
rename : dom/base/test/chrome/file_bug816340.xul => dom/base/test/chrome/file_bug816340.xhtml
rename : dom/base/test/chrome/file_bug990812-1.xul => dom/base/test/chrome/file_bug990812-1.xhtml
rename : dom/base/test/chrome/file_bug990812-2.xul => dom/base/test/chrome/file_bug990812-2.xhtml
rename : dom/base/test/chrome/file_bug990812-3.xul => dom/base/test/chrome/file_bug990812-3.xhtml
rename : dom/base/test/chrome/file_bug990812-4.xul => dom/base/test/chrome/file_bug990812-4.xhtml
rename : dom/base/test/chrome/file_bug990812-5.xul => dom/base/test/chrome/file_bug990812-5.xhtml
rename : dom/base/test/chrome/file_bug990812.xul => dom/base/test/chrome/file_bug990812.xhtml
rename : dom/base/test/chrome/file_document-element-inserted-inner.xul => dom/base/test/chrome/file_document-element-inserted-inner.xhtml
rename : dom/base/test/chrome/file_document-element-inserted.xul => dom/base/test/chrome/file_document-element-inserted.xhtml
rename : dom/base/test/chrome/file_title.xul => dom/base/test/chrome/file_title.xhtml
rename : dom/base/test/chrome/frame_bug814638.xul => dom/base/test/chrome/frame_bug814638.xhtml
rename : dom/base/test/chrome/host_bug814638.xul => dom/base/test/chrome/host_bug814638.xhtml
rename : dom/base/test/chrome/test_bug1063837.xul => dom/base/test/chrome/test_bug1063837.xhtml
rename : dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xul => dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xhtml
rename : dom/base/test/chrome/test_bug1139964.xul => dom/base/test/chrome/test_bug1139964.xhtml
rename : dom/base/test/chrome/test_bug120684.xul => dom/base/test/chrome/test_bug120684.xhtml
rename : dom/base/test/chrome/test_bug1209621.xul => dom/base/test/chrome/test_bug1209621.xhtml
rename : dom/base/test/chrome/test_bug206691.xul => dom/base/test/chrome/test_bug206691.xhtml
rename : dom/base/test/chrome/test_bug289714.xul => dom/base/test/chrome/test_bug289714.xhtml
rename : dom/base/test/chrome/test_bug339494.xul => dom/base/test/chrome/test_bug339494.xhtml
rename : dom/base/test/chrome/test_bug357450.xul => dom/base/test/chrome/test_bug357450.xhtml
rename : dom/base/test/chrome/test_bug418986-1.xul => dom/base/test/chrome/test_bug418986-1.xhtml
rename : dom/base/test/chrome/test_bug421622.xul => dom/base/test/chrome/test_bug421622.xhtml
rename : dom/base/test/chrome/test_bug429785.xul => dom/base/test/chrome/test_bug429785.xhtml
rename : dom/base/test/chrome/test_bug430050.xul => dom/base/test/chrome/test_bug430050.xhtml
rename : dom/base/test/chrome/test_bug467123.xul => dom/base/test/chrome/test_bug467123.xhtml
rename : dom/base/test/chrome/test_bug473284.xul => dom/base/test/chrome/test_bug473284.xhtml
rename : dom/base/test/chrome/test_bug549682.xul => dom/base/test/chrome/test_bug549682.xhtml
rename : dom/base/test/chrome/test_bug571390.xul => dom/base/test/chrome/test_bug571390.xhtml
rename : dom/base/test/chrome/test_bug616841.xul => dom/base/test/chrome/test_bug616841.xhtml
rename : dom/base/test/chrome/test_bug635835.xul => dom/base/test/chrome/test_bug635835.xhtml
rename : dom/base/test/chrome/test_bug683852.xul => dom/base/test/chrome/test_bug683852.xhtml
rename : dom/base/test/chrome/test_bug752226-3.xul => dom/base/test/chrome/test_bug752226-3.xhtml
rename : dom/base/test/chrome/test_bug752226-4.xul => dom/base/test/chrome/test_bug752226-4.xhtml
rename : dom/base/test/chrome/test_bug780199.xul => dom/base/test/chrome/test_bug780199.xhtml
rename : dom/base/test/chrome/test_bug780529.xul => dom/base/test/chrome/test_bug780529.xhtml
rename : dom/base/test/chrome/test_bug800386.xul => dom/base/test/chrome/test_bug800386.xhtml
rename : dom/base/test/chrome/test_bug814638.xul => dom/base/test/chrome/test_bug814638.xhtml
rename : dom/base/test/chrome/test_bug816340.xul => dom/base/test/chrome/test_bug816340.xhtml
rename : dom/base/test/chrome/test_bug884693.xul => dom/base/test/chrome/test_bug884693.xhtml
rename : dom/base/test/chrome/test_bug990812.xul => dom/base/test/chrome/test_bug990812.xhtml
rename : dom/base/test/chrome/test_chromeOuterWindowID.xul => dom/base/test/chrome/test_chromeOuterWindowID.xhtml
rename : dom/base/test/chrome/test_cpows.xul => dom/base/test/chrome/test_cpows.xhtml
rename : dom/base/test/chrome/test_custom_element_content.xul => dom/base/test/chrome/test_custom_element_content.xhtml
rename : dom/base/test/chrome/test_custom_element_ep.xul => dom/base/test/chrome/test_custom_element_ep.xhtml
rename : dom/base/test/chrome/test_document-element-inserted.xul => dom/base/test/chrome/test_document-element-inserted.xhtml
rename : dom/base/test/chrome/test_domparsing.xul => dom/base/test/chrome/test_domparsing.xhtml
rename : dom/base/test/chrome/test_fileconstructor.xul => dom/base/test/chrome/test_fileconstructor.xhtml
rename : dom/base/test/chrome/test_nsITextInputProcessor.xul => dom/base/test/chrome/test_nsITextInputProcessor.xhtml
rename : dom/base/test/chrome/test_permission_isHandlingUserInput.xul => dom/base/test/chrome/test_permission_isHandlingUserInput.xhtml
rename : dom/base/test/chrome/test_swapFrameLoaders.xul => dom/base/test/chrome/test_swapFrameLoaders.xhtml
rename : dom/base/test/chrome/test_title.xul => dom/base/test/chrome/test_title.xhtml
rename : dom/base/test/chrome/test_windowroot.xul => dom/base/test/chrome/test_windowroot.xhtml
rename : dom/base/test/chrome/title_window.xul => dom/base/test/chrome/title_window.xhtml
rename : dom/base/test/chrome/window_chromeOuterWindowID.xul => dom/base/test/chrome/window_chromeOuterWindowID.xhtml
rename : dom/base/test/chrome/window_nsITextInputProcessor.xul => dom/base/test/chrome/window_nsITextInputProcessor.xhtml
rename : dom/base/test/chrome/window_swapFrameLoaders.xul => dom/base/test/chrome/window_swapFrameLoaders.xhtml
rename : dom/base/test/file_navigator_resolve_identity_xrays.xul => dom/base/test/file_navigator_resolve_identity_xrays.xhtml
rename : dom/base/test/chrome/file_title.xul => dom/base/test/file_title.xhtml
rename : dom/base/test/test_anonymousContent_xul_window.xul => dom/base/test/test_anonymousContent_xul_window.xhtml
rename : dom/base/test/test_domrequesthelper.xul => dom/base/test/test_domrequesthelper.xhtml
rename : dom/base/test/test_fragment_sanitization.xul => dom/base/test/test_fragment_sanitization.xhtml
rename : dom/base/test/test_navigator_resolve_identity_xrays.xul => dom/base/test/test_navigator_resolve_identity_xrays.xhtml
rename : dom/base/test/unit/nodelist_data_2.xul => dom/base/test/unit/nodelist_data_2.xhtml
rename : dom/bindings/test/test_bug1123516_maplikesetlikechrome.xul => dom/bindings/test/test_bug1123516_maplikesetlikechrome.xhtml
rename : dom/console/tests/test_console.xul => dom/console/tests/test_console.xhtml
rename : dom/console/tests/test_jsm.xul => dom/console/tests/test_jsm.xhtml
rename : dom/encoding/test/test_stringencoding.xul => dom/encoding/test/test_stringencoding.xhtml
rename : dom/events/test/bug591249_iframe.xul => dom/events/test/bug591249_iframe.xhtml
rename : dom/events/test/bug602962.xul => dom/events/test/bug602962.xhtml
rename : dom/events/test/test_bug1412775.xul => dom/events/test/test_bug1412775.xhtml
rename : dom/events/test/test_bug336682_2.xul => dom/events/test/test_bug336682_2.xhtml
rename : dom/events/test/test_bug415498.xul => dom/events/test/test_bug415498.xhtml
rename : dom/events/test/test_bug418986-3.xul => dom/events/test/test_bug418986-3.xhtml
rename : dom/events/test/test_bug524674.xul => dom/events/test/test_bug524674.xhtml
rename : dom/events/test/test_bug586961.xul => dom/events/test/test_bug586961.xhtml
rename : dom/events/test/test_bug591249.xul => dom/events/test/test_bug591249.xhtml
rename : dom/events/test/test_bug602962.xul => dom/events/test/test_bug602962.xhtml
rename : dom/events/test/test_bug617528.xul => dom/events/test/test_bug617528.xhtml
rename : dom/events/test/test_bug679494.xul => dom/events/test/test_bug679494.xhtml
rename : dom/events/test/test_eventctors.xul => dom/events/test/test_eventctors.xhtml
rename : dom/events/test/window_bug1412775.xul => dom/events/test/window_bug1412775.xhtml
rename : dom/events/test/window_bug617528.xul => dom/events/test/window_bug617528.xhtml
rename : dom/indexedDB/test/bug839193.xul => dom/indexedDB/test/bug839193.xhtml
rename : dom/indexedDB/test/test_globalObjects_chrome.xul => dom/indexedDB/test/test_globalObjects_chrome.xhtml
rename : dom/indexedDB/test/test_wrappedArray.xul => dom/indexedDB/test/test_wrappedArray.xhtml
rename : dom/ipc/test.xul => dom/ipc/test.xhtml
rename : dom/ipc/tests/process_error.xul => dom/ipc/tests/process_error.xhtml
rename : dom/ipc/tests/test_process_error.xul => dom/ipc/tests/test_process_error.xhtml
rename : dom/l10n/tests/mochitest/dom_localization/test_domloc.xul => dom/l10n/tests/mochitest/dom_localization/test_domloc.xhtml
rename : dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xul => dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xhtml
rename : dom/messagechannel/tests/mm_messageChannelParent.xul => dom/messagechannel/tests/mm_messageChannelParent.xhtml
rename : dom/messagechannel/tests/mm_messageChannelParentNotRemote.xul => dom/messagechannel/tests/mm_messageChannelParentNotRemote.xhtml
rename : dom/messagechannel/tests/test_messageChannel.xul => dom/messagechannel/tests/test_messageChannel.xhtml
rename : dom/messagechannel/tests/test_messageChannelWithMessageManager.xul => dom/messagechannel/tests/test_messageChannelWithMessageManager.xhtml
rename : dom/messagechannel/tests/test_messageChannelWithMessageManagerNotRemote.xul => dom/messagechannel/tests/test_messageChannelWithMessageManagerNotRemote.xhtml
rename : dom/notification/test/chrome/test_notification_system_principal.xul => dom/notification/test/chrome/test_notification_system_principal.xhtml
rename : dom/plugins/test/mochitest/privatemode_perwindowpb.xul => dom/plugins/test/mochitest/privatemode_perwindowpb.xhtml
rename : dom/plugins/test/mochitest/test_bug479979.xul => dom/plugins/test/mochitest/test_bug479979.xhtml
rename : dom/plugins/test/mochitest/test_busy_hang.xul => dom/plugins/test/mochitest/test_busy_hang.xhtml
rename : dom/plugins/test/mochitest/test_convertpoint.xul => dom/plugins/test/mochitest/test_convertpoint.xhtml
rename : dom/plugins/test/mochitest/test_crash_notify.xul => dom/plugins/test/mochitest/test_crash_notify.xhtml
rename : dom/plugins/test/mochitest/test_crash_notify_no_report.xul => dom/plugins/test/mochitest/test_crash_notify_no_report.xhtml
rename : dom/plugins/test/mochitest/test_crash_submit.xul => dom/plugins/test/mochitest/test_crash_submit.xhtml
rename : dom/plugins/test/mochitest/test_hang_submit.xul => dom/plugins/test/mochitest/test_hang_submit.xhtml
rename : dom/plugins/test/mochitest/test_hangui.xul => dom/plugins/test/mochitest/test_hangui.xhtml
rename : dom/plugins/test/mochitest/test_idle_hang.xul => dom/plugins/test/mochitest/test_idle_hang.xhtml
rename : dom/plugins/test/mochitest/test_npruntime.xul => dom/plugins/test/mochitest/test_npruntime.xhtml
rename : dom/plugins/test/mochitest/test_privatemode_perwindowpb.xul => dom/plugins/test/mochitest/test_privatemode_perwindowpb.xhtml
rename : dom/plugins/test/mochitest/test_wmode.xul => dom/plugins/test/mochitest/test_wmode.xhtml
rename : dom/plugins/test/mochitest/test_xulbrowser_plugin_visibility.xul => dom/plugins/test/mochitest/test_xulbrowser_plugin_visibility.xhtml
rename : dom/plugins/test/mochitest/xulbrowser_plugin_visibility.xul => dom/plugins/test/mochitest/xulbrowser_plugin_visibility.xhtml
rename : dom/security/test/general/test_bug1277803.xul => dom/security/test/general/test_bug1277803.xhtml
rename : dom/serviceworkers/test/test_serviceworkerinfo.xul => dom/serviceworkers/test/test_serviceworkerinfo.xhtml
rename : dom/serviceworkers/test/test_serviceworkermanager.xul => dom/serviceworkers/test/test_serviceworkermanager.xhtml
rename : dom/serviceworkers/test/test_serviceworkerregistrationinfo.xul => dom/serviceworkers/test/test_serviceworkerregistrationinfo.xhtml
rename : dom/svg/crashtests/385554-2.xul => dom/svg/crashtests/385554-2.xhtml
rename : dom/system/tests/test_constants.xul => dom/system/tests/test_constants.xhtml
rename : dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xul => dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xhtml
rename : dom/tests/mochitest/chrome/MozDomFullscreen_chrome.xul => dom/tests/mochitest/chrome/MozDomFullscreen_chrome.xhtml
rename : dom/tests/mochitest/chrome/file_DOM_element_instanceof.xul => dom/tests/mochitest/chrome/file_DOM_element_instanceof.xhtml
rename : dom/tests/mochitest/chrome/file_bug1224790-1_modal.xul => dom/tests/mochitest/chrome/file_bug1224790-1_modal.xhtml
rename : dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xul => dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xhtml
rename : dom/tests/mochitest/chrome/file_bug1224790-2_modal.xul => dom/tests/mochitest/chrome/file_bug1224790-2_modal.xhtml
rename : dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xul => dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xhtml
rename : dom/tests/mochitest/chrome/file_bug799299.xul => dom/tests/mochitest/chrome/file_bug799299.xhtml
rename : dom/tests/mochitest/chrome/file_bug800817.xul => dom/tests/mochitest/chrome/file_bug800817.xhtml
rename : dom/tests/mochitest/chrome/file_bug830858.xul => dom/tests/mochitest/chrome/file_bug830858.xhtml
rename : dom/tests/mochitest/chrome/focus_window2.xul => dom/tests/mochitest/chrome/focus_window2.xhtml
rename : dom/tests/mochitest/chrome/fullscreen.xul => dom/tests/mochitest/chrome/fullscreen.xhtml
rename : dom/tests/mochitest/chrome/sizemode_attribute.xul => dom/tests/mochitest/chrome/sizemode_attribute.xhtml
rename : dom/tests/mochitest/chrome/test_DOMWindowCreated.xul => dom/tests/mochitest/chrome/test_DOMWindowCreated.xhtml
rename : dom/tests/mochitest/chrome/test_DOM_element_instanceof.xul => dom/tests/mochitest/chrome/test_DOM_element_instanceof.xhtml
rename : dom/tests/mochitest/chrome/test_MozDomFullscreen_event.xul => dom/tests/mochitest/chrome/test_MozDomFullscreen_event.xhtml
rename : dom/tests/mochitest/chrome/test_activation.xul => dom/tests/mochitest/chrome/test_activation.xhtml
rename : dom/tests/mochitest/chrome/test_bug1224790-1.xul => dom/tests/mochitest/chrome/test_bug1224790-1.xhtml
rename : dom/tests/mochitest/chrome/test_bug1224790-2.xul => dom/tests/mochitest/chrome/test_bug1224790-2.xhtml
rename : dom/tests/mochitest/chrome/test_bug799299.xul => dom/tests/mochitest/chrome/test_bug799299.xhtml
rename : dom/tests/mochitest/chrome/test_bug800817.xul => dom/tests/mochitest/chrome/test_bug800817.xhtml
rename : dom/tests/mochitest/chrome/test_bug830858.xul => dom/tests/mochitest/chrome/test_bug830858.xhtml
rename : dom/tests/mochitest/chrome/test_callback_wrapping.xul => dom/tests/mochitest/chrome/test_callback_wrapping.xhtml
rename : dom/tests/mochitest/chrome/test_clonewrapper.xul => dom/tests/mochitest/chrome/test_clonewrapper.xhtml
rename : dom/tests/mochitest/chrome/test_cyclecollector.xul => dom/tests/mochitest/chrome/test_cyclecollector.xhtml
rename : dom/tests/mochitest/chrome/test_docshell_swap.xul => dom/tests/mochitest/chrome/test_docshell_swap.xhtml
rename : dom/tests/mochitest/chrome/test_elements_proto.xul => dom/tests/mochitest/chrome/test_elements_proto.xhtml
rename : dom/tests/mochitest/chrome/test_focus.xul => dom/tests/mochitest/chrome/test_focus.xhtml
rename : dom/tests/mochitest/chrome/test_focus_docnav.xul => dom/tests/mochitest/chrome/test_focus_docnav.xhtml
rename : dom/tests/mochitest/chrome/test_focused_link_scroll.xul => dom/tests/mochitest/chrome/test_focused_link_scroll.xhtml
rename : dom/tests/mochitest/chrome/test_fullscreen.xul => dom/tests/mochitest/chrome/test_fullscreen.xhtml
rename : dom/tests/mochitest/chrome/test_geolocation.xul => dom/tests/mochitest/chrome/test_geolocation.xhtml
rename : dom/tests/mochitest/chrome/test_moving_nodeList.xul => dom/tests/mochitest/chrome/test_moving_nodeList.xhtml
rename : dom/tests/mochitest/chrome/test_moving_xhr.xul => dom/tests/mochitest/chrome/test_moving_xhr.xhtml
rename : dom/tests/mochitest/chrome/test_popup_blocker_chrome.xul => dom/tests/mochitest/chrome/test_popup_blocker_chrome.xhtml
rename : dom/tests/mochitest/chrome/test_resize_move_windows.xul => dom/tests/mochitest/chrome/test_resize_move_windows.xhtml
rename : dom/tests/mochitest/chrome/test_sandbox_bindings.xul => dom/tests/mochitest/chrome/test_sandbox_bindings.xhtml
rename : dom/tests/mochitest/chrome/test_sandbox_eventhandler.xul => dom/tests/mochitest/chrome/test_sandbox_eventhandler.xhtml
rename : dom/tests/mochitest/chrome/test_sandbox_image.xul => dom/tests/mochitest/chrome/test_sandbox_image.xhtml
rename : dom/tests/mochitest/chrome/test_sizemode_attribute.xul => dom/tests/mochitest/chrome/test_sizemode_attribute.xhtml
rename : dom/tests/mochitest/chrome/test_subscript_bindings.xul => dom/tests/mochitest/chrome/test_subscript_bindings.xhtml
rename : dom/tests/mochitest/chrome/test_xray_event_constructor.xul => dom/tests/mochitest/chrome/test_xray_event_constructor.xhtml
rename : dom/tests/mochitest/chrome/window_activation.xul => dom/tests/mochitest/chrome/window_activation.xhtml
rename : dom/tests/mochitest/chrome/window_callback_wrapping.xul => dom/tests/mochitest/chrome/window_callback_wrapping.xhtml
rename : dom/tests/mochitest/chrome/window_docshell_swap.xul => dom/tests/mochitest/chrome/window_docshell_swap.xhtml
rename : dom/tests/mochitest/chrome/window_focus.xul => dom/tests/mochitest/chrome/window_focus.xhtml
rename : dom/tests/mochitest/chrome/window_focus_docnav.xul => dom/tests/mochitest/chrome/window_focus_docnav.xhtml
rename : dom/tests/mochitest/chrome/window_focus_inner.xul => dom/tests/mochitest/chrome/window_focus_inner.xhtml
rename : dom/tests/mochitest/general/test_focusrings.xul => dom/tests/mochitest/general/test_focusrings.xhtml
rename : dom/tests/mochitest/general/test_innerScreen.xul => dom/tests/mochitest/general/test_innerScreen.xhtml
rename : dom/tests/mochitest/general/test_nodeAdoption_chrome_boundary.xul => dom/tests/mochitest/general/test_nodeAdoption_chrome_boundary.xhtml
rename : dom/tests/mochitest/general/test_offsets.xul => dom/tests/mochitest/general/test_offsets.xhtml
rename : dom/tests/mochitest/keyhandling/test_browser.xul => dom/tests/mochitest/keyhandling/test_browser.xhtml
rename : dom/tests/mochitest/keyhandling/test_editor.xul => dom/tests/mochitest/keyhandling/test_editor.xhtml
rename : dom/tests/mochitest/keyhandling/test_windowed.xul => dom/tests/mochitest/keyhandling/test_windowed.xhtml
rename : dom/tests/mochitest/webcomponents/test_xul_custom_element.xul => dom/tests/mochitest/webcomponents/test_xul_custom_element.xhtml
rename : dom/url/tests/test_bug883784.xul => dom/url/tests/test_bug883784.xhtml
rename : dom/url/tests/test_url.xul => dom/url/tests/test_url.xhtml
rename : dom/url/tests/test_worker_url.xul => dom/url/tests/test_worker_url.xhtml
rename : dom/workers/test/test_WorkerDebugger.initialize.xul => dom/workers/test/test_WorkerDebugger.initialize.xhtml
rename : dom/workers/test/test_WorkerDebugger.postMessage.xul => dom/workers/test/test_WorkerDebugger.postMessage.xhtml
rename : dom/workers/test/test_WorkerDebugger.xul => dom/workers/test/test_WorkerDebugger.xhtml
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.createSandbox.xul => dom/workers/test/test_WorkerDebuggerGlobalScope.createSandbox.xhtml
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.enterEventLoop.xul => dom/workers/test/test_WorkerDebuggerGlobalScope.enterEventLoop.xhtml
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.reportError.xul => dom/workers/test/test_WorkerDebuggerGlobalScope.reportError.xhtml
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.setImmediate.xul => dom/workers/test/test_WorkerDebuggerGlobalScope.setImmediate.xhtml
rename : dom/workers/test/test_WorkerDebuggerManager.xul => dom/workers/test/test_WorkerDebuggerManager.xhtml
rename : dom/workers/test/test_WorkerDebugger_console.xul => dom/workers/test/test_WorkerDebugger_console.xhtml
rename : dom/workers/test/test_WorkerDebugger_frozen.xul => dom/workers/test/test_WorkerDebugger_frozen.xhtml
rename : dom/workers/test/test_WorkerDebugger_promise.xul => dom/workers/test/test_WorkerDebugger_promise.xhtml
rename : dom/workers/test/test_WorkerDebugger_suspended.xul => dom/workers/test/test_WorkerDebugger_suspended.xhtml
rename : dom/workers/test/test_bug1062920.xul => dom/workers/test/test_bug1062920.xhtml
rename : dom/workers/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xhtml
rename : dom/workers/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xhtml
rename : dom/workers/test/test_file.xul => dom/workers/test/test_file.xhtml
rename : dom/workers/test/test_fileBlobPosting.xul => dom/workers/test/test_fileBlobPosting.xhtml
rename : dom/workers/test/test_fileBlobSubWorker.xul => dom/workers/test/test_fileBlobSubWorker.xhtml
rename : dom/workers/test/test_filePosting.xul => dom/workers/test/test_filePosting.xhtml
rename : dom/workers/test/test_fileReadSlice.xul => dom/workers/test/test_fileReadSlice.xhtml
rename : dom/workers/test/test_fileReaderSync.xul => dom/workers/test/test_fileReaderSync.xhtml
rename : dom/workers/test/test_fileReaderSyncErrors.xul => dom/workers/test/test_fileReaderSyncErrors.xhtml
rename : dom/workers/test/test_fileSlice.xul => dom/workers/test/test_fileSlice.xhtml
rename : dom/workers/test/test_fileSubWorker.xul => dom/workers/test/test_fileSubWorker.xhtml
rename : dom/workers/test/test_shutdownCheck.xul => dom/workers/test/test_shutdownCheck.xhtml
rename : dom/xml/crashtests/382636-4.xul => dom/xml/crashtests/382636-4.xhtml
rename : dom/xml/crashtests/420429.xul => dom/xml/crashtests/420429.xhtml
rename : dom/xslt/tests/XSLTMark/XSLTMark.xul => dom/xslt/tests/XSLTMark/XSLTMark.xhtml
rename : dom/xul/crashtests/253479-1.xul => dom/xul/crashtests/253479-1.xhtml
rename : dom/xul/crashtests/253479-2.xul => dom/xul/crashtests/253479-2.xhtml
rename : dom/xul/crashtests/326204-1.xul => dom/xul/crashtests/326204-1.xhtml
rename : dom/xul/crashtests/326644-1-inner.xul => dom/xul/crashtests/326644-1-inner.xhtml
rename : dom/xul/crashtests/326875-1.xul => dom/xul/crashtests/326875-1.xhtml
rename : dom/xul/crashtests/344215-1.xul => dom/xul/crashtests/344215-1.xhtml
rename : dom/xul/crashtests/363791-1.xul => dom/xul/crashtests/363791-1.xhtml
rename : dom/xul/crashtests/384877-1-inner.xul => dom/xul/crashtests/384877-1-inner.xhtml
rename : dom/xul/crashtests/386914-1-inner.xul => dom/xul/crashtests/386914-1-inner.xhtml
rename : dom/xul/crashtests/425821-1.xul => dom/xul/crashtests/425821-1.xhtml
rename : dom/xul/crashtests/428951-1.xul => dom/xul/crashtests/428951-1.xhtml
rename : dom/xul/crashtests/431906-1-inner.xul => dom/xul/crashtests/431906-1-inner.xhtml
rename : dom/xul/test/398289-resource.xul => dom/xul/test/398289-resource.xhtml
rename : dom/xul/test/test_bug1070049_throw_from_script.xul => dom/xul/test/test_bug1070049_throw_from_script.xhtml
rename : dom/xul/test/test_bug1290965.xul => dom/xul/test/test_bug1290965.xhtml
rename : dom/xul/test/test_bug199692.xul => dom/xul/test/test_bug199692.xhtml
rename : dom/xul/test/test_bug311681.xul => dom/xul/test/test_bug311681.xhtml
rename : dom/xul/test/test_bug391002.xul => dom/xul/test/test_bug391002.xhtml
rename : dom/xul/test/test_bug403868.xul => dom/xul/test/test_bug403868.xhtml
rename : dom/xul/test/test_bug418216.xul => dom/xul/test/test_bug418216.xhtml
rename : dom/xul/test/test_bug445177.xul => dom/xul/test/test_bug445177.xhtml
rename : dom/xul/test/test_bug449457.xul => dom/xul/test/test_bug449457.xhtml
rename : dom/xul/test/test_bug468176.xul => dom/xul/test/test_bug468176.xhtml
rename : dom/xul/test/test_bug583948.xul => dom/xul/test/test_bug583948.xhtml
rename : dom/xul/test/test_bug749367.xul => dom/xul/test/test_bug749367.xhtml
rename : dom/xul/test/test_bug757137.xul => dom/xul/test/test_bug757137.xhtml
rename : dom/xul/test/test_bug775972.xul => dom/xul/test/test_bug775972.xhtml
rename : dom/xul/test/test_html_template.xul => dom/xul/test/test_html_template.xhtml
rename : dom/xul/test/test_import_xul_to_content.xul => dom/xul/test/test_import_xul_to_content.xhtml
rename : dom/xul/test/window_bug583948.xul => dom/xul/test/window_bug583948.xhtml
rename : dom/xul/test/window_bug757137.xul => dom/xul/test/window_bug757137.xhtml
extra : moz-landing-system : lando
2019-11-27 15:39:16 +00:00
Sylvestre Ledru 8d2f0d1b1f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D54686

--HG--
extra : moz-landing-system : lando
2019-11-26 14:35:02 +00:00
Coroiu Cristina 62da09d5c5 Backed out changeset ae4078ba01fa (bug 1595908) for browser-chrome failures at browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE
--HG--
rename : dom/base/crashtests/1027461-inner.xhtml => dom/base/crashtests/1027461-inner.xul
rename : dom/base/crashtests/1353529.xhtml => dom/base/crashtests/1353529.xul
rename : dom/base/crashtests/1369363.xhtml => dom/base/crashtests/1369363.xul
rename : dom/base/crashtests/1370968-inner.xhtml => dom/base/crashtests/1370968-inner.xul
rename : dom/base/crashtests/384663-1-inner.xhtml => dom/base/crashtests/384663-1-inner.xul
rename : dom/base/test/chrome/cpows_parent.xhtml => dom/base/test/chrome/cpows_parent.xul
rename : dom/base/test/chrome/file_bug1139964.xhtml => dom/base/test/chrome/file_bug1139964.xul
rename : dom/base/test/chrome/file_bug1209621.xhtml => dom/base/test/chrome/file_bug1209621.xul
rename : dom/base/test/chrome/file_bug549682.xhtml => dom/base/test/chrome/file_bug549682.xul
rename : dom/base/test/chrome/file_bug616841.xhtml => dom/base/test/chrome/file_bug616841.xul
rename : dom/base/test/chrome/file_bug816340.xhtml => dom/base/test/chrome/file_bug816340.xul
rename : dom/base/test/chrome/file_bug990812-1.xhtml => dom/base/test/chrome/file_bug990812-1.xul
rename : dom/base/test/chrome/file_bug990812-2.xhtml => dom/base/test/chrome/file_bug990812-2.xul
rename : dom/base/test/chrome/file_bug990812-3.xhtml => dom/base/test/chrome/file_bug990812-3.xul
rename : dom/base/test/chrome/file_bug990812-4.xhtml => dom/base/test/chrome/file_bug990812-4.xul
rename : dom/base/test/chrome/file_bug990812-5.xhtml => dom/base/test/chrome/file_bug990812-5.xul
rename : dom/base/test/chrome/file_bug990812.xhtml => dom/base/test/chrome/file_bug990812.xul
rename : dom/base/test/chrome/file_document-element-inserted-inner.xhtml => dom/base/test/chrome/file_document-element-inserted-inner.xul
rename : dom/base/test/chrome/file_document-element-inserted.xhtml => dom/base/test/chrome/file_document-element-inserted.xul
rename : dom/base/test/file_title.xhtml => dom/base/test/chrome/file_title.xul
rename : dom/base/test/chrome/frame_bug814638.xhtml => dom/base/test/chrome/frame_bug814638.xul
rename : dom/base/test/chrome/host_bug814638.xhtml => dom/base/test/chrome/host_bug814638.xul
rename : dom/base/test/chrome/test_bug1063837.xhtml => dom/base/test/chrome/test_bug1063837.xul
rename : dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xhtml => dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xul
rename : dom/base/test/chrome/test_bug1139964.xhtml => dom/base/test/chrome/test_bug1139964.xul
rename : dom/base/test/chrome/test_bug120684.xhtml => dom/base/test/chrome/test_bug120684.xul
rename : dom/base/test/chrome/test_bug1209621.xhtml => dom/base/test/chrome/test_bug1209621.xul
rename : dom/base/test/chrome/test_bug206691.xhtml => dom/base/test/chrome/test_bug206691.xul
rename : dom/base/test/chrome/test_bug289714.xhtml => dom/base/test/chrome/test_bug289714.xul
rename : dom/base/test/chrome/test_bug339494.xhtml => dom/base/test/chrome/test_bug339494.xul
rename : dom/base/test/chrome/test_bug357450.xhtml => dom/base/test/chrome/test_bug357450.xul
rename : dom/base/test/chrome/test_bug418986-1.xhtml => dom/base/test/chrome/test_bug418986-1.xul
rename : dom/base/test/chrome/test_bug421622.xhtml => dom/base/test/chrome/test_bug421622.xul
rename : dom/base/test/chrome/test_bug429785.xhtml => dom/base/test/chrome/test_bug429785.xul
rename : dom/base/test/chrome/test_bug430050.xhtml => dom/base/test/chrome/test_bug430050.xul
rename : dom/base/test/chrome/test_bug467123.xhtml => dom/base/test/chrome/test_bug467123.xul
rename : dom/base/test/chrome/test_bug473284.xhtml => dom/base/test/chrome/test_bug473284.xul
rename : dom/base/test/chrome/test_bug549682.xhtml => dom/base/test/chrome/test_bug549682.xul
rename : dom/base/test/chrome/test_bug571390.xhtml => dom/base/test/chrome/test_bug571390.xul
rename : dom/base/test/chrome/test_bug616841.xhtml => dom/base/test/chrome/test_bug616841.xul
rename : dom/base/test/chrome/test_bug635835.xhtml => dom/base/test/chrome/test_bug635835.xul
rename : dom/base/test/chrome/test_bug683852.xhtml => dom/base/test/chrome/test_bug683852.xul
rename : dom/base/test/chrome/test_bug752226-3.xhtml => dom/base/test/chrome/test_bug752226-3.xul
rename : dom/base/test/chrome/test_bug752226-4.xhtml => dom/base/test/chrome/test_bug752226-4.xul
rename : dom/base/test/chrome/test_bug780199.xhtml => dom/base/test/chrome/test_bug780199.xul
rename : dom/base/test/chrome/test_bug780529.xhtml => dom/base/test/chrome/test_bug780529.xul
rename : dom/base/test/chrome/test_bug800386.xhtml => dom/base/test/chrome/test_bug800386.xul
rename : dom/base/test/chrome/test_bug814638.xhtml => dom/base/test/chrome/test_bug814638.xul
rename : dom/base/test/chrome/test_bug816340.xhtml => dom/base/test/chrome/test_bug816340.xul
rename : dom/base/test/chrome/test_bug884693.xhtml => dom/base/test/chrome/test_bug884693.xul
rename : dom/base/test/chrome/test_bug990812.xhtml => dom/base/test/chrome/test_bug990812.xul
rename : dom/base/test/chrome/test_chromeOuterWindowID.xhtml => dom/base/test/chrome/test_chromeOuterWindowID.xul
rename : dom/base/test/chrome/test_cpows.xhtml => dom/base/test/chrome/test_cpows.xul
rename : dom/base/test/chrome/test_custom_element_content.xhtml => dom/base/test/chrome/test_custom_element_content.xul
rename : dom/base/test/chrome/test_custom_element_ep.xhtml => dom/base/test/chrome/test_custom_element_ep.xul
rename : dom/base/test/chrome/test_document-element-inserted.xhtml => dom/base/test/chrome/test_document-element-inserted.xul
rename : dom/base/test/chrome/test_domparsing.xhtml => dom/base/test/chrome/test_domparsing.xul
rename : dom/base/test/chrome/test_fileconstructor.xhtml => dom/base/test/chrome/test_fileconstructor.xul
rename : dom/base/test/chrome/test_nsITextInputProcessor.xhtml => dom/base/test/chrome/test_nsITextInputProcessor.xul
rename : dom/base/test/chrome/test_permission_isHandlingUserInput.xhtml => dom/base/test/chrome/test_permission_isHandlingUserInput.xul
rename : dom/base/test/chrome/test_swapFrameLoaders.xhtml => dom/base/test/chrome/test_swapFrameLoaders.xul
rename : dom/base/test/chrome/test_title.xhtml => dom/base/test/chrome/test_title.xul
rename : dom/base/test/chrome/test_windowroot.xhtml => dom/base/test/chrome/test_windowroot.xul
rename : dom/base/test/chrome/title_window.xhtml => dom/base/test/chrome/title_window.xul
rename : dom/base/test/chrome/window_chromeOuterWindowID.xhtml => dom/base/test/chrome/window_chromeOuterWindowID.xul
rename : dom/base/test/chrome/window_nsITextInputProcessor.xhtml => dom/base/test/chrome/window_nsITextInputProcessor.xul
rename : dom/base/test/chrome/window_swapFrameLoaders.xhtml => dom/base/test/chrome/window_swapFrameLoaders.xul
rename : dom/base/test/file_navigator_resolve_identity_xrays.xhtml => dom/base/test/file_navigator_resolve_identity_xrays.xul
rename : dom/base/test/test_anonymousContent_xul_window.xhtml => dom/base/test/test_anonymousContent_xul_window.xul
rename : dom/base/test/test_domrequesthelper.xhtml => dom/base/test/test_domrequesthelper.xul
rename : dom/base/test/test_fragment_sanitization.xhtml => dom/base/test/test_fragment_sanitization.xul
rename : dom/base/test/test_navigator_resolve_identity_xrays.xhtml => dom/base/test/test_navigator_resolve_identity_xrays.xul
rename : dom/base/test/unit/nodelist_data_2.xhtml => dom/base/test/unit/nodelist_data_2.xul
rename : dom/bindings/test/test_bug1123516_maplikesetlikechrome.xhtml => dom/bindings/test/test_bug1123516_maplikesetlikechrome.xul
rename : dom/console/tests/test_console.xhtml => dom/console/tests/test_console.xul
rename : dom/console/tests/test_jsm.xhtml => dom/console/tests/test_jsm.xul
rename : dom/encoding/test/test_stringencoding.xhtml => dom/encoding/test/test_stringencoding.xul
rename : dom/events/test/bug591249_iframe.xhtml => dom/events/test/bug591249_iframe.xul
rename : dom/events/test/bug602962.xhtml => dom/events/test/bug602962.xul
rename : dom/events/test/test_bug1412775.xhtml => dom/events/test/test_bug1412775.xul
rename : dom/events/test/test_bug336682_2.xhtml => dom/events/test/test_bug336682_2.xul
rename : dom/events/test/test_bug415498.xhtml => dom/events/test/test_bug415498.xul
rename : dom/events/test/test_bug418986-3.xhtml => dom/events/test/test_bug418986-3.xul
rename : dom/events/test/test_bug524674.xhtml => dom/events/test/test_bug524674.xul
rename : dom/events/test/test_bug586961.xhtml => dom/events/test/test_bug586961.xul
rename : dom/events/test/test_bug591249.xhtml => dom/events/test/test_bug591249.xul
rename : dom/events/test/test_bug602962.xhtml => dom/events/test/test_bug602962.xul
rename : dom/events/test/test_bug617528.xhtml => dom/events/test/test_bug617528.xul
rename : dom/events/test/test_bug679494.xhtml => dom/events/test/test_bug679494.xul
rename : dom/events/test/test_eventctors.xhtml => dom/events/test/test_eventctors.xul
rename : dom/events/test/window_bug1412775.xhtml => dom/events/test/window_bug1412775.xul
rename : dom/events/test/window_bug617528.xhtml => dom/events/test/window_bug617528.xul
rename : dom/indexedDB/test/bug839193.xhtml => dom/indexedDB/test/bug839193.xul
rename : dom/indexedDB/test/test_globalObjects_chrome.xhtml => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_wrappedArray.xhtml => dom/indexedDB/test/test_wrappedArray.xul
rename : dom/ipc/test.xhtml => dom/ipc/test.xul
rename : dom/ipc/tests/process_error.xhtml => dom/ipc/tests/process_error.xul
rename : dom/ipc/tests/test_process_error.xhtml => dom/ipc/tests/test_process_error.xul
rename : dom/l10n/tests/mochitest/dom_localization/test_domloc.xhtml => dom/l10n/tests/mochitest/dom_localization/test_domloc.xul
rename : dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xhtml => dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xul
rename : dom/messagechannel/tests/mm_messageChannelParent.xhtml => dom/messagechannel/tests/mm_messageChannelParent.xul
rename : dom/messagechannel/tests/mm_messageChannelParentNotRemote.xhtml => dom/messagechannel/tests/mm_messageChannelParentNotRemote.xul
rename : dom/messagechannel/tests/test_messageChannel.xhtml => dom/messagechannel/tests/test_messageChannel.xul
rename : dom/messagechannel/tests/test_messageChannelWithMessageManager.xhtml => dom/messagechannel/tests/test_messageChannelWithMessageManager.xul
rename : dom/messagechannel/tests/test_messageChannelWithMessageManagerNotRemote.xhtml => dom/messagechannel/tests/test_messageChannelWithMessageManagerNotRemote.xul
rename : dom/notification/test/chrome/test_notification_system_principal.xhtml => dom/notification/test/chrome/test_notification_system_principal.xul
rename : dom/plugins/test/mochitest/privatemode_perwindowpb.xhtml => dom/plugins/test/mochitest/privatemode_perwindowpb.xul
rename : dom/plugins/test/mochitest/test_bug479979.xhtml => dom/plugins/test/mochitest/test_bug479979.xul
rename : dom/plugins/test/mochitest/test_busy_hang.xhtml => dom/plugins/test/mochitest/test_busy_hang.xul
rename : dom/plugins/test/mochitest/test_convertpoint.xhtml => dom/plugins/test/mochitest/test_convertpoint.xul
rename : dom/plugins/test/mochitest/test_crash_notify.xhtml => dom/plugins/test/mochitest/test_crash_notify.xul
rename : dom/plugins/test/mochitest/test_crash_notify_no_report.xhtml => dom/plugins/test/mochitest/test_crash_notify_no_report.xul
rename : dom/plugins/test/mochitest/test_crash_submit.xhtml => dom/plugins/test/mochitest/test_crash_submit.xul
rename : dom/plugins/test/mochitest/test_hang_submit.xhtml => dom/plugins/test/mochitest/test_hang_submit.xul
rename : dom/plugins/test/mochitest/test_hangui.xhtml => dom/plugins/test/mochitest/test_hangui.xul
rename : dom/plugins/test/mochitest/test_idle_hang.xhtml => dom/plugins/test/mochitest/test_idle_hang.xul
rename : dom/plugins/test/mochitest/test_npruntime.xhtml => dom/plugins/test/mochitest/test_npruntime.xul
rename : dom/plugins/test/mochitest/test_privatemode_perwindowpb.xhtml => dom/plugins/test/mochitest/test_privatemode_perwindowpb.xul
rename : dom/plugins/test/mochitest/test_wmode.xhtml => dom/plugins/test/mochitest/test_wmode.xul
rename : dom/plugins/test/mochitest/test_xulbrowser_plugin_visibility.xhtml => dom/plugins/test/mochitest/test_xulbrowser_plugin_visibility.xul
rename : dom/plugins/test/mochitest/xulbrowser_plugin_visibility.xhtml => dom/plugins/test/mochitest/xulbrowser_plugin_visibility.xul
rename : dom/security/test/general/test_bug1277803.xhtml => dom/security/test/general/test_bug1277803.xul
rename : dom/serviceworkers/test/test_serviceworkerinfo.xhtml => dom/serviceworkers/test/test_serviceworkerinfo.xul
rename : dom/serviceworkers/test/test_serviceworkermanager.xhtml => dom/serviceworkers/test/test_serviceworkermanager.xul
rename : dom/serviceworkers/test/test_serviceworkerregistrationinfo.xhtml => dom/serviceworkers/test/test_serviceworkerregistrationinfo.xul
rename : dom/svg/crashtests/385554-2.xhtml => dom/svg/crashtests/385554-2.xul
rename : dom/system/tests/test_constants.xhtml => dom/system/tests/test_constants.xul
rename : dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xhtml => dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xul
rename : dom/tests/mochitest/chrome/MozDomFullscreen_chrome.xhtml => dom/tests/mochitest/chrome/MozDomFullscreen_chrome.xul
rename : dom/tests/mochitest/chrome/file_DOM_element_instanceof.xhtml => dom/tests/mochitest/chrome/file_DOM_element_instanceof.xul
rename : dom/tests/mochitest/chrome/file_bug1224790-1_modal.xhtml => dom/tests/mochitest/chrome/file_bug1224790-1_modal.xul
rename : dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xhtml => dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xul
rename : dom/tests/mochitest/chrome/file_bug1224790-2_modal.xhtml => dom/tests/mochitest/chrome/file_bug1224790-2_modal.xul
rename : dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xhtml => dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xul
rename : dom/tests/mochitest/chrome/file_bug799299.xhtml => dom/tests/mochitest/chrome/file_bug799299.xul
rename : dom/tests/mochitest/chrome/file_bug800817.xhtml => dom/tests/mochitest/chrome/file_bug800817.xul
rename : dom/tests/mochitest/chrome/file_bug830858.xhtml => dom/tests/mochitest/chrome/file_bug830858.xul
rename : dom/tests/mochitest/chrome/focus_window2.xhtml => dom/tests/mochitest/chrome/focus_window2.xul
rename : dom/tests/mochitest/chrome/fullscreen.xhtml => dom/tests/mochitest/chrome/fullscreen.xul
rename : dom/tests/mochitest/chrome/sizemode_attribute.xhtml => dom/tests/mochitest/chrome/sizemode_attribute.xul
rename : dom/tests/mochitest/chrome/test_DOMWindowCreated.xhtml => dom/tests/mochitest/chrome/test_DOMWindowCreated.xul
rename : dom/tests/mochitest/chrome/test_DOM_element_instanceof.xhtml => dom/tests/mochitest/chrome/test_DOM_element_instanceof.xul
rename : dom/tests/mochitest/chrome/test_MozDomFullscreen_event.xhtml => dom/tests/mochitest/chrome/test_MozDomFullscreen_event.xul
rename : dom/tests/mochitest/chrome/test_activation.xhtml => dom/tests/mochitest/chrome/test_activation.xul
rename : dom/tests/mochitest/chrome/test_bug1224790-1.xhtml => dom/tests/mochitest/chrome/test_bug1224790-1.xul
rename : dom/tests/mochitest/chrome/test_bug1224790-2.xhtml => dom/tests/mochitest/chrome/test_bug1224790-2.xul
rename : dom/tests/mochitest/chrome/test_bug799299.xhtml => dom/tests/mochitest/chrome/test_bug799299.xul
rename : dom/tests/mochitest/chrome/test_bug800817.xhtml => dom/tests/mochitest/chrome/test_bug800817.xul
rename : dom/tests/mochitest/chrome/test_bug830858.xhtml => dom/tests/mochitest/chrome/test_bug830858.xul
rename : dom/tests/mochitest/chrome/test_callback_wrapping.xhtml => dom/tests/mochitest/chrome/test_callback_wrapping.xul
rename : dom/tests/mochitest/chrome/test_clonewrapper.xhtml => dom/tests/mochitest/chrome/test_clonewrapper.xul
rename : dom/tests/mochitest/chrome/test_cyclecollector.xhtml => dom/tests/mochitest/chrome/test_cyclecollector.xul
rename : dom/tests/mochitest/chrome/test_docshell_swap.xhtml => dom/tests/mochitest/chrome/test_docshell_swap.xul
rename : dom/tests/mochitest/chrome/test_elements_proto.xhtml => dom/tests/mochitest/chrome/test_elements_proto.xul
rename : dom/tests/mochitest/chrome/test_focus.xhtml => dom/tests/mochitest/chrome/test_focus.xul
rename : dom/tests/mochitest/chrome/test_focus_docnav.xhtml => dom/tests/mochitest/chrome/test_focus_docnav.xul
rename : dom/tests/mochitest/chrome/test_focused_link_scroll.xhtml => dom/tests/mochitest/chrome/test_focused_link_scroll.xul
rename : dom/tests/mochitest/chrome/test_fullscreen.xhtml => dom/tests/mochitest/chrome/test_fullscreen.xul
rename : dom/tests/mochitest/chrome/test_geolocation.xhtml => dom/tests/mochitest/chrome/test_geolocation.xul
rename : dom/tests/mochitest/chrome/test_moving_nodeList.xhtml => dom/tests/mochitest/chrome/test_moving_nodeList.xul
rename : dom/tests/mochitest/chrome/test_moving_xhr.xhtml => dom/tests/mochitest/chrome/test_moving_xhr.xul
rename : dom/tests/mochitest/chrome/test_popup_blocker_chrome.xhtml => dom/tests/mochitest/chrome/test_popup_blocker_chrome.xul
rename : dom/tests/mochitest/chrome/test_resize_move_windows.xhtml => dom/tests/mochitest/chrome/test_resize_move_windows.xul
rename : dom/tests/mochitest/chrome/test_sandbox_bindings.xhtml => dom/tests/mochitest/chrome/test_sandbox_bindings.xul
rename : dom/tests/mochitest/chrome/test_sandbox_eventhandler.xhtml => dom/tests/mochitest/chrome/test_sandbox_eventhandler.xul
rename : dom/tests/mochitest/chrome/test_sandbox_image.xhtml => dom/tests/mochitest/chrome/test_sandbox_image.xul
rename : dom/tests/mochitest/chrome/test_sizemode_attribute.xhtml => dom/tests/mochitest/chrome/test_sizemode_attribute.xul
rename : dom/tests/mochitest/chrome/test_subscript_bindings.xhtml => dom/tests/mochitest/chrome/test_subscript_bindings.xul
rename : dom/tests/mochitest/chrome/test_xray_event_constructor.xhtml => dom/tests/mochitest/chrome/test_xray_event_constructor.xul
rename : dom/tests/mochitest/chrome/window_activation.xhtml => dom/tests/mochitest/chrome/window_activation.xul
rename : dom/tests/mochitest/chrome/window_callback_wrapping.xhtml => dom/tests/mochitest/chrome/window_callback_wrapping.xul
rename : dom/tests/mochitest/chrome/window_docshell_swap.xhtml => dom/tests/mochitest/chrome/window_docshell_swap.xul
rename : dom/tests/mochitest/chrome/window_focus.xhtml => dom/tests/mochitest/chrome/window_focus.xul
rename : dom/tests/mochitest/chrome/window_focus_docnav.xhtml => dom/tests/mochitest/chrome/window_focus_docnav.xul
rename : dom/tests/mochitest/chrome/window_focus_inner.xhtml => dom/tests/mochitest/chrome/window_focus_inner.xul
rename : dom/tests/mochitest/general/test_focusrings.xhtml => dom/tests/mochitest/general/test_focusrings.xul
rename : dom/tests/mochitest/general/test_innerScreen.xhtml => dom/tests/mochitest/general/test_innerScreen.xul
rename : dom/tests/mochitest/general/test_nodeAdoption_chrome_boundary.xhtml => dom/tests/mochitest/general/test_nodeAdoption_chrome_boundary.xul
rename : dom/tests/mochitest/general/test_offsets.xhtml => dom/tests/mochitest/general/test_offsets.xul
rename : dom/tests/mochitest/keyhandling/test_browser.xhtml => dom/tests/mochitest/keyhandling/test_browser.xul
rename : dom/tests/mochitest/keyhandling/test_editor.xhtml => dom/tests/mochitest/keyhandling/test_editor.xul
rename : dom/tests/mochitest/keyhandling/test_windowed.xhtml => dom/tests/mochitest/keyhandling/test_windowed.xul
rename : dom/tests/mochitest/webcomponents/test_xul_custom_element.xhtml => dom/tests/mochitest/webcomponents/test_xul_custom_element.xul
rename : dom/url/tests/test_bug883784.xhtml => dom/url/tests/test_bug883784.xul
rename : dom/url/tests/test_url.xhtml => dom/url/tests/test_url.xul
rename : dom/url/tests/test_worker_url.xhtml => dom/url/tests/test_worker_url.xul
rename : dom/workers/test/test_WorkerDebugger.initialize.xhtml => dom/workers/test/test_WorkerDebugger.initialize.xul
rename : dom/workers/test/test_WorkerDebugger.postMessage.xhtml => dom/workers/test/test_WorkerDebugger.postMessage.xul
rename : dom/workers/test/test_WorkerDebugger.xhtml => dom/workers/test/test_WorkerDebugger.xul
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.createSandbox.xhtml => dom/workers/test/test_WorkerDebuggerGlobalScope.createSandbox.xul
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.enterEventLoop.xhtml => dom/workers/test/test_WorkerDebuggerGlobalScope.enterEventLoop.xul
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.reportError.xhtml => dom/workers/test/test_WorkerDebuggerGlobalScope.reportError.xul
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.setImmediate.xhtml => dom/workers/test/test_WorkerDebuggerGlobalScope.setImmediate.xul
rename : dom/workers/test/test_WorkerDebuggerManager.xhtml => dom/workers/test/test_WorkerDebuggerManager.xul
rename : dom/workers/test/test_WorkerDebugger_console.xhtml => dom/workers/test/test_WorkerDebugger_console.xul
rename : dom/workers/test/test_WorkerDebugger_frozen.xhtml => dom/workers/test/test_WorkerDebugger_frozen.xul
rename : dom/workers/test/test_WorkerDebugger_promise.xhtml => dom/workers/test/test_WorkerDebugger_promise.xul
rename : dom/workers/test/test_WorkerDebugger_suspended.xhtml => dom/workers/test/test_WorkerDebugger_suspended.xul
rename : dom/workers/test/test_bug1062920.xhtml => dom/workers/test/test_bug1062920.xul
rename : dom/workers/test/test_chromeWorker.xhtml => dom/workers/test/test_chromeWorker.xul
rename : dom/workers/test/test_chromeWorkerJSM.xhtml => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/workers/test/test_file.xhtml => dom/workers/test/test_file.xul
rename : dom/workers/test/test_fileBlobPosting.xhtml => dom/workers/test/test_fileBlobPosting.xul
rename : dom/workers/test/test_fileBlobSubWorker.xhtml => dom/workers/test/test_fileBlobSubWorker.xul
rename : dom/workers/test/test_filePosting.xhtml => dom/workers/test/test_filePosting.xul
rename : dom/workers/test/test_fileReadSlice.xhtml => dom/workers/test/test_fileReadSlice.xul
rename : dom/workers/test/test_fileReaderSync.xhtml => dom/workers/test/test_fileReaderSync.xul
rename : dom/workers/test/test_fileReaderSyncErrors.xhtml => dom/workers/test/test_fileReaderSyncErrors.xul
rename : dom/workers/test/test_fileSlice.xhtml => dom/workers/test/test_fileSlice.xul
rename : dom/workers/test/test_fileSubWorker.xhtml => dom/workers/test/test_fileSubWorker.xul
rename : dom/workers/test/test_shutdownCheck.xhtml => dom/workers/test/test_shutdownCheck.xul
rename : dom/xml/crashtests/382636-4.xhtml => dom/xml/crashtests/382636-4.xul
rename : dom/xml/crashtests/420429.xhtml => dom/xml/crashtests/420429.xul
rename : dom/xslt/tests/XSLTMark/XSLTMark.xhtml => dom/xslt/tests/XSLTMark/XSLTMark.xul
rename : dom/xul/crashtests/253479-1.xhtml => dom/xul/crashtests/253479-1.xul
rename : dom/xul/crashtests/253479-2.xhtml => dom/xul/crashtests/253479-2.xul
rename : dom/xul/crashtests/326204-1.xhtml => dom/xul/crashtests/326204-1.xul
rename : dom/xul/crashtests/326644-1-inner.xhtml => dom/xul/crashtests/326644-1-inner.xul
rename : dom/xul/crashtests/326875-1.xhtml => dom/xul/crashtests/326875-1.xul
rename : dom/xul/crashtests/344215-1.xhtml => dom/xul/crashtests/344215-1.xul
rename : dom/xul/crashtests/363791-1.xhtml => dom/xul/crashtests/363791-1.xul
rename : dom/xul/crashtests/384877-1-inner.xhtml => dom/xul/crashtests/384877-1-inner.xul
rename : dom/xul/crashtests/386914-1-inner.xhtml => dom/xul/crashtests/386914-1-inner.xul
rename : dom/xul/crashtests/425821-1.xhtml => dom/xul/crashtests/425821-1.xul
rename : dom/xul/crashtests/428951-1.xhtml => dom/xul/crashtests/428951-1.xul
rename : dom/xul/crashtests/431906-1-inner.xhtml => dom/xul/crashtests/431906-1-inner.xul
rename : dom/xul/test/398289-resource.xhtml => dom/xul/test/398289-resource.xul
rename : dom/xul/test/test_bug1070049_throw_from_script.xhtml => dom/xul/test/test_bug1070049_throw_from_script.xul
rename : dom/xul/test/test_bug1290965.xhtml => dom/xul/test/test_bug1290965.xul
rename : dom/xul/test/test_bug199692.xhtml => dom/xul/test/test_bug199692.xul
rename : dom/xul/test/test_bug311681.xhtml => dom/xul/test/test_bug311681.xul
rename : dom/xul/test/test_bug391002.xhtml => dom/xul/test/test_bug391002.xul
rename : dom/xul/test/test_bug403868.xhtml => dom/xul/test/test_bug403868.xul
rename : dom/xul/test/test_bug418216.xhtml => dom/xul/test/test_bug418216.xul
rename : dom/xul/test/test_bug445177.xhtml => dom/xul/test/test_bug445177.xul
rename : dom/xul/test/test_bug449457.xhtml => dom/xul/test/test_bug449457.xul
rename : dom/xul/test/test_bug468176.xhtml => dom/xul/test/test_bug468176.xul
rename : dom/xul/test/test_bug583948.xhtml => dom/xul/test/test_bug583948.xul
rename : dom/xul/test/test_bug749367.xhtml => dom/xul/test/test_bug749367.xul
rename : dom/xul/test/test_bug757137.xhtml => dom/xul/test/test_bug757137.xul
rename : dom/xul/test/test_bug775972.xhtml => dom/xul/test/test_bug775972.xul
rename : dom/xul/test/test_html_template.xhtml => dom/xul/test/test_html_template.xul
rename : dom/xul/test/test_import_xul_to_content.xhtml => dom/xul/test/test_import_xul_to_content.xul
rename : dom/xul/test/window_bug583948.xhtml => dom/xul/test/window_bug583948.xul
rename : dom/xul/test/window_bug757137.xhtml => dom/xul/test/window_bug757137.xul
2019-11-26 04:38:55 +02:00
Emma Malysz fae60e41e9 Bug 1595908, replace .xul test files in dom/ to .xhtml r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D52775

--HG--
rename : dom/base/crashtests/1027461-inner.xul => dom/base/crashtests/1027461-inner.xhtml
rename : dom/base/crashtests/1353529.xul => dom/base/crashtests/1353529.xhtml
rename : dom/base/crashtests/1369363.xul => dom/base/crashtests/1369363.xhtml
rename : dom/base/crashtests/1370968-inner.xul => dom/base/crashtests/1370968-inner.xhtml
rename : dom/base/crashtests/384663-1-inner.xul => dom/base/crashtests/384663-1-inner.xhtml
rename : dom/base/test/chrome/cpows_parent.xul => dom/base/test/chrome/cpows_parent.xhtml
rename : dom/base/test/chrome/file_bug1139964.xul => dom/base/test/chrome/file_bug1139964.xhtml
rename : dom/base/test/chrome/file_bug1209621.xul => dom/base/test/chrome/file_bug1209621.xhtml
rename : dom/base/test/chrome/file_bug549682.xul => dom/base/test/chrome/file_bug549682.xhtml
rename : dom/base/test/chrome/file_bug616841.xul => dom/base/test/chrome/file_bug616841.xhtml
rename : dom/base/test/chrome/file_bug816340.xul => dom/base/test/chrome/file_bug816340.xhtml
rename : dom/base/test/chrome/file_bug990812-1.xul => dom/base/test/chrome/file_bug990812-1.xhtml
rename : dom/base/test/chrome/file_bug990812-2.xul => dom/base/test/chrome/file_bug990812-2.xhtml
rename : dom/base/test/chrome/file_bug990812-3.xul => dom/base/test/chrome/file_bug990812-3.xhtml
rename : dom/base/test/chrome/file_bug990812-4.xul => dom/base/test/chrome/file_bug990812-4.xhtml
rename : dom/base/test/chrome/file_bug990812-5.xul => dom/base/test/chrome/file_bug990812-5.xhtml
rename : dom/base/test/chrome/file_bug990812.xul => dom/base/test/chrome/file_bug990812.xhtml
rename : dom/base/test/chrome/file_document-element-inserted-inner.xul => dom/base/test/chrome/file_document-element-inserted-inner.xhtml
rename : dom/base/test/chrome/file_document-element-inserted.xul => dom/base/test/chrome/file_document-element-inserted.xhtml
rename : dom/base/test/chrome/file_title.xul => dom/base/test/chrome/file_title.xhtml
rename : dom/base/test/chrome/frame_bug814638.xul => dom/base/test/chrome/frame_bug814638.xhtml
rename : dom/base/test/chrome/host_bug814638.xul => dom/base/test/chrome/host_bug814638.xhtml
rename : dom/base/test/chrome/test_bug1063837.xul => dom/base/test/chrome/test_bug1063837.xhtml
rename : dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xul => dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xhtml
rename : dom/base/test/chrome/test_bug1139964.xul => dom/base/test/chrome/test_bug1139964.xhtml
rename : dom/base/test/chrome/test_bug120684.xul => dom/base/test/chrome/test_bug120684.xhtml
rename : dom/base/test/chrome/test_bug1209621.xul => dom/base/test/chrome/test_bug1209621.xhtml
rename : dom/base/test/chrome/test_bug206691.xul => dom/base/test/chrome/test_bug206691.xhtml
rename : dom/base/test/chrome/test_bug289714.xul => dom/base/test/chrome/test_bug289714.xhtml
rename : dom/base/test/chrome/test_bug339494.xul => dom/base/test/chrome/test_bug339494.xhtml
rename : dom/base/test/chrome/test_bug357450.xul => dom/base/test/chrome/test_bug357450.xhtml
rename : dom/base/test/chrome/test_bug418986-1.xul => dom/base/test/chrome/test_bug418986-1.xhtml
rename : dom/base/test/chrome/test_bug421622.xul => dom/base/test/chrome/test_bug421622.xhtml
rename : dom/base/test/chrome/test_bug429785.xul => dom/base/test/chrome/test_bug429785.xhtml
rename : dom/base/test/chrome/test_bug430050.xul => dom/base/test/chrome/test_bug430050.xhtml
rename : dom/base/test/chrome/test_bug467123.xul => dom/base/test/chrome/test_bug467123.xhtml
rename : dom/base/test/chrome/test_bug473284.xul => dom/base/test/chrome/test_bug473284.xhtml
rename : dom/base/test/chrome/test_bug549682.xul => dom/base/test/chrome/test_bug549682.xhtml
rename : dom/base/test/chrome/test_bug571390.xul => dom/base/test/chrome/test_bug571390.xhtml
rename : dom/base/test/chrome/test_bug616841.xul => dom/base/test/chrome/test_bug616841.xhtml
rename : dom/base/test/chrome/test_bug635835.xul => dom/base/test/chrome/test_bug635835.xhtml
rename : dom/base/test/chrome/test_bug683852.xul => dom/base/test/chrome/test_bug683852.xhtml
rename : dom/base/test/chrome/test_bug752226-3.xul => dom/base/test/chrome/test_bug752226-3.xhtml
rename : dom/base/test/chrome/test_bug752226-4.xul => dom/base/test/chrome/test_bug752226-4.xhtml
rename : dom/base/test/chrome/test_bug780199.xul => dom/base/test/chrome/test_bug780199.xhtml
rename : dom/base/test/chrome/test_bug780529.xul => dom/base/test/chrome/test_bug780529.xhtml
rename : dom/base/test/chrome/test_bug800386.xul => dom/base/test/chrome/test_bug800386.xhtml
rename : dom/base/test/chrome/test_bug814638.xul => dom/base/test/chrome/test_bug814638.xhtml
rename : dom/base/test/chrome/test_bug816340.xul => dom/base/test/chrome/test_bug816340.xhtml
rename : dom/base/test/chrome/test_bug884693.xul => dom/base/test/chrome/test_bug884693.xhtml
rename : dom/base/test/chrome/test_bug990812.xul => dom/base/test/chrome/test_bug990812.xhtml
rename : dom/base/test/chrome/test_chromeOuterWindowID.xul => dom/base/test/chrome/test_chromeOuterWindowID.xhtml
rename : dom/base/test/chrome/test_cpows.xul => dom/base/test/chrome/test_cpows.xhtml
rename : dom/base/test/chrome/test_custom_element_content.xul => dom/base/test/chrome/test_custom_element_content.xhtml
rename : dom/base/test/chrome/test_custom_element_ep.xul => dom/base/test/chrome/test_custom_element_ep.xhtml
rename : dom/base/test/chrome/test_document-element-inserted.xul => dom/base/test/chrome/test_document-element-inserted.xhtml
rename : dom/base/test/chrome/test_domparsing.xul => dom/base/test/chrome/test_domparsing.xhtml
rename : dom/base/test/chrome/test_fileconstructor.xul => dom/base/test/chrome/test_fileconstructor.xhtml
rename : dom/base/test/chrome/test_nsITextInputProcessor.xul => dom/base/test/chrome/test_nsITextInputProcessor.xhtml
rename : dom/base/test/chrome/test_permission_isHandlingUserInput.xul => dom/base/test/chrome/test_permission_isHandlingUserInput.xhtml
rename : dom/base/test/chrome/test_swapFrameLoaders.xul => dom/base/test/chrome/test_swapFrameLoaders.xhtml
rename : dom/base/test/chrome/test_title.xul => dom/base/test/chrome/test_title.xhtml
rename : dom/base/test/chrome/test_windowroot.xul => dom/base/test/chrome/test_windowroot.xhtml
rename : dom/base/test/chrome/title_window.xul => dom/base/test/chrome/title_window.xhtml
rename : dom/base/test/chrome/window_chromeOuterWindowID.xul => dom/base/test/chrome/window_chromeOuterWindowID.xhtml
rename : dom/base/test/chrome/window_nsITextInputProcessor.xul => dom/base/test/chrome/window_nsITextInputProcessor.xhtml
rename : dom/base/test/chrome/window_swapFrameLoaders.xul => dom/base/test/chrome/window_swapFrameLoaders.xhtml
rename : dom/base/test/file_navigator_resolve_identity_xrays.xul => dom/base/test/file_navigator_resolve_identity_xrays.xhtml
rename : dom/base/test/chrome/file_title.xul => dom/base/test/file_title.xhtml
rename : dom/base/test/test_anonymousContent_xul_window.xul => dom/base/test/test_anonymousContent_xul_window.xhtml
rename : dom/base/test/test_domrequesthelper.xul => dom/base/test/test_domrequesthelper.xhtml
rename : dom/base/test/test_fragment_sanitization.xul => dom/base/test/test_fragment_sanitization.xhtml
rename : dom/base/test/test_navigator_resolve_identity_xrays.xul => dom/base/test/test_navigator_resolve_identity_xrays.xhtml
rename : dom/base/test/unit/nodelist_data_2.xul => dom/base/test/unit/nodelist_data_2.xhtml
rename : dom/bindings/test/test_bug1123516_maplikesetlikechrome.xul => dom/bindings/test/test_bug1123516_maplikesetlikechrome.xhtml
rename : dom/console/tests/test_console.xul => dom/console/tests/test_console.xhtml
rename : dom/console/tests/test_jsm.xul => dom/console/tests/test_jsm.xhtml
rename : dom/encoding/test/test_stringencoding.xul => dom/encoding/test/test_stringencoding.xhtml
rename : dom/events/test/bug591249_iframe.xul => dom/events/test/bug591249_iframe.xhtml
rename : dom/events/test/bug602962.xul => dom/events/test/bug602962.xhtml
rename : dom/events/test/test_bug1412775.xul => dom/events/test/test_bug1412775.xhtml
rename : dom/events/test/test_bug336682_2.xul => dom/events/test/test_bug336682_2.xhtml
rename : dom/events/test/test_bug415498.xul => dom/events/test/test_bug415498.xhtml
rename : dom/events/test/test_bug418986-3.xul => dom/events/test/test_bug418986-3.xhtml
rename : dom/events/test/test_bug524674.xul => dom/events/test/test_bug524674.xhtml
rename : dom/events/test/test_bug586961.xul => dom/events/test/test_bug586961.xhtml
rename : dom/events/test/test_bug591249.xul => dom/events/test/test_bug591249.xhtml
rename : dom/events/test/test_bug602962.xul => dom/events/test/test_bug602962.xhtml
rename : dom/events/test/test_bug617528.xul => dom/events/test/test_bug617528.xhtml
rename : dom/events/test/test_bug679494.xul => dom/events/test/test_bug679494.xhtml
rename : dom/events/test/test_eventctors.xul => dom/events/test/test_eventctors.xhtml
rename : dom/events/test/window_bug1412775.xul => dom/events/test/window_bug1412775.xhtml
rename : dom/events/test/window_bug617528.xul => dom/events/test/window_bug617528.xhtml
rename : dom/indexedDB/test/bug839193.xul => dom/indexedDB/test/bug839193.xhtml
rename : dom/indexedDB/test/test_globalObjects_chrome.xul => dom/indexedDB/test/test_globalObjects_chrome.xhtml
rename : dom/indexedDB/test/test_wrappedArray.xul => dom/indexedDB/test/test_wrappedArray.xhtml
rename : dom/ipc/test.xul => dom/ipc/test.xhtml
rename : dom/ipc/tests/process_error.xul => dom/ipc/tests/process_error.xhtml
rename : dom/ipc/tests/test_process_error.xul => dom/ipc/tests/test_process_error.xhtml
rename : dom/l10n/tests/mochitest/dom_localization/test_domloc.xul => dom/l10n/tests/mochitest/dom_localization/test_domloc.xhtml
rename : dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xul => dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xhtml
rename : dom/messagechannel/tests/mm_messageChannelParent.xul => dom/messagechannel/tests/mm_messageChannelParent.xhtml
rename : dom/messagechannel/tests/mm_messageChannelParentNotRemote.xul => dom/messagechannel/tests/mm_messageChannelParentNotRemote.xhtml
rename : dom/messagechannel/tests/test_messageChannel.xul => dom/messagechannel/tests/test_messageChannel.xhtml
rename : dom/messagechannel/tests/test_messageChannelWithMessageManager.xul => dom/messagechannel/tests/test_messageChannelWithMessageManager.xhtml
rename : dom/messagechannel/tests/test_messageChannelWithMessageManagerNotRemote.xul => dom/messagechannel/tests/test_messageChannelWithMessageManagerNotRemote.xhtml
rename : dom/notification/test/chrome/test_notification_system_principal.xul => dom/notification/test/chrome/test_notification_system_principal.xhtml
rename : dom/plugins/test/mochitest/privatemode_perwindowpb.xul => dom/plugins/test/mochitest/privatemode_perwindowpb.xhtml
rename : dom/plugins/test/mochitest/test_bug479979.xul => dom/plugins/test/mochitest/test_bug479979.xhtml
rename : dom/plugins/test/mochitest/test_busy_hang.xul => dom/plugins/test/mochitest/test_busy_hang.xhtml
rename : dom/plugins/test/mochitest/test_convertpoint.xul => dom/plugins/test/mochitest/test_convertpoint.xhtml
rename : dom/plugins/test/mochitest/test_crash_notify.xul => dom/plugins/test/mochitest/test_crash_notify.xhtml
rename : dom/plugins/test/mochitest/test_crash_notify_no_report.xul => dom/plugins/test/mochitest/test_crash_notify_no_report.xhtml
rename : dom/plugins/test/mochitest/test_crash_submit.xul => dom/plugins/test/mochitest/test_crash_submit.xhtml
rename : dom/plugins/test/mochitest/test_hang_submit.xul => dom/plugins/test/mochitest/test_hang_submit.xhtml
rename : dom/plugins/test/mochitest/test_hangui.xul => dom/plugins/test/mochitest/test_hangui.xhtml
rename : dom/plugins/test/mochitest/test_idle_hang.xul => dom/plugins/test/mochitest/test_idle_hang.xhtml
rename : dom/plugins/test/mochitest/test_npruntime.xul => dom/plugins/test/mochitest/test_npruntime.xhtml
rename : dom/plugins/test/mochitest/test_privatemode_perwindowpb.xul => dom/plugins/test/mochitest/test_privatemode_perwindowpb.xhtml
rename : dom/plugins/test/mochitest/test_wmode.xul => dom/plugins/test/mochitest/test_wmode.xhtml
rename : dom/plugins/test/mochitest/test_xulbrowser_plugin_visibility.xul => dom/plugins/test/mochitest/test_xulbrowser_plugin_visibility.xhtml
rename : dom/plugins/test/mochitest/xulbrowser_plugin_visibility.xul => dom/plugins/test/mochitest/xulbrowser_plugin_visibility.xhtml
rename : dom/security/test/general/test_bug1277803.xul => dom/security/test/general/test_bug1277803.xhtml
rename : dom/serviceworkers/test/test_serviceworkerinfo.xul => dom/serviceworkers/test/test_serviceworkerinfo.xhtml
rename : dom/serviceworkers/test/test_serviceworkermanager.xul => dom/serviceworkers/test/test_serviceworkermanager.xhtml
rename : dom/serviceworkers/test/test_serviceworkerregistrationinfo.xul => dom/serviceworkers/test/test_serviceworkerregistrationinfo.xhtml
rename : dom/svg/crashtests/385554-2.xul => dom/svg/crashtests/385554-2.xhtml
rename : dom/system/tests/test_constants.xul => dom/system/tests/test_constants.xhtml
rename : dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xul => dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xhtml
rename : dom/tests/mochitest/chrome/MozDomFullscreen_chrome.xul => dom/tests/mochitest/chrome/MozDomFullscreen_chrome.xhtml
rename : dom/tests/mochitest/chrome/file_DOM_element_instanceof.xul => dom/tests/mochitest/chrome/file_DOM_element_instanceof.xhtml
rename : dom/tests/mochitest/chrome/file_bug1224790-1_modal.xul => dom/tests/mochitest/chrome/file_bug1224790-1_modal.xhtml
rename : dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xul => dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xhtml
rename : dom/tests/mochitest/chrome/file_bug1224790-2_modal.xul => dom/tests/mochitest/chrome/file_bug1224790-2_modal.xhtml
rename : dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xul => dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xhtml
rename : dom/tests/mochitest/chrome/file_bug799299.xul => dom/tests/mochitest/chrome/file_bug799299.xhtml
rename : dom/tests/mochitest/chrome/file_bug800817.xul => dom/tests/mochitest/chrome/file_bug800817.xhtml
rename : dom/tests/mochitest/chrome/file_bug830858.xul => dom/tests/mochitest/chrome/file_bug830858.xhtml
rename : dom/tests/mochitest/chrome/focus_window2.xul => dom/tests/mochitest/chrome/focus_window2.xhtml
rename : dom/tests/mochitest/chrome/fullscreen.xul => dom/tests/mochitest/chrome/fullscreen.xhtml
rename : dom/tests/mochitest/chrome/sizemode_attribute.xul => dom/tests/mochitest/chrome/sizemode_attribute.xhtml
rename : dom/tests/mochitest/chrome/test_DOMWindowCreated.xul => dom/tests/mochitest/chrome/test_DOMWindowCreated.xhtml
rename : dom/tests/mochitest/chrome/test_DOM_element_instanceof.xul => dom/tests/mochitest/chrome/test_DOM_element_instanceof.xhtml
rename : dom/tests/mochitest/chrome/test_MozDomFullscreen_event.xul => dom/tests/mochitest/chrome/test_MozDomFullscreen_event.xhtml
rename : dom/tests/mochitest/chrome/test_activation.xul => dom/tests/mochitest/chrome/test_activation.xhtml
rename : dom/tests/mochitest/chrome/test_bug1224790-1.xul => dom/tests/mochitest/chrome/test_bug1224790-1.xhtml
rename : dom/tests/mochitest/chrome/test_bug1224790-2.xul => dom/tests/mochitest/chrome/test_bug1224790-2.xhtml
rename : dom/tests/mochitest/chrome/test_bug799299.xul => dom/tests/mochitest/chrome/test_bug799299.xhtml
rename : dom/tests/mochitest/chrome/test_bug800817.xul => dom/tests/mochitest/chrome/test_bug800817.xhtml
rename : dom/tests/mochitest/chrome/test_bug830858.xul => dom/tests/mochitest/chrome/test_bug830858.xhtml
rename : dom/tests/mochitest/chrome/test_callback_wrapping.xul => dom/tests/mochitest/chrome/test_callback_wrapping.xhtml
rename : dom/tests/mochitest/chrome/test_clonewrapper.xul => dom/tests/mochitest/chrome/test_clonewrapper.xhtml
rename : dom/tests/mochitest/chrome/test_cyclecollector.xul => dom/tests/mochitest/chrome/test_cyclecollector.xhtml
rename : dom/tests/mochitest/chrome/test_docshell_swap.xul => dom/tests/mochitest/chrome/test_docshell_swap.xhtml
rename : dom/tests/mochitest/chrome/test_elements_proto.xul => dom/tests/mochitest/chrome/test_elements_proto.xhtml
rename : dom/tests/mochitest/chrome/test_focus.xul => dom/tests/mochitest/chrome/test_focus.xhtml
rename : dom/tests/mochitest/chrome/test_focus_docnav.xul => dom/tests/mochitest/chrome/test_focus_docnav.xhtml
rename : dom/tests/mochitest/chrome/test_focused_link_scroll.xul => dom/tests/mochitest/chrome/test_focused_link_scroll.xhtml
rename : dom/tests/mochitest/chrome/test_fullscreen.xul => dom/tests/mochitest/chrome/test_fullscreen.xhtml
rename : dom/tests/mochitest/chrome/test_geolocation.xul => dom/tests/mochitest/chrome/test_geolocation.xhtml
rename : dom/tests/mochitest/chrome/test_moving_nodeList.xul => dom/tests/mochitest/chrome/test_moving_nodeList.xhtml
rename : dom/tests/mochitest/chrome/test_moving_xhr.xul => dom/tests/mochitest/chrome/test_moving_xhr.xhtml
rename : dom/tests/mochitest/chrome/test_popup_blocker_chrome.xul => dom/tests/mochitest/chrome/test_popup_blocker_chrome.xhtml
rename : dom/tests/mochitest/chrome/test_resize_move_windows.xul => dom/tests/mochitest/chrome/test_resize_move_windows.xhtml
rename : dom/tests/mochitest/chrome/test_sandbox_bindings.xul => dom/tests/mochitest/chrome/test_sandbox_bindings.xhtml
rename : dom/tests/mochitest/chrome/test_sandbox_eventhandler.xul => dom/tests/mochitest/chrome/test_sandbox_eventhandler.xhtml
rename : dom/tests/mochitest/chrome/test_sandbox_image.xul => dom/tests/mochitest/chrome/test_sandbox_image.xhtml
rename : dom/tests/mochitest/chrome/test_sizemode_attribute.xul => dom/tests/mochitest/chrome/test_sizemode_attribute.xhtml
rename : dom/tests/mochitest/chrome/test_subscript_bindings.xul => dom/tests/mochitest/chrome/test_subscript_bindings.xhtml
rename : dom/tests/mochitest/chrome/test_xray_event_constructor.xul => dom/tests/mochitest/chrome/test_xray_event_constructor.xhtml
rename : dom/tests/mochitest/chrome/window_activation.xul => dom/tests/mochitest/chrome/window_activation.xhtml
rename : dom/tests/mochitest/chrome/window_callback_wrapping.xul => dom/tests/mochitest/chrome/window_callback_wrapping.xhtml
rename : dom/tests/mochitest/chrome/window_docshell_swap.xul => dom/tests/mochitest/chrome/window_docshell_swap.xhtml
rename : dom/tests/mochitest/chrome/window_focus.xul => dom/tests/mochitest/chrome/window_focus.xhtml
rename : dom/tests/mochitest/chrome/window_focus_docnav.xul => dom/tests/mochitest/chrome/window_focus_docnav.xhtml
rename : dom/tests/mochitest/chrome/window_focus_inner.xul => dom/tests/mochitest/chrome/window_focus_inner.xhtml
rename : dom/tests/mochitest/general/test_focusrings.xul => dom/tests/mochitest/general/test_focusrings.xhtml
rename : dom/tests/mochitest/general/test_innerScreen.xul => dom/tests/mochitest/general/test_innerScreen.xhtml
rename : dom/tests/mochitest/general/test_nodeAdoption_chrome_boundary.xul => dom/tests/mochitest/general/test_nodeAdoption_chrome_boundary.xhtml
rename : dom/tests/mochitest/general/test_offsets.xul => dom/tests/mochitest/general/test_offsets.xhtml
rename : dom/tests/mochitest/keyhandling/test_browser.xul => dom/tests/mochitest/keyhandling/test_browser.xhtml
rename : dom/tests/mochitest/keyhandling/test_editor.xul => dom/tests/mochitest/keyhandling/test_editor.xhtml
rename : dom/tests/mochitest/keyhandling/test_windowed.xul => dom/tests/mochitest/keyhandling/test_windowed.xhtml
rename : dom/tests/mochitest/webcomponents/test_xul_custom_element.xul => dom/tests/mochitest/webcomponents/test_xul_custom_element.xhtml
rename : dom/url/tests/test_bug883784.xul => dom/url/tests/test_bug883784.xhtml
rename : dom/url/tests/test_url.xul => dom/url/tests/test_url.xhtml
rename : dom/url/tests/test_worker_url.xul => dom/url/tests/test_worker_url.xhtml
rename : dom/workers/test/test_WorkerDebugger.initialize.xul => dom/workers/test/test_WorkerDebugger.initialize.xhtml
rename : dom/workers/test/test_WorkerDebugger.postMessage.xul => dom/workers/test/test_WorkerDebugger.postMessage.xhtml
rename : dom/workers/test/test_WorkerDebugger.xul => dom/workers/test/test_WorkerDebugger.xhtml
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.createSandbox.xul => dom/workers/test/test_WorkerDebuggerGlobalScope.createSandbox.xhtml
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.enterEventLoop.xul => dom/workers/test/test_WorkerDebuggerGlobalScope.enterEventLoop.xhtml
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.reportError.xul => dom/workers/test/test_WorkerDebuggerGlobalScope.reportError.xhtml
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.setImmediate.xul => dom/workers/test/test_WorkerDebuggerGlobalScope.setImmediate.xhtml
rename : dom/workers/test/test_WorkerDebuggerManager.xul => dom/workers/test/test_WorkerDebuggerManager.xhtml
rename : dom/workers/test/test_WorkerDebugger_console.xul => dom/workers/test/test_WorkerDebugger_console.xhtml
rename : dom/workers/test/test_WorkerDebugger_frozen.xul => dom/workers/test/test_WorkerDebugger_frozen.xhtml
rename : dom/workers/test/test_WorkerDebugger_promise.xul => dom/workers/test/test_WorkerDebugger_promise.xhtml
rename : dom/workers/test/test_WorkerDebugger_suspended.xul => dom/workers/test/test_WorkerDebugger_suspended.xhtml
rename : dom/workers/test/test_bug1062920.xul => dom/workers/test/test_bug1062920.xhtml
rename : dom/workers/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xhtml
rename : dom/workers/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xhtml
rename : dom/workers/test/test_file.xul => dom/workers/test/test_file.xhtml
rename : dom/workers/test/test_fileBlobPosting.xul => dom/workers/test/test_fileBlobPosting.xhtml
rename : dom/workers/test/test_fileBlobSubWorker.xul => dom/workers/test/test_fileBlobSubWorker.xhtml
rename : dom/workers/test/test_filePosting.xul => dom/workers/test/test_filePosting.xhtml
rename : dom/workers/test/test_fileReadSlice.xul => dom/workers/test/test_fileReadSlice.xhtml
rename : dom/workers/test/test_fileReaderSync.xul => dom/workers/test/test_fileReaderSync.xhtml
rename : dom/workers/test/test_fileReaderSyncErrors.xul => dom/workers/test/test_fileReaderSyncErrors.xhtml
rename : dom/workers/test/test_fileSlice.xul => dom/workers/test/test_fileSlice.xhtml
rename : dom/workers/test/test_fileSubWorker.xul => dom/workers/test/test_fileSubWorker.xhtml
rename : dom/workers/test/test_shutdownCheck.xul => dom/workers/test/test_shutdownCheck.xhtml
rename : dom/xml/crashtests/382636-4.xul => dom/xml/crashtests/382636-4.xhtml
rename : dom/xml/crashtests/420429.xul => dom/xml/crashtests/420429.xhtml
rename : dom/xslt/tests/XSLTMark/XSLTMark.xul => dom/xslt/tests/XSLTMark/XSLTMark.xhtml
rename : dom/xul/crashtests/253479-1.xul => dom/xul/crashtests/253479-1.xhtml
rename : dom/xul/crashtests/253479-2.xul => dom/xul/crashtests/253479-2.xhtml
rename : dom/xul/crashtests/326204-1.xul => dom/xul/crashtests/326204-1.xhtml
rename : dom/xul/crashtests/326644-1-inner.xul => dom/xul/crashtests/326644-1-inner.xhtml
rename : dom/xul/crashtests/326875-1.xul => dom/xul/crashtests/326875-1.xhtml
rename : dom/xul/crashtests/344215-1.xul => dom/xul/crashtests/344215-1.xhtml
rename : dom/xul/crashtests/363791-1.xul => dom/xul/crashtests/363791-1.xhtml
rename : dom/xul/crashtests/384877-1-inner.xul => dom/xul/crashtests/384877-1-inner.xhtml
rename : dom/xul/crashtests/386914-1-inner.xul => dom/xul/crashtests/386914-1-inner.xhtml
rename : dom/xul/crashtests/425821-1.xul => dom/xul/crashtests/425821-1.xhtml
rename : dom/xul/crashtests/428951-1.xul => dom/xul/crashtests/428951-1.xhtml
rename : dom/xul/crashtests/431906-1-inner.xul => dom/xul/crashtests/431906-1-inner.xhtml
rename : dom/xul/test/398289-resource.xul => dom/xul/test/398289-resource.xhtml
rename : dom/xul/test/test_bug1070049_throw_from_script.xul => dom/xul/test/test_bug1070049_throw_from_script.xhtml
rename : dom/xul/test/test_bug1290965.xul => dom/xul/test/test_bug1290965.xhtml
rename : dom/xul/test/test_bug199692.xul => dom/xul/test/test_bug199692.xhtml
rename : dom/xul/test/test_bug311681.xul => dom/xul/test/test_bug311681.xhtml
rename : dom/xul/test/test_bug391002.xul => dom/xul/test/test_bug391002.xhtml
rename : dom/xul/test/test_bug403868.xul => dom/xul/test/test_bug403868.xhtml
rename : dom/xul/test/test_bug418216.xul => dom/xul/test/test_bug418216.xhtml
rename : dom/xul/test/test_bug445177.xul => dom/xul/test/test_bug445177.xhtml
rename : dom/xul/test/test_bug449457.xul => dom/xul/test/test_bug449457.xhtml
rename : dom/xul/test/test_bug468176.xul => dom/xul/test/test_bug468176.xhtml
rename : dom/xul/test/test_bug583948.xul => dom/xul/test/test_bug583948.xhtml
rename : dom/xul/test/test_bug749367.xul => dom/xul/test/test_bug749367.xhtml
rename : dom/xul/test/test_bug757137.xul => dom/xul/test/test_bug757137.xhtml
rename : dom/xul/test/test_bug775972.xul => dom/xul/test/test_bug775972.xhtml
rename : dom/xul/test/test_html_template.xul => dom/xul/test/test_html_template.xhtml
rename : dom/xul/test/test_import_xul_to_content.xul => dom/xul/test/test_import_xul_to_content.xhtml
rename : dom/xul/test/window_bug583948.xul => dom/xul/test/window_bug583948.xhtml
rename : dom/xul/test/window_bug757137.xul => dom/xul/test/window_bug757137.xhtml
extra : moz-landing-system : lando
2019-11-26 00:38:44 +00:00
Simon Giesecke a715570cd9 Bug 1599114 - Allow StrongOrRawPtr to accept RefPtr. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D54533

--HG--
extra : moz-landing-system : lando
2019-11-25 16:33:38 +00:00
Jon Coppeard 38be2e615e Bug 1597543 - Don't try and associate memory if we failed to create the reflector object r=bzbarsky
The problem is we're still calling JS::AddAssociatedMemory with a null object pointer. There's an asssertion for this in the JS engine but this doesn't happen in our tests.

Differential Revision: https://phabricator.services.mozilla.com/D53813

--HG--
extra : moz-landing-system : lando
2019-11-19 15:41:31 +00:00
Nazım Can Altınova bc87c9100f Bug 1468789 - Part 1: Add window id inside realm creation options. r=jandem,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D51859

--HG--
extra : moz-landing-system : lando
2019-11-14 12:26:25 +00:00
Boris Zbarsky 18bee19d2c Bug 1594304. Add deprecation notes to methods that allow throwing a bare nsresult with no useful message. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D53092

--HG--
extra : moz-landing-system : lando
2019-11-14 22:51:21 +00:00
Anne van Kesteren c9d5a9bd8a Bug 1594981 - improve BUG_COMPONENT in various moz.build files r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53024

--HG--
extra : moz-landing-system : lando
2019-11-14 15:44:32 +00:00
Boris Zbarsky 93a34e5934 Bug 1595890 part 3. Remove xpc::IsContentXBLCompartment and its various callsites. r=bholley
It always returns false.

Differential Revision: https://phabricator.services.mozilla.com/D52746

--HG--
extra : moz-landing-system : lando
2019-11-14 05:20:18 +00:00
Sid Vishnoi bd713fe4ee Bug 1594306 - Rename nsGeo* files to match the WebIDL interfaces r=marcosc
Rename nsGeolocation to Geolocation.
Split nsGeoPostion to GeolocationPosition and GeolocationCoordinates.
Fix some include guards and comments referencing outdated interfaces.

Differential Revision: https://phabricator.services.mozilla.com/D52515

--HG--
rename : dom/geolocation/nsGeolocation.cpp => dom/geolocation/Geolocation.cpp
rename : dom/geolocation/nsGeolocation.h => dom/geolocation/Geolocation.h
rename : dom/geolocation/nsGeoPosition.cpp => dom/geolocation/GeolocationPosition.cpp
rename : dom/geolocation/nsGeoPosition.h => dom/geolocation/GeolocationPosition.h
extra : moz-landing-system : lando
2019-11-14 04:18:04 +00:00
Mike Hommey d33d08e09e Bug 1596025 - Fix non-determinism with WebIDL aliases. r=bzbarsky
`sorted(aliasedMembers)` looks like it is sorting by `__repr__`, which
contains the address of the object, like `<WebIDL.IDLMethod object at
0x7f83be5d8b50>`.

Differential Revision: https://phabricator.services.mozilla.com/D52821

--HG--
extra : moz-landing-system : lando
2019-11-13 22:11:20 +00:00
Andrew McCreight f922f43922 Bug 1595828 - Fix some include guards. r=froydnj
The formatting change presumably happens because clang-format treats
include guards differently.

Differential Revision: https://phabricator.services.mozilla.com/D52698

--HG--
extra : moz-landing-system : lando
2019-11-12 17:27:20 +00:00
Byron Campen [:bwc] f5e5fe0d20 Bug 1588588: Remove jsimpl for RTCStatsReport, and refactor to prepare for moving some stats functionality to RTCRtpReceiver/Sender. r=smaug,ng
Differential Revision: https://phabricator.services.mozilla.com/D49195

--HG--
extra : moz-landing-system : lando
2019-11-07 23:07:05 +00:00
Edgar Chen 9a7e35c0ce Bug 1594614 - Remove isExposedOnMainThread from IDLExposureMixins; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D52118

--HG--
extra : moz-landing-system : lando
2019-11-07 02:01:18 +00:00
Brian Grinstead d981495450 Bug 1593119 - Remove dom/xbl and the MOZ_XBL build option r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D51338

--HG--
extra : moz-landing-system : lando
2019-11-07 00:35:32 +00:00
Sid Vishnoi 6023989158 Bug 1575144 - Update Geolocation implementation to match latest spec r=baku,marcosc
The Geolocation API specification renamed the following interfaces and removed the [NoInterfaceObject] annotation so that these types are now exposed to script:
* Coordinates -> GeolocationCoordinates
* Position -> GeolocationPosition
* PositionError -> GeolocationPositionError

This is done in response to an effort to remove the [NoInterfaceObject]
annotation from WebIDL.

Additionally, the following interfaces are now only exposed in Secure Contexts:
* GeolocationCoordinates
* GeolocationPosition

Differential Revision: https://phabricator.services.mozilla.com/D51972

--HG--
rename : dom/geolocation/PositionError.cpp => dom/geolocation/GeolocationPositionError.cpp
rename : dom/geolocation/PositionError.h => dom/geolocation/GeolocationPositionError.h
rename : dom/webidl/Coordinates.webidl => dom/webidl/GeolocationCoordinates.webidl
rename : dom/webidl/Position.webidl => dom/webidl/GeolocationPosition.webidl
rename : dom/webidl/PositionError.webidl => dom/webidl/GeolocationPositionError.webidl
extra : moz-landing-system : lando
2019-11-06 12:35:42 +00:00
Boris Zbarsky 3d248ab528 Bug 1592771. Add tests for round-tripping of various external strings through bindings. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D51180

--HG--
extra : moz-landing-system : lando
2019-10-30 22:09:15 +00:00
Boris Zbarsky 733a6ca66b Bug 1591514 part 2. Add assertions to FakeString that its mData is only initialized once and not used before initialization. r=mccr8
Also removes some unused API bits to make the number of entry points smaller
and safer.

Differential Revision: https://phabricator.services.mozilla.com/D50693

--HG--
extra : moz-landing-system : lando
2019-10-29 19:02:42 +00:00
Boris Zbarsky 168fcede40 Bug 1591514 part 1. Change bindings to use actual literal strings for string constants. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D50692

--HG--
extra : moz-landing-system : lando
2019-10-29 00:26:28 +00:00
Boris Zbarsky 84e60db6d8 Bug 1591481 part 2. Don't force copying when external strings are passed to Web IDL bindings. r=mccr8
The codesize impact is approximately 0 (actually positive by a a few KB),
because AssignJSString is not inlined.

If we were to force-inline AssignJSString, that would actually _save_ ~115KB
based on bloaty measurements for linux64 shippable opt builds (so with LTO),
because then ConvertJSValueToString stops being inlined in bindings.
Given that ConvertJSValueToString pretty much always calls AssignJSString, so
there is no slowdown from changing which of them is inlined, this is _really_
tempting to do, but I don't want to mess with compiler inlining heuristics...
Inlining both AssignJSString and ConvertJSValueToString increases codesize by
~2MB, so that's definitely _not_ desirable.

Differential Revision: https://phabricator.services.mozilla.com/D50627

--HG--
extra : moz-landing-system : lando
2019-10-30 15:52:22 +00:00
Boris Zbarsky 40d45356a8 Bug 1591481 part 1. Make NormalizeUSVString fallible. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D50691

--HG--
extra : moz-landing-system : lando
2019-10-29 00:24:10 +00:00
Boris Zbarsky d867da8312 Bug 1588194 part 2. Add missing property use counters to Window. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D49045

--HG--
extra : moz-landing-system : lando
2019-10-29 16:20:49 +00:00
Boris Zbarsky 89b4cac9a3 Bug 1588194 part 1. Factor out the missing property use counter code into helper functions. r=peterv
This incidentally reduces the codesize, while allowing us to call those
functions from elsewhere.  The performance impact of the extra out-of-line call
is not measurable (that is, is within the noise level) on the testcase at
<https://bugzilla.mozilla.org/attachment.cgi?id=9096814>.

Differential Revision: https://phabricator.services.mozilla.com/D49044

--HG--
extra : moz-landing-system : lando
2019-10-29 16:18:44 +00:00
Boris Zbarsky d36e5a4ea5 Bug 1214364 part 4. Only output full-featured Init methods for dictionaries that need them. r=peterv
Dictionaries that we never initialize with JS values don't need a full-featured
Init() method.  Instead, we output a cut-down Init() method that doesn't even
take a JSContext and Value as argument, and skips as much work as it can.  It
uses constant-false for "is the value present?", but also, to avoid compilation
errors due to use of `cx` and `val` in now-dead conversion code, it tells the
native-to-JS conversion machinery that the value is always missing, which lets
it skip most of the the work it would normally try to do and just output
initialization to the default value.  We only need to do this for members that
have default values; the others either remain no-passed or are required members
with no default-initialization behavior.

This saves about 330KB of codesize on Linux64 without PGO and 285KB with PGO.

Differential Revision: https://phabricator.services.mozilla.com/D48007

--HG--
extra : moz-landing-system : lando
2019-10-28 20:24:31 +00:00
Boris Zbarsky 0d2e9ff1f1 Bug 1214364 part 3. Only output ToObjectInternal methods for dictionaries that need it. r=peterv
This saves about 270KB of codesize on Linux64 without LTO, or 20KB with LTO.

The basic idea is that we can flag dictionaries that need to-JS conversion
(hence ToObjectInternal) based on various IDL uses (return value in normal
interface, argument in callback, etc) and then annotate the ones that are
converted to JS manually in C++ code.

The mozwebidlcodegen changes are needed because non-local changes (e.g. whether
a dictionary is used as a return value somewhere) can now affect the code
generation for a dictionary and hence whether the relevant binding file should
be regenerated.  Since these changes can happen in any .webidl file, we need to
check for them.  We can't track this via the dependency set on the dictionary
itself, because that would not notice new uses being added.

Differential Revision: https://phabricator.services.mozilla.com/D48006

--HG--
extra : moz-landing-system : lando
2019-10-28 23:20:11 +00:00
Boris Zbarsky bbc03b9834 Bug 1214364 part 2. Remove the dead code around MethodNotNewObjectError. r=peterv
I don't know when we stopped raising them, but we did at some point.

I am leaving the capability to not generate a union's ToJSVal method, because I will need it soon.

Differential Revision: https://phabricator.services.mozilla.com/D48554

--HG--
extra : moz-landing-system : lando
2019-10-23 18:04:30 +00:00
Boris Zbarsky 3a2aa6f9b1 Bug 1214364 part 1. Only output conversions to/from JSON for dictionaries that need it. r=peterv
This saves about 200KB of codesize on Linux64 without LTO.  No effect with LTO,
but is needed for the following patches to work.

Very few dictionaries need these conversions, so explicit opt-in is fine.

Differential Revision: https://phabricator.services.mozilla.com/D48005

--HG--
extra : moz-landing-system : lando
2019-10-23 15:58:29 +00:00
Kagami Sascha Rosylight 8ae1d6eba9 Bug 1591849 - Support [Pure] for stringifier attributes r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D50795

--HG--
extra : moz-landing-system : lando
2019-10-28 20:39:09 +00:00
Kagami Sascha Rosylight e30a6dbb4a Bug 824857: Support IDL stringifier attributes r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D48355

--HG--
extra : moz-landing-system : lando
2019-10-23 04:55:54 +00:00
Boris Zbarsky a0b4a1fee2 Bug 1582892. Expose the number of strings in a Web IDL enum in a nice way. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D49536

--HG--
extra : moz-landing-system : lando
2019-10-23 03:54:39 +00:00
Daniel Varga ae5334abca Backed out changeset f9a4c8d67be3 (bug 1582892) for build bustage at build/src/dom/console/ConsoleInstance. On a CLOSED TREE 2019-10-23 06:13:54 +03:00
Boris Zbarsky e09da7b0c7 Bug 1582892. Expose the number of strings in a Web IDL enum in a nice way. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D49536

--HG--
extra : moz-landing-system : lando
2019-10-18 03:26:43 +00:00
Boris Zbarsky 6b4b1eb4fb Bug 1589285 part 1. Expose a nicer way to get strings given a Web IDL enum value. r=edgar
Returning a span ensures that consumers don't try to use this without a length,
but does hide the fact that our string is always null-terminated, at least for
the moment...

Differential Revision: https://phabricator.services.mozilla.com/D49531

--HG--
extra : moz-landing-system : lando
2019-10-17 23:20:48 +00:00
Sylvestre Ledru 7c309095ea Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Please note that it is the first reformat with clang-format 9
I only saw a fix in the .mm file

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D49056

--HG--
extra : moz-landing-system : lando
2019-10-21 14:13:44 +00:00
Jan de Mooij 29c575f795 Bug 1586991 part 24 - Don't assume JS atoms are null-terminated in GetArrayIndexFromId. r=bzbarsky
This also adds a GetLinearStringCharAt helper function to simplify GetArrayIndexFromId.

Differential Revision: https://phabricator.services.mozilla.com/D49723

--HG--
extra : moz-landing-system : lando
2019-10-19 17:55:01 +00:00
Boris Zbarsky e7ff63c252 Bug 1582592. Improve the default return type for example codegen's GetParentObject. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D49467

--HG--
extra : moz-landing-system : lando
2019-10-17 22:08:54 +00:00
Boris Zbarsky e68130b666 Bug 1587819. Convert [HTMLConstructor] to being an extended attribute on constructor operations. r=edgar
The changes to the IDL files were done by running this in dom/webidl:

  perl -pi -e 'BEGIN { $/ = undef; } s/\[HTMLConstructor,\n Exposed=Window\]\ninterface ([A-Za-z]+) : HTMLElement \{/[Exposed=Window]\ninterface \1 : HTMLElement {\n  [HTMLConstructor] constructor();\n/g' *.webidl

and then fixing any remaining parser failures.  That involved hand-editing the
following files:

  TestCodeGen.webidl
  XULFrameElement.webidl
  XULMenuElement.webidl
  XULTextElement.webidl
  XULTreeElement.webidl
  HTMLAudioElement.webidl
  HTMLDialogElement.webidl
  HTMLElement.webidl
  HTMLEmbedElement.webidl
  HTMLFormElement.webidl
  HTMLImageElement.webidl
  HTMLObjectElement.webidl
  HTMLOptionElement.webidl
  HTMLSlotElement.webidl
  HTMLVideoElement.webidl
  XULElement.webidl
  XULPopupElement.webidl

Differential Revision: https://phabricator.services.mozilla.com/D49349

--HG--
extra : moz-landing-system : lando
2019-10-17 15:38:39 +00:00
Boris Zbarsky 6a8f96bfba Bug 1588845. Update Other and ArgumentNameKeyword productions in Web IDL parser to spec changes. r=edgar
See https://github.com/heycam/webidl/issues/813

Differential Revision: https://phabricator.services.mozilla.com/D49324

--HG--
extra : moz-landing-system : lando
2019-10-16 09:52:39 +00:00
Boris Zbarsky dd7b61f437 Bug 1568249. Remove all the LegacyQueryInterface machinery from Web IDL. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D48250

--HG--
extra : moz-landing-system : lando
2019-10-11 21:15:57 +00:00
Boris Zbarsky 17e55fc804 Bug 1568883. Remove the QI implementation from Web IDL elements. r=peterv,mossop
The XBL test is being removed because it was the only remaining consumer of
xbl's implements="interfacename" in the tree, and was triggering QI on elements
for that codepath.

I've verified that a try run that MOZ_CRASHes when the C++ binding
QueryInterface implementation is invoked is green with these changes.

Differential Revision: https://phabricator.services.mozilla.com/D48249

--HG--
extra : moz-landing-system : lando
2019-10-11 22:10:20 +00:00
Jan de Mooij 6febd292ea Bug 1586683 - Remove flat strings from JSAPI. r=jwalden,bzbarsky
We want to remove flat strings (JSFlatString). With this patch we only expose
linear strings (JSLinearString) to API consumers.

This is very mechanical for the most part, because code typically only cares
about linear strings and not the null-termination aspect.

CTypes's Library.cpp has some Windows-specific code where we relied on null-terminated
strings. This patch adds JS_CopyStringCharsZ for that use case.

Differential Revision: https://phabricator.services.mozilla.com/D48314

--HG--
extra : moz-landing-system : lando
2019-10-14 09:32:07 +00:00
shindli e7b5981fa2 Backed out 2 changesets (bug 1568883, bug 1568249) for causing c1 failures in dom/base/test/chrome/test_cpows.xul CLOSED TREE
Backed out changeset b1a2422a6fa0 (bug 1568249)
Backed out changeset d3f5f69f38a8 (bug 1568883)
2019-10-12 00:07:48 +03:00
Boris Zbarsky 9c62fd6061 Bug 1585684. Fix error message for permission failures when passing a union member. r=peterv
The new error message is still not great, but it's a lot better than having %s
as the description of what's going on.

Differential Revision: https://phabricator.services.mozilla.com/D47915

--HG--
extra : moz-landing-system : lando
2019-10-09 09:22:05 +00:00
Boris Zbarsky 092c3345a8 Bug 1568249. Remove all the LegacyQueryInterface machinery from Web IDL. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D48250

--HG--
extra : moz-landing-system : lando
2019-10-07 13:12:55 +00:00
Boris Zbarsky 226ca6e774 Bug 1568883. Remove the QI implementation from Web IDL elements. r=peterv,mossop
The XBL test is being removed because it was the only remaining consumer of
xbl's implements="interfacename" in the tree, and was triggering QI on elements
for that codepath.

I've verified that a try run that MOZ_CRASHes when the C++ binding
QueryInterface implementation is invoked is green with these changes.

Differential Revision: https://phabricator.services.mozilla.com/D48249

--HG--
extra : moz-landing-system : lando
2019-10-09 09:19:32 +00:00
Boris Zbarsky 5f2a4a2274 Bug 1584630. Implement missing property use counters for HTMLDocument. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D47504

--HG--
extra : moz-landing-system : lando
2019-10-11 16:56:36 +00:00
Brendan Dahl c68cd30ef2 Bug 1510785 - Only build XBL related code when MOZ_XBL is defined. r=bzbarsky
When XBL is disabled, no code in dom/xbl will be built. Also, adds ifdefs
to remove any of the XBL related code elsewhere. There's definitely more
that can be done here, but I think it's better to wait to do the rest of
the cleanup when we actually remove the code.

Depends on D45612

Differential Revision: https://phabricator.services.mozilla.com/D45613

--HG--
extra : moz-landing-system : lando
2019-10-08 23:52:14 +00:00
Ricky Stewart c010710916 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal
(Same content as bad revision https://phabricator.services.mozilla.com/D48230, but with a very small change to config/external/icu/data/moz.build to fix the build breakage.)

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=833f6a69fcac689488a640b43e8e0bdaa086a56c

Differential Revision: https://phabricator.services.mozilla.com/D48409

--HG--
extra : moz-landing-system : lando
2019-10-07 21:15:19 +00:00
Daniel Varga 052ef806b5 Backed out changeset 8d95f2c8867b (bug 1586358) for build bustage with FATAL ERROR PROCESSING MOZBUILD FILE. On a CLOSED TREE
--HG--
extra : rebase_source : 325fbad2455afc7f693087e75fa57dba79f4d86b
2019-10-07 20:22:08 +03:00
Ricky Stewart 940d91af38 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=nalexander
This patch doesn't remove all references to GENERATED_FILES, but does remove most of them, leaving only those which can't be trivially translated to the new template.

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4a25230c3992b9c5519ceb351fb37f6b2bf605e

Differential Revision: https://phabricator.services.mozilla.com/D48230

--HG--
extra : moz-landing-system : lando
2019-10-07 15:31:05 +00:00
Sylvestre Ledru f12b9fa5c3 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D47737

--HG--
extra : moz-landing-system : lando
2019-10-06 18:29:55 +00:00
Dzmitry Malyshau b91906eeac Bug 1581710 - Update WebGPU IDL bindings r=jgilbert,bzbarsky
This mostly updates the bindings to the current state.
No actual logic backing them yet.

*Note*: the IDL does *not* need to be checked for matching the upstream spec precisely at this stage. The upstream is evolving, we just need to update in order to start integrating the implementation. What needs to be checked is - how C++ represents the IDL, esp with regards to derived classes, events, and hierarchies.

The trickiest points, arguably, are:
  - WebGPU -> GPU prefix change
  - the goop for interfaces that are not final

Differential Revision: https://phabricator.services.mozilla.com/D46166

--HG--
rename : dom/webgpu/InputState.cpp => dom/webgpu/DeviceLostInfo.cpp
rename : dom/webgpu/Fence.h => dom/webgpu/DeviceLostInfo.h
rename : dom/webgpu/BlendState.cpp => dom/webgpu/OutOfMemoryError.cpp
rename : dom/webgpu/LogEntry.h => dom/webgpu/OutOfMemoryError.h
rename : dom/webgpu/BindGroup.h => dom/webgpu/ProgrammablePassEncoder.cpp
rename : dom/webgpu/BlendState.cpp => dom/webgpu/RenderBundle.cpp
rename : dom/webgpu/BlendState.h => dom/webgpu/RenderBundle.h
rename : dom/webgpu/AttachmentState.cpp => dom/webgpu/ValidationError.cpp
rename : dom/webgpu/AttachmentState.h => dom/webgpu/ValidationError.h
extra : moz-landing-system : lando
2019-10-02 16:46:03 +00:00
Boris Zbarsky a1e9012980 Bug 1584009 part 1. Loosen up the check for dictionary-containing-union-containing-dictionary. r=peterv
Since unions can now end up a in binding header, it's only a problem when the
two dictionaries are in one header and the union is in a different one.  If all
three are in the same header, for example, there is no issue.

Differential Revision: https://phabricator.services.mozilla.com/D47195

--HG--
extra : moz-landing-system : lando
2019-10-02 14:16:34 +00:00
Gurzau Raul 1a47fa0d8f Backed out 2 changesets (bug 1584009) for build bustages at MediaTrackConstraints.h on a CLOSED TREE.
Backed out changeset 1693187dbddf (bug 1584009)
Backed out changeset 0932a7fdb46b (bug 1584009)
2019-10-02 17:12:33 +03:00
Boris Zbarsky 860640c3fc Bug 1584009 part 1. Loosen up the check for dictionary-containing-union-containing-dictionary. r=peterv
Since unions can now end up a in binding header, it's only a problem when the
two dictionaries are in one header and the union is in a different one.  If all
three are in the same header, for example, there is no issue.

Differential Revision: https://phabricator.services.mozilla.com/D47195

--HG--
extra : moz-landing-system : lando
2019-10-02 13:10:34 +00:00
Steve Fink 91b1ffaac3 Bug 1560667 - Collection of fixes for things uncovered by improvements to the hazard analysis. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D46534

--HG--
extra : moz-landing-system : lando
2019-10-02 03:20:33 +00:00
Brindusan Cristian 8416452282 Backed out changeset 1ca9b7056c58 (bug 1581710) for mochitest failures at test_enabled.html. CLOSED TREE
--HG--
rename : dom/webgpu/ValidationError.cpp => dom/webgpu/AttachmentState.cpp
rename : dom/webgpu/ValidationError.h => dom/webgpu/AttachmentState.h
rename : dom/webgpu/RenderBundle.cpp => dom/webgpu/BlendState.cpp
rename : dom/webgpu/RenderBundle.h => dom/webgpu/BlendState.h
rename : dom/webgpu/DeviceLostInfo.cpp => dom/webgpu/InputState.cpp
rename : dom/webgpu/OutOfMemoryError.h => dom/webgpu/LogEntry.h
2019-10-02 06:04:25 +03:00
Dzmitry Malyshau 068927599a Bug 1581710 - Update WebGPU IDL bindings r=jgilbert,bzbarsky
This mostly updates the bindings to the current state.
No actual logic backing them yet.

*Note*: the IDL does *not* need to be checked for matching the upstream spec precisely at this stage. The upstream is evolving, we just need to update in order to start integrating the implementation. What needs to be checked is - how C++ represents the IDL, esp with regards to derived classes, events, and hierarchies.

The trickiest points, arguably, are:
  - WebGPU -> GPU prefix change
  - the goop for interfaces that are not final

Differential Revision: https://phabricator.services.mozilla.com/D46166

--HG--
rename : dom/webgpu/InputState.cpp => dom/webgpu/DeviceLostInfo.cpp
rename : dom/webgpu/Fence.h => dom/webgpu/DeviceLostInfo.h
rename : dom/webgpu/BlendState.cpp => dom/webgpu/OutOfMemoryError.cpp
rename : dom/webgpu/LogEntry.h => dom/webgpu/OutOfMemoryError.h
rename : dom/webgpu/BindGroup.h => dom/webgpu/ProgrammablePassEncoder.cpp
rename : dom/webgpu/BlendState.cpp => dom/webgpu/RenderBundle.cpp
rename : dom/webgpu/BlendState.h => dom/webgpu/RenderBundle.h
rename : dom/webgpu/AttachmentState.cpp => dom/webgpu/ValidationError.cpp
rename : dom/webgpu/AttachmentState.h => dom/webgpu/ValidationError.h
extra : moz-landing-system : lando
2019-10-02 01:42:07 +00:00
Boris Zbarsky 44c015a4b0 Bug 1584431 part 4. Use the new length-aware versions of JS_StringEqualsAscii and JS_FlatStringEqualsAscii where possible. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D47393

--HG--
extra : moz-landing-system : lando
2019-09-27 21:25:23 +00:00
Steve Fink 50cb5abc66 Bug 1583684 - Fix some rooting hazards in DOM bindings r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D47020

--HG--
extra : moz-landing-system : lando
2019-09-26 23:50:14 +00:00
Boris Zbarsky e5497b955e Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar
For review purposes, the important changes are in dom/bindings/Configuration.py
and dom/bindings/parser.

The changes to the IDL files were done by running these in dom/webidl
and dom/bindings/test:

  perl -pi -e 's/^interface ([A-Za-z0-9_]+)($| [:{])/[Exposed=Window]\ninterface \1\2/' *.webidl

  perl -pi -e 'BEGIN { $/ = undef; } s/\[HTMLConstructor\]\n\[Exposed=Window\]/[HTMLConstructor,\n Exposed=Window]/g' *.webidl

  perl -pi -e 'BEGIN { $/ = undef; } s/\[NoInterfaceObject\]\n\[Exposed=Window\]/[NoInterfaceObject,\n Exposed=Window]/g' *.webidl

  perl -pi -e 'BEGIN { $/ = undef; } s/\[ChromeOnly\]\n\[Exposed=Window\]/[ChromeOnly,\n Exposed=Window]/g' *.webidl

And running this in dom/chrome-webidl:

  perl -pi -e 'BEGIN { $/ = undef; } s/\[ChromeOnly\]\ninterface/[ChromeOnly, Exposed=Window]\ninterface/g' *.webidl

and then fixing all the resulting parser failures.  I then verified that the
generated code is the same as before this change.

Differential Revision: https://phabricator.services.mozilla.com/D46697

--HG--
extra : moz-landing-system : lando
2019-09-27 15:26:14 +00:00
Boris Zbarsky 29f544b623 Bug 1423562 part 2. Change external interfaces to not have exposure sets. r=edgar
This avoids us needing to stick [Exposed=Window] on all of them.

Differential Revision: https://phabricator.services.mozilla.com/D46696

--HG--
extra : moz-landing-system : lando
2019-09-26 14:35:58 +00:00
Boris Zbarsky 3b969978f5 Bug 1423562 part 1. Change Configuration.getDescriptors to never return external interface descriptors. r=edgar
There are no callers who want this.  They all filter out external interfaces in various ways; we might as well do it up front.

Differential Revision: https://phabricator.services.mozilla.com/D46695

--HG--
extra : moz-landing-system : lando
2019-09-26 14:30:52 +00:00
Coroiu Cristina c3c2a5e0b6 Bug 1584052 - Fix linting whitespace failure a=me on a CLOSED TREE
--HG--
extra : rebase_source : b06ee2ef9ce0874bd2640b1758b26959aae97293
2019-09-27 03:19:31 +03:00
Coroiu Cristina 817ccb933c Bug 1584052 - Fix linting failure a=me on a CLOSED TREE 2019-09-27 03:04:19 +03:00
Boris Zbarsky 88ecc83259 Bug 1584052. Remove "module" as a reserved word in our Web IDL parser. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D47299

--HG--
extra : moz-landing-system : lando
2019-09-26 21:16:41 +00:00
Sean Feng 660aac23aa Bug 1467970 - Unsupport cross docGroup adoption r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43135

--HG--
extra : moz-landing-system : lando
2019-09-14 00:09:44 +00:00
Boris Zbarsky 6f69ca7498 Bug 1583636. Ensure that all the partials of an interface mixin are in the same .webidl file. r=edgar,saschanaz
The build system can't handle things being scattered about more than that.

Differential Revision: https://phabricator.services.mozilla.com/D47001

--HG--
extra : moz-landing-system : lando
2019-09-26 13:09:49 +00:00
Edgar Chen 2cae03d6e1 Bug 1583819 - Webidl parser should report error if there are multiple definitions with same identifier from the mixin interfaces; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D47136

--HG--
extra : moz-landing-system : lando
2019-09-25 20:00:53 +00:00
Boris Zbarsky 7ccdf0a53c Bug 1574201. Remove support for IDL "implements" statements. r=edgar
A bunch of loop-detection, etc, complexity goes away because mixins are not
interfaces and the mixin syntax does not allow various things we had to guard
against in terms of maplikes and whatnot.

Differential Revision: https://phabricator.services.mozilla.com/D46524

--HG--
extra : moz-landing-system : lando
2019-09-25 19:59:00 +00:00
Kris Maglione 036cfced10 Bug 1582520: Part 3 - Fix RemoteObjectProxy immutable prototype implementation. r=bzbarsky
Cross-origin objects are supposed to have null prototypes, and throw when
attempting to set the prototype to any value other than null. Ordinary
cross-origin objects handle this correctly. RemoteObjectProxy has hooks which
are meant to give them the same behavior, but which are never actually
triggered, because the proxy objects are missing the required lazy prototype
flags.

Simply using the built-in prototype slot and setting it to immutable triggers
the desired behavior with much less implementation overhead.

Differential Revision: https://phabricator.services.mozilla.com/D46735

--HG--
extra : moz-landing-system : lando
2019-09-25 17:49:58 +00:00
Kris Maglione d87cc493eb Bug 1582520: Part 2 - Fix RemoteObjectProxy hasOwnProperty hook behavior. r=bzbarsky
Object.hasOwnProperty called on a cross-origin object needs to return true for
any property returned by its property enumerator or get hook, and throw a
security error for anything else. Ordinary cross-origin objects currently
behave correctly, but RemoteObjectProxy objects return false for indexed
frame getters, and never throw security exceptions for inaccessible
properties.

This patch fixes both of those issues by removing the `hasOwn` hook and
falling back to the BaseProxyHandler implementation, which defers to the
`getOwnPropertyDescriptor` hook. This is slightly more expensive, since it
requires reifying property descriptors for every check, but it should be a
relatively uncommon operation on cross-origin objects, and should not be
particularly expensive for any properties of a RemoteObjectProxy.

Differential Revision: https://phabricator.services.mozilla.com/D46734

--HG--
extra : moz-landing-system : lando
2019-09-25 17:49:57 +00:00
Kris Maglione 2d72197609 Bug 1582520: Part 1 - Treat remote object proxies as opaque wrappers when unwrapping. r=peterv
We support calling WebIDL prototype methods on cross-compartment objects as
long as they're same-type and same-origin. Any attempt to call them on
cross-origin wrappers with security policies leads to a security error.

Remote object proxies look and behave like cross-origin objects, but are not
technically wrappers. This means that for non-cross-origin-accessible
method/getter calls, we just treat them as same-origin objects which do not
implement the correct interface. Aside from being confusing, this makes it
easy for web content to distinguish between remote and in-process objects with
the same interface, which they generally should not be able to do.

Treating remote object proxies as if they were opaque wrappers solves these
problems.

Differential Revision: https://phabricator.services.mozilla.com/D46495

--HG--
extra : moz-landing-system : lando
2019-09-25 17:49:48 +00:00
Boris Zbarsky a9bd1f2cf6 Bug 1582911 part 2. Fix LenientThis behavior to match spec when a security check fails. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D46694

--HG--
extra : moz-landing-system : lando
2019-09-24 10:15:43 +00:00
Boris Zbarsky c4c646fa24 Bug 1582911 part 1. Fix the exception we throw when binding this-unwrapping fails security checks to match spec. r=peterv
Spec says to throw a SecurityError, not a TypeError.

Differential Revision: https://phabricator.services.mozilla.com/D46693

--HG--
extra : moz-landing-system : lando
2019-09-24 10:15:35 +00:00
Boris Zbarsky e52521c921 Bug 1574195 part 4. Switch remaining users of IDL "implements" over to mixin syntax. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D46523

--HG--
extra : moz-landing-system : lando
2019-09-24 15:22:26 +00:00
Boris Zbarsky 3f72fbb470 Bug 1574195 part 2. Switch key event interfaces to IDL mixins. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D46521

--HG--
extra : moz-landing-system : lando
2019-09-20 01:50:49 +00:00
Boris Zbarsky 222487304c Bug 1580014. Don't force methods into the "can throw any exception" bucket just because they always return a new JS object. r=peterv
Instead, mark them as "can OOM", since we have that concept now.

Differential Revision: https://phabricator.services.mozilla.com/D45251

--HG--
extra : moz-landing-system : lando
2019-09-24 08:51:47 +00:00
Boris Zbarsky 6be46fda93 Bug 1582538. Fix mixin exposure set computation when interfaces that include it have no explicit exposure sets. r=saschanaz
We can remove this once [PrimaryGlobal] goes away, but for now we need to not
have this issue, which actually bit me when converting NavigatorLanguage to a
mixin.

Differential Revision: https://phabricator.services.mozilla.com/D46510

--HG--
extra : moz-landing-system : lando
2019-09-24 02:32:14 +00:00
Boris Zbarsky 89dd3cf285 Bug 1582857. Fix security checks around this-unwrapping. r=peterv,bholley
Differential Revision: https://phabricator.services.mozilla.com/D46692

--HG--
extra : moz-landing-system : lando
2019-09-24 01:02:25 +00:00
Boris Zbarsky 33acac0a74 Bug 1582196 part 3. Stop using NS_ERROR_RANGE_ERR and NS_ERROR_TYPE_ERR in payments code. r=edenchuang
The changes to the return type of MerchantValidationEvent::init are because
Result doesn't allow having an ErrorResult (or any other type without a copy
constructor) as its error type.  Plus we would have had the impedance mismatch
between Result<Ok, nsresult> (which is what URL resolution on the document
returns) and Result<Ok, ErrorResult> anyway.

Differential Revision: https://phabricator.services.mozilla.com/D46461

--HG--
extra : moz-landing-system : lando
2019-09-19 23:53:14 +00:00
Boris Zbarsky b544880d43 Bug 1581278 part 4. Stop incorrectly rejecting promises in MediaCapabilities. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D46385

--HG--
extra : moz-landing-system : lando
2019-09-19 02:03:07 +00:00
Boris Zbarsky 417c6749c3 Bug 1581276. Require a message arg to ThrowDOMException. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D46250

--HG--
extra : moz-landing-system : lando
2019-09-20 02:17:01 +00:00
Boris Zbarsky d0ce4c7209 Bug 1581315 part 3. Add MOZ_MUST_RETURN_FROM_CALLER_IF_THIS_IS_ARG to more ErrorResult methods. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D46107

--HG--
extra : moz-landing-system : lando
2019-09-20 02:19:18 +00:00
Boris Zbarsky fa0ce4b209 Bug 1581315 part 1. Adjust MOZ_MUST_RETURN_FROM_CALLER to only apply to method calls on arguments. r=nika
It doesn't really make sense to enforce this behavior for calls on stack
variables (which presumably we then want to do something with) and doesn't
necessarily make sense to enforce it for member variables either.

Differential Revision: https://phabricator.services.mozilla.com/D46105

--HG--
extra : moz-landing-system : lando
2019-09-20 02:17:01 +00:00
Boris Zbarsky e26682d684 Bug 1581173 part 1. Add a way to more easily throw TypeErrors and RangeErrors with custom message strings via ErrorResult. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45932

--HG--
extra : moz-landing-system : lando
2019-09-20 02:19:18 +00:00
longsonr ff387da653 Bug 1578098 - move DOM classes to DOM namespace and eliminate using namespace mozilla r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D44318

--HG--
extra : moz-landing-system : lando
2019-09-21 14:38:56 +00:00
Boris Zbarsky 5bc8266c20 Bug 1582567. Stop emitting 'virtual' in codegen if we're already emitting 'override'. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D46527

--HG--
extra : moz-landing-system : lando
2019-09-20 11:05:57 +00:00
Henri Sivonen c193518677 Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D43957

--HG--
extra : moz-landing-system : lando
2019-09-18 08:26:34 +00:00
Brian Hackett 9a41a4d559 Bug 1581414 - Don't report deprecation warnings after diverging from the recording, r=mccr8.
Differential Revision: https://phabricator.services.mozilla.com/D45960

--HG--
extra : moz-landing-system : lando
2019-09-16 13:33:43 +00:00
Boris Zbarsky 624bd9fd22 Bug 1578173 part 8. Remove support for [Constructor] from the Web IDL parser. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45398

--HG--
extra : moz-landing-system : lando
2019-09-12 18:45:33 +00:00
Boris Zbarsky ecfb805c22 Bug 1578173 part 7. Remove remaining uses of [Constructor] from binding tests. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45396

--HG--
extra : moz-landing-system : lando
2019-09-12 18:39:26 +00:00
Boris Zbarsky 1128b8dee8 Bug 1578173 part 6. Remove remaining uses of [Constructor] from bindings. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45394

--HG--
extra : moz-landing-system : lando
2019-09-12 11:01:17 +00:00
Boris Zbarsky cdf754533a Bug 1578173 part 5. Remove vestigial binaryNames annotations from Bindings.conf. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45393

--HG--
extra : moz-landing-system : lando
2019-09-11 21:23:25 +00:00
Boris Zbarsky 14c30e58d6 Bug 1578173 part 4. Switch event subclasses to constructor operations. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45391

--HG--
extra : moz-landing-system : lando
2019-09-11 14:35:28 +00:00
Boris Zbarsky 122af58092 Bug 1578173 part 3. Remove ChromeConstructor. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45390

--HG--
extra : moz-landing-system : lando
2019-09-11 21:04:12 +00:00
Boris Zbarsky c0dd336d70 Bug 1578173 part 1. Add support for constructor operations in the parser. r=edgar
The grammar changes parallel those in https://github.com/heycam/webidl/pull/700

We don't prevent having both a constructor operation and [Constructor] or
[ChromeConstructor], because those extended attributes are about to get
removed, once they are no longer used in our IDL.

Differential Revision: https://phabricator.services.mozilla.com/D45387

--HG--
extra : moz-landing-system : lando
2019-09-11 20:44:01 +00:00
Henri Sivonen b9752dabba Bug 1561564 - Introduce a JSString WebIDL type. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D42297

--HG--
extra : moz-landing-system : lando
2019-09-12 10:27:20 +00:00
Dzmitry Malyshau 6c2bf0f5ad Bug 1575663 - Improve WebIDL bindgen of enum variants starting with a digit r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D42980

--HG--
extra : moz-landing-system : lando
2019-09-11 16:10:45 +00:00
Dzmitry Malyshau 3edde5ecd0 Bug 1575384 - WebIDL: Better error message for trying to inherit from a mixin r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D42736

--HG--
extra : moz-landing-system : lando
2019-09-11 16:05:19 +00:00
Andrew McCreight 9d5c278b92 Bug 1580427 - Fix the nativeType for WindowProxy. r=bzbarsky
Right now, we end up with the forward declaration of
nsIDOMWindowProxy, which does not exist, instead of the proper type.

Differential Revision: https://phabricator.services.mozilla.com/D45516

--HG--
extra : moz-landing-system : lando
2019-09-11 14:25:18 +00:00
Paul Bone 151b418b4e Bug 1578628 - Fix a spelling mistake in a comment r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44946

--HG--
extra : moz-landing-system : lando
2019-09-10 07:05:07 +00:00
Boris Zbarsky 2742e32812 Bug 1577016. Improve our error reporting for nullable dictionary operation arguments. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D43678

--HG--
extra : moz-landing-system : lando
2019-09-06 15:34:50 +00:00
Emilio Cobos Álvarez 7df79853f9 Bug 1578700 - Change use counter setup to propagate the page use counters together. r=smaug
This is so that SetUseCounter is as cheap as possible.

This is in preparation for hooking the CSS use counters to telemetry. We want
CSS use counters to be fast and be propagated at once to the parent page. This
will make sure to use the same setup as everywhere else.

Differential Revision: https://phabricator.services.mozilla.com/D44645

--HG--
extra : moz-landing-system : lando
2019-09-04 23:36:21 +00:00
Boris Zbarsky 7a49cd3dd7 Bug 1578455. Allow Web IDL operation arguments named "constructor". r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D44505

--HG--
extra : moz-landing-system : lando
2019-09-04 19:44:29 +00:00
Paul Bone ead45f248b Bug 1576787 - Handle RemoteObjectProxies in instanceof r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D43559

--HG--
extra : moz-landing-system : lando
2019-08-30 05:22:34 +00:00
Boris Zbarsky 58b843488c Bug 1569735. Move almost all uses of binaryNames out of Bindings.conf and into .webidl files. r=peterv
The one exception, apart from tests, is a place where the constructor is being
renamed, because there is no way to support that syntactically yet.  There will
be if https://github.com/heycam/webidl/issues/636 is fixed.

Differential Revision: https://phabricator.services.mozilla.com/D39792

--HG--
extra : moz-landing-system : lando
2019-08-28 17:51:37 +00:00
Boris Zbarsky 7d2bac0334 Bug 921496 part 2. Remove NavigatorProperty. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D40111

--HG--
extra : moz-landing-system : lando
2019-08-26 19:00:04 +00:00
Andrew McCreight 2a7c750b84 Bug 1575711 - CallerSubsumes should return false for remote object proxies. r=peterv
This check is used to reject cross-origin objects from being passed in
as |any| or |object| parameters to WebIDL methods. Remote object
proxies are technically same-origin, but we want to make them behave
the same as when Fission is not enabled.

Differential Revision: https://phabricator.services.mozilla.com/D43105

--HG--
extra : moz-landing-system : lando
2019-08-26 18:26:02 +00:00
Andreea Pavel 38b21106da Backed out changeset 31f52909af17 (bug 1575711) for failing test_bug1036214.html on a CLOSED TREE 2019-08-26 20:50:21 +03:00
Andrew McCreight 06cff83c9f Bug 1575711 - CallerSubsumes should return false for remote object proxies. r=peterv
This check is used to reject cross-origin objects from being passed in
as |any| or |object| parameters to WebIDL methods. Remote object
proxies are technically same-origin, but we want to make them behave
the same as when Fission is not enabled.

Differential Revision: https://phabricator.services.mozilla.com/D43105

--HG--
extra : moz-landing-system : lando
2019-08-26 11:56:50 +00:00
Andrew McCreight ff786abc93 Bug 1575272 - Fix DOM bindings tests to work with Fission. r=peterv
These test that various DOM things fail when done
cross-origin. They'll fail in a different way if done cross-process,
so change the origin used so that it is same-process, but
cross-origin, even with Fission.

Differential Revision: https://phabricator.services.mozilla.com/D42678

--HG--
extra : moz-landing-system : lando
2019-08-21 20:10:33 +00:00
Andrew McCreight 62bd52a17f Bug 1575343, part 1 - Avoid a gratuitous string copy by calling the nsAString overload of GetCallingLocation. r=smaug
The nsAString overload of GetCallingLocation directly converts the
original source file name string into an nsAString. A number of
callers that want the source file name in an nsAString are calling the
nsACString overload of GetCallingLocation, then calling
NS_ConvertUTF8toUTF16. This results in an extra intermediate copy of
the original string data.

Differential Revision: https://phabricator.services.mozilla.com/D42727

--HG--
extra : moz-landing-system : lando
2019-08-20 22:53:49 +00:00
Brian Hackett 091f2992d2 Bug 1573938 - Never collect wrapper JSObjects when recording/replaying, r=mccr8.
Differential Revision: https://phabricator.services.mozilla.com/D42011

--HG--
extra : moz-landing-system : lando
2019-08-16 20:51:12 +00:00
Kagami Sascha Rosylight b14e2b2516 Bug 1414372: Introduce interface mixins r=bzbarsky
Add IDLInterfaceMixin with a new superclass shared with existing IDLInterfaceOrNamespace.

Differential Revision: https://phabricator.services.mozilla.com/D38802

--HG--
extra : moz-landing-system : lando
2019-08-15 16:53:49 +00:00
Jon Coppeard c772fc6cda Bug 1573844 - Remove external references to js::Class r=mccr8
Depends on D41985

Differential Revision: https://phabricator.services.mozilla.com/D41986

--HG--
extra : moz-landing-system : lando
2019-08-14 17:15:15 +00:00
Jon Coppeard 6d38179350 Bug 1573844 - Remove external references to js::Jsvalify and js::Valueify r=mccr8
These are now no-ops so can be removed.

Depends on D41983

Differential Revision: https://phabricator.services.mozilla.com/D41984

--HG--
extra : moz-landing-system : lando
2019-08-14 17:24:59 +00:00
Jon Coppeard 66fc30ba53 Bug 1573844 - Remove js::Class definition and alias JSClass to it r=tcampbell,mccr8
JSClass contained void* members corresponding to the internal pointer members of js::Class. This stores the internal members in JSClass and removes js::Class.

This leaves js::Class aliased to JSClass while we remove references to it. I also aliased Jsvalify and Valueify into global scope temporarily to make this compile. These get removed in the following patches.

I had to remove a few functions which now don't compile with js::Class being the same type as JSClass.

Differential Revision: https://phabricator.services.mozilla.com/D41983

--HG--
extra : moz-landing-system : lando
2019-08-15 08:32:22 +00:00
Jon Coppeard 81a8266309 Bug 1573419 - Fix assertion failure finalizing JSObjects during shutdown r=bzbarsky
The problem is that if there is a leak at shutdown we can end up calling ClearWrapper on a wrapper that has already been cleared by the JS engine. The patch just relaxes the assertion to allow this. I tested this on try with a bunch of retriggers and it seems to fix the problem.

Differential Revision: https://phabricator.services.mozilla.com/D41938

--HG--
extra : moz-landing-system : lando
2019-08-15 08:29:26 +00:00
Jon Coppeard d23ec38129 Bug 1573508 - Replace external references to js::ClassOps with JSClassOps r=mccr8
Depends on D41759

Differential Revision: https://phabricator.services.mozilla.com/D41760

--HG--
extra : moz-landing-system : lando
2019-08-14 09:45:31 +00:00
Nathan Froyd b0b2a5088c Bug 1573537 - add parentheses for property info count `static_assert`; r=bzbarsky
Otherwise we're computing (1ull << CHAR_BIT) * sizeof(...), which is not
quite what we wanted.

Differential Revision: https://phabricator.services.mozilla.com/D41773

--HG--
extra : moz-landing-system : lando
2019-08-13 17:47:04 +00:00
Jon Coppeard 4f45eff7cc Bug 1572782 - Remove external references to js::FreeOp r=mccr8?
Replace external use of js::FreeOp with JSFreeOp.

Differential Revision: https://phabricator.services.mozilla.com/D41411

--HG--
extra : moz-landing-system : lando
2019-08-12 10:43:32 +00:00
Jon Coppeard a00726d223 Bug 1572782 - Remove js::FreeOp and make JSFreeOp opaque in public API r=tcampbell?
Merge js::FreeOp and JSFreeOp, but alias the former to the latter while we fix uses.

Differential Revision: https://phabricator.services.mozilla.com/D41410

--HG--
extra : moz-landing-system : lando
2019-08-12 10:43:32 +00:00
Oana Pop Rus 44aafcc0d0 Backed out 4 changesets (bug 1572782) for build bustages at build/src/obj-firefox/dist/include/nsIXPCScriptable.h on a CLOSED TREE
Backed out changeset ec9d15c69bc8 (bug 1572782)
Backed out changeset 8239e4baa0f4 (bug 1572782)
Backed out changeset 9fd7bea2b512 (bug 1572782)
Backed out changeset 11d750555fe1 (bug 1572782)
2019-08-12 13:37:03 +03:00
Jon Coppeard 68fef4ffb0 Bug 1572782 - Remove external references to js::FreeOp r=mccr8?
Replace external use of js::FreeOp with JSFreeOp.

Differential Revision: https://phabricator.services.mozilla.com/D41411

--HG--
extra : moz-landing-system : lando
2019-08-12 10:16:00 +00:00
Jon Coppeard 9d51a35e93 Bug 1572782 - Remove js::FreeOp and make JSFreeOp opaque in public API r=tcampbell?
Merge js::FreeOp and JSFreeOp, but alias the former to the latter while we fix uses.

Differential Revision: https://phabricator.services.mozilla.com/D41410

--HG--
extra : moz-landing-system : lando
2019-08-12 10:15:57 +00:00
Brendan Dahl b474db77c6 Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie
All .xul files have been loading as HTMLDocuments for a few weeks now, so
it should be safe to remove the XULDocument implementation.

Differential Revision: https://phabricator.services.mozilla.com/D41238

--HG--
extra : moz-landing-system : lando
2019-08-09 19:57:50 +00:00
Kagami Sascha Rosylight 54112deff0 Bug 1572405 - Fix Py3 referenced before assignment error r=bzbarsky
`except Exception as exception` in Python 3 removes the `exception` variable in the outer scope whereas Python 2 does not. This mitigates the error caused by the Py3 behavior.

Differential Revision: https://phabricator.services.mozilla.com/D41194

--HG--
extra : moz-landing-system : lando
2019-08-09 06:27:36 +00:00
Edwin Gao 1eb2f0f7be Bug 1559975 - convert dom/bindings to python3 r=ahal,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D36634

--HG--
extra : moz-landing-system : lando
2019-08-02 19:45:12 +00:00
Boris Zbarsky 4694cad683 Bug 1570350. Refactor ConstructJSImplementation to make consumers a bit simpler. r=mccr8
We could get rid of the need to specify the impl class at the callsite by
taking a T** instead of returning an already_AddRefed<T>, but I'm not sure
which is uglier...

The change from `globalHolder->GetGlobalJSObject()` to `global.Get()` is OK,
because `globalHolder` was coming from the nsISupports attached to
`global.Get()` anyway, so those are the same global JS object.

Differential Revision: https://phabricator.services.mozilla.com/D40060

--HG--
extra : moz-landing-system : lando
2019-07-31 21:38:00 +00:00
Boris Zbarsky 3581c41939 Bug 1568729. Only include the static pref headers we really need in binding code. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39528

--HG--
extra : moz-landing-system : lando
2019-07-28 11:08:00 +00:00