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

3524 Коммитов

Автор SHA1 Сообщение Дата
Makoto Kato 833d15a69d Bug 1617778 - Use ToString.h to share text and selection change logging. r=masayuki
It is useful to use ToString.h to log text and selection change instead of
adding it each source code. Actually, there is same code in
IMEContentObserver and widget.

Also, mozilla namespace is required since this conflicts with
WinModifierKeyState.h.

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

--HG--
extra : moz-landing-system : lando
2020-02-28 04:45:05 +00:00
Emilio Cobos Álvarez de54b68ce7 Bug 1617600 - Prototype :focus-visible behind a flag. r=smaug
The heuristic is that we show focus outlines for unknown or key focus, and not
for mouse / touch.

This is probably not the final heuristic we take, but this allows people to play
with it and file bugs.

Once this is mature enough we should remove :-moz-focusring in favor of
:focus-visible.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 14:16:20 +00:00
Henri Sivonen 77c7d03244 Bug 1618125 - Remove EventStateManager::GetContentViewer as dead code. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D64321

--HG--
extra : moz-landing-system : lando
2020-02-26 09:58:02 +00:00
Noemi Erli 4fb19079c8 Backed out 3 changesets (bug 1617600) for causing wpt failures in focus-visible-009.html CLOSED TREE
Backed out changeset 73d1a5e10337 (bug 1617600)
Backed out changeset b722714830cd (bug 1617600)
Backed out changeset 45464d926bf0 (bug 1617600)
2020-02-26 01:46:31 +02:00
Kris Maglione c31aa68fb4 Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8
This covers most cycle collected objects which support weak references, but
not the ones which inherit from a cycle collected class and don't do any cycle
collection on their own.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 19:44:39 +00:00
Emilio Cobos Álvarez 490c70ecc0 Bug 1617600 - Prototype :focus-visible behind a flag. r=smaug
The heuristic is that we show focus outlines for unknown or key focus, and not
for mouse / touch.

This is probably not the final heuristic we take, but this allows people to play
with it and file bugs.

Once this is mature enough we should remove :-moz-focusring in favor of
:focus-visible.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 17:58:28 +00:00
Emilio Cobos Álvarez fff63130d9 Bug 1617421 - Use cbindgen for cursors. r=jwatt
Pretty straight-forward.

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

--HG--
extra : moz-landing-system : lando
2020-02-23 13:07:30 +00:00
Simon Giesecke 61be6c6c35 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D63164

--HG--
extra : moz-landing-system : lando
2020-02-20 15:56:28 +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
Henri Sivonen ac7d3f7b2a Bug 1556627 - Make nsFocusManager::SetFocus work in Fission. r=NeilDeakin,farre,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D55651

--HG--
extra : moz-landing-system : lando
2020-02-18 13:30:04 +00:00
Hiroyuki Ikezoe 796e6049b6 Bug 1550800 - Call BrowserParent::UpdateDimensions() in BrowserBridgeParent::RecvUpdateDimensions. r=nika,hsivonen
So that we can get the correct client offset value and store other metrics
there and reuse them when the top browser window moves.

The client offset, browser window title bar and window decorated frame width,
is necessary to get element positions in OOP iframes in screen coordinates
for drag-and-drop etc.

This change also fixes event.screen{X,Y}. A mochitest in this commit fails
without this change with enabling fission at least on Linux. Note that in the
mochitest we have to use nsIDOMWindowUtils.synthesizeNativeMouseClick instead
of nsIDOMWindowUtils.sendMouseEvent since sendMouseEvent doesn't work in fission
world (bug 1528935).

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

--HG--
extra : moz-landing-system : lando
2020-02-13 22:30:56 +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
John Dai 5683fcf7c8 Bug 1588715 - Implement SubmitEvent; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62030

