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

578339 Коммитов

Автор SHA1 Сообщение Дата
Ben Kelly 1a6be56766 Bug 1432272 Make Fetch API use the global's base URL instead of the entry document's base URL. r=bz
The fetch spec used to use the entry settings as the base for parsing relative
Request/Response URL's, but this is no longer the case.  This was changed in:

https://github.com/whatwg/fetch/issues/367

Update our code to match this behavior.  We basically convert GetEntryDocument()
to QI the global to nsGlobalWindowInner and use its ExtantDoc instead.

No changes are needed for workers since its not possible to perform cross-global
javascript access in worker threads.
2018-01-23 09:38:21 -05:00
Andrea Marchesini fadb18e7bb Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=me CLOSED TREE 2018-01-23 14:54:36 +01:00
Andrea Marchesini 85b163bc38 Bug 1430998 - Rename nsINode::InsertChildAt to InsertChildAt_Deprecated, r=catalinb 2018-01-23 14:30:18 +01:00
Andrea Marchesini b8bb98af8c Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=catalinb 2018-01-23 14:30:18 +01:00
Franziskus Kiefer 28c48ed8b7 Bug 1432177 - bump NSS version in old-configure.in
--HG--
extra : rebase_source : b206a2ce5351c46419807a8167a07b5311cb3647
2018-01-23 11:52:03 +01:00
Franziskus Kiefer cdd881cf58 Bug 1432177 - land NSS 10f7e0179b18 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 73060b7dd79b86f22b4f53d2d3491266b1968904
2018-01-23 11:48:27 +01:00
Jon Coppeard 3bdf7ef24a Bug 1382020 - Don't preload nomodule scripts when modules are enabled r=hsivonen 2018-01-23 13:07:37 +00:00
Christoph Kerschbaumer 16dba8baf1 Bug 1432137 - Add test to verify insecure redirects to data: URIs are blocked for script modules. r=jonco 2018-01-23 14:04:21 +01:00
Benjamin Bouvier f0075796d0 Bug 1431669: Follow up to fix build bustage on a CLOSED TREE; r=me
NoTypePolicy actually can't be used in a MixPolicy; revert this change.

MozReview-Commit-ID: 2BgZ3yNh8CP

--HG--
extra : rebase_source : 32615ccdc3181d60ff345e308ef63fa17362d043
2018-01-23 12:24:15 +01:00
Joanmarie Diggs 40555b75ce Bug 1432513 - Implement ARIA Graphics roles r=surkov
Recognize the graphics-document, graphics-object, and graphics-symbol
ARIA roles, mapping them to the DOCUMENT, GROUPING, and GRAPHIC internal
roles respectively.
2018-01-23 09:37:00 +02:00
Margareta Eliza Balazs 20f389535e Backed out changeset 2b3180f034b0 (bug 1422849) for f8 lint failure in /builds/worker/checkouts/gecko/toolkit/components/telemetry/parse_histograms.py:319:14 on a CLOSED TREE 2018-01-24 17:26:14 +02:00
Alejandro Rodriguez 9d1d42d129 Bug 1422849 - Drop support for full display versions in Histograms.json, Scalar.yaml and Events.yaml r=chutten
--HG--
extra : rebase_source : 02619bcf390f51fa59e992e92f86c4231c342cf3
2018-01-23 19:09:32 -05:00
Andrew Osmond f9a6aed383 Bug 1432472 - Do not assume CompositorBridgeChild is available for FlushAsyncPaints. r=rhunt
CompositorBridgeChild may be lost at any time due to a GPU process
crash. Additionally it may be already destroyed due to shutdown being
initiated. For FlushAsyncPaints, we can safely ignore the missing child
because the subsequent operations will generally fail and we will
recover when the GPU process is respawned (or switched to the UI
process).
2018-01-24 10:01:33 -05:00
Shuoyi Ma 17e44403a2 Bug 1432033 - Change the line dashes for the flexbox container. r=gl 2018-01-24 09:47:20 -05:00
Dylan Roeh f3710af757 Bug 1427771 - Fix broken exitFullScreen() in GeckoSession and call it in onBackPressed in custom tabs and PWAs. r=snorp 2018-01-23 16:18:15 -06:00
Jed Davis b7f2a67b3b Bug 1430756 - Remove check for unshare(), which we're no longer using. r=gcp
This also removes an assertion that was failing under external sandboxes
that deny unshare() even when it's a no-op.

MozReview-Commit-ID: KBEPJyDGU7M

