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

602257 Коммитов

Автор SHA1 Сообщение Дата
Andrew Swan 07dcc1c764 Bug 1451519 Convert specialpowers to a webextension r=kmag
This is a quick-and-dirty port.  It might be nice to replace
SpecialPowersObserver with the webextensions content script injection
system at some point, but that isn't practical right now (since WE experiments
cannot implement new APIs visible to content scripts).

MozReview-Commit-ID: GinCu3VcbWK

--HG--
rename : testing/specialpowers/bootstrap.js => testing/specialpowers/api.js
extra : rebase_source : 0faf7d21c8868c957ddc7fede0d56809f27dc161
extra : intermediate-source : ffb9ce93b92dd6396bfe038d3f6a8bcf929ec277
extra : source : cca596eadd0437dc75b75c119b6c7a405805f703
2018-06-27 13:10:51 -07:00
Jeff Gilbert 52a050c9e3 Bug 1471991 - Remove PopulateCapFallbackQueue from WebGLContext creation. - r=kvark
MozReview-Commit-ID: GCYgU8IiFpi

--HG--
extra : rebase_source : 468bbd280e07c71d8d0d8727f1768dc8cdb2b2e4
2018-06-28 13:09:16 -07:00
Jeff Gilbert 000829776c Bug 1471112 - Split mochitest-gl into mochitest-webgl[1,2]-[core,ext] - r=gbrown
Also include webgl2-deqp, which we would like to run eventually, but not yet.

MozReview-Commit-ID: CY4hYCI95ws

--HG--
extra : rebase_source : 9973df0f905bb65d2e8b8c66a6a57e8869e527c1
2018-06-25 20:23:33 -07:00
Jeff Gilbert 4bd9b396fb Bug 1471112 - Update manifest generation and regenerate. r=jgilbert
MozReview-Commit-ID: LvCzwVwYZh0

--HG--
extra : rebase_source : a87a1cafe25b4e6e40c5dd90bd0fafe89edf2e75
2018-06-25 20:21:21 -07:00
Felipe Gomes 6bc4e8af53 Bug 1467593 - Add strict=false to the schema of some policies. r=mkaply
This allows mistakes given to URL and origin params to be less severe to the end user.

MozReview-Commit-ID: 3HXM6adjCo0

--HG--
extra : rebase_source : 2dba2e27e645ecf05752ecb5cf8332d986d9f0ab
2018-06-29 15:54:54 -03:00
Felipe Gomes db8dc29d5f Bug 1467593 - Support non-strict arrays in the JsonSchemaValidator. r=mythmon
An array specified with strict=false will not fail validation if there are invalid values. It simply will ignore those values and not include them in the output.

If strict is missing, it defaults to true.

MozReview-Commit-ID: 7hAs0IsnL9v

--HG--
extra : rebase_source : 1dc1e1a31713396ea20b9b7313a69803fbbb3ca0
2018-06-29 15:50:20 -03:00
Julian Descottes d27be980f4 Bug 1471162 - Style codemirror scrollbar corners correctly in dark-theme;r=gl
MozReview-Commit-ID: 875fTgrmpJO

--HG--
extra : rebase_source : 6291c64f72fc33a4ecb99130085410b1d09628cf
2018-06-29 16:03:22 +02:00
Julian Descottes 76d3fbf537 Bug 1471162 - Stop using fake floating scrollbar in OSX dark theme;r=pbro
MozReview-Commit-ID: 8nFpHCWojYC

--HG--
extra : rebase_source : af1196714bdda62acf289d624de6b4c84053d016
2018-06-28 12:24:46 +02:00
Coroiu Cristina 896ef35dfd Backed out changeset 722113b8204d (bug 1451519) for browser-chrome failures at browser/base/content/test/performance/browser_startup_content.js on a CLOSED TREE
--HG--
rename : testing/specialpowers/api.js => testing/specialpowers/bootstrap.js
2018-06-29 22:13:46 +03:00
Kris Maglione a2b2bbf6b6 Bug 1470771: Part 2 - Update StringBundle memory reporters to account for sharing. r=erahm
MozReview-Commit-ID: 5xRsvLj4Klu

--HG--
extra : rebase_source : 08cdb56e6260ea03c3b5040013289482b5edd44c
extra : absorb_source : 67a548b588e576913181feca037a28493539de35
2018-06-24 15:47:10 -07:00
Kris Maglione bfb5c20c11 Bug 1470771: Part 1 - Don't evict shared bundles from the bundle cache. r=erahm
MozReview-Commit-ID: 6BLN4hOH5fW

