Commit Graph

594927 Commits

Author SHA1 Message Date
Boris Zbarsky
5453e2995c Bug 1387143 part 16. Remove nsISelectionPrivate::GetType. r=mats 2018-05-08 13:52:38 -04:00
Boris Zbarsky
7fe6dda3aa Bug 1387143 part 15. Remove nsISelectionPrivate::Get/SetSelectionDirection. r=mats 2018-05-08 13:52:38 -04:00
Boris Zbarsky
b904b76fa3 Bug 1387143 part 14. Remove nsISelectionPrivate::GetCachedFrameOffset. r=mats. 2018-05-08 13:52:37 -04:00
Boris Zbarsky
9fd43d1a19 Bug 1387143 part 13. Remove nsISelectionPrivate::Get/SetCanCacheFrameOffset. r=mats 2018-05-08 13:52:37 -04:00
Boris Zbarsky
3e7d2d87cf Bug 1387143 part 12. Remove nsISelectionPrivate::Add/RemoveSelectionListener. r=mats
None of the C++ callers of RemoveSelectionListener care about whether the
listener was already-added, and the only JS caller is in a test and knows the
listener was added.  So the behavior change to no-op instead of throwing when
trying to remove a nonexistent listener is OK.  Furthermore, the removal is
null-safe, so there's no point to explicitly failing if null is passed (which
it never is).

Since content can't directly add selection listeners, we can just use an
infallible append instead of returning errors callers don't check for anyway.

Also, no one passes null to AddSelectionListener, so we don't have to worry
about that part.
2018-05-08 13:52:37 -04:00
Boris Zbarsky
0efb178bc2 Bug 1387143 part 11. Support non-XPCOM weakreference on Selection. r=mats
This way we don't have to deal with QI to get a Selection out of a weakref.

mfbt weakrefs don't have a SizeOfOnlyThis.  In any case, the memory used by the
weakref itself is pretty minor...
2018-05-08 13:52:37 -04:00
Boris Zbarsky
1cddc3228a Bug 1387143 part 10. Remove toString bits from nsISelection and nsISelectionPrivate. r=mats. 2018-05-08 13:52:37 -04:00
Boris Zbarsky
a36e7f946e Bug 1387143 part 9. Remove nsISelectionPrivate::Get/SetAncestorLimiter. r=mats 2018-05-08 13:52:37 -04:00
Boris Zbarsky
2abc41a969 Bug 1387143 part 8. Remove nsISelectionPrivate::Get/SetInterlinePosition. r=mats 2018-05-08 13:52:37 -04:00
Boris Zbarsky
abdd178705 Bug 1387143 part 7. Move the TABLESELECTION_* constants from nsISelectionPrivate to a TableSelection enum. r=mats 2018-05-08 13:52:36 -04:00
Boris Zbarsky
dec2ee2180 Bug 1387143 part 6. Remove some unused constants from nsISelectionPrivate and Selection. r=mats 2018-05-08 13:52:36 -04:00
Boris Zbarsky
c4c94974c4 Bug 1387143 part 5. Remove JS use of nsISelectionPrivate. r=mats 2018-05-08 13:52:36 -04:00
Boris Zbarsky
921ee1d522 Bug 1387143 part 4. Stop using nsISelection in remaining xpidl. r=mats 2018-05-08 13:52:36 -04:00
Boris Zbarsky
46cae9462a Bug 1387143 part 3. Stop using nsISelection in nsISelectionController. r=mats 2018-05-08 13:52:36 -04:00
Boris Zbarsky
3463812125 Bug 1387143 part 2. Stop using nsISelection in nsIDocumentEncoder. r=mats 2018-05-08 13:52:36 -04:00
Boris Zbarsky
b23f25078d Bug 1387143 part 1. Stop using nsISelection in nsISelectionListener. r=mats 2018-05-08 13:52:35 -04:00
Alexander Surkov
5d3b238323 Bug 1005271 - HTML table with display:block should expose table semantics, r=marcoz 2018-05-08 13:13:38 -04:00
Bogdan Tara
4a27af60b6 Backed out changeset 5dbd8eafc7fd (bug 1456284) for BC failures CLOSED TREE 2018-05-08 20:35:14 +03:00
Dorel Luca
bc2b7e106e Bug 1388973 - Disabled browser_tab_dragdrop.js on Linux and OSX r=jmaher CLOSED TREE 2018-05-08 08:08:00 +03:00
Bogdan Tara
fe7180b0ef Backed out changeset 9a9d2ff46ab7 (bug 1388973) for BC failures CLOSED TREE 2018-05-08 20:16:42 +03:00
Ted Mielczarek
4fa1d9ed5a bug 1408502 - embed natvis info for Gecko types in our PDB files. r=froydnj
MSVC supports XML natvis files for pretty-printing types in the debugger:
https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects

The gecko.natvis in this commit is from vlad's github repo:
https://github.com/mozilla/moz-dev-contrib/blob/master/windows/Gecko.natvis

This change simply makes the linker embed this natvis file into xul.pdb
when linking xul.dll, so that Microsoft's debuggers can more usefully
display Gecko data types. With this file in-tree it should be easy for
developers to make additions or improvements.

MozReview-Commit-ID: JZhxyaDODC1

--HG--
extra : rebase_source : 75f9a71fdd3f315d98a34f0209956e07c7372b4f
2018-03-14 14:07:15 -04:00
Aki Sasaki
5e9ec9705b bug 1408868 - back out the broken portions of cbdef048e40c. r=backout a=release
--HG--
extra : rebase_source : 57177c61b83aa3fc8ef2c07ee235c60be4e20f6f
extra : source : 4e53a8d0713173885c9debef317f14dff76bb877
2018-05-08 09:45:08 -07:00
Raul Gurzau
573aa407a4 Bug 1456284 - Disable browser_insecure_form.js for frequent failures. r=jmaher 2018-05-07 20:21:00 -04:00
Dorel Luca
732bb60850 Bug 1388973 - Disable browser_tab_dragdrop.js on Linux and OSX. r=jmaher 2018-05-08 08:08:00 -04:00
Christoph Kerschbaumer
920a60992c Bug 1458504 - Move Tokenizer into it's own file so it can be shared by the CSP Parser and the Feature Policy Parser. r=jkt 2018-05-02 16:36:51 +02:00
Samuel Thibault
9fd0d30422 Bug 1458548 - atk: Implement scrollto ATK API. r=surkov 2018-05-02 15:55:33 +02:00
Yuri Khan
ab05486dd0 Bug 1417133 - When loadBookmarksInTabs is true and current tab is blank, reuse it. r=Standard8 2018-04-29 20:28:05 +07:00
Jason Duell
edbb85e76e Bug 1459882 - Manually update the public suffix list. r=valentin
--HG--
extra : rebase_source : 4a869a15dd0e2ebfa4b6711e2010ded401ecc9e6
2018-05-08 04:36:00 -04:00
Coroiu Cristina
ec7ba6b7e9 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-05-08 18:57:41 +03:00
Ryan VanderMeulen
a5b95aa8a5 Bug 1458905 - Update to FreeType 2.9.1. r=jfkthame 2018-05-08 11:48:29 -04:00
Coroiu Cristina
5ff2d76830 Merge inbound to mozilla-central a=merge 2018-05-08 18:47:35 +03:00
Ben Kelly
e2fb37ef0a Bug 1458971 Make operation actors explicitly hold references to the initiating object instead of using an extra MozPromise::Then(). r=baku 2018-05-08 08:11:58 -07:00
moz-wptsync-bot
640ac3d2e8 Bug 1459062 - [wpt-sync] Update web-platform-tests to d3578ca763c561ab44f62405d02949183e2bdba7, a=testonly
wpt-head: d3578ca763c561ab44f62405d02949183e2bdba7
wpt-type: landing
MozReview-Commit-ID: HWve5X9ut3j
2018-05-08 15:52:42 +01:00
James Graham
3438a5bec7 Bug 1459223 - Revert wpt PR 10804 - "Hook up logging for websocket server", r=jdm
This reverts commit 8478250a4085754f853aaa34764a8f7bf883fd82.
2018-05-08 15:52:40 +01:00
James Graham
f27dc10dcf Bug 1459197, Move wpt-specific parts out of wptserve Config, r=gsnedders.
This reestablishes the separtion between wptserve and the rest of web-platform-tests.
It moves the parts of the configuration that are specific to wpt out into the
serve.Config class. It also removes the default.config.json file and just puts
the default configuration directly into the code since there it is able to use
things like runtime paths without difficulty.