--HG--
extra : rebase_source : 411a51d7707e506ca8cbe49553ada1de02f7c76b
2018-01-22 14:32:48 -07:00
Aaron Klotz 1baadb6673 Bug 1404482: Remove crash report annotation that was being made before the crash reporter initialized; r=Jamie
MozReview-Commit-ID: 2Nn0Bzxrvd2

--HG--
extra : rebase_source : 9d967f226ec34c76bbcee00bf7632e45822da5f6
2018-01-23 12:06:58 -07:00
Matthew Noorenberghe 9538f8f07b Bug 1387221 - Use registerCleanupFunction not on 'SimpleTest' to workaround bug 1432690. r=jaws
MozReview-Commit-ID: GWuhAu6lPg4

--HG--
extra : rebase_source : ef90179758cc6e70e1d037969b97444071056d99
2018-01-23 18:26:27 -08:00
Matthew Noorenberghe edda37a9a5 Bug 1387221 - Connect the shipping address picker with autofill address storage. r=jaws
MozReview-Commit-ID: DVujZR0ksV6

--HG--
extra : rebase_source : 8c17a01a005afd117d112acc7a224eaa7da32d0c
2018-01-23 16:44:56 -08:00
Alan Jeffrey 846ab0c3c8 servo: Merge #19820 - Run servo-warc-tests as part of test-perf (from asajeffrey:test-perf-run-warc-tests); r=jdm
<!-- Please describe your changes on the following line: -->

Run the servo-warc-tests as part of performance testing.

Depends on https://github.com/servo/servo-warc-tests/pull/1

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because this is adding more test infrastructure

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 2024ef56b00d4fce0c173f4d47474d97d767379d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4398dd8ef8162dade4a0404b091e207cc9a2e814
2018-01-23 17:48:07 -06:00
Martin Stransky 0594ae2db5 Bug 1427999 - Use GetToolbarButtonMetrics() to get correct titlebar button size at nsNativeThemeGTK::GetMinimumWidgetSize, r=jhorak
MozReview-Commit-ID: HfPUk30LaJn

--HG--
extra : rebase_source : ef406e78e686a6ae190a0fbdb9aa945e40503ac6
2018-01-22 12:09:09 +01:00
Martin Stransky e77fe4bfe2 Bug 1427999 - Implement GetToolbarButtonMetrics() to get titlebar button size and border, r=jhorak
Titlebar button on Gtk+ >= 3.20 can have defined its size as min-width and min-height
and can leave CSS styles border/padding empty. To render the button icon at center we need to
calculate button widget border from gap between icon and button.

This is done by GetToolbarButtonMetrics() which also stores final values to
ToolbarButtonGTKMetrics cache.

MozReview-Commit-ID: 5sMJATWHUNX

--HG--
extra : rebase_source : b0bda7c78106088a819b98c197cbb0cd099e47df
2018-01-22 12:14:13 +01:00
Botond Ballo ba97f3675e Bug 1429373 - If a perspective transform is excluded from an APZC's ancestor transform, include it in the ancestor transforms of its child APZCs. r=kats
MozReview-Commit-ID: 4EcTuD8otA7

--HG--
extra : rebase_source : 3b5b3e4c0a955ee515a5b16717c25db1d0113d57
2018-01-19 19:22:34 -05:00
Michael Hoffmann 49500a58ea Bug 1429763 - Show font preview when hovering on font names. r=pbro
--HG--
extra : rebase_source : 008150ca8dc9a3c1eec9405d8e0c230e91bb2614
2018-01-18 14:33:00 +02:00
Botond Ballo 2f32ec01a0 Bug 1429373 - During hit-testing, ignore clips on layers whose parent has a perspective transform. r=kats
This corresponds to the treatment of such layers in AsyncCompositionManager
added in bug 1168263.

MozReview-Commit-ID: 34IKk5TH9vV

--HG--
extra : rebase_source : 441d173e486b9be6557916219a849b2f9425d55b
2018-01-17 18:45:25 -05:00
Botond Ballo 287d543641 Bug 1429373 - Add a clarifying comment to the declaration of APZCTreeManager::SetTargetAPZC(). r=kats
MozReview-Commit-ID: CT1H5TH3UXn

--HG--
extra : rebase_source : 916c52d44857d93e6046d81c96a9716d32136fb6
2018-01-17 18:46:07 -05:00
Andreas Tolfsen fc0a3934f3 Bug 1430571 - Fire DOM change event on WebDriver:ElementClear. r=automatedtester
When clearing an element using the WebDriver Element Clear command,
the DOM change event should be fired.

MozReview-Commit-ID: 94iG8bsRe4S

