607314 Commits

Author SHA1 Message Date
Nicholas Nethercote
997e790c3f Bug 1477626 - Use mozilla::HashTable instead of js::HashTable in Bench.cpp. r=froydnj
MozReview-Commit-ID: 4P5L9Kdkiuu

--HG--
extra : rebase_source : 3311757797cbc7c699c39b5ee583910c1924cfb1
2018-07-26 20:16:00 +10:00
Nicholas Nethercote
6998f465ed Bug 1477626 - Use mozilla::HashTable instead of JS::HashTable in DMD. r=erahm
Also use mozilla::HashNumber where appropriate.

MozReview-Commit-ID: BTq0XDS5UfQ

--HG--
extra : rebase_source : 28f45a9b27e831e99620a2b575f373003f1301f2
2018-07-26 20:15:58 +10:00
Nicholas Nethercote
234016c13e Bug 1477626 - Document some differences between mozilla::HashTable and PLDHashTable. r=Waldo
MozReview-Commit-ID: DB0KUy99DDM

--HG--
extra : rebase_source : 4d14c47c48cb821f6c69654c1c5d90c48f217e48
2018-07-26 20:15:55 +10:00
Christian Holler
75e5225c77 Bug 1426176 - Add symbols file for Clang ASan runtime on Windows. r=ted
MozReview-Commit-ID: 4P3mwZNP8cY

--HG--
extra : histedit_source : ef086a01cdb2d228b93ee1be018033f7390fa055%2C1454c0f70d38a56f9c78e4d9b29107409c18726b
2018-07-26 11:16:50 +02:00
Abdoulaye O. Ly
c45c4fbe32 Bug 1458066 - Implement ability to move a selection of tabs within the same window through drag and drop. r=jaws
MozReview-Commit-ID: A3t0CAgrI5Z

--HG--
rename : browser/base/content/test/general/browser_tabReorder.js => browser/base/content/test/tabs/browser_tabReorder.js
extra : rebase_source : d3c329ab3ff02bdcae03cbd749ac83a0e34a9512
2018-07-23 19:01:17 +00:00
Tom Ritter
a0749a18ce Bug 1479506 Propogate group symbol into upload-symbols task r=Callek
MozReview-Commit-ID: 6KC60mdPI6F

--HG--
extra : rebase_source : 012b090de02500dfcc7c310f51199c1e9d82281a
2018-07-30 12:20:35 -05:00
Chris Pearce
2e3c4bd9af Bug 1478208 - Implement HTMLMediaElement.allowedToPlay. r=alwu,bz
Various web authors have expressed desire to know in advance whether autoplay
will work.

They want this in order to avoid paying the price for downloading media that
won't play. Or they want to take other action such as showing a poster image
instead.

This is of particular interest to Firefox, as we're planning on showing a
prompt to ask the user whether they would like a site to play. If sites want to
determine whether they can autoplay but avoid the prompt showing, they won't be
able to just call play() in Firefox and see whether it works, as that would
likely show the prompt if the user doesn't already have a stored permission.

We've been working out a spec here:
https://github.com/whatwg/html/issues/3617#issuecomment-398613484

This implements what is the consensus to date there;
HTMLMediaElement.allowedToPlay, which returns true when a play() call would not
be blocked with NotAllowedError by autoplay blocking policies.

MozReview-Commit-ID: AkBu0G7uCJ0

--HG--
extra : rebase_source : 3f31db79aa1e570fdd9fc7062d0ddac7c96a8931
2018-07-25 14:25:17 +12:00
Xidorn Quan
ea042b2ab2 Bug 1478455 - Add overflow-wrap: normal for table to html.css. r=dbaron
This would fix this bug as well as webcompat/web-bugs#17900.

The argument for this to be a reasonable change is that, table cells can
never shrink below the min intrinsic size, so overflow-wrap: break-word
doesn't make any sense in table when it didn't affect intrinsic size.
So this change basically revert the behavior of bug 1472386 for tables
which seems to be the biggest problem so far.

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

--HG--
extra : moz-landing-system : lando
2018-08-02 01:18:26 +00:00
Kyle Machulis
e8ad4d6c8a Bug 1450164 - Don't update URIs on history adds on docshells that are being shut down; r=bzbarsky
If we add to history on a docshell that is being shut down, add
history entry but skip trying to load the new URI.

MozReview-Commit-ID: JCF9muhxbFd

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