--HG--
extra : moz-landing-system : lando
2020-02-11 12:46:54 +00:00
David Major c4e3b2d209 Bug 1613606 - Bonus cleanup of IPC::Principals r=nika
All of these call sites were unnecessarily converting nsIPrincipal* => IPC::Principal => nsIPrincipal*.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 20:52:56 +00:00
Mirko Brodesser ce8bf8cde1 Bug 1613378: part 4) Declare some methods in `nsFrameSelection` static. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62037

--HG--
extra : moz-landing-system : lando
2020-02-07 16:13:27 +00:00
Brad Werth 69e6a4776b Bug 1523853 Part 3: Further relax the mousewheel test to not care about the ending scroll values. r=kats
This is being done to reduce the intermittent failures we see in this test.
There are other non-intermittent tests that measure the specific number of
pixels traveled by mousewheel events. The focus of this test seems to be
"Ensure that mousewheel scrolling and zooming are mutually exclusive" and
this change maintains that.

Depends on D62067

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

--HG--
extra : moz-landing-system : lando
2020-02-08 20:15:16 +00:00
Brad Werth a547ad53da Bug 1523853 Part 2: Re-enable the mousewheel scroll/zoom test on Windows. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D62067

--HG--
extra : moz-landing-system : lando
2020-02-07 18:46:27 +00:00
Thomas Dolezal 062c15357a Bug 1611733 - Bug 1611633 - convert ns style position defines to enum class. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61958

--HG--
extra : moz-landing-system : lando
2020-02-07 12:35:30 +00:00
Edgar Chen 7ab4025bf5 Bug 1613708 - Enable some disabled pointer event mochitests on Android; r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D61947

--HG--
extra : moz-landing-system : lando
2020-02-07 00:18:14 +00:00
Brad Werth b02c5d2f93 Bug 1523853: Change a mousewheel test to wait on the outcome, not the trigger. r=kats
This change improves the intermittency of the test, but does not provably
eliminate it. The code comment in the relevant section gives the rationale.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 15:16:05 +00:00
Emilio Cobos Álvarez 69c87f6cb2 Bug 1613349 - Rename nsINode::DeleteProperty to RemoveProperty. r=smaug
And the related methods as well.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 16:06:49 +00:00
Edgar Chen 61c05e98b7 Bug 1613383 - Remove dom/events/test/pointerevents/test_empty_file.html; r=masayuki
This dummy test was added in bug 1000870 where all tests in the manifest had a
support-files attribute, then we hit bug 1150091. Currently, there are other
tests that get assigned DEFAULT, so we could just remove this dummy test.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 03:33:27 +00:00
Edgar Chen d09e4169a6 Bug 1612819 - Enable test_pointerevent_movementxy-manual.html on Android; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61465

--HG--
extra : moz-landing-system : lando
2020-02-03 15:23:02 +00:00
Brad Werth b6077e9965 Bug 1516413 Part 3: Update a zoom test to wait on the outcome, not the trigger. r=smaug
Now that the zoom behavior involves more event round-trips, this test should
wait on the outcome of the input, instead of on the triggering event itself.
The way that SimpleTest.promiseWaitForCondition works, if the condition is
not reached quickly, instead of timing out, the test continues and the
following isnot check will fail.

Depends on D59260

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

--HG--
extra : moz-landing-system : lando
2020-01-30 17:19:25 +00:00
Brad Werth 23f9ccf4aa Bug 1516413 Part 1: Make EventStateManager zoom delta functions send chrome events instead of acting directly. r=mstange
This patch changes the zoom behavior to always be routed through the frontend
Zoom Actor. In the existing code, the ZoomChangeUsingMouseWheel event is sent
as an after-the-fact notification of the zoom being modified directly. This
part of the patch supplements the existing event with 2 new events that
trigger the frontend to do the +/- 10% math in ChangeFullZoom and
ChangeTextZoom. The next part of the patch supplies that logic in the frontend
Zoom Actor.

This also changes the handling of events from the zoom in/out keys. Before,
those keys would only change full zoom levels. Now, they will respect the
full zoom vs text zoom toggle.

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