--HG--
extra : rebase_source : db67b681aabae64c463e3591ee43c7fd0995b3af
2018-01-24 17:27:26 +00:00
Andreas Tolfsen da51fa7746 Bug 1432804 - Remove disabled attribute from Element Clear test. r=automatedtester
<select> is not a mutable form control element and it should not
be possible to call the WebDriver:ElementClear command on it.
We test this in test_select as part of element_clear.py in WPT,
but the test uses a <select disabled> element which triggers the
wrong code path in Marionette.

MozReview-Commit-ID: 4ybEdLY6OEo

--HG--
extra : rebase_source : 08e9f7a7f3d46d95a6e3a56c7f87667154538c3c
2018-01-24 15:21:09 +00:00
Chris Manchester dc3756ba9d Bug 1431879 - Use sorted iterators when generating moz.build files from gn to make the output deterministic. r=froydnj
MozReview-Commit-ID: BrijC37ErCP

--HG--
extra : rebase_source : a96a4aaadc6f6ee75a0de534cad8a9e87a9f4dbb
2018-01-23 19:33:08 -08:00
Tom Ritter 7ede4b30fa Bug 1432668 Do not run check-test for MinGW builds r=jlund
MozReview-Commit-ID: 8U1xG9T6zTn

--HG--
extra : rebase_source : 2e6c35bb85898c8bc8d6884131a3280075bb30a1
2018-01-23 22:17:07 -06:00
Gijs Kruitbosch 8fb9cc73bf Bug 1432488 - bump migration data telemetry probes, r=dthayer,liuche
MozReview-Commit-ID: 1PH4HlIdVBD

--HG--
extra : rebase_source : 0a254a43c327a52363410dc6aa700077a2588a5f
2018-01-23 23:32:04 +01:00
Mike Conley ac777b46dc Bug 1432482 - Extend the lifetime of the FX_TAB_REMOTE_NAVIGATION_DELAY_MS probe to Firefox 66. r=Gijs,liuche, data-review=liuche
MozReview-Commit-ID: 1HTGcBahL7G

--HG--
extra : rebase_source : ddcb311787196b9d8f24e72591305b7290441908
2018-01-23 17:55:36 -05:00
Christian Holler 5e6434ac23 Bug 1431090 - Add FuzzingInterface support to JS engine. r=jandem
This patch adds basic support for the fuzzing interface in the JS engine on top
of the last patch. This includes all the necessary code except for actual
targets (just an example target skeleton) and also makes sure that the fuzzing
code is packaged for the standalone release.

MozReview-Commit-ID: D6Tyebz3jZS

--HG--
extra : rebase_source : f07a5d2bf8e09fb6c93501e58fbb958004e2fa05
2018-01-17 17:05:04 +01:00
Christian Holler 8e72e4cc2f Bug 1431090 - Prepare tools/fuzzing/ to be used with JS_STANDALONE. r=froydnj
This patch adjusts tools/fuzzing/ in such a way that the relevant parts can be
reused in the JS engine. Changes in detail include:

* Various JS_STANDALONE checks to exclude parts that cannot be included in
  those builds.

