Commit Graph

43648 Commits

Author SHA1 Message Date
Kris Maglione
f9e2e7cfbc Bug 1397448: Part 6 - Cache messageManager for MessageManagerProxy. r=mixedpuppy
MozReview-Commit-ID: 7eqSgBkrj4f

--HG--
extra : rebase_source : 4541d5af94af4e219b2435da9485ce5530f0fab1
2017-09-08 21:36:00 -07:00
Kris Maglione
c2a6f79739 Bug 1397448: Part 5 - Make uniqueProcessID a lexically scoped string. r=zombie
MozReview-Commit-ID: Fxob3RUPQtd

--HG--
extra : rebase_source : 5e8d200b88d9b0c1b9ea14d94e8b4372543fef63
2017-09-08 17:12:43 -07:00
Kris Maglione
5b8215cd47 Bug 1397448: Part 4 - Use a simpler message broker for response messages. r=zombie
MozReview-Commit-ID: 9wVG6SDJO2w

--HG--
extra : rebase_source : ac6861cdcdf6bc7165670db53e0ddce778de43e0
2017-09-08 17:14:07 -07:00
Kris Maglione
1565b820e8 Bug 1397448: Part 3 - Reduce the number of promise callbacks created in MessageChannel. r=zombie
MozReview-Commit-ID: 2A4P9eaWnKx

--HG--
extra : rebase_source : 6a310d6c8c38032cdc9df218eb0983aa4feabf9f
2017-09-10 10:05:25 -07:00
Kris Maglione
a6c6de086a Bug 1397448: Part 1 - Generate WebRequest message objects in WebRequest.jsm. r=mixedpuppy
Aside from moving this logic closer to the place the input data is generated,
this significantly reduces the number of cross-compartment wrappers involved
in creating those messages, especially with JSM global sharing enabled.

MozReview-Commit-ID: 6IvetcHnMfC

--HG--
extra : rebase_source : 0f97464ee9840ac40a6882e70e99d5b6c566c5ef
2017-09-06 17:43:38 -07:00
steveck-chung
26f88232ff Bug 1341569 - Add the form created time in handler and telemetry probe for form filling duration. r=benjamin+7044,MattN
MozReview-Commit-ID: 6mU606zEtT4

--HG--
extra : rebase_source : e55fa94c70927b9374b09d9c8ad277f274f77fb2
2017-09-11 10:25:09 +08:00
Andrew Swan
6e254181e6 Bug 1353194 Streamline the startup extension compatibility check r=kmag
Also extend activeAddons records with a started flag to avoid
double-starting extensions that are upgraded during the startup check.

MozReview-Commit-ID: FPX71Q3lSrw

--HG--
extra : rebase_source : 06b9be6748d09ddee310882c342e6b12cfedf91b
extra : source : 3977730d0f477e54631db184bcb24b13f83e328b
2017-09-10 12:23:45 -07:00
Andrew Swan
c8710f9df8 Bug 1353194 Remove a bunch of tests of the old startup update check r=kmag
MozReview-Commit-ID: 8xtsRlfdbMp

--HG--
extra : rebase_source : 6ebdd06c654733e99c05d0c718e9bf1a846920fb
2017-09-08 18:37:24 -07:00
Phil Ringnalda
ce9216dc28 Backed out 2 changesets (bug 1353194) for leaving unreferenced files
Backed out changeset 246b6aae8157 (bug 1353194)
Backed out changeset e3c293ceedf3 (bug 1353194)

MozReview-Commit-ID: EshIZ3vmebw
2017-09-10 19:15:39 -07:00
Andrew Swan
d3fae58f60 Bug 1353194 Streamline the startup extension compatibility check r=kmag
Also extend activeAddons records with a started flag to avoid
double-starting extensions that are upgraded during the startup check.

MozReview-Commit-ID: FPX71Q3lSrw

--HG--
extra : rebase_source : a168cb6bb2343bc5a329a604d3b36e13c714452f
extra : source : 3977730d0f477e54631db184bcb24b13f83e328b
2017-09-10 12:23:45 -07:00
Andrew Swan
7364d7b9d9 Bug 1353194 Remove a bunch of tests of the old startup update check r=kmag
MozReview-Commit-ID: 8xtsRlfdbMp