--HG--
extra : moz-landing-system : lando
2018-08-02 00:51:09 +00:00
Tom Schuster
beccfd4a6a Bug 1473523 - Don't attach SetDenseElement IC when a typed array is on the proto chain. r=anba
--HG--
extra : rebase_source : 2dfbd19f53444bc3b62bc08b45bcd8fc8cd48dce
2018-07-19 22:05:05 +02:00
Tom Schuster
06c42340c3 Bug 1473523 - Implement typed array [[Set]] as a separate function. r=jorendorff
--HG--
extra : rebase_source : d1b3c9eb12e4a85891299f309f8fc12081dabe1a
2018-07-25 14:24:50 +02:00
Boris Zbarsky
821d23d616 Bug 1446940 hopefully last-ever followup to fix test orange. r=bzbarsky
We need to hold on to the docshell, because the test can close the window before we remove the reflow observer.
2018-08-01 15:18:33 -04:00
David Major
f9500eac94 Bug 1479842: Don't PGO gfxFontInfoLoader.cpp with clang-cl. r=froydnj 2018-08-01 15:10:13 -04:00
Tiberius Oros
246ccc876f Backed out changeset b9b178105f1b (bug 1480139) for background-position-001.xht failures on a CLOSED TREE 2018-08-01 21:53:00 +03:00
Randall Barker
6d045ccecb Bug 1479549 Add a pref to disable double tap zooming in APZ r=botond
MozReview-Commit-ID: HK5RWuI6lIk
2018-08-01 11:25:32 -07:00
Boris Zbarsky
c503b4fea7 Bug 1446940 _another_ followup to fix test breakage from review comments. r=bzbarsky 2018-08-01 13:46:01 -04:00
Boris Zbarsky
0d2f1d309b Bug 1446940 followup to fix test breakage. 2018-08-01 13:44:05 -04:00
Andreas Tolfsen
268fbf91e8 Bug 1470659 - Regenerate WPT manifest. r=me 2018-08-01 18:32:33 +01:00
Andreas Tolfsen
9dccee3a24 Bug 1470659 - Parametrize capabilities tests. r=whimboo
To be able to ignore tests for individual capabilities we need to
parametrize these tests.  geckodriver now supports setWindowRect,
but fails the proxy capability test because it is for some reason
not propagated back.
2018-08-01 18:31:26 +01:00
Andreas Tolfsen
a873cd8570 Bug 1470659 - Move timeouts test to separate file. r=automatedtester,whimboo
For similar reasons as for platformName, tests for configuring the
timeouts object do not belong in the same parent test as those for
response body structure.
2018-08-01 18:31:26 +01:00
Andreas Tolfsen
e978cfd33d Bug 1470659 - Move platformName test to separate file. r=whimboo
Specific tests for the platformName capability do not belong in
the test for the response body structure.
2018-08-01 18:31:25 +01:00
Andreas Tolfsen
015c30f932 Bug 1470659 - Add setWindowRect capability to geckodriver. r=automatedtester
It will never be possible to configure setWindowRect, and trying
to do so will cause geckodriver to return with an error.
2018-08-01 18:31:25 +01:00
Andreas Tolfsen
42d2cf5275 Bug 1470659 - Add setWindowRect capability to Marionette. r=whimboo
The setWindowRect capability is mandated by the WebDriver standard
and is an indication whether the driver supports manipulating the
window dimensions and position.

This will always be true for Firefox and always false for Fennec.
2018-08-01 18:31:25 +01:00
Andreas Tolfsen
2dee10d7b9 Bug 1470659 - Simplify Marionette capability parsing. r=whimboo
Change the switch-statement to only do assertions, and replace the
v variable with any parsed values before writing it to the matched
set of capabilities in one location.
2018-08-01 18:31:24 +01:00
Ryan Hunt
1d007f3aa7 Bug 1480139 - Disable tiling on linux due to high crash rate. r=jrmuizel
We're experiencing a high volume of content crashes on linux, most likely due to
free type thread unsafety seen in bug 1477444 and 1479498. This commit disables
tiling to stop the crashes for now while we investigate further.

--HG--
extra : rebase_source : cedd55d2c8b96e298b2a96f84428abaf95dcde80
extra : source : d28438c3e7596af6d6e482f3b227c7cb43dbbf26
2018-08-01 11:31:11 -05:00
Rob Wu
426550290d Bug 1446956 - Test that activeTab is not granted for bookmarks menu r=mixedpuppy
This ensures that the check that was introduced by bug 1370499 still
continues to work even though it was refactored by the previous commit.

MozReview-Commit-ID: GdbIPA6vxIB