* Turn LibFuzzerRegistry and LibFuzzerRunner into generic FuzzerRegistry and
  FuzzerRunner classes and use them for AFL as well. Previously, AFL was
  piggy-backing on gtests which was kind of an ugly solution anyway (besides
  that it can't work in JS). Now more code like registry and harness is
  shared between the two and they follow almost the same call paths and entry
  points. AFL macros in FuzzingInterface have been rewritten accordingly.
  This also required name changes in various places. Furthermore, this unifies
  the way, the fuzzing target is selected, using the FUZZER environment
  variable rather than LIBFUZZER (using LIBFUZZER in browser builds will give
  you a deprecation warning because I know some people are using this already
  and need time to switch). Previously, AFL target had to be selected using
  GTEST_FILTER, so this is also much better now.

* I had to split up FuzzingInterface* such that the STREAM parts are in a
  separate set of files FuzzingInterfaceStream* because they use nsStringStream
  which is not allowed to be included into the JS engine even in a full browser
  build (error: "Using XPCOM strings is limited to code linked into libxul.").
  I also had to pull FuzzingInterface.cpp (the RAW part only) into the header
  and make it static because otherwise, would have to make not only separate
  files but also separate libraries to statically link to the JS engine, which
  seemed overkill for a single small function. The streaming equivalent of the
  function is still in a cpp file.

* LibFuzzerRegister functions are now unique by appending the module name to
  avoid redefinition errors.

MozReview-Commit-ID: 44zWCdglnHr

--HG--
extra : rebase_source : fe07c557032fd33257eb701190becfaf85ab79d0
2018-01-17 15:20:35 +01:00
Mike de Boer 34e56095a6 Bug 1392130 - Ensure that when one of the Sessionstore shutdown blockers finishes and wins the race, to properly cleanup the running timer and observers. r=Yoric
MozReview-Commit-ID: 1K4QDCSM2oj

--HG--
extra : rebase_source : c7cf4a1e9edb62c17e7abb0aea452a2cffbec5b5
2018-01-23 15:24:01 +01:00
Philip Chimento 6b52ba7b8d Bug 1176787 - Always link mozglue into the shared library when building standalone. r=glandium
Regardless of which platform we are building on.

--HG--
extra : rebase_source : b10b6b7127e8ed86e9c19f4cba9d54fd2f02f99f
2018-01-15 13:57:03 -08:00
Ethan Lin 3ebfc01b38 Bug 1419528 - Add a reftest for box shadow with zero attributes. r=kats
MozReview-Commit-ID: CwKzjv6pMF7
2018-01-16 17:15:44 +08:00
Morris Tseng b2c0abd643 Bug 1393907 - Handle bevel borders. r=kats
Since bevel only appear outmost border of table. I collect all bevel border
and combined them as a single border with four sides.

MozReview-Commit-ID: Bvu8Zf56YDF
2018-01-24 08:46:10 -05:00
Marco Castelluccio 47b9708b4a Bug 1431349 - Add additional tests for UrlFinder and chrome_map preprocessor info generation. r=chmanchester
--HG--
extra : rebase_source : 838a6b114e433f9179a1e3294ab53d730b672073
2018-01-23 16:00:58 +01:00
Marco Castelluccio 99049e0dcd Bug 1431349 - Fix lcov rewriter tests with the new LcovFileRewriter and UrlFinder constructors. r=chmanchester
--HG--
extra : rebase_source : 27ef8000d97152c6b27f35b9ec1a065dc0c27088
2018-01-19 11:02:05 +01:00
Marco Castelluccio 8ee287cc7c Bug 1431349 - Store some information about build configuration in chrome-map.json, so that the lcov rewriter doesn't need to import buildconfig. r=chmanchester
--HG--
extra : rebase_source : b84ea5953a64b367cb31c253a30842e698118e81
2018-01-18 12:52:48 +01:00
Marco Castelluccio 6ae73dfbcf Bug 1431723 - Actually use URL overrides in the LCOV rewriter. r=chmanchester
--HG--
extra : rebase_source : cb31f4f193a7fcda9db6c6be7376c01554013c87
2018-01-19 12:46:43 +01:00
Marco Castelluccio a69b08ec8f Bug 1402539 - Ignore query parameters when rewriting URLs. r=chmanchester
--HG--
extra : rebase_source : 3f1c8c38955b370d36410da1254fc80a19ef932f
2018-01-23 16:00:47 +01:00
Marco Castelluccio 8073360e69 Bug 1402539 - Update test_lcov_rewrite to use new generate_pp_info function. r=chmanchester
--HG--
extra : rebase_source : 870e007546e5a958d964f8c4054db77e54408c8c
2018-01-19 10:51:21 +01:00
Marco Castelluccio 7930ff0189 Bug 1402539 - Parse install manifest when generating the chrome-map file. r=chmanchester
--HG--
extra : rebase_source : 0f519d15470c88f792a93366e5481e76ff4d96f0
2018-01-18 13:36:28 +01:00
Marco Castelluccio 6b44872a27 Bug 1402539 - Don't check for the existence of the files, check if they are in the install info. r=chmanchester
--HG--
extra : rebase_source : 03d823fee0a286b8c17f380f9b15584d920f74c4
2018-01-18 11:51:48 +01:00
Marco Castelluccio 16f4891262 Bug 1402539 - Store relative paths in the chrome-map.json file. r=chmanchester
--HG--
extra : rebase_source : 5b8237855bcbfcd0a46cbb792123b1343f074052
2018-01-18 11:17:31 +01:00
Marco Castelluccio a12e141983 Bug 1402539 - Generate preprocessor information for lcov rewriting at build time. r=chmanchester
--HG--
extra : rebase_source : bad1d80838a930bd66aa88394065f9ea955ab237
2018-01-18 11:12:28 +01:00
Sebastian Hengst 78d2a3c1db Merge mozilla-central to mozilla-inbound 2018-01-24 14:24:05 +02:00
Andrea Marchesini f3ba47cb22 Bug 1432713 - PerformanceResouceTiming entries should have initiatorType set to 'fetch' if related to Fetch method requests, r=smaug 2018-01-24 12:45:59 +01:00