Commit Graph

627928 Commits

Author SHA1 Message Date
Jan de Mooij
b8a316aca4 Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag
For *incoming* wrappers this preserves behavior. We nuke *outgoing* wrappers
when all realms in the compartment have been nuked. To implement this I moved
the wasNuked flag from XPConnect to JS::Compartment as nukedOutgoingWrappers and
to JS::Realm as nukedIncomingWrappers.

The code to create a dead wrapper in the nuked compartment/realm case was also
moved into the JS engine. I added a shell test for it.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 08:02:30 +00:00
Daniel Holbert
fa80837513 Bug 1513387: Add braces & newlines to re-wrap some return statements that clang-format unwrapped, in layout/svg. r=heycam
This patch shouldn't affect behavior; it's just making the existing control
flow clearer and more debuggable.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 06:32:44 +00:00
Ciure Andrei
12adcc1edd Backed out changeset a8dd01db9f92 (bug 1512260) requsted by owner (missing test) CLOSED TREE 2018-12-12 09:14:53 +02:00
Jan de Mooij
89da963b10 Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag
For *incoming* wrappers this preserves behavior. We nuke *outgoing* wrappers
when all realms in the compartment have been nuked. To implement this I moved
the wasNuked flag from XPConnect to JS::Compartment as nukedOutgoingWrappers and
to JS::Realm as nukedIncomingWrappers.

The code to create a dead wrapper in the nuked compartment/realm case was also
moved into the JS engine. I added a shell test for it.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 06:39:38 +00:00
Coroiu Cristina
51cd68a168 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-12-12 07:26:06 +02:00
Dorel Luca
d1d958a798 Backed out 4 changesets (bug 1512280) for bmsvc build bustage
Backed out changeset abe934612616 (bug 1512280)
Backed out changeset 9463a1a3d790 (bug 1512280)
Backed out changeset 9a68c5f1ca0d (bug 1512280)
Backed out changeset 616721cad893 (bug 1512280)
2018-12-12 07:22:49 +02:00
Coroiu Cristina
3160ddc1f0 Merge inbound to mozilla-central a=merge 2018-12-12 07:12:07 +02:00
Jan-Ivar Bruaroey
826b382038 Bug 1512280 - Less verbose code in MediaManager in places. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D13986

--HG--
extra : moz-landing-system : lando
2018-12-12 04:22:06 +00:00
Jan-Ivar Bruaroey
3120eb8814 Bug 1512280 - Add out-parameter to EnumerateDevicesImpl(); clearer semantics and flattens things. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D13985

--HG--
extra : moz-landing-system : lando
2018-12-12 04:00:42 +00:00
Jan-Ivar Bruaroey
b43cd8e1dd Bug 1512280 - Make LOG macros clang-format friendlier. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D13859

--HG--
extra : moz-landing-system : lando
2018-12-12 02:36:51 +00:00
Ted Campbell
8076a065aa Bug 1513433 - Fix gc/Verifier.cpp in opt gczeal configuration. r=sfink 2018-12-11 21:26:11 -05:00
Jan-Ivar Bruaroey
2fc3a23b7c Bug 1512280 - Fix some nits and shorten MediaManager::GetUserMedia(). r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D13858

--HG--
extra : moz-landing-system : lando
2018-12-12 02:23:57 +00:00
alwu
aba79e9edc Bug 1511235 - part2 : add test. r=jya,baku
Add new webidl method for testing only and a test.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 02:16:55 +00:00
Daniel Varga
9be61b1c47 Backed out changeset 1a06654dd1ba (bug 1513152) for test-android-em failure at dom/security/test/csp/test_punycode_host_src.html on a CLOSED TREE 2018-12-12 03:29:20 +02:00
Lina Cambridge
38d15752db Bug 1512868 - Simplify merge triggers in the Sync mirror. r=mak
This commit consolidates the `insertNewLocalItems` and
`updateExistingLocalItems` triggers into a single trigger that uses
an upsert, and removes the last vestiges of annotations from the
mirror.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 00:56:29 +00:00
Lina Cambridge
a51c634adf Bug 1512867 - Always update or upload synced bookmarks that only exist on one side. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D14034

--HG--
extra : moz-landing-system : lando
2018-12-12 01:00:13 +00:00
Hiroyuki Ikezoe
d94fd24a70 Bug 1513243 - Set gfx.omta.background-color true for the reftest for background-color animations on the compositor. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D14208