--HG--
extra : moz-landing-system : lando
2020-01-30 17:17:26 +00:00
Kousuke Takaki 04bba6950f Bug 1602088 - Move nsIScrollableFrame::ScrollUnit to namespace scope. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D61140

--HG--
extra : source : 69fded25adc2ac25e302b49c1128f8926e1311a3
2020-01-30 09:13:19 +00:00
Cosmin Sabou 5a3d320cd0 Backed out changeset 69fded25adc2 (bug 1602088) for causing several box-shadow reftest failures.
CLOSED TREE
2020-01-30 13:23:10 +02:00
Kousuke Takaki 9681569b70 Bug 1602088 - Move nsIScrollableFrame::ScrollUnit to namespace scope. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D61140

--HG--
extra : moz-landing-system : lando
2020-01-30 09:13:19 +00:00
Kris Maglione 1a5f46e923 Bug 1595936: Part 1 - Warn for unsafe event dispatch in non-document system globals. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55871

--HG--
extra : moz-landing-system : lando
2020-01-24 19:03:03 +00:00
Edgar Chen ff965689f5 Bug 1597857 - Part 1: Move execCommand("cut"/"copy") to new user activation model; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54065

--HG--
extra : moz-landing-system : lando
2020-01-23 17:27:42 +00:00
Ehsan Akhgari 22cf4f7b05 Bug 1610819 - Remove support for creating some non-standard event types; r=smaug
This fixes some Firefox-only WPT test failures.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 17:37:34 +00:00
Ciure Andrei 19fa2bbadb Backed out 2 changesets (bug 1516413) for causing browser_viewport_zoom_resolution_invariant.js to perma fail CLOSED TREE
Backed out changeset 0647ffc0cc6f (bug 1516413)
Backed out changeset a8d9460cdbd6 (bug 1516413)
2020-01-23 02:53:08 +02:00
Brad Werth 9426438383 Bug 1516413 Part 1: Make EventStateManager zoom delta functions send chrome events instead of acting directly. r=mstange
This patch changes the zoom behavior to always be routed through the frontend
Zoom Actor. In the existing code, the ZoomChangeUsingMouseWheel event is sent
as an after-the-fact notification of the zoom being modified directly. This
part of the patch supplements the existing event with 2 new events that
trigger the frontend to do the +/- 10% math in ChangeFullZoom and
ChangeTextZoom. The next part of the patch supplies that logic in the frontend
Zoom Actor.

This also changes the handling of events from the zoom in/out keys. Before,
those keys would only change full zoom levels. Now, they will respect the
full zoom vs text zoom toggle.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 23:13:50 +00:00
Bogdan Tara 6b44dbdf87 Backed out 2 changesets (bug 1516413) for valgrind failure CLOSED TREE
Backed out changeset 8eb500f31661 (bug 1516413)
Backed out changeset 333368f257b3 (bug 1516413)
2020-01-23 00:53:42 +02:00
Brad Werth 69b67fa839 Bug 1516413 Part 1: Make EventStateManager zoom delta functions send chrome events instead of acting directly. r=mstange
This patch changes the zoom behavior to always be routed through the frontend
Zoom Actor. In the existing code, the ZoomChangeUsingMouseWheel event is sent
as an after-the-fact notification of the zoom being modified directly. This
part of the patch supplements the existing event with 2 new events that
trigger the frontend to do the +/- 10% math in ChangeFullZoom and
ChangeTextZoom. The next part of the patch supplies that logic in the frontend
Zoom Actor.

This also changes the handling of events from the zoom in/out keys. Before,
those keys would only change full zoom levels. Now, they will respect the
full zoom vs text zoom toggle.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 21:42:40 +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
Masayuki Nakano 25e931d406 Bug 1609603 - Optimize the callers of `DataTransfer::GetTypes()` r=smaug
In C++ code, `DataTransfer::GetTypes()` are used for checking whether the
`DataTransfer` instance has specific type `DataTransferItem` or not.  Therefore,
it does not make sense to retrieve all item types nor compare some types
looking for with the retrieved item types.