MozReview-Commit-ID: FXAClJ8JJof


--HG--
rename : testing/web-platform/tests/tools/sslutils/__init__.py => testing/web-platform/tests/tools/wptserve/wptserve/sslutils/__init__.py
rename : testing/web-platform/tests/tools/sslutils/pregenerated.py => testing/web-platform/tests/tools/wptserve/wptserve/sslutils/pregenerated.py
2018-05-08 15:52:38 +01:00
moz-wptsync-bot
4040651bad Bug 1455554 [wpt PR 10545] - Update wpt metadata, a=testonly
wpt-pr: 10545
wpt-type: metadata
2018-05-08 15:52:35 +01:00
Guido Urdaneta
cb35d68012 Bug 1455554 [wpt PR 10545] - Support the groupId property in MediaStreamTrack.getSettings(), a=testonly
Automatic update from web-platform-testsSupport the groupId property in MediaStreamTrack.getSettings()

Bug: 834281
Change-Id: I5ef11a3343e5b534bee6e088a36fb3365bd218e8
Reviewed-on: https://chromium-review.googlesource.com/1019323
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555759}

--

wpt-commits: d3578ca763c561ab44f62405d02949183e2bdba7
wpt-pr: 10545
2018-05-08 15:52:33 +01:00
Anne van Kesteren
0955d1dabd Bug 1458872 [wpt PR 10821] - File API: lastModifiedDate has been obsolete for a while, a=testonly
Automatic update from web-platform-testsFile API: lastModifiedDate has been obsolete for a while

--

wpt-commits: 95127fa5adb1d9953899561c152c518c552e4ed0
wpt-pr: 10821
2018-05-08 15:52:30 +01:00
moz-wptsync-bot
579ba5826e Bug 1458738 [wpt PR 10804] - Update wpt metadata, a=testonly
wpt-pr: 10804
wpt-type: metadata
2018-05-08 15:52:27 +01:00
Josh Matthews
4e6d754afd Bug 1458738 [wpt PR 10804] - Hook up logging for websocket server, a=testonly
Automatic update from web-platform-testsHook up logging for websocket server

Use warning as the default level to avoid large amounts of debug spew.
--

wpt-commits: f4dfd5fb5f8dda5ba6974c791d153d968edf0aa3
wpt-pr: 10804
2018-05-08 15:52:25 +01:00
Ms2ger
a8b6caadce Bug 1458811 [wpt PR 10814] - Improve color use in background-clip-content-box-001.html., a=testonly
Automatic update from web-platform-testsImprove color use in background-clip-content-box-001.html. (#10814)

Originally submitted as <https://github.com/w3c/web-platform-tests/pull/6226>.

Some additional changes by Ms2ger.
--

wpt-commits: b5befcbe4803b7de1a758142a675a1eae60c1bac
wpt-pr: 10814
2018-05-08 15:52:24 +01:00
Simon Pieters
ada237d322 Bug 1458529 [wpt PR 10763] - Add picture-in-picture/OWNERS, a=testonly
Automatic update from web-platform-testsAdd picture-in-picture/OWNERS

--

wpt-commits: ea45fc52fa6016bd9940f3b8efcd11158995951b
wpt-pr: 10763
2018-05-08 15:52:21 +01:00
moz-wptsync-bot
263c7df47c Bug 1458750 [wpt PR 10809] - Update wpt metadata, a=testonly
wpt-pr: 10809
wpt-type: metadata
2018-05-08 15:52:18 +01:00
Rune Lillesveen
9e9979002f Bug 1458750 [wpt PR 10809] - Reset writing mode for media controls., a=testonly
Automatic update from web-platform-testsReset writing mode for media controls.

Use horizontal-tb on UA stylesheet to make sure the controls look the
same in all writing modes.

Bug: 839142
Change-Id: I7c84afb4f1eef2cf741196b6a8639845aa72066c
Reviewed-on: https://chromium-review.googlesource.com/1041025
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555670}