--HG--
extra : rebase_source : 6ebdd06c654733e99c05d0c718e9bf1a846920fb
2017-09-08 18:37:24 -07:00
Sebastian Hengst
bd180901c7 merge mozilla-central to autoland. r=merge a=merge 2017-09-10 23:17:36 +02:00
Tomislav Jovanovic
94dc2ab943 Bug 1395287 - Order and chain content_scripts injection on startup r=kmag
MozReview-Commit-ID: 19MH2zLV99s

--HG--
extra : rebase_source : 4eca3142f31529246839da0cf1899097406ee6f0
2017-09-10 18:56:35 +02:00
Servo VCS Sync
d066a0a3c4 No bug - Revendor rust dependencies 2017-09-10 18:28:35 +00:00
Sebastian Hengst
261dd76eb6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ACCqbunIDpp
2017-09-09 11:44:38 +02:00
Jonathan Kingston
cd6bb3887f Bug 1395659 - Rejecting contextual identity APIs when containers are disabled. r=kmag
MozReview-Commit-ID: LCiI74SN12y

--HG--
extra : rebase_source : 86c883e610e406e115ca9558b5f4128db426a8e5
2017-08-31 11:46:31 -07:00
Jonathan Kingston
23b1fbea74 Bug 1390738 - Await for pref change if containers aren't enabled. r=aswan
MozReview-Commit-ID: GOf1py5uZkh

--HG--
extra : rebase_source : dbdcec159ccf5e4086e710efba882a62877d05f5
2017-09-07 22:20:47 -07:00
Kris Maglione
c389591944 Bug 1392210: Follow-up: Fix missing Services.jsm import. r=trivial
MozReview-Commit-ID: 9YqoYN5yAIe
2017-09-08 17:26:37 -07:00
Kris Maglione
c4e733b63f Bug 1396652: Fix WebRequestService destructor ordering issue. r=mixedpuppy
MozReview-Commit-ID: HYDNYzb5bnM

--HG--
extra : rebase_source : 4238fc77e76886bffc08f9e0ff56fa77aaf0910c
extra : amend_source : db6e6fa6c21922bd0285fb74561e3ed5ca443a36
2017-09-07 19:04:01 -07:00
David Parks
7e742d04cb Bug 1397445: Remove expiring FILE_EMBEDDED_SERVICEWORKERS telemetry probe. r=bkelly
This measured service workers registered in https iframes contained in file:// pages.
2017-09-08 11:21:27 -07:00
Jim Mathies
910a0df0c0 Bug 1385991 - Provide a chrome side notification informing the user about an incompatible version of JAWS screen reader. r=felipe 2017-09-08 16:05:06 -05:00
Geoff Brown
00747ece8f Bug 1393940 - Skip xpcshell test_proxy_scripts.js on linux for frequent intermittent timeouts; r=mixedpuppy 2017-09-08 15:00:28 -06:00
Wes Kocher
5ee13ebe8a Merge m-c to inbound, a=merge
MozReview-Commit-ID: 4CJDJBAcVPL
2017-09-08 13:41:21 -07:00
Wes Kocher
2a30786cad Merge inbound to central, a=merge
MozReview-Commit-ID: 4FEkd1x2GD
2017-09-08 13:36:31 -07:00
Stephen A Pohl
f23830000a Bug 1324892: Fix tests for switch to macOS SDK 10.11. r=mstange 2017-09-08 15:49:23 -04:00
Kris Maglione
8db9707fe8 Bug 1398045: Correctly handle channels that don't support weak references. r=mixedpuppy
MozReview-Commit-ID: GX6zUAzVrBZ

--HG--
extra : rebase_source : b9d7773e2ea782498755ce4fb34feaa67a706049
2017-09-08 08:56:42 -07:00
Jim Mathies
2a7901349f Bug 1387507 - Remove a11y e10s checks and preferences. r=felipe 2017-09-08 09:31:06 -05:00
Ethan Glasser-Camp
03fcb21840 Bug 1397316 - Push off telemetry expiry for a few releases. r=rweiss
MozReview-Commit-ID: BwXnEBptG5E