This patch adds `DataTransfer::HasType()` and `DataTransfer::HasFile()` for
the current C++ users.  They don't take `CallerType` since all C++ users use
`GetTypes()` as `CallertType::System`.  And they just call a corresponding
method of `DataTransferItemList`.

Then, `DataTransferItemList` methods compares given type with every items
simply.

Note that this patch moves `DataTransfer::GetTypes()` to `DataTransferItemList`
too because new methods and `GetTypes()` should be maintained at every logic
changes.

The reason why there is no `DataTransfer::HasAnyOfTypes()` method is,
`DataTransfer.h` cannot include `DataTransferItemList.h` due to their
dependency but parameter pack requires inline methods.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 09:46:48 +00:00
Masayuki Nakano 527b3ff65b Bug 1609338 - Optimize usage and implementation of `UIEvent::GetRangeParent()` and `UIEvent::RangeOffset()` r=smaug
`UIEvent::GetRangeParent()` retrieves `nsIContent` instance but it needs to
return `already_AddRefed<nsINode>` because of a WebIDL method.  However,
`nsIContent` is better type in C++ code.  Therefore, this patch renames it
to `UIEvent::GetRangeParentContent()` and makes new `UIEvent::GetRangeParent()`
and just call it.

Additionally, some callers call `UIEvent::RangeOffset()` too, but that means
that they compute same things twice because both of them use
`nsLayoutUtils::GetContainerAndOffsetAtEvent()` with same input arguments.
Thus, `UIEvent::GetRangeParentContent()` should also return offset with optional
out argument.  (Note that this does not make `RangeOffset()` use
`GetRangeParentContent()` because using out parameter for range parent causes
unnecessary computation cost for `RangeOffset()`.)

Therefore, finally, `UIEvent::GetRangeParentContent()` becomes also an alias of
raw method `UIEvent::GetRangeParentContentAndOffset()` which also returns offset
with out argument.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 01:23:12 +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
Emilio Cobos Álvarez fff6c9e1ac Bug 981248 - Rewrite <input type=number> to avoid an anonymous input. r=masayuki,surkov,jwatt,ntim,jfkthame,smaug
Instead, subclass nsTextControlFrame. This simplifies the code and avoids
correctness issues.

I kept the localization functionality though it is not spec compliant. But I
filed a bug to remove it in a followup.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 19:01:05 +00:00
Mihai Alexandru Michis 0d01c60c37 Backed out 2 changesets (bug 981248) for causing multiple failures.
CLOSED TREE

Backed out changeset 7a96708cc8b7 (bug 981248)
Backed out changeset 1eace7bd28d9 (bug 981248)
2020-01-14 19:28:17 +02:00
Emilio Cobos Álvarez da2e4ef888 Bug 981248 - Rewrite <input type=number> to avoid an anonymous input. r=masayuki,surkov,jwatt,ntim,jfkthame,smaug
Instead, subclass nsTextControlFrame. This simplifies the code and avoids
correctness issues.

