Commit Graph

801014 Commits

Author SHA1 Message Date
ffxbld
a57d022de1 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D151486
2022-07-11 13:12:23 +00:00
Tooru Fujisawa
f29a7dbc19 Bug 1667455 - Part 24: Remove Services.jsm reference in testcase that monitors module loading. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D151428
2022-07-11 12:41:58 +00:00
Tooru Fujisawa
83cffbf4a5 Bug 1667455 - Part 23: Update DevTools TypeScript support. r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D151270
2022-07-11 12:41:58 +00:00
Tooru Fujisawa
601a003c2c Bug 1667455 - Part 22: Make httpd.js compatible both with patched and unpatched binary (hostutils). r=kmag,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150913
2022-07-11 12:41:57 +00:00
Tooru Fujisawa
9fe5b851ea Bug 1667455 - Part 21: Use SpecialPowers.Services in docshell/test/navigation/test_contentpolicy_block_window.html. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150912
2022-07-11 12:41:57 +00:00
Tooru Fujisawa
af81b5300a Bug 1667455 - Part 20: Remove Services.jsm from comments. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150911
2022-07-11 12:41:56 +00:00
Tooru Fujisawa
fd1c853524 Bug 1667455 - Part 19: Stop importing Services.jsm from generated FxAccountsPairingChannel.js. r=kmag
The source of the file is updated in https://github.com/mozilla/fxa-pairing-channel/issues/74

Differential Revision: https://phabricator.services.mozilla.com/D150910
2022-07-11 12:41:56 +00:00
Tooru Fujisawa
84a0cb6874 Bug 1667455 - Part 18: Always use SpecialPowers.Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150907
2022-07-11 12:41:56 +00:00
Tooru Fujisawa
5e5a4576f6 Bug 1667455 - Part 17: Update devtools stub. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D150906
2022-07-11 12:41:55 +00:00
Tooru Fujisawa
5a18684e4f Bug 1667455 - Part 16: Stop importing Services.jsm from AutoConfig. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150905
2022-07-11 12:41:55 +00:00
Tooru Fujisawa
46b5c20706 Bug 1667455 - Part 15: Stop using Services.jsm in eslint testcase. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150904
2022-07-11 12:41:54 +00:00
Tooru Fujisawa
c26c3f5551 Bug 1667455 - Part 14: Stop importing Services.jsm in documents. r=kmag,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150903
2022-07-11 12:41:54 +00:00
Tooru Fujisawa
a04d47efb9 Bug 1667455 - Part 13: Stop importing Services.jsm from marionette tests. r=kmag,webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D150902
2022-07-11 12:41:54 +00:00
Tooru Fujisawa
1a709a296a Bug 1667455 - Part 12: Do not redefine Services in SpecialPowersSandbox. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150901
2022-07-11 12:41:53 +00:00
Tooru Fujisawa
3f70a788b3 Bug 1667455 - Part 11: Stop importing Services.jsm from chrome-priv HTML code, other cases. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150900
2022-07-11 12:41:53 +00:00
Tooru Fujisawa
03b55aae15 Bug 1667455 - Part 10: Stop importing Services.jsm from chrome-priv HTML code, multi-line cases. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150899
2022-07-11 12:41:53 +00:00
Tooru Fujisawa
52c95734e7 Bug 1667455 - Part 9: Stop importing Services.jsm from chrome-priv HTML code, single-line cases. r=kmag,necko-reviewers,geckoview-reviewers,extension-reviewers,m_kato,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150898
2022-07-11 12:41:52 +00:00
Tooru Fujisawa
7539547097 Bug 1667455 - Part 8: Stop importing Services.jsm from chrome-priv JS code, other cases. r=kmag,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150897
2022-07-11 12:41:52 +00:00
Tooru Fujisawa
c2a1238034 Bug 1667455 - Part 7: Stop importing Services.jsm from chrome-priv JS code, lazy cases. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150896
2022-07-11 12:41:51 +00:00
Tooru Fujisawa
47c8f80432 Bug 1667455 - Part 6: Stop importing Services.jsm from chrome-priv JS code, non-top-level or multi-line cases. r=kmag,perftest-reviewers,AlexandruIonescu,sparky
Differential Revision: https://phabricator.services.mozilla.com/D150895
2022-07-11 12:41:51 +00:00
Tooru Fujisawa
bf93d07148 Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Tooru Fujisawa
f3a8c52c53 Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D150893
2022-07-11 12:41:50 +00:00
Tooru Fujisawa
3472ca2a2a Bug 1667455 - Part 3: Re-export global Services in Services.jsm. r=kmag
Given `Services` object is already created and defined on the loader's shared
global, Services.jsm shouldn't create yet another instance.

Just return the shared global's property, to make it keeps working in the
middle of this patch's stack.