--HG--
extra : transplant_source : %E0%F7%D3%19l%B4%A0%B0%B2%E4%99Y%24%1A%7F%AC%E3%B8%2C%08
2017-09-06 11:19:48 -04:00
Sebastian Hengst
e52b8eb6e4 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: E6LQYNHgmiv
2017-09-08 10:53:26 +02:00
ahillier
afd4276b35 Bug 1397390 - Support better thumbnails for image urls r=k88hudson,Mardak
MozReview-Commit-ID: Ksxo6Gj2rIO

--HG--
extra : rebase_source : e46bbbdbd0ba87eb7475c6c49b46104ae77d9c40
2017-09-07 21:18:45 -04:00
Wes Kocher
eace83acfa Backed out changeset 0c2b838c91e4 (bug 1386304) for eslint failures in asan-reporter/bootstrap.js a=backout
MozReview-Commit-ID: KjA9iDDA2hp
2017-09-07 16:51:48 -07:00
Wes Kocher
2ec453d1bb Backed out 2 changesets (bug 1379833) for android lint failures a=backout
Backed out changeset 8bbf531110dd (bug 1379833)
Backed out changeset c06bc2f7acd3 (bug 1379833)

MozReview-Commit-ID: 5iCJ3qsMC1Q
2017-09-07 16:25:50 -07:00
Wes Kocher
4d3b3a806c Backed out 6 changesets (bug 1392143) for lint failures in SanityTest.js a=backout
Backed out changeset 5e167360b1f9 (bug 1392143)
Backed out changeset c1fcfceeefae (bug 1392143)
Backed out changeset 5220b19f1fc0 (bug 1392143)
Backed out changeset ff3a335e7111 (bug 1392143)
Backed out changeset b1627a3a5d77 (bug 1392143)
Backed out changeset 40e16e34df00 (bug 1392143)

MozReview-Commit-ID: KWifvOL8d9s
2017-09-07 16:17:11 -07:00
Sebastian Hengst
0a8fd01892 Backed out changeset ac1381f38c3f (bug 1324892) 2017-09-08 19:46:34 +02:00
Robert Strong
2c80f0c7bd bug 1361102 - change tests to account for updating the application update xml files asynchronously. r=dothayer 2017-09-08 10:38:55 -07:00
Robert Strong
2b9b13e6c9 bug 1361102 - split out tests so they are more deterministic when updating the application update xml files asynchronously. r=dothayer
--HG--
rename : toolkit/mozapps/update/tests/unit_aus_update/downloadInterruptedRecovery.js => toolkit/mozapps/update/tests/unit_aus_update/downloadInterruptedNoRecovery.js
rename : toolkit/mozapps/update/tests/unit_aus_update/downloadInterruptedRecovery.js => toolkit/mozapps/update/tests/unit_aus_update/downloadInterruptedOffline.js
rename : toolkit/mozapps/update/tests/unit_aus_update/downloadInvalidMar.js => toolkit/mozapps/update/tests/unit_aus_update/downloadInvalidSizeMar.js
rename : toolkit/mozapps/update/tests/unit_aus_update/downloadInvalidMar.js => toolkit/mozapps/update/tests/unit_aus_update/downloadMissingMar.js
2017-09-08 10:38:41 -07:00
Robert Strong
cd662f7515 bug 1361102 - update the application update xml files asynchronously for writes and deletions. r=dothayer 2017-09-08 10:38:31 -07:00
Stephen A Pohl
ae53820108 Bug 1324892: Fix tests for switch to macOS SDK 10.11. r=mstange 2017-09-08 13:30:41 -04:00
David Anderson
b4357df64f Rename the Advanced Layers pref to indicate that it's stable. (bug 1385051 part 1, r=milan) 2017-09-08 10:21:18 -07:00
Chris H-C
814f44a0ad bug 1373240 - Use somewhat-more-dynamically-allocated histogram storage r=Dexter,gfritzsche
Switch from static multi-dimensional arrays to dynamic one-dimensional arrays
that are only allocated in the parent process.

MozReview-Commit-ID: tyGEFhU2Fq

--HG--
extra : rebase_source : 0922e31c3234b59270ef9af7823439956377a984
2017-08-29 15:05:35 -04:00
Bob Silverberg
b0b0d844da Bug 1364972 - Allow WebExtensions to disable animated images, r=mixedpuppy
This adds a browserSetting.imageAnimationBehavior API which accepts one of three
values: "normal", "none", "once". Behind the scenes it sets the image.animation_mode
preference to the same value.