I kept the localization functionality though it is not spec compliant. But I
filed a bug to remove it in a followup.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 15:05:22 +00:00
Masayuki Nakano 4d302443ce Bug 970802 - part 3: Implement `beforeinput` event dispatcher and add `onbeforeinput` event handler attribute r=smaug
This patch makes `nsContentUtils::DispatchInputEvent()` dispatch `beforeinput`
event too.  And also adds `onbeforeinput` event handler which is really
important for feature detection (although Chrome has not implemented this
attribute yet: https://bugs.chromium.org/p/chromium/issues/detail?id=947408).

However, we don't implement `InputEvent.getTargetRanges()` in this bug and
implementing `beforeinput` event may hit bugs of some web apps.  Therefore,
this patch disables `beforeinput` event by default even in Nightly channel.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 07:15:45 +00:00
Razvan Maries 0df75c8122 Backed out 5 changesets (bug 970802) for xpcshell perma fails. CLOSED TREE
Backed out changeset 5511edd700f7 (bug 970802)
Backed out changeset 1fb9cf2264b6 (bug 970802)
Backed out changeset 6b185296c742 (bug 970802)
Backed out changeset ce6853e64ed6 (bug 970802)
Backed out changeset aa9bd45c09b1 (bug 970802)
2020-01-14 04:41:15 +02:00
Masayuki Nakano 81d47ee6d5 Bug 970802 - part 3: Implement `beforeinput` event dispatcher and add `onbeforeinput` event handler attribute r=smaug
This patch makes `nsContentUtils::DispatchInputEvent()` dispatch `beforeinput`
event too.  And also adds `onbeforeinput` event handler which is really
important for feature detection (although Chrome has not implemented this
attribute yet: https://bugs.chromium.org/p/chromium/issues/detail?id=947408).

However, we don't implement `InputEvent.getTargetRanges()` in this bug and
implementing `beforeinput` event may hit bugs of some web apps.  Therefore,
this patch disables `beforeinput` event by default even in Nightly channel.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 09:23:40 +00:00
Boris Zbarsky 59239b7c5c Bug 1607918. Fix case handling for webkit-prefixed transition/animation event handlers. r=smaug.
The WPTs were cherrypicked from e05bdb8e0d

The issue in dom/events/test/test_bug1332699.html was discussed in
https://bugzilla.mozilla.org/show_bug.cgi?id=1332699#c8 and
https://bugzilla.mozilla.org/show_bug.cgi?id=1332699#c10 but Xidorn never quite
made it clear enough what the issue was, so it ended up making it into the tree.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 20:04:59 +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
Mirko Brodesser 62c31a5552 Bug 1600267: part 11) Call `ComparePoints` instead of `ComparePoints_Deprecated` in `TextComposition`. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D57967

--HG--
extra : moz-landing-system : lando
2020-01-07 09:01:53 +00:00
Mirko Brodesser fe08a26d9a Bug 1600267: part 10) Call `ComparePoints` instead of `ComparePoints_Deprecated` in `ContentEventHandler`. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D57960

--HG--
extra : moz-landing-system : lando
2020-01-07 09:01:53 +00:00
Jonathan Kingston 27ca040dfd Bug 1606774 - Change GetAttribute to GetAttr where possible r=baku
Differential Revision: https://phabricator.services.mozilla.com/D58585