--HG--
extra : rebase_source : 9246a1d6855de45eca8de5ee806d3a3e5ab7f0be
2018-07-19 16:35:22 +02:00
Rob Wu
13e9ee22fa Bug 1446956 - Grant access to the clicked tab in menus.onClicked r=mixedpuppy
MozReview-Commit-ID: 3mVWOEcZFYn

--HG--
extra : rebase_source : aec91b4c8b0770208ca7ce9972d1fcf877d53bb1
2018-07-18 22:04:58 +02:00
Henrik Skupin
0b8af68bd7 Bug 1337899 - [wdspec] Add "Execute Script" test for final comment. r=ato
MozReview-Commit-ID: GwsaEqpEqSz

--HG--
extra : rebase_source : 59b4cf3d1390ed373c0b8cfa44798b621ae9eec5
2018-08-01 16:51:55 +02:00
Henrik Skupin
ad47be0ed3 Bug 1337899 - [marionette] - Fix construction of script src. r=ato
Marionette builds the final javascript source to execute by
using the specified body, and wrapping it into an anonymouse
function.

Because all of this happens in a single line, a comment in
the last line of the script body will cause the source only
half-wise constructed, and the post-wrapping code assumed
as comment too.

MozReview-Commit-ID: CXtUKfr8jKO

--HG--
extra : rebase_source : 8f5e7bce8cb2bcd2d32409212003f9369f2f5a30
2018-08-01 16:48:02 +02:00
Cosmin Sabou
b1ef7da4b4 Backed out 2 changesets (bug 1337899) for linting opt failure on web-platform/meta/MANIFEST.json
Backed out changeset 998c36eeb67e (bug 1337899)
Backed out changeset 22c54c6cc370 (bug 1337899)
2018-08-02 10:06:18 +03:00
Sam Foster
30473eb88f Bug 1477106 - Use a pref to set default checkedness for "Save card to Firefox" and "Save address to Firefox" checkboxes. r=jaws
* Get default checkedness for the card persist checkbox from a new pref: dom.payments.defaults.saveCreditCard
* Get default checkedness for the address persist checkbox from a new pref: dom.payments.defaults.saveAddress
* Remember checked state from card page (only) so it doesnt change back when returning from add/edit address page
* Fix up card form tests to verify behavior in private/not-private windows, pref value, user opt-in for persisting the card
* Fix up address form tests to not conflate private/not-private windows with expected address persisting behaviour

MozReview-Commit-ID: GXMjqStlnlu

--HG--
extra : rebase_source : e267187766d221e4f865cb84065ea18231e7c012
2018-07-26 15:36:07 -07:00
Mantaroh Yoshinaga
e0d6bff4a9 Bug 1477862 - Add white-space property into tooltip's label. r=birtles
If the width of the devtool window is narrow, tooltip's label has a line break.
This patch will prevent it.

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

--HG--
extra : moz-landing-system : lando
2018-08-02 05:29:22 +00:00
Johann Hofmann
8c4398d5d2 Bug 1476217 - Part 5 - Disable content blocking sub-controls when content blocking is disabled. r=jaws
MozReview-Commit-ID: 2WIqsabEXWw

--HG--
extra : rebase_source : dcff3dd2aa1be9d6417924a188f951b7eb896bf7
2018-08-01 15:27:13 +02:00
Johann Hofmann
ca96cd7922 Bug 1476217 - Part 4 - Add tests for content blocking. r=jaws
MozReview-Commit-ID: HhiR25IY3a5

--HG--
extra : rebase_source : e6748121535bfd96c2e206643647f1ed528cac0c
2018-07-23 21:30:01 +02:00
Johann Hofmann
29a5bf3f01 Bug 1476217 - Part 3 - Add FastBlock to Content Blocking categories in about:preferences. r=flod,jaws
MozReview-Commit-ID: kgvPKHaHFZ

--HG--
extra : rebase_source : e20c21613ff97d0d954724c8faccdaec557249b6
2018-07-23 13:08:18 +02:00
Johann Hofmann
b4aec391d0 Bug 1476217 - Part 2 - Add a "Restore Defaults" button to Content Blocking preferences. r=flod,jaws
MozReview-Commit-ID: Dhiph7jmTbV

--HG--
extra : rebase_source : 9bc78c04c511d91396822451f540561b16e6855e
2018-07-23 13:07:29 +02:00
Johann Hofmann
26f3cc09b3 Bug 1476217 - Part 1 - Update Tracking Protection preferences for Content Blocking. r=flod,jaws
This adds a new "Content Blocking" UI in place of the Tracking Protection preferences.
The Tracking Protection UI is preserved and the new UI is behind a pref, for now. This
resulted in some inconveniences such as duplicate code or unwieldy long names, but
we're planning to remove one version (likely the TP UI) soon.