MozReview-Commit-ID: GLT6oJgpF3

--HG--
extra : rebase_source : 2ff27f7667556f0294959b1130df17c839734dbd
2017-09-06 16:46:38 -04:00
Kit Cambridge
0d29ca233e Bug 1393904 - Ensure insertTree removes Sync tombstones for restored bookmarks. r=mak
MozReview-Commit-ID: EbGybRbhWKJ

--HG--
extra : rebase_source : 596389e1ffc111f26cc10f014da6d74202f988eb
2017-08-25 12:04:22 -07:00
Wes Kocher
b5fe3d1dc7 Merge m-c to autoland, a=merge
MozReview-Commit-ID: zTrDLmRmnn
2017-09-08 13:42:01 -07:00
Manish Goregaokar
d7485b7e2f Bug 1341102 - Bump app_units in lockfile; r=bustage
MozReview-Commit-ID: CBHcRx7Pgss
2017-09-08 13:30:39 -07:00
Ursula Sarracini
f6077dace1 Bug 1396104 - Use rich icons when getting top sites r=Mardak
MozReview-Commit-ID: IMv0osslTS3

--HG--
extra : rebase_source : d3b40e5be01ffdeab85415e60bd269b8b394769f
2017-09-08 15:28:39 -04:00
Sebastian Hengst
0d9ca45f04 Backed out changeset 0181bf16af4f (bug 1373240) for leaks detected by asan. r=backout 2017-09-08 16:47:04 +02:00
Chris H-C
7ea112817a bug 1373240 - Use somewhat-more-dynamically-allocated histogram storage r=Dexter,gfritzsche
Switch from static multi-dimensional arrays to dynamic one-dimensional arrays
that are only allocated in the parent process.

MozReview-Commit-ID: tyGEFhU2Fq

--HG--
extra : rebase_source : 9dd049af971a8333e50d70f99b28df9986185d74
2017-08-29 15:05:35 -04:00
Christian Holler
06f527a679 Bug 1386304 - Add and integrate asan-reporter system add-on. r=froydnj
MozReview-Commit-ID: IwE2LzofLz0

--HG--
extra : rebase_source : bd952047103a990d314667fc73a4cf570f9a2bde
2017-07-31 15:13:38 +02:00
Andrew Swan
c6db1e511a Bug 1379833 Part 1: Move common code to format permission dialog strings to Extension.jsm r=zombie
MozReview-Commit-ID: LvyEy7x9TJg

--HG--
extra : rebase_source : 18fedb2b86ef6a1baf36b33caed3d3d3a7150147
extra : intermediate-source : e742aefc28987ea2e80fda91ff277343862d2b5a
extra : source : 90778683c3dd067754dfff4ca776e2c0f9ad7c3b
2017-08-02 13:15:30 -07:00
Sebastian Hengst
92ec846a75 merge mozilla-central to autoland. r=merge a=merge 2017-09-08 00:05:35 +02:00
Sebastian Hengst
ec5336561d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 3DvwIgw2ORU
2017-09-07 23:59:58 +02:00
Wes Kocher
fb047aaff3 Backed out changeset 674775dda8ad (bug 1364972) for eslint failures a=backout
MozReview-Commit-ID: 5tmy6XSi0sL
2017-09-07 12:31:11 -07:00
Jean-Yves Avenard
30d3f01b85 Bug 1392143 - P6. Use constants in coordinate calculations. r=mattwoodrow
This shows how the coordinates were actually calculated. and will make it easier should the video size needs to ever be changed again.

MozReview-Commit-ID: KkQNqz00Aw0

--HG--
extra : rebase_source : fb1074a28f2045c3889acc43fbe9c01dadc34a70
2017-09-07 19:36:20 +02:00
Jean-Yves Avenard
0c1d650052 Bug 1392143 - P5. Improve rendering test. r=mattwoodrow
We now check that the canvas is properly scaled by checking if the color immediately on the right of the canvas is correct.

If the rendering failed, we do not bother testing the H264 video decoder.

MozReview-Commit-ID: IwBwKnceLBg

--HG--
extra : rebase_source : bf0b881a23c2225dcebb13d79d5034c89a0a31e1
2017-09-07 19:19:35 +02:00
Jean-Yves Avenard
0809599a4b Bug 1392143 - P3. Resize window after moving it. r=mattwoodrow
This ensure that the window still has the intended size if it had been resized due to different DPI setup.