--HG--
extra : moz-landing-system : lando
2020-01-03 23:40:53 +00:00
Masayuki Nakano 0a74bf0038 Bug 1605918 - Get rid of synthesizeDragStart() in EventUtils.js r=smaug
All usage of `synthesizeDragStart()` is, starting drag, cancel `dragstart`,
and finally compares `dataTransfer` items and given expected data.  So,
we can make the users use `synthesizePlainDragAndDrop()` instead.  It's
better API because it computes position of mouse operations at runtime and
checks whether the drag start was succeeded with optional logging feature
(i.e., it's easier to debug of intermittent failures).

This patch creates `synthesizePlainDragAndCancel()` for convenience.  It
handles `dragstart` instead of the callers.

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

--HG--
extra : moz-landing-system : lando
2019-12-27 16:25:24 +00:00
Masayuki Nakano 87ca855ece Bug 1603074 - part 1: Make `synthesizePlainDragAndDrop()` synthesize drag events without `DataTransfer` object r=smaug
`synthesizePlainDragAndDrop()` synthesizes drag events with `DataTransfer`
object which is set to `DragEvent.dataTransfer` of `dragstart` after starting
drag session explicitly.  However, this causes
`EventStateManager::DoDefaltDragStart()` does not initialize `nsIDragService`
instance.  Therefore, synthesized drag events cannot work with editor because
`DragEvent::GetMozSourceNode()` returns `nullptr` due to
`nsIDragSession::GetSourceNode()` returning `nullptr`.

On the other hand, synthesized drag events cannot use
`nsIDragService::InvodeDragSession()` normally because of hitting an assertion.
https://searchfox.org/mozilla-central/rev/690e903ef689a4eca335b96bd903580394864a1c/widget/nsBaseDragService.cpp#230-233

This patch does:
- mark drag events caused by synthesized mouse events as "synthesized for tests"
- make `synthesizePlainDragAndDrop()` stop using
  `nsIDragService.startDragSession()`
- make `nsBaseDragService` initialize and start session even for synthesized
  `dragstart` event
- make `synthesizePlainDragAndDrop()` stop synthesizing drag events with
  `DataTransfer` object since it's normal behavior and it'll be initialized
  with `nsIDragService::GetDataTransfer()`
- make `nsBaseDragService` store `effectAllowed` for the session only when
  it's synthesized session because it's required at initializing synthesized
  default `dropEffect` value of `dragenter`, `dragover`, `dragexit` and `drop`
  events' `dataTransfer`
- make all tests which use `nsIDragService.startDragSession()` use new
  API, `nsIDragService.startDragSessionForTests()` to initialize session's
  `effectAllowed` value
- make `EventStateManager::PostHandleEvent()` set drag end point of the test
  session to `eDrop` event's screen point
- make `synthesizePlainDragAndDrop()` set drag end point of the session if
  it does not synthesize `drop` event because following `endDragSession()`
  use it at dispatching `dragend` event on the source element

Additionally, this adds `dumpFunc` new param to `synthesizePlainDragAndDrop()`
because it's really useful to investigate the reason why requesting DnD isn't
performed as expected.

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

--HG--
extra : moz-landing-system : lando
2019-12-21 12:27:06 +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
Mirko Brodesser b8bb35cc69 Bug 1600267: part 1) Rename `nsContentUtils::ComparePoints` to `ComparePoints_Deprecated`. r=smaug
In a follow-up commit a new `ComparePoints` method with cleaner
arguments and return value will be added.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 13:27:08 +00:00
Hiroyuki Ikezoe 0452b0e146 Bug 1596317 - Use CallState for nsContentUtils::CallOnAllRemoteChildren. r=smaug
`true` -> `CallState::Stop`
`false` -> `CallState::Continue`

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

--HG--
extra : moz-landing-system : lando
2019-12-19 07:58:27 +00:00
Hiroyuki Ikezoe aec08b91cc Bug 1596317 - Change the function pointer argument of nsContentUtils::CallOnAllRemoteChildren to std::function. r=smaug
We are going to introduce a new function in Document in this commit series,
which enumerates all child documents regardless of whether it's in the same
process, in content processes or in out-of-process iframes. The function takes
std::functions, but I don't have any good ideas to convert lambda functions with
capturing variables to function pointer.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 07:57:57 +00:00
Bogdan Tara a96ffb25c5 Backed out 7 changesets (bug 1596317) for causing build bustages CLOSED TREE
Backed out changeset 0d3208fcb948 (bug 1596317)
Backed out changeset fe5554dc4115 (bug 1596317)
Backed out changeset 019de59cbc93 (bug 1596317)
Backed out changeset f4851472b087 (bug 1596317)
Backed out changeset a984cf515db8 (bug 1596317)
Backed out changeset d0da5bf9b4d4 (bug 1596317)
Backed out changeset abe5f2030dd9 (bug 1596317)
2019-12-19 06:49:39 +02:00
Hiroyuki Ikezoe 634fee0f48 Bug 1596317 - Use CallState for nsContentUtils::CallOnAllRemoteChildren. r=smaug
`true` -> `CallState::Stop`
`false` -> `CallState::Continue`

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