--

wpt-commits: 7a7d2e13deccb4d68a084446f837410b0cd909f9
wpt-pr: 10809
2018-05-08 15:52:16 +01:00
Nicolas Pena
077655d6d1 Bug 1458392 [wpt PR 10745] - Fix timing allow check algorithm for service workers, a=testonly
Automatic update from web-platform-testsFix timing allow check algorithm for service workers

This CL uses the OriginalURLViaServiceWorker() in the timing allow check
algorithm if the response WasFetchedViaServiceWorker(). This way, if a
service worker changes a same origin request to become cross origin,
then the timing allow check algorithm will still fail.

resource-timing-worker.js is changed so it avoids an empty Response,
which is an odd case in terms of same origin checks.

Bug: 837275
Change-Id: I7e497a6fcc2ee14244121b915ca5f5cceded417a
Reviewed-on: https://chromium-review.googlesource.com/1038229
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Yoav Weiss <yoav@yoav.ws>
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555476}

--

wpt-commits: 7e9e0aed09557bf971cdea5fabe8872aeed3e0f3
wpt-pr: 10745
2018-05-08 15:52:14 +01:00
Chris Lilley
051bcf440a Bug 1453680 [wpt PR 10446] - test the @font-face font feature settings descriptor (property already tested), a=testonly
Automatic update from web-platform-testsMerge pull request #10446 from w3c/ffs-descriptor

test the @font-face font feature settings descriptor (property already tested)
--

wpt-commits: f9924ae9ab71b715af273e50a9f7256bff8140e4
wpt-pr: 10446
2018-05-08 15:52:11 +01:00
Mustaq Ahmed
dfc0d4c86e Bug 1458650 [wpt PR 10791] - Treat long-press gesture as a user activation., a=testonly
Automatic update from web-platform-testsTreat long-press gesture as a user activation.

Also add a web-platform-test for this change, which is already
supported by Firefox.

Intent to ship: https://groups.google.com/a/chromium.org/d/msg/blink-dev/-2AyrUFwXvY/Q_wCUmKSAgAJ
Spec change PR: https://github.com/whatwg/html/pull/3659

Bug: 836401
Change-Id: Ia710190857211684ce5ce7d4ff835b874f658b29
Reviewed-on: https://chromium-review.googlesource.com/1039265
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555450}

--

wpt-commits: d86d487f8c2b41816e01ecde2116252fbdf4de43
wpt-pr: 10791
2018-05-08 15:52:08 +01:00
Anne van Kesteren
a273844c13 Bug 1458511 [wpt PR 10756] - HTML: document.open() and the document's encoding, a=testonly
Automatic update from web-platform-testsHTML: document.open() and the document's encoding

For https://github.com/whatwg/html/pull/3661.
--

wpt-commits: f7fd9fa9515a8fe6f0de3c0da08aad1a077784e5
wpt-pr: 10756
2018-05-08 15:52:05 +01:00
moz-wptsync-bot
e785983d77 Bug 1458443 [wpt PR 10753] - Update wpt metadata, a=testonly
wpt-pr: 10753
wpt-type: metadata
2018-05-08 15:52:02 +01:00
Joe Downing
fc5df41d48 Bug 1458443 [wpt PR 10753] - [KeyboardLock] Ensure API is called from a top-level browsing context, a=testonly
Automatic update from web-platform-tests[KeyboardLock] Ensure API is called from a top-level browsing context

This change adds some checks to the keyboard lock API to ensure it was
called from within a supported context, otherwise it now rejects the
promise.

BUG=680809

Change-Id: I3d127422c640d16e43c22adb14755b65eb2cdc6a
Reviewed-on: https://chromium-review.googlesource.com/1038888
Reviewed-by: Gary Kacmarcik <garykac@chromium.org>
Commit-Queue: Joe Downing <joedow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555417}

--

wpt-commits: 90e225b4f5b37986c06f29bd305b0291a30e4867
wpt-pr: 10753
2018-05-08 15:52:01 +01:00