--HG--
extra : moz-landing-system : lando
2018-12-12 00:04:11 +00:00
Dorel Luca
58cd1ee36a Backed out changeset b3a9872c08d7 (bug 1513042) for Gtest failure
--HG--
extra : rebase_source : 6930ed8e1ea84af3a83f380279138d75ce2bde30
2018-12-12 02:13:45 +02:00
Joel Maher
ce5a6bc787 Bug 1508794 - skip on debug org.mozilla.geckoview.test.GeckoSessionTestRuleTest.waitForChromeJS. r=gbrown
skip on debug org.mozilla.geckoview.test.GeckoSessionTestRuleTest.waitForChromeJS

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

--HG--
extra : moz-landing-system : lando
2018-12-11 20:47:40 +00:00
Hiroyuki Ikezoe
6bebce8600 Bug 1512037 - Bail out from prefersReducedMotion() if the target device is Android 4.1 or older. r=snorp
Settings.Global can't be used on such devices.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 23:38:26 +00:00
Drew Willcoxon
1b85c280bd Bug 1511529 - Add substring matching/highlighting to UrlbarMatch and support it in UrlbarView. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D13717

--HG--
extra : moz-landing-system : lando
2018-12-11 23:22:54 +00:00
Tom Ritter
bb57f44268 Bug 1512690 - Add a mechanism to omit logging specified Message Manager topics r=tjr
The topic will be skipped if the topic name appears anywhere as a substring
of the env var MOZ_LOG_MESSAGEMANAGER_SKIP.

Example:
  MOZ_LOG_MESSAGEMANAGER_SKIP="foobar|extension"
    Will match the topics 'foobar', 'foo', 'bar', and 'ten' (even though you may not
    have intended to match the latter three) and it will not match the topics
    'extensionresult' or 'Foo'.

--HG--
extra : histedit_source : 911b7572481c618551c6faeacfd4a46b6873ed8d
2018-12-11 13:28:26 -06:00
Tom Ritter
04ad4da5ff Bug 1512690 - Introduce a MesageManager log topic for MM topics and data r=tjr
This logging topic will output the topic of MEssageManager data at log
level 4 (debug); and will output the entire content of the data at level
5 (verbose).

--HG--
extra : histedit_source : 7be60b456a1652f9a9985fd4a01571b207a5f9e6
2018-12-11 11:31:24 -06:00
Andrea Marchesini
66b8ff36dc Bug 1459264 - Allow just 1 FilePicker per event - tests, r=smaug 2018-12-12 01:00:09 +01:00
Andrea Marchesini
294ac3e81c Bug 1459264 - Allow just 1 FilePicker per event, r=smaug 2018-12-12 01:00:05 +01:00
Andrea Marchesini
45041939bf Bug 167475 - iframes should load just URLs able to return data, r=smaug
This is done in order to block external protocol URLs in iframes, which cannot
be used to create documents, and they could exec external apps or show prompt
dialogs.
2018-12-12 00:59:47 +01:00
Rob Wood
a7a4bd4065 Bug 1512671 - Add nightly raptor tp6 gecko profiling jobs; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D14096

--HG--
extra : moz-landing-system : lando
2018-12-11 15:41:01 +00:00
Bryce Van Dyk
74daa628bc Bug 1513042 - Update mp4parse-rust to v0.11.2. r=jya
Update mp4parse-rust update script and pull the new version.

This update changes the mp4parse C-API. Specifically, each track can now
have multiple sample descriptions. Previously we'd just exposed the first for
the entire track, and if others were available they were not exposed via the
API. Because of the API change, we update the C++ interface with mp4parse-rust.

We now inspect the sample info to make sure they're consistent with the parsers
expectations:
- Only a single codec is present for a track, multiple codecs in a track will
  result in us returning an error.
- Only 0 or 1 crypto info is present for a track, more than one set of info will
  result in us returning an error.

We still generalize some of the first sample info to the samples of the track,
as we did before this patch. However, we will now catch the above cases
explicitly.

We now handle crypto information if it is not present on the first sample info.
The parser will iterate through sample infos and use the first set of crypto
info it finds (and fail if it finds 2+).

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

--HG--
extra : moz-landing-system : lando
2018-12-11 20:55:26 +00:00
Cameron McCormack
6a4128de00 Bug 1513361 - Add missing space to layout/element-data-objects memory reporter r=njn
Differential Revision: https://phabricator.services.mozilla.com/D14191

--HG--
extra : moz-landing-system : lando
2018-12-11 21:48:33 +00:00
Mike Hommey
33610741ba Bug 1513157 - Don't install minidump_stackwalk in the Ubuntu test image. r=gps,ted
Differential Revision: https://phabricator.services.mozilla.com/D14133

