sanketh
b2456e6ee7
Bug 1320229 - allow user pastes longer than input maxlength r=masayuki
...
Currently, all input (including user pastes) to an input field is truncated to
`maxlength`. This diff disables truncation for user pastes.
When (1) `GetEditAction` is `ePaste`, `ePasteAsQuotation`, `eDrop`, or
`eReplaceText` (ie we are dealing with a paste) and (2) `GetEditActionPrincipal`
is `nullptr` (ie we are dealing with a user edit and not a JS edit), allow a
paste without truncation. That means that, in this case, we will return
`EditActionIgnored` instead of trying to truncate the string.
This behavior is controlled by a new preference `editor.truncate_user_pastes`
which is `false` by default (set in `StaticPrefList.yaml`).
We also modify `editor/libeditor/tests/test_bug603556.html` which currently
expects the output of a paste longer than maxlength to be truncated.
Testing: Created
`editor/libeditor/tests/test_pasting_text_longer_than_maxlength.html` which
checks if a user can paste a password longer than `maxlength` and if the field
is then marked as `tooLong` (this was the original concern of the reporter of
Bug 1320229), and
`editor/libeditor/tests/test_setting_value_longer_than_maxlength_with_setUserInput.html`
which checks if `eReplaceText` has consistent behavior regardless of whether the
field has an associated editor (this test works by calling `setUserInput()`
before and after the element gets focus.) `./mach test editor/libeditor` tests
pass.
Differential Revision: https://phabricator.services.mozilla.com/D71689
2020-04-27 01:29:43 +00:00
Jeff Muizelaar
2362f66489
Bug 1633290 - Enable WebRender on Skylake GT1. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D72571
2020-04-27 00:52:57 +00:00
Bogdan Tara
1bcdae0ed3
Backed out changeset 537608d1e4cc (bug 1621345) for many ns related crashes CLOSED TREE
2020-04-27 02:27:36 +03:00
Thom Chiovoloni
475b53142b
Bug 1632575 - Update vendored rusqlite to 0.23.1 r=lina
...
Differential Revision: https://phabricator.services.mozilla.com/D72439
2020-04-24 20:43:34 +00:00
sonakshi
056b2ce965
Bug 1621345 - Support for nsIWebSocketEventListener.send() API r=michal,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D68068
2020-04-08 19:44:43 +00:00
Jeff Muizelaar
ee1ffa4dfc
Bug 1631063. Use utf-8 when reading TOML files. r=glandium
...
Without this we get encoding errors on 'Álvarez' on Windows because
the default encoding there is not 'utf-8'.
Differential Revision: https://phabricator.services.mozilla.com/D71382
2020-04-23 08:08:51 +00:00
Mike Hommey
9c03a7015d
Bug 1632348 - Convert mach artifact to python 3. r=rstewart
...
Differential Revision: https://phabricator.services.mozilla.com/D72114
2020-04-26 21:53:57 +00:00
Cosmin Sabou
58b8c2e82b
Backed out 5 changesets (bug 1630414, bug 1444294, bug 1630417, bug 1630418, bug 1548011) for failures on test_ext_all_apis.html. CLOSED TREE
...
Backed out changeset 1dde649fe4e0 (bug 1548011)
Backed out changeset 87d571004699 (bug 1630418)
Backed out changeset 0a2dafa70692 (bug 1630414)
Backed out changeset a127af3c4cd1 (bug 1630417)
Backed out changeset b35022051d3d (bug 1444294)
2020-04-27 00:52:27 +03:00
Glenn Watson
63892870eb
Bug 1632705 - Part 1 - Remove complex clips from scroll frame definitions. r=kats,Bert
...
They aren't used, so can easily be removed as the first part of
this seried of patches.
If this functionality is ever required, it can be handled by the
caller defining complex clip nodes explicitly.
Differential Revision: https://phabricator.services.mozilla.com/D72261
2020-04-24 18:29:38 +00:00
Shane Caraveo
15d2acc180
Bug 1548011 support proxy as an optional extension permission r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D71118
2020-04-26 18:37:32 +00:00
Shane Caraveo
987fe115e1
Bug 1630418 support pkcs11 as an optional extension permission r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D71123
2020-04-26 18:37:32 +00:00
Shane Caraveo
1c02178fbe
Bug 1630414 support sessions as an optional permission r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D71121
2020-04-17 00:26:13 +00:00
Shane Caraveo
c7ac624b25
Bug 1630417 support browsingData as an optional permission r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D71119
2020-04-21 10:05:44 +00:00
Shane Caraveo
c46b9b5698
Bug 1444294 implement browser.permissions onAdded/Removed r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D71231
2020-04-26 20:11:10 +00:00
Andrew Creskey
b22c676006
Bug 1632225 - Add Fenix and Geckoview_Example applink tests r=tarek,sparky
...
Initial mach perftest for fenix, gve, fennec cold process applink.
Key metric is processLaunchToNavStart, although the standard navigation metrics are also captured.
Differential Revision: https://phabricator.services.mozilla.com/D72160
2020-04-26 20:00:40 +00:00
Farooq AR
933fd74564
Bug 1633215 - Intermittent dom/base/test/test_eventsourceservice_reconnect_error.html | Test timed out. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D72555
2020-04-26 18:50:46 +00:00
Tom Schuster
7403eebdae
Bug 1633207 - Remove JS_DefineConst(Doubles|Integers). r=arai
...
Depends on D72543
Differential Revision: https://phabricator.services.mozilla.com/D72544
2020-04-26 17:32:26 +00:00
Tom Schuster
cd8661d9a1
Bug 1633207 - Define double constants via ClassSpec. r=arai
...
Depends on D72542
Differential Revision: https://phabricator.services.mozilla.com/D72543
2020-04-26 17:32:24 +00:00
Tom Schuster
b3744b6ba2
Bug 1633207 - JSPropertySpec support for doubles. r=arai
...
Depends on D72540
Differential Revision: https://phabricator.services.mozilla.com/D72542
2020-04-26 18:16:55 +00:00
Tom Schuster
f1e35cb3f7
Bug 1633145 - Add JS::PropertyKey::toGCCellPtr. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D72540
2020-04-26 17:02:30 +00:00
Tom Schuster
f420e22143
Bug 1633145 - Replace JSID_IS_GCTHING. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D72538
2020-04-26 17:03:01 +00:00
Tom Schuster
037471de0d
Bug 1633145 - Add PropertyKey::isWellKnownSymbol. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D72537
2020-04-26 17:01:57 +00:00
Tom Schuster
d30d4f7476
Bug 1633145 - Add more methods to JS::PropertyKey. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D72536
2020-04-26 17:01:39 +00:00
Tim Nguyen
ebc0e940ae
Bug 1625720 - Scope popup.css to menupopup and panel custom elements. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D70343
2020-04-26 15:31:40 +00:00
MahakBansal
4650254df8
Bug 1622620 - Replace URIParams with nsIURI in PCookieService.ipdl.r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D67268
2020-04-25 19:10:00 +00:00
Atique Ahmed Ziad
44b1afb64a
Bug 1603796 - support tabs.goForward and tabs.goBack r=zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D62964
2020-04-26 11:24:47 +00:00
Jon Coppeard
43ab913fe1
Bug 1632775 - Don't attempt to trigger GC when collecting the nursery at the start of a major GC slice r=sfink
...
Currently we check heap thresholds after collecting the nursery but then clear majorGCTriggerReason if it was set. This leaves the trigger amounts set in the Statistics object.
Depends on D72383
Differential Revision: https://phabricator.services.mozilla.com/D72384
2020-04-24 16:56:24 +00:00
Jon Coppeard
ed2b86ba65
Bug 1632775 - Move nursery-related method definitions to be with other public definitions r=sfink
...
Depends on D72382
Differential Revision: https://phabricator.services.mozilla.com/D72383
2020-04-24 16:59:12 +00:00
Jon Coppeard
69f84cd7fd
Bug 1632775 - Record triggers per slice, not per collection r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D72382
2020-04-24 16:58:49 +00:00
Brindusan Cristian
55a4faa52f
Backed out changeset d61dbc091c36 (bug 1602318) for geckoview failures.
2020-04-26 09:01:17 +03:00
Matt Woodrow
abfac91c6f
Bug 1602318 - Enable parent initiated loads pref. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D72232
2020-04-26 01:44:42 +00:00
Matt Woodrow
c130a82806
Bug 1602318 - Disable parent-initiated loads when using devtools. r=nika,ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D71136
2020-04-26 00:55:12 +00:00
Matt Woodrow
a34398fd9f
Bug 1602318 - Initiate document loads in the parent process in parallel with setting up the content process side. r=nika,jya
...
Differential Revision: https://phabricator.services.mozilla.com/D72112
2020-04-26 00:54:15 +00:00
Matt Woodrow
382b007694
Bug 1602318 - Simplify DocumentChannelParent construction so that everything happens in Init. r=jya,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D72111
2020-04-26 00:53:37 +00:00
Matt Woodrow
69baeef355
Bug 1602318 - Add load identifier and copy-ctor to nsDocShellLoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D72110
2020-04-26 00:53:19 +00:00
Matt Woodrow
98e4b6eb1f
Bug 1602318 - Expose LoadContext on BrowsingContext webidl. r=nika,kmag,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D71135
2020-04-26 00:53:01 +00:00
Matt Woodrow
848bfde797
Bug 1602318 - Allow less a smaller number of pref checks. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D70625
2020-04-26 00:52:18 +00:00
Matt Woodrow
b758e4a1f5
Bug 1602318 - Make some browser tests wait on the test uri to load instead of any uri. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D70624
2020-04-26 00:52:11 +00:00
Matt Woodrow
da1d258df5
Bug 1602318 - Make xpihandler tests wait for load before starting the test. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D70623
2020-04-26 00:51:48 +00:00
Matt Woodrow
70333563c0
Bug 1602318 - Fix race in browser_ext_tabs_onUpdated by installing the listener before adding the new tab. r=zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D70622
2020-04-26 00:51:25 +00:00
Matt Woodrow
35eb0ce991
Bug 1602318 - Make sure rv is initialized correctly in all branches of OpenInitializedChannel. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D70621
2020-04-26 00:51:18 +00:00
Matt Woodrow
428f559ab6
Bug 1602318 - Fix unified build issues. r=jya,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D70620
2020-04-26 00:51:05 +00:00
Matt Woodrow
59ee67c46a
Bug 1602318 - Remove nsILoadContext from DocumentLoadListener. r=nika,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D70618
2020-04-26 00:50:52 +00:00
Matt Woodrow
7cd45734ca
Bug 1602318 - Make download tests wait for the STOP progress event instead of load. r=kmag
...
When we initiate URL bar loads from the parent, loads that are handled externally won't fire a load event from the content process docshell, so we should use the progress listener instead.
Differential Revision: https://phabricator.services.mozilla.com/D67100
2020-04-26 00:50:14 +00:00
Matt Woodrow
c994207fec
Bug 1602318 - Make sure we wait for the right load to finish. r=kmag
...
r.js
Differential Revision: https://phabricator.services.mozilla.com/D67099
2020-04-26 00:50:02 +00:00
Matt Woodrow
d84621ec50
Bug 1602318 - Change search engine tests to listen for, and block loads in the parent. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D67098
2020-04-26 00:49:49 +00:00
Matt Woodrow
6e36d339b4
Bug 1602318 - Remove incorrect assertion. r=jya
...
This was previously true, since we only used ResumeRedirectedLoad with a brand new docshell. This bug adds code for using it with existing docshells, which can have any Document (and associated timing object) loaded in them.
Differential Revision: https://phabricator.services.mozilla.com/D67097
2020-04-26 00:49:36 +00:00
Matt Woodrow
1100316cdd
Bug 1602318 - Defer nsIRemoteWindowContext load requests to avoid re-entrancy. r=nika,farre,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D67096
2020-04-26 00:49:29 +00:00
Matt Woodrow
c5176bc6cf
Bug 1602318 - Initialize mixed content channel for process-switches. r=ckerschb,necko-reviewers,dragana
...
Same process origin changes are handled by the docshell, which detects this during AsyncOnChannelRedirect and clears the mixed content permission.
Process switches load in a fresh docshell, so we need to make sure we appropriately set or clear the mixed content permission.
Differential Revision: https://phabricator.services.mozilla.com/D67095
2020-04-26 00:49:21 +00:00
Matt Woodrow
8ff849ade1
Bug 1602318 - Associate a current DocumentLoadListener with CanonicalBrowsingContext. r=nika,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D67094
2020-04-26 00:49:19 +00:00