MozReview-Commit-ID: 9oeXbTKQqhe

--HG--
extra : rebase_source : cfe3a9d5faa4a4dadd766cf1d3751b61bde929f1
2017-09-07 17:49:05 +02:00
Ryan VanderMeulen
4d504e0608 Backed out 3 changesets (bug 1393230) because it touches the servo directory.
Backed out changeset 9115364cd4aa (bug 1393230)
Backed out changeset f762f605dd83 (bug 1393230)
Backed out changeset c366bfc13e86 (bug 1393230)
2017-09-07 09:33:53 -04:00
Bob Silverberg
af87b038ca Bug 1364972 - Allow WebExtensions to disable animated images, r=mixedpuppy
This adds a browserSetting.imageAnimationBehavior API which accepts one of three
values: "normal", "none", "once". Behind the scenes it sets the image.animation_mode
preference to the same value.

MozReview-Commit-ID: GLT6oJgpF3

--HG--
extra : rebase_source : e1675bf4042e7e5fcee768231ffeccf19dc77c69
2017-09-06 16:46:38 -04:00
Jean-Yves Avenard
4c2d89a946 Bug 1392143 - P2. Disable hardware decoding for small videos. r=mattwoodrow
As the H264 SanityTest uses a 132x132 videos to determine if the hardware decoder is working, we always use the software decoder for smaller videos.

MozReview-Commit-ID: 8VbZTiJO9mA

--HG--
extra : rebase_source : da34be08b67716ebb84f249ead571cc171d8d2f7
2017-09-06 17:02:21 +02:00
Jean-Yves Avenard
567ce65f4e Bug 1392143 - P1. Change video size used for testing if h264 decoder is working. r=mattwoodrow
AMD incorrectly decode videos with a resolution that is less than 128x128, as such with the test failing we disable hardware decoding on those machines, even though other resolutions work well.

So we use a 132x132 video instead.

MozReview-Commit-ID: 80mk11CNsil

--HG--
extra : rebase_source : 2dce7281c45a942918e86fcaae98530e6b24275f
2017-09-06 15:42:46 +02:00
Sebastian Hengst
6896082b75 Backed out changeset 4a955a640a52 (bug 1397390) for eslint failure at toolkit/components/thumbnails/PageThumbUtils.jsm:142: 'error' is not defined. r=backout 2017-09-07 23:59:05 +02:00
ahillier
2ffe678f02 Bug 1397390 - Support better thumbnails for image urls r=k88hudson,Mardak
MozReview-Commit-ID: Ksxo6Gj2rIO

--HG--
extra : rebase_source : d79d2ddff71f49ec378f7b95fa46761b9bb08886
2017-09-07 15:12:54 -04:00
Zibi Braniecki
38db965423 Bug 1395457 - De-hardcode product name when producing webext-langpack. r=kmag
MozReview-Commit-ID: D6TbDR7dkY6

--HG--
extra : rebase_source : 9e3d1bd23624fcc5b724ad24698779a7a90cb8c7
2017-09-07 13:16:20 -07:00
Eric Rahm
70ece631cb Bug 1393230 - Part 2: Fix more improper string usages. r=njn
This fixes improper usages of Find where an offset was actually being use for
the boolean ignore case flag. It also fixes a few instances of passing in a
literal wchar_t to our functions where a NS_LITERAL_STRING or char16_t should
be used instead.
2017-08-31 15:52:30 -07:00
Ethan
6bbd2d88df Bug 1396468 - Spoof navigator.oscpu as 'Windows NT 6.1; Win64; x64' when resisting fingerprinting is enabled. r=ehsan 2017-09-04 11:30:37 +08:00
Eric Rahm
0617c21c24 Bug 1393230 - Part 2: Fix more improper string usages. r=njn
This fixes improper usages of Find where an offset was actually being use for
the boolean ignore case flag. It also fixes a few instances of passing in a
literal wchar_t to our functions where a NS_LITERAL_STRING or char16_t should
be used instead.