The CB preferences can contain several categories of blockers which will be added in
future patches. The first one, Tracking Protection, is added in this patch and offers
a replacement in functionality for the previous TP UI.

MozReview-Commit-ID: 5Oj2glZMTqC

--HG--
extra : rebase_source : 2a33770f21aa96f6ec753856675e6567330660b9
2018-07-23 13:02:47 +02:00
Mark Hammond
91d6bbfba6 Bug 1479998 - use PlacesUtils to get a tab's favicon rather than SessionStore. r=tcsc
MozReview-Commit-ID: DdYbW5r9JfF

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

--HG--
extra : moz-landing-system : lando
2018-08-01 16:41:26 +00:00
Jon Coppeard
b64ad562af Bug 1475228 - Allocate script loader source buffers on the JS heap and pass ownership when compiling r=baku 2018-07-17 14:30:24 +01:00
Jon Coppeard
d3c569854b Bug 1475228 - Don't ignore errors returned from ScriptLoader::AttemptAsyncScriptCompile() r=baku 2018-07-17 14:30:23 +01:00
Jon Coppeard
d45eed4795 Bug 1475228 - Refactor ScriptLoader::GetScriptSource() to remove inline data argument r=baku 2018-07-17 14:30:23 +01:00
Jon Coppeard
1cf260e716 Bug 1475228 - Add JSMallocAllocPolicy to let gecko allocate data structures using the JS heap r=jandem 2018-07-17 14:30:23 +01:00
Jon Coppeard
827b83bae3 Bug 1475228 - Allow construction of a SourceBufferHolder from a UniquePtr r=jandem r=kmag 2018-07-17 14:30:23 +01:00
Jon Coppeard
4ff436874c Bug 1475228 - Make asynchronous compile APIs take SourceBufferHolders r=jandem 2018-07-17 14:30:23 +01:00
Jon Coppeard
ec2af16383 Bug 1475228 - Make synchronous compile APIs take SourceBufferHolders exclusively r=jandem r=fitzgen 2018-07-17 14:30:22 +01:00
Dorel Luca
a6587cb874 Merge mozilla-cental to mozilla-inbound
--HG--
rename : browser/components/payments/test/mochitest/test_labelled_checkbox.html => browser/components/payments/test/mochitest/test_completion_error_page.html
extra : rebase_source : 8549ae557dceba753101a71840a5076783bd1d36
2018-08-01 12:54:59 +03:00
agashlin@mozilla.com
a95f425a9e bug 1397297, make SnowWhite freeing more incremental, r=smaug
--HG--
extra : rebase_source : b5082f8753039358177bf99116966b0e51959169
2018-08-01 12:20:03 +03:00
David Heiberg
81d96b4ab0 Bug 1473648 [wpt PR 11806] - [WIP] Prototype HTTP/2.0 Server, a=testonly
Automatic update from web-platform-tests[WIP] Implemented a prototype H2 Server that can establish HTTP/2.0 connections on port 9000, and serve directories.

* Added event handling for ConnectionTerminated

* Added backwards compatibility with HTTP/1.1 Python handler files.

* Made it so a command line flag is needed to start the H2 server, and it is no longer started by default.

* Refactored compatibility checking when launching HTTP/2.0 server

* Created H1 and H2 handler variants, keeping shared logic in a base class

* Added a `raw_headers` field to the H2Headers object, so that the non-converted keys are exposed

* Added basic multithreading support. Requests now get placed in a thread to finish handling, whilst server listens
for more requests/windows updates.

* Created a ConnectionGuard object for the H2 connection object for thread safety as per jgraham's suggestion

--
Vendored in h2 and its dependencies

--

wpt-commits: 8ccd0cdbb51f89e1c45f16b7843dca1ffca37c91, 0e78a45d9f8ebe9d0f0978d6c2fe59a512e9865b
wpt-pr: 11806
MozReview-Commit-ID: 8qojXnrrAN0
2018-08-01 10:52:12 +01:00
David Heiberg
47775cc206 Bug 1476661 - Ensure H2 dependencies are packaged alongside wptserve where needed, r=jgraham 2018-08-01 10:52:11 +01:00
Emilio Cobos Álvarez
8fbd92cc4b Bug 1479860: Add a missing override keyword that got lost. r=me
on a CLOSED TREE of course, sigh.

MozReview-Commit-ID: 5nqGog4zg3Z
2018-08-01 11:31:24 +02:00