Commit Graph

602436 Commits

Author SHA1 Message Date
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
shindli
30d0a68a51 Backed out changeset f32174f44c65 (bug 1471466) for bc failures on Windows on a CLOSED TREE 2018-06-29 07:35:29 +03:00
James Teh
31b106cf3a Bug 1471466: Don't fire a focus event for a remote accessible if focus has moved into the chrome since the event was sent. r=surkov
For example, this can happen when choosing File menu -> new Tab.
Focus briefly returns to the document in the original tab, so we ask that document to restore focus.
The remote document then sends a focus event to the parent.
However, before the parent can process that event, focus has already moved to the address bar for the new tab.
With this check, we discover that focus is now in the chrome and thus avoid firing the event for the remote accessible.

MozReview-Commit-ID: 7k58dzREqZD

--HG--
extra : rebase_source : 070d3a6b5032bd6d4cd36fb054be04509bb0faae
2018-06-27 15:33:08 +10:00
Gerald Squelart
fadefb87a2 Bug 1459524 - Removed layout.css.all-shorthand.enabled pref - r=heycam
The 'all' shorthand has shipped a long time ago, so this pref is not needed
anymore.

MozReview-Commit-ID: GND8qSVAfCG

--HG--
extra : rebase_source : 10708e749911fa95554ed423a5782db61df67cd0
2018-06-28 14:51:38 +10:00
Tudor-Gabriel Vîjială
fba24e38aa Bug 1471408 - Move all top level Java classes into their own file. r=snorp
MozReview-Commit-ID: 716FWeZ0q3B

--HG--
extra : rebase_source : ba2f66b19a717eebc098d3a2afeb4afc36718440
2018-06-27 00:02:01 +01:00
Emilio Cobos Álvarez
b6ebd48752 Bug 1454165 - Make :host() and ::slotted() account for the inner selector's specificity. r=xidorn
As resolved in https://github.com/w3c/csswg-drafts/issues/1915.

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

--HG--
extra : moz-landing-system : lando
2018-06-28 10:58:06 +00:00
James Teh
970e561de6 Bug 1470779: label History and Bookmarks sidebar containers for accessibility. r=mak
Without this, accessibility reports the chrome:// URL of the page element as the label, which is ugly for screen reader users in particular.

MozReview-Commit-ID: AIInSb79YcN

--HG--
extra : rebase_source : d39f2bc627eeb521122dbbcbdc4699af3942ca23
2018-06-27 10:53:03 +10:00
Christian Holler
bdf8e4d393 Bug 1471532 - Support Windows in ASan Nightly Reporter builds. r=froydnj
MozReview-Commit-ID: AK2dBOgoazY

--HG--
extra : rebase_source : 6ed99ce79180f2a6f2d54a0898cb02acbd6e9fb6
2018-06-27 11:19:00 +02:00