--HG--
extra : rebase_source : 5de1e9335895d65e6db06c510e8887d27be3390f
extra : source : f762f605dd83fc6331161a33e1ef5d54cafbd08d
2017-08-31 15:52:30 -07:00
Scott Wu
df1f4e7328 Bug 1395773 - Fix intermittent browser_datetime_datepicker test when crossing months, r=mconley
MozReview-Commit-ID: Dhs0KX9UUOC

--HG--
extra : rebase_source : 4344ee4c2ed4f4d23429dee4c4bea1f474298dea
2017-09-01 15:03:48 +08:00
Sebastian Hengst
6d4148599c Backed out changeset 6c13864a1bee (bug 1392143) for unexpectedly passing gl suite's dom/canvas/test/webgl-mochitest/test_video_fastpath_mp4.html, at least on Windows 7 debug. r=backout 2017-09-07 14:51:59 +02:00
Sebastian Hengst
544909dd55 Backed out changeset acf2ccf34d75 (bug 1392143) 2017-09-07 14:51:01 +02:00
Servo VCS Sync
26b877fa75 No bug - Revendor rust dependencies 2017-09-07 11:55:53 +00:00
Bob Silverberg
43c7b2e3ed Bug 1397081 - Update browserSettings to report the current home page and new tab page in all cases, r=mixedpuppy
This updates the browserSettings API to report the current value of the home page and the new tab page regardless of whether they are currently overridden by an extension.

MozReview-Commit-ID: 3usY3F4oIxl

--HG--
extra : rebase_source : f8a04b4d7e70db7133c664d60cd46f8b4cd5471f
2017-09-05 16:11:04 -04:00
Sebastian Hengst
6b5abf8cab merge mozilla-central to autoland. r=merge 2017-09-07 12:40:32 +02:00
Sebastian Hengst
8eb249afcc merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JSRVc5yW6Kx
2017-09-07 12:39:12 +02:00
Paolo Amadini
fe96089fe4 Bug 1387416 - Place the search bar in the customization palette for new profiles. r=Gijs
MozReview-Commit-ID: Tq8YrZWG6P

--HG--
extra : rebase_source : 2e02e0a809d08ff26291a027b73a54668d6d5f9d
2017-09-06 13:09:27 +01:00
Kris Maglione
d6b735f9d2 Bug 1397536: Avoid newURI overhead for MatchPattern. r=ehsan,mixedpuppy
Ehsan, can you please review the (trivial) WebIDL changes, and Shane the
WebRequest logic?

The change to allow strings in MatchPattern arguments removes a huge amount of
XPConnect overhead that accumulates when creating nsIURI objects for
WebRequest processing.

The change to re-use existing URI objects removes a huge amount of URI
creation overhead.

MozReview-Commit-ID: 3DJjAKJK1Sa

--HG--
extra : rebase_source : 585a1c3c136ed1c5014f680ae81f635c8d1a2931
2017-09-06 21:56:45 -07:00
Kris Maglione
025991aa30 Bug 1396856: Part 4 - Update WebRequest.jsm to use ChannelWrapper bindings. r=mixedpuppy
MozReview-Commit-ID: 7s7SOQ1XVaw

--HG--
extra : rebase_source : 9fb6fabffd3c32e52e4b94dba476483a7118c660
2017-09-06 21:52:24 -07:00
Kris Maglione
d55de0c717 Bug 1396856: Part 3 - Add a WebIDL wrapper class for necko channels. r=ehsan,mixedpuppy
Ehsan, can you please review the DOM bindings, and Shane the request logic?

The bulk of the overhead WebRequest API is in its access to nsIChannel and
friends through XPConnect. Since it's not really feasible to convert channels
to use WebIDL bindings directly, this generic channel wrapper class serves the
same purpose.

MozReview-Commit-ID: 4mNP8HiKWK

--HG--
extra : rebase_source : 111687dd0925619b5d93447aecffacd5d53532ef
2017-09-06 14:38:23 -07:00
Kris Maglione
9cf6734391 Bug 1396856: Part 1 - Remove spread call fallback overhead in event dispatch. r=zombie
MozReview-Commit-ID: 3c5p9OvRqHI

--HG--
extra : rebase_source : e145380ace787bab683808ef3894652bb1baee8d
2017-09-05 11:20:43 -07:00
Daosheng Mu
b95528913e Bug 1392476 - Add dropframe telemetry for WebVR; r=francois,kip
MozReview-Commit-ID: IPVnPBkY8CN