Differential Revision: https://phabricator.services.mozilla.com/D150892
2022-07-11 12:41:49 +00:00
Tooru Fujisawa
a8a2af4b5c Bug 1667455 - Part 2.6: Export Services from Devtools require("chrome"). r=kmag,devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D150908
2022-07-11 12:41:49 +00:00
Tooru Fujisawa
31b421254e Bug 1667455 - Part 2.5: Update DevTools TypeScript support. r=devtools-reviewers,julienw
Differential Revision: https://phabricator.services.mozilla.com/D150909
2022-07-11 12:41:49 +00:00
Tooru Fujisawa
badd55d158 Bug 1667455 - Part 2: Add Services to system globals in ESLint. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150891
2022-07-11 12:41:48 +00:00
Tooru Fujisawa
ad68a98f88 Bug 1667455 - Part 1-b: Define Services in Sandbox with wantComponents. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150924
2022-07-11 12:41:48 +00:00
Tooru Fujisawa
d3780ba56a Bug 1667455 - Part 1: Define Services in all system globals. r=kmag
`Services` object is created in the loader's shared global, and it is defined
on all globals without OMIT_COMPONENTS_OBJECT.

Differential Revision: https://phabricator.services.mozilla.com/D150890
2022-07-11 12:41:47 +00:00
Ben Hearsum
17a20bb87e Bug 1778463: Firefox is pinned to the taskbar even though the "On my taskbar" checkbox is unchecked r=mhowell
The problem here ended up being that we lose the value of `AddTaskBarSC` once ExecCodeSegement is called -- which we do anytime we try to set ourselves as the default if the installer was run elevated.

Differential Revision: https://phabricator.services.mozilla.com/D151291
2022-07-11 12:09:06 +00:00
Tiaan Louw
06b74d6d77 Bug 1774697 - Ignore the computed "user-select" on editable elements r=dholbert
Check for a text input or editable host first, because they always set
the used style to 'contain' (The spec actually requires 'contain', but
we implement the 'contain' behavior as a flavor of 'text')

https://drafts.csswg.org/css-ui-4/#content-selection

Differential Revision: https://phabricator.services.mozilla.com/D149731
2022-07-11 11:45:22 +00:00
Andrew Osmond
ae6ec0a611 Bug 1746110 - Enable OffscreenCanvas by default on nightly. r=emilio
This patch turns on FontFaceSet in workers and OffscreenCanvas on
workers and the main thread in nightly only.

Differential Revision: https://phabricator.services.mozilla.com/D151409
2022-07-11 11:08:01 +00:00
Pranshu Agrawal
d233311d04 Bug 1510613 LintWarning: Dangerous Flag Constant Declaration. r=m_kato,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151438
2022-07-11 10:55:02 +00:00
Bogdan Szekely
7f3ff3f4d3 Backed out 2 changesets (bug 1778921) for causing build bustages. CLOSED TREE
Backed out changeset e587c9bc5b83 (bug 1778921)
Backed out changeset 04fa88f59192 (bug 1778921)
2022-07-11 13:01:04 +03:00
Bogdan Szekely
5927a9eb19 Merge mozilla-central to autoland. CLOSED TREE 2022-07-11 12:52:42 +03:00
Bogdan Szekely
e84114e0ae Merge autoland to mozilla-central. a=merge 2022-07-11 12:47:50 +03:00
Matthew Gregan
4c27ba0312 Bug 1778921 - Vendor update of libopus to upstream revision 24398751. r=media-playback-reviewers,alwu
Depends on D151462

Differential Revision: https://phabricator.services.mozilla.com/D151463
2022-07-11 09:40:46 +00:00
Matthew Gregan
f18139ee37 Bug 1778921 - Update libopus build config to prepare for next update. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D151462
2022-07-11 09:40:46 +00:00
Yoshi Cheng-Hao Huang
eb793434b8 Bug 1777496 - Check if ModuleLoader exists before calling SetAcquiringImportMaps. r=smaug
For the print preview documents, they are cloned from the original document in
Document::CreateStaticClone[1]. But the cloned document isn't attched to any
nsIContentViewer yet so it won't have any global object. The document is
attached to the nsIContentViewer later when the cloning is done[2].

Also, the script elements from the cloned document are also cloned from
the original document, so they won't be processed in the cloned document.

Therefore we simply bail out if the module loader isn't initialized yet.

[1]: https://searchfox.org/mozilla-central/rev/3e1a721bce1da3ae04675539b39a4e95b25a046d/dom/base/Document.cpp#13240
[2]: https://searchfox.org/mozilla-central/rev/3e1a721bce1da3ae04675539b39a4e95b25a046d/dom/base/Document.cpp#13295

Differential Revision: https://phabricator.services.mozilla.com/D151105
2022-07-11 09:38:55 +00:00
Julian Descottes
af89313931 Bug 1767679 - [devtools] Wait for element to be ready in browser_rules_colorpicker-and-image-tooltip_01.js r=Honza
No conclusive results on try. Waiting for the property container to be ready should at least help invsestigate if we get more failures