--HG--
extra : rebase_source : 445ebef3d6a50c44de6929b32cdbe2bc68daef35
extra : absorb_source : e3152069712927a73a54ca9d8240413f51ddec21
2018-06-24 14:32:19 -07:00
Richard Marti f95a2ea0b1 Bug 1400266 - Use SVG icons for the twisties on Linux. r=dao 2018-06-24 15:26:33 +02:00
Paolo Amadini 1ff11c1b3d Bug 1472153 - Load the "tabbrowser.css" content stylesheet right after "browser.css". r=dao
MozReview-Commit-ID: 7IHOn7rfych

--HG--
extra : rebase_source : 1ac6acf4eb7802bd71e6079a1884f9f7b399be52
2018-06-29 13:44:44 +01:00
Dave Townsend d8b7fb22e3 Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan, r=mixedpuppy
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674
Differential Revision: https://phabricator.services.mozilla.com/D1850
Differential Revision: https://phabricator.services.mozilla.com/D1869

--HG--
rename : browser/base/content/test/general/browser_bug408415.js => browser/base/content/test/favicons/browser_bug408415.js
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/favicons/browser_bug550565.js
rename : browser/base/content/test/general/browser_favicon_change.js => browser/base/content/test/favicons/browser_favicon_change.js
rename : browser/base/content/test/general/browser_favicon_change_not_in_document.js => browser/base/content/test/favicons/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/general/browser_subframe_favicons_not_used.js => browser/base/content/test/favicons/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon1.ico
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon2.ico
rename : browser/base/content/test/general/file_bug970276_popup1.html => browser/base/content/test/favicons/file_bug970276_popup1.html
rename : browser/base/content/test/general/file_bug970276_popup2.html => browser/base/content/test/favicons/file_bug970276_popup2.html
rename : browser/base/content/test/general/file_favicon_change.html => browser/base/content/test/favicons/file_favicon_change.html
rename : browser/base/content/test/general/file_favicon_change_not_in_document.html => browser/base/content/test/favicons/file_favicon_change_not_in_document.html
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_generic_favicon.ico
rename : browser/base/content/test/general/file_with_favicon.html => browser/base/content/test/favicons/file_with_favicon.html
extra : rebase_source : 6372b2681a59d267f966e9fa2ca9a54e3ff0cea0
extra : intermediate-source : b11aa832c41ac5beef9065f804d11fb7c9887990
extra : source : 638eb8a41245f6d9932861afda21edd5e0b2618a
2018-06-28 16:06:09 -07:00
Gurzau Raul 4702133ded Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-29 18:24:46 +03:00
Gurzau Raul 4074ba4032 Backed out 2 changesets (bug 1471112) for failing webgl2 tests on OSX
Backed out changeset 7f2d98706144 (bug 1471112)
Backed out changeset 1f26d0868935 (bug 1471112)
2018-06-29 18:20:55 +03:00
Gurzau Raul 787c677e07 Merge inbound to mozilla-central. a=merge 2018-06-29 18:15:07 +03:00
Julian Seward 65b38c07e5 Bug 1467415 - Importable mutable globals break alias analysis. r=lth.
Currently, do-these-references-alias queries for Wasm global variable
accesses are handled incorrecty.  We fail to identify the case where both
references are indirect (that is, imported) as possibly-aliasing.  This can
lead to incorrect code generation in some pretty simple cases involving
globals, when compiling Wasm via IonMonkey.

This commit fixes that.  It also adds clarifying comments to
MWasmLoadGlobalVar::congruentTo and MWasmLoadGlobalVar::valueHash pertaining
to equivalance-of-loaded-values assessments.

--HG--
extra : rebase_source : 3f77fa1fd0085ab1922b8eaf7cb2d9891bc6e390
2018-06-29 11:49:35 +02:00
Paolo Amadini 903a3c490b Bug 1421433 - Load the "global.css" and "browser.css" skin stylesheets earlier. r=dao
MozReview-Commit-ID: JbEHlM9XpFs

--HG--
extra : rebase_source : db33416292bd218e8d8c17f897e9a7ab8dcc6236
2018-06-28 19:10:36 +01:00
Bogdan Tara fa8c0e96eb Backed out 4 changesets (bug 1461616, bug 1450261) for wasm related spidermonkey build bustages CLOSED TREE
Backed out changeset aa826be7a24a (bug 1461616)
Backed out changeset b05573ae795a (bug 1450261)
Backed out changeset ddbbcea98cde (bug 1450261)
Backed out changeset 1478fb0f82de (bug 1450261)
2018-06-29 17:28:58 +03:00
Razvan Caliman ac39c4621d Bug 1470416 - Rename "property-value-change" event handler and ignore non-font properties. r=pbro
MozReview-Commit-ID: Hm3rc7vtgCX