--HG--
extra : moz-landing-system : lando
2018-12-11 22:52:12 +00:00
Dorel Luca
71501396ae Backed out changeset 47aeeaf1c35b (bug 1513201) for build bustage. CLOSED TREE 2018-12-12 00:44:57 +02:00
Dorel Luca
cbad78f7c3 Backed out changeset 985505cc1347 (bug 1512673) for build bustage. CLOSED TREE
--HG--
extra : amend_source : 42af9870b9a3d5aa78290b79c8c93c39ca2738db
2018-12-12 00:14:25 +02:00
Coroiu Cristina
add0a6f476 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-12-11 23:59:59 +02:00
Mark Banner
0304564ac7 Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:40 +00:00
Mark Banner
e2234d6da6 Bug 1415483 - Extend reject-importGlobalProperties to reject any priviliged items already in scope. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13753

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:38 +00:00
Coroiu Cristina
94e921ee4b Merge inbound to mozilla-central a=merge 2018-12-11 23:32:04 +02:00
Alex Gaynor
effad83dac Bug 1512673 - convert several fields in the IPDL compiler from integers to bools; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13981

--HG--
extra : moz-landing-system : lando
2018-12-11 21:16:11 +00:00
Coroiu Cristina
123fb1bc4c Backed out changeset 4db0d3e10cb1 (bug 1498027) for a11y failures on a CLOSED TREE 2018-12-11 20:27:17 +02:00
Matthew Noorenberghe
865adcf2a7 Bug 1495549 - Clear paymentMethod errors when the paymentMethod changes. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D13451

--HG--
extra : moz-landing-system : lando
2018-12-11 18:18:15 +00:00
Matthew Noorenberghe
b82e3514a4 Bug 1495549 - Clear merchant payer errors when the payer address changes. r=jaws
Depends on D12605

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

--HG--
extra : moz-landing-system : lando
2018-12-11 18:17:31 +00:00
Matthew Noorenberghe
a41a15391f Bug 1495549 - Clear merchant shipping errors when the shipping address changes. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D12605

--HG--
rename : browser/components/payments/test/browser/browser_retry.js => browser/components/payments/test/browser/browser_retry_fieldErrors.js
extra : moz-landing-system : lando
2018-12-11 18:16:30 +00:00
Alex Gaynor
e7bf50b579 Bug 1513201 - handle pasted data of certain types with an odd length; r=mats
Differential Revision: https://phabricator.services.mozilla.com/D14150

--HG--
extra : moz-landing-system : lando
2018-12-11 18:08:17 +00:00
Petru Lingurar
3813e1403f Bug 1497148 - Log warning for custom profile with null dir and avoid throwing exception. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D13969

--HG--
extra : moz-landing-system : lando
2018-12-11 17:56:11 +00:00
Andrew Swan
fb177e0571 Bug 1498027 Defer window/browser creation for extension pages r=kmag
Also, use a single hidden window to hold <browser> elements
for multiple extensions.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 17:27:06 +00:00
Csoregi Natalia
9e970681f2 Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Gijs Kruitbosch
1ebca618f0 Bug 1511819 - update preference label for warning for closing multiple tabs, r=flod
Differential Revision: https://phabricator.services.mozilla.com/D14160

--HG--
extra : moz-landing-system : lando
2018-12-11 17:16:57 +00:00
Emily Toop
2775037874 Bug 1510644 - Address Incorrect constant Android lint error. r=geckoview-reviewers,esawin
* Suppressed warnings for `GeckoMediaDrmBridgeV21` and `WebRequestError`
* `GeckoSession` was providing the arguments to `WebRequestError` in the incorrect order.
* Enforced `actions` array to be `SelectionActionDelegate.Action` types.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 16:47:51 +00:00
Alexandre Poirot
37fcc38aa4 Bug 1510949 - Make protocol.js support es6 classes for fronts. r=yulia
MozReview-Commit-ID: JegR2JsyNrI

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

--HG--
extra : moz-landing-system : lando
2018-12-11 16:32:41 +00:00
Erica Wright
12369a03cb Bug 1513029 - Trackers and Cookie hover state colours are visible in Linux dark theme. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D14100

--HG--
extra : moz-landing-system : lando
2018-12-11 16:36:29 +00:00
Alexandre Poirot
4f56468ce4 Bug 1502128 - Remove last old debugger test. r=davidwalsh
This test is broken for a while as it doesn't wait for resumeDebuggerThenCloseAndFinish to finish...
If was trying to ensure that resumeDebuggerThenCloseAndFinish wasn't throwing.
The test is most about testing old debugger test helper rather than test a particular STR.

MozReview-Commit-ID: 3gAWOSxjFet

Depends on D13823

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

--HG--
extra : moz-landing-system : lando
2018-12-11 14:15:56 +00:00