--HG--
extra : moz-landing-system : lando
2019-12-19 03:36:35 +00:00
Hiroyuki Ikezoe 402bdca99d Bug 1596317 - Change the function pointer argument of nsContentUtils::CallOnAllRemoteChildren to std::function. r=smaug
We are going to introduce a new function in Document in this commit series,
which enumerates all child documents regardless of whether it's in the same
process, in content processes or in out-of-process iframes. The function takes
std::functions, but I don't have any good ideas to convert lambda functions with
capturing variables to function pointer.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 03:35:59 +00:00
Timothy Nikkel 36ab8e6657 Bug 1602258. Use GetAvailableScrollingDirectionsForUserInputEvents in WheelHandlingUtils::CanScrollOn. r=botond
We also need to adjust the scroll range we use. We do this by adding GetScrollRangeForUserInputEvents which just uses the range that GetAvailableScrollingDirectionsForUserInputEvents computed.

This should give two improvements:
1) CanScrollOn will not report that the user can scroll in an overflow hidden direction.
2) CanScrollOn will report that the user can scroll in an overflow hidden direction if the document is pinch zoomed in so that the user can scroll around the layout viewport.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 23:08:24 +00:00
Mirko Brodesser 718aee24fb Bug 1587433: part 7.6) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54503

--HG--
extra : moz-landing-system : lando
2019-12-16 11:31:43 +00:00
Alex Henrie b818437b98 Bug 1604395 - Remove dead assignment from ContentEventHandler::AppendFontRanges. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D57419

--HG--
extra : moz-landing-system : lando
2019-12-17 06:35:26 +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
Csoregi Natalia 2bfeaf7cb5 Backed out 11 changesets (bug 1587433) for bustages on RangeBoundary.h. CLOSED TREE
Backed out changeset 18f8d61039b0 (bug 1587433)
Backed out changeset 69ad70a4f85e (bug 1587433)
Backed out changeset 79ec11ba7fde (bug 1587433)
Backed out changeset f8a7e23843b8 (bug 1587433)
Backed out changeset f9255884980f (bug 1587433)
Backed out changeset 50a798e664a1 (bug 1587433)
Backed out changeset b225586edea6 (bug 1587433)
Backed out changeset b1d9e55ece86 (bug 1587433)
Backed out changeset 7ebbcb2da488 (bug 1587433)
Backed out changeset 4032df295a67 (bug 1587433)
Backed out changeset 0e1577031add (bug 1587433)
2019-12-16 13:25:51 +02:00
Mirko Brodesser 52bbf6b8da Bug 1587433: part 7.6) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54503

--HG--
extra : moz-landing-system : lando
2019-12-11 12:26:15 +00:00
Kris Maglione 94e3b0bd8d Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
Olli Pettay 3338ab0bb2 Bug 1556976, remove an old, mostly non-working hack to prevent zoom on form controls, r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D56966

--HG--
extra : moz-landing-system : lando
2019-12-13 13:07:23 +00:00
Emilio Cobos Álvarez b498defa90 Bug 1603455 - Remove full-screen-api.unprefix.enabled. r=xidorn,smaug
It's been enabled since Firefox 64.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 13:27:27 +00:00
Noemi Erli 2b5af87228 Backed out changeset d23f209ada8b (bug 1603455) for causing failures in test_fullscreen-api.html
--HG--
extra : rebase_source : 7b7990746d3884eeced2404ed9bc78590db4b77c
2019-12-12 23:49:35 +02:00
Emilio Cobos Álvarez 8d6730e227 Bug 1603455 - Remove full-screen-api.unprefix.enabled. r=xidorn,smaug
It's been enabled since Firefox 64.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 19:56:10 +00:00
Emilio Cobos Álvarez 4abc5101ed Bug 1526725 - Make wheel events passive by default on Nightly. r=smaug
This turned out to not be the root cause for that broken site, but I wrote the
code so... I enabled it on Nightly only to see if there's fallout, I don't think
we need to ship this in the near term, your call.