--HG--
extra : rebase_source : 437b3528cecb05bc0bb4307447dee3e18c63d762
2017-08-28 18:43:25 +08:00
Wes Kocher
a14d71906d Merge m-c to inbound, a=merge
MozReview-Commit-ID: BJ4WkYrJ9g6
2017-09-06 17:24:48 -07:00
Tomislav Jovanovic
7c5396240d Bug 1396686 - Provide info which onMessage listener's response handle went out of scope r=kmag
MozReview-Commit-ID: Bu71gP8Ey3

--HG--
extra : rebase_source : 96ca9332ca1e69739b0bdf1b8a7b275d42d951ff
2017-09-05 03:00:07 +02:00
Jean-Yves Avenard
f7197c027f Bug 1392143 - P2. Disable hardware decoding for small videos. r=mattwoodrow
As the H264 SanityTest uses a 132x132 videos to determine if the hardware decoder is working, we always use the software decoder for smaller videos.

MozReview-Commit-ID: 8VbZTiJO9mA

--HG--
extra : rebase_source : 20cf3ae8bf62709711ac0e76e348c6e28d678025
2017-09-06 17:02:21 +02:00
Jean-Yves Avenard
22fbc8d804 Bug 1392143 - P1. Change video size used for testing if h264 decoder is working. r=mattwoodrow
AMD incorrectly decode videos with a resolution that is less than 128x128, as such with the test failing we disable hardware decoding on those machines, even though other resolutions work well.

So we use a 132x132 video instead.

MozReview-Commit-ID: 80mk11CNsil

--HG--
extra : rebase_source : 3cdffbc30334e2704375d8da878fd79124fe2a05
2017-09-06 15:42:46 +02:00
Sebastian Hengst
9d15132cd1 merge mozilla-central to autoland. r=merge a=merge 2017-09-06 11:28:07 +02:00
Sebastian Hengst
9c8a09d458 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: KLssMPhSQ0O
2017-09-06 11:26:13 +02:00
Rob Wu
297c108fec Bug 1356543 - Add clipboard.setImageData API r=mixedpuppy
This introduces an implementation of the clipboard.setImageData API.
I did not find any complete documentation about how copying and
pasting images is supposed to work in Firefox, so I added many lines
of documentation based on experimenting and reading the source code.

The implementation is very similar to the Add-on SDK's implementation,
save for one difference: The third parameter to setTransferData is 0
instead of -1. Its significance is elaborated in ext-clipboard.js.

The newly added tests serve the following purposes:
- Verification that clipboard.setImageData is working as expected.
  There is no way to test that pasting in an external application
  really works, so we just check whether Firefox recognizes the
  special image data by pasting in a contentEditable area.

- Test coverage for reading clipboard data via the "paste" event and
  using event.clipboardData to access the pasted data, because this is
  the only way to read non-text data in a WebExtension extension.

MozReview-Commit-ID: Ldrx7LCIta2

--HG--
extra : rebase_source : f76fe85e5c9a525c159255c29698f4bdbdede8bc
2017-09-04 21:43:06 +02:00
Kris Maglione
04acc0aace Bug 1396449: Part 2 - Use atoms to test WebExtension permissions. r=krizsa
The extension policy services uses atoms internally for permission names, so
using them directly rather than strings is considerably cheaper.

MozReview-Commit-ID: Io8EuOXHKVy

--HG--
extra : rebase_source : 577b4bdf7f899729e4cf92961a8e9e25bf886a72
2017-09-03 18:51:02 -07:00
Kris Maglione
b3ba0520ee Bug 1396449: Part 1 - Use WebExtensionPolicy objects in extension content principals. r=krizsa
Going through the extension policy service rather than using
WebExtensionPolicy objects directly adds a lot of unnecessary overhead to
common operations on extension principals, and also makes the code more
complicated than it needs to be.