--HG--
extra : rebase_source : 039d0024a9dcfac9dae20cd1586eca811ff55795
2018-06-28 16:14:01 +02:00
Ryan Hunt ab5640b5e6 Bug 1471761 - Virtualize mType to reduce DrawingCommand size. r=bas
MozReview-Commit-ID: EFcVLZ6amNr

--HG--
extra : rebase_source : 0111dea6e377dff75b70a8b0e6d25f670e57d297
extra : histedit_source : 5bc07620340f71731918a99dcd95dcb3ee3b99c9
2018-06-27 18:26:38 -05:00
Ryan Hunt 5233d2ccc5 Bug 1471761 - Drop unused GetAffectedRect and fix virtual styling. r=bas
MozReview-Commit-ID: 9Gra35FVeQY

--HG--
extra : rebase_source : bf45336df86147657d2e851fadff6c25672d6288
extra : histedit_source : 517be1662712adb718f459f6f2c3a3fe6972e67b
2018-06-27 18:11:38 -05:00
Ryan Hunt 533d5ab90b Bug 1471761 - Remove unused ContainsOnlyColoredGlyphs. r=mattwoodrow
MozReview-Commit-ID: JQlkVnV2sz8

--HG--
extra : rebase_source : 1b424f810c19b68f7552032614bce57ed329daf0
extra : histedit_source : d15bde33953b20469fd205f3a0c720f8cae0c08d
2018-06-27 18:11:06 -05:00
Benjamin Bouvier 069e11d14f Bug 1461616: Fix wasm/gc/debugger test so it actually tests something; r=luke
--HG--
extra : rebase_source : edca5efaecd89d0dd4988af0014d34ed47b20308
extra : amend_source : 312f6598d76968d89845bc699cfe7612a62d76b6
2018-06-28 10:13:57 +02:00
Razvan Caliman b452302082 Bug 1470416 - Prevent jitter when dragging Font Editor sliders. r=pbro
Changes that are persisted to the Rule view trigger debounced events which may reflect an older value of the Font Editor.
This causes a visible jitter while dragging the sliders until the final value settles.

This patch makes the sliders rely on internal state while interactive while still accepting outside state after the user
is done dragging.

MozReview-Commit-ID: LCB00qpMPjC

--HG--
extra : rebase_source : be01df1978362ae4cf795e9ca9bb74866c1d4b4f
2018-06-25 16:57:25 +02:00
Razvan Caliman 2a31478195 Bug 1470416 - Debounce listening for "property-value-change" event. r=pbro
Still causes a refresh of the Font Editor at most once every 100ms after
the last "property-value-change" is dispatched. This is done in order
to account for Bug 1464340. Updating a font property may cause a
different font face to be used (ex Courier -> Courier Italic) and that
should be reflected in the Font Editor.

The Font Editor needs to react to "property-value-change" to:
- update its state as a result of manual property changes in the Rule view
- update its state for the used font as a result of property changes
originating from within itself (dragging sliders, selecting instances).

MozReview-Commit-ID: IubQK42NccM

--HG--
extra : rebase_source : 941ffbc5af68e5771e90c701b499cd0e7277047c
2018-06-25 16:46:33 +02:00
Julian Descottes 6c30b83d4b Bug 1470128 - Instrument inspector shadowdom support;r=pbro
MozReview-Commit-ID: JCknoaPiSlR