Depends on D56555

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

--HG--
extra : moz-landing-system : lando
2019-12-11 22:15:15 +00:00
Emilio Cobos Álvarez d70493e15e Bug 1526725 - Make dom.event.default_to_passive_touch_listeners a static pref. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D56555

--HG--
extra : moz-landing-system : lando
2019-12-11 22:15:08 +00:00
shindli 91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione 16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Dorel Luca a431475073 Backed out 2 changesets (bug 1526725) as per dev's request
Backed out changeset 98bafb894b5d (bug 1526725)
Backed out changeset 2bbbaccb0d06 (bug 1526725)

--HG--
extra : rebase_source : c71e12cb776f5f6d56400bfb398648be803b0ac7
2019-12-10 19:37:45 +02:00
Emilio Cobos Álvarez 85117004f2 Bug 1526725 - Make wheel events passive by default on Nightly. r=smaug
This turned out to not be the root cause for that broken site, but I wrote the
code so... I enabled it on Nightly only to see if there's fallout, I don't think
we need to ship this in the near term, your call.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 16:59:34 +00:00
Emilio Cobos Álvarez 93ebbd2ad0 Bug 1526725 - Make dom.event.default_to_passive_touch_listeners a static pref. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D56555

--HG--
extra : moz-landing-system : lando
2019-12-10 17:00:48 +00:00
Boris Zbarsky 4aa649053b Bug 1601377 part 2. Make it clear that nsContentUtils::PrincipalHasPermission never takes a null nsIPrincipal. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D56217

--HG--
extra : moz-landing-system : lando
2019-12-08 21:10:15 +00:00
Emilio Cobos Álvarez 7de32b37ce Bug 1598330 - Convert dom.w3c_touch_events.enabled to a static pref. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D56312

--HG--
extra : moz-landing-system : lando
2019-12-09 00:54:23 +00:00
Emilio Cobos Álvarez 42502c20b9 Bug 1598330 - Don't check touch event support off the main thread. r=smaug
It does a bunch of widget stuff which is not thread-safe.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 14:58:25 +00:00
Timothy Nikkel 86ad3fbc4b Bug 1601185. Add a function that returns if a user can scroll on a given scroll frame in either direction and use it in EventStateManager::ComputeScrollTargetAndMayAdjustWheelEvent. r=botond
Previously we were just checking overflow hidden here, which is not enough because we can scroll overflow hidden if we are zoomed in.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 22:56:00 +00:00
Noemi Erli 82d41a33b2 Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione 910eab35d2 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Daniel Varga 84a601a6d4 Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione 20da940e14 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:14 +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
Julian Descottes 81e34d9437 Bug 1600333 - Remove all tags = clipboard from the codebase r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D55305

--HG--
extra : moz-landing-system : lando
2019-12-05 11:07:10 +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
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
Timothy Nikkel 593938d2f2 Bug 1591799. In WheelHandlingUtils::CanScrollOn use scroll range related functions that are aware of the visual viewport of a scroll frame. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D55429

--HG--
extra : moz-landing-system : lando
2019-12-02 22:30:24 +00:00
Emilio Cobos Álvarez 0ff42b5218 Bug 1600155 - Remove StyleSheet{Added,Removed} and StyleRule{Added,Removed,Changed} events. r=heycam,smaug
They're only used by tests, and are not exposed.

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

--HG--
extra : moz-landing-system : lando
2019-11-30 12:24:32 +00:00
Emilio Cobos Álvarez 3c12d374bc Bug 1600362 - Cleanup IntersectionObserver. r=smaug
Initially this was going to be a simple cleanup: Remove some useless namespaces
here and there and so on, remove `using` statements from the header and so on.

But unfortunately, DOMIntersectionObserver.h (which is included in Element.h,
unnecessarily) ended up exposing `Element` unnamespaced to a lot of code, so I
had to fix that.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 20:39:36 +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