We also use weak references to policy objects here, since principals should
ideally lose as much of their elevated privileges as possible once the
extension instance that created them has been destroyed (which is something we
couldn't handle easily when we simply tracked ID strings).

MozReview-Commit-ID: KDNvVdvLkIt

--HG--
extra : rebase_source : 1b567919d2461bd0315d1a7d89f330cbd585f579
2017-09-05 11:04:43 -07:00
John Lin
472cb53db6 Bug 1396232 - Use prefixed fullscreen element in orientation lock test. r=ralin
MozReview-Commit-ID: LN3lyiCkQOo
2017-09-05 03:24:00 -04:00
Sebastian Hengst
b278f15c7f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-06 00:00:04 +02:00
Sebastian Hengst
01c1a3c741 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 17ViEoPyjPa
2017-09-05 23:55:39 +02:00
Cosm
917335fa1c Bug 1395956 - Update gecko.readthedocs links to the new firefox-source-docs.mozilla.org location. r=chutten 2017-09-02 22:11:02 +05:30
Ethan
d20c7d929c Bug 1393283 - Use the last ESR version as the spoofed Firefox version. r=tihuang, r=mcmanus 2017-09-01 17:29:44 +08:00
James Cheng
c66fe391cc Bug 1392535 - Update GMP fallback downloader for Widevine 1008 CDM. r=mconley
MozReview-Commit-ID: Ih0HHP1Sho4

--HG--
extra : rebase_source : f9f9cab124d33bd293222b3948ffa37a6d1419d5
2017-08-22 17:53:32 +08:00
Simon Sapin
0ef497bfee Bug 1396664 - re-enable bad-string subtests in test_parser_diagnostics_unprintables.html r=emilio
… and update cssparser to 0.20.1

MozReview-Commit-ID: 8SiFIGk1jtb

--HG--
extra : rebase_source : 9d817fba90c38a7148166392e3412cfaf1538785
2017-09-05 15:40:57 +02:00
Andrew Swan
54ce4c11b5 Bug 1396578 Remove startup notification for non-mpc extensions r=rhelmer
MozReview-Commit-ID: 6oSi63pGCqK

--HG--
extra : rebase_source : 9908865d5db0949e72f2324158ebce98e3b2fe75
2017-09-05 07:35:59 -07:00
Sebastian Hengst
34e6bbd998 Backed out changeset 14b4af261515 (bug 1385609) for eslint failures in nsUrlClassifierLib.js. r=backout 2017-09-05 19:04:43 +02:00
Thomas Nguyen
9088e7a39b Bug 1395411 - Unregister tables when they're removed from urlclassifier.*Table. r=francois
MozReview-Commit-ID: Ex1ZxMcJLep

--HG--
extra : rebase_source : a200c02b536874a5a4255087b42d7074f5de3b43
2017-08-31 18:46:23 +08:00
Thomas Nguyen
a26ed706a3 Bug 1385609 - Fix backoff issue that makes SB lists no longer update r=francois
The issue occurs when nsITimer is fired earlier than the backoff time. In that
case, the update doesn't proceed and we never make another attempt because the
backoff update timer was oneshot.

We fix the issue in two ways:

- Add a tolerance of 1 second in case the timer fires too early.
- Set another oneshot timer whenever we are prevented from updating due to
backoff.

MozReview-Commit-ID: E2ogNRsHJVK

--HG--
extra : rebase_source : 17aa70d8583cc84e28e57410de66eaac63bd18bb
2017-08-30 18:04:10 +08:00
Bob Silverberg
8268904c53 Bug 1293853 - Part 2: Include separators in results from bookmarks.search, r=standard8
This API is only used by WebExtensions, which previously wanted to exclude separators,
but now we want the WebExtensions APIs to be able to return separators.

MozReview-Commit-ID: 7PApWDwWMr1

--HG--
extra : rebase_source : c5e816900cb0288f1cdba86ec07f6565a1c79880
2017-08-29 13:19:05 -04:00
Bob Silverberg
f8c2cd5f82 Bug 1293853 - Part 1: Add numeric typeCode to PlacesUtils.promiseBookmarksTree, r=standard8
This allows promiseBookmarksTree to return nodes that describe their type in both string (i.e., PlacesUtils.TYPE_X_*)
format and numeric (i.e., PlacesUtils.bookmarks.TYPE_*) formats. ext-bookmarks.js would prefer to be able to
use the numeric format as that is what is used throughout the rest of the file.

MozReview-Commit-ID: 7DpqAb3zVio

--HG--
extra : rebase_source : d6a9ead83e3de14bb8f52d9e19083a0f6ae609ee
2017-08-29 10:27:38 -04:00