Differential Revision: https://phabricator.services.mozilla.com/D151425
2022-07-11 09:34:33 +00:00
Olli Pettay
2a78f9ffc0 Bug 1775501 - multipart boundary should be handled as mixed case, r=kershaw
Since https://github.com/w3c/FileAPI/issues/43 is still open, it is unclear how body.type should work.
The current wpts expect some behavior which isn't in the specifications.
So, since the situation is very messy in the specifications, the patch is doing a
spot fix for boundary handling. It is ugly, but shouldn't change other behavior.

Differential Revision: https://phabricator.services.mozilla.com/D150018
2022-07-11 09:18:32 +00:00
Dale Harvey
11bd8ec275 Bug 1778452 - Remove unneeded quickaction style. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D151436
2022-07-11 09:16:32 +00:00
Neil Deakin
00acc7206b Bug 968104, paste unformatted shortcut (shift+ctrl/cmd+v) should work in plain text contexts, such as input and textarea, r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D150806
2022-07-11 08:58:35 +00:00
Ziran Sun
65711751b2 Bug 1778296 - make contain-intrinsic-size *animatable*. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D151231
2022-07-11 08:37:44 +00:00
Alexandre Poirot
b7e9bd218f Bug 1778274 - [devtools] Track performance of the debugger in the browser toolbox r=perftest-reviewers,jdescottes,sparky
Differential Revision: https://phabricator.services.mozilla.com/D151113
2022-07-11 07:16:42 +00:00
Mozilla Releng Treescript
696cf8ceee no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
es-AR -> 66bf4063df33aeb109eb6ce1c58f6ce5ee3569f1
es-ES -> 942edb9eb6258fb266669c6a1024a0cfea53613d
pt-PT -> efb08c45e99c6d70e2edf1a7844c3fd13a120620
vi -> ca58af7628b8771312a6fab74d5c06c798dce473
2022-07-11 06:58:36 +00:00
Masayuki Nakano
92c1ac04ef Bug 1778091 - Make HTMLEditor move invisible <br> element into the empty inline element after splitting a paragraph at end r=m_kato
In Yahoo! Mail, the paragraph has `<br>` after `<span>` element which has
`background-color`.  In this case, Gecko creates the following DOM tree after
splitting the paragraph:
```
<div><span>foo</span></div><div><span></span><br></div>
```
Then, the empty `<span>` in the right paragraph will be removed by the
post-processing.  However, in this case, the inline element is required for
preserving the style continued from the previous paragraph.

In this case, we should move the `<br>` element into the `<span>` to make
it non-empty and avoid it to be removed.  This is compatible with Chrome.

Differential Revision: https://phabricator.services.mozilla.com/D151345
2022-07-11 05:36:29 +00:00
Julian Seward
49c073aa71 Bug 1777965 - LUL initialisation: inline DoInstruction into its calling loop. r=mstange.
When reading Dwarf unwind info, `CallFrameInfo::State::DoInstruction` is
called once per CFI instruction.  At both call sites, the call is driven by a
simple loop.  Because each call doesn't do much work, the call overhead is
quite high, and there are huge numbers of CFI instructions to be processed.

This patch moves the loop into its own method `DoInstructions`, and adds
annotations in the hope of getting `DoInstruction` inlined into the loop.

On an Intel Core i5 1135G7 at circa 4 GHz, this reduces the Dwarf read time
from 0.27 seconds (after bugs 1754932, 1777540 and 1777949 have landed) to
0.26 seconds.  Not much of a win, but on the other hand, the insn count falls
from 3906 million to 3640 million, which seems like a worthwhile win for what
is a trivial change.

Differential Revision: https://phabricator.services.mozilla.com/D151262
2022-07-11 05:08:31 +00:00
smolnar
b28cf9b990 Backed out changeset 457c6c1a18e3 (bug 1763570) for causing layout/forms/test/test_bug644542.html CLOSED TREE 2022-07-11 07:38:24 +03:00
Makoto Kato
9382dde863 Bug 1763570 - Wait for APZ state to set autofill information. r=geckoview-reviewers,owlish
When setting focus to input element, Gecko sets focused element to central via
`zoomToFocusedInput`. So when we receives `focusin` event, content may be
scrolled and zoomed. To pass correct element rectangle, we have to wait until
it is completed.

Fennec added `PanZoom:StateChange` event to listen APZ state. So GV should use
same way.

Differential Revision: https://phabricator.services.mozilla.com/D150453
2022-07-11 02:06:03 +00:00
Thomas Wisniewski
28756b7a84 Bug 1778125 - update the SmartBlock Branch shim to accept a callback as the last argument of the init method regardless of number of arguments; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151412
2022-07-11 01:16:25 +00:00