--HG--
extra : rebase_source : 2cc46308ab464b27da256ba9dd3473bd037ed1e6
2018-06-25 14:33:21 +02:00
Margareta Eliza Balazs f5b2c7c8e6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-29 12:51:31 +03:00
Margareta Eliza Balazs ee85ffa45d Merge inbound to mozilla-central. a=merge 2018-06-29 12:41:54 +03:00
Jan de Mooij 8ac43f77d0 Bug 1471844 - Implement cx->realm switching for optimized DOM calls in Ion. f=bz r=luke 2018-06-29 09:02:46 +02:00
André Bargull 60b6a5b521 Bug 612141: Remove DeflateStringToBuffer so a better interface isn't required anymore. r=jandem 2018-06-26 05:55:48 -07:00
Michal Novotny 54b4934a24 Bug 756165 - Return close code 1015 to JS when TLS setup fails, r=baku, r=valentin
We cannot simply pass the status code using nsIWebSocketListener::OnServerClose because it's called only when the connection is established. Instead, I'm passing TLS failure from http channel to nsIWebSocketListener::OnStop where the correct status code is set.
2018-06-28 07:54:00 +03:00
Aaron Klotz 61f9bf0bc0 Bug 1472030: Use macro variant of MAKE_VERSION in DLL blocklists with MSVC; r=mhowell 2018-06-28 16:49:42 -06:00
Boris Zbarsky fcb00cb36f Bug 1471095. Don't do extra work we don't need to in ReparentWrappersInSubtree. r=smaug 2018-06-28 23:36:46 -04:00
Brindusan Cristian 1a89c712a8 Backed out changeset cad78897eb06 (bug 1471991) for build bustages on WebGLContext.cpp:394:13. CLOSED TREE 2018-06-29 05:47:01 +03:00
Jeff Gilbert f7f30ae559 Bug 1471991 - Remove PopulateCapFallbackQueue from WebGLContext creation. - r=kvark
MozReview-Commit-ID: GCYgU8IiFpi
2018-06-28 19:24:57 -07:00
Matthew Gregan 33e0262678 Bug 1472001 - Fix cubeb-pulse-rs build with current Rust nightly. r=kamidphish
--HG--
extra : rebase_source : 005e64eb5c73c4ad3bfd1f3553dfb511304648dd
2018-06-29 14:00:12 +12:00
Stephen A Pohl e3f956cbc6 Bug 1471950: Restrict to 10.14 and above the automatic enabling of the dark theme when the system appearance changes to dark mode. r=haik 2018-06-28 21:18:31 -04:00
Stephen A Pohl 0259400505 Bug 1471950: Add nsCocoaFeatures::OnMojaveOrLater(). r=haik 2018-06-28 21:18:25 -04:00
Aki Sasaki 30f34ce0d6 bug 1432364 - remove scriptworker requirement for docker images. r=nthomas
--HG--
extra : rebase_source : 6f6b99d4edf94386c8de5ebaff2d5ef565acd218
2018-06-28 12:38:27 -07:00
Brindusan Cristian 9facfa9fb7 Backed out changeset f2f1f75b9134 (bug 1471289) for spidermonkey bustages on wasm-testharness.js:31:15. CLOSED TREE 2018-06-29 03:27:01 +03:00
sotaro c66bacf5ab Bug 1471816 - Add check to RenderCompositorANGLE::GetDeviceOfEGLDisplay() r=nical 2018-06-29 09:09:48 +09:00
André Bargull 42c56b0858 Bug 1471841: Move WouldDefinePastNonwritableLength into NativeObject.cpp. r=jandem
--HG--
extra : rebase_source : c659116e6b46a116f65af81f9ba9104a29c35536
2018-06-28 13:44:22 -07:00
Noemi Erli 6477f0d03d Bug 1451808 - Disable border-radius/intersecting-clipping-1-refc.html on Windows for frequent failures. r=jmaher 2018-06-28 05:48:00 +03:00
Lars T Hansen b13b7027ea Bug 1471289 - Handle 'new WebAssembly.Global' on i64 with default value. r=jseward
As a tweak the wasm CG has decided to allow the special case where an i64 global is
created from JS with the default zero value, while we're waiting for BigInt and
more general i64 support.  This amounts to removing the error we would otherwise
signal in this case.

--HG--
extra : rebase_source : 680e25f094ddf6339e2eacc7a7da2b197d5d1849
2018-06-28 10:06:03 +02:00
Lars T Hansen b2d8132d07 Bug 1466464 - Part 1: Recognize memory.grow and memory.size syntax. r=jseward
This only recognizes the new syntax and adds a minimal amount of testing for that.
A subsequent patch will do a massive renaming in the wasm module to change
CurrentMemory to MemSize and GrowMemory to MemGrow, and change all test cases.
A final patch will remove support for the old syntax.
2018-06-28 10:44:54 +02:00
Jeff Gilbert 9786adccaf Bug 1471112 - Split mochitest-gl into mochitest-webgl[1,2]-[core,ext] - r=gbrown
Also include webgl2-deqp, which we would like to run eventually, but not yet.

MozReview-Commit-ID: FDWdu1J0end

--HG--
extra : rebase_source : a47d88cb2c5eb82e4dfaa9e58d76acbf0736d35d
2018-06-25 20:23:33 -07:00
Jeff Gilbert 835bf141fe Bug 1471112 - Update manifest generation and regenerate. r=jgilbert
MozReview-Commit-ID: IVIiRtIEDvV

--HG--
extra : rebase_source : d162d726fee51a7098bd45e8314cdbf0c5b48bb7
2018-06-25 20:21:21 -07:00
Makoto Kato afbbfcc910 Bug 1405897 - Move assertion before setting resizer attribute. r=masayuki
This assertion was added by review comment of bug 1487945. Since mutation event
handler of this test case hides resizer, this case hits this assertion.

Although 4th parameter of SetAttr can control mutation event, if this event
isn't fired, another test case (layout/base/tests/test_bug558663.html) becomes
failure.

So we should move the assertion before setting resizer attribute.

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

--HG--
extra : moz-landing-system : lando
2018-06-29 04:47:21 +00:00