Commit graph

3,177 commits

Author SHA1 Message Date
Gaming4JC
3b33af54af Bug 1322938 - Make the HTML tree builder aware of <dialog>.
Original patch by :hsivonen
Tag #1343
2020-01-09 21:28:02 +08:00
Gaming4JC
a77fa3ec13 Bug 1322938 - Put <dialog> element behind preference.
Tag #1343
2020-01-09 21:28:00 +08:00
Gaming4JC
7186de99e7 Bug 1322938 - Update <dialog> element Web Platform Tests expected results.
Tag #1343
2020-01-09 21:27:58 +08:00
Gaming4JC
c39b0e4fd7 Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is called.
Tag #1343
2020-01-09 21:27:56 +08:00
Gaming4JC
900df90dae Bug 1322938 - Basic implementation of HTMLDialogElement.
Tag #1343
2020-01-09 21:27:54 +08:00
wolfbeast
1803a30a06 Issue #1348 - Part 3: Set IS_PRIVATE input scope in private browsing.
Microsoft IME on Windows 10 20H1 (build 19025+) supports IME private
mode by input scope. Although previous Windows versions use an
undocumented API for Edge and IE only, the next Windows 10 release will
use a public API for it.
We pre-empt this potential privacy concern by setting the IS_PRIVATE
flag when in PB mode.
2020-01-09 21:26:59 +08:00
wolfbeast
9d2e51ac97 Issue #1348 - Part 2: Teach IMEState about Private Browsing mode. 2020-01-09 21:26:56 +08:00
Makoto Kato
8972304bba Issue #1348 - Part 1: Clean up input scope support for IMM32.
Use AutoTArray to set input scope.
2020-01-09 21:26:54 +08:00
wolfbeast
e82bb23d7e Reject sample rates that are out-of-range for libsoundtouch.
We never reach this with our normal use of this lib but adding the
sanity check just in case. (ported from upstream)
2020-01-09 21:23:49 +08:00
JustOff
13aff00f59 Issue #1345 - Implement non-standard legacy CSSStyleSheet rules 2020-01-09 21:23:47 +08:00
wolfbeast
10fff089dc Issue #1338 - Part 3: Update NSS symbols 2020-01-05 11:42:53 +08:00
wolfbeast
c57cac24e8 Issue #1338 - Part 2: Update NSS to 3.48-RTM 2020-01-05 11:42:29 +08:00
wolfbeast
1a92143e68 Issue #1338 - Part 1: Update NSPR to 4.24 2020-01-05 11:38:02 +08:00
Gaming4JC
f6096004d7 Bug 1599054 - allow callers to ommit sending OAuth2 client_secret parameter. 2020-01-03 13:44:14 +08:00
Gaming4JC
1bc5f20c3a Bug 1597933 - Use URLSearchParams for setting params for OAuth2 authorization request. 2020-01-03 13:44:13 +08:00
Gaming4JC
30b347303b Bug 1597933 - use fetch + URLSearchParms instead of Http.jsm to request OAuth2 access token. 2020-01-03 13:44:11 +08:00
Gaming4JC
a8ac34b90b Bug 1597933 - don't pass string constants to determine OAuth refresh token or not. 2020-01-03 13:44:10 +08:00
Gaming4JC
b037870a86 Bug 1597933 - improve OAuth2 params parsing. 2020-01-03 13:44:09 +08:00
Gaming4JC
9839bd3335 Bug 1597933 - clean up OAuth2 code: remove responseType which is always code.
Response type token is part of the OAuth 2.0 Implicit Flow which is not used in Mail Applications, but also discouraged by the OAuth Working Group: https://developer.okta.com/blog/2019/05/01/is-the-oauth-implicit-flow-dead
2020-01-03 13:44:08 +08:00
Gaming4JC
671b973fe5 Bug 1453643 - Enable proper retry on oauth2 authenication failure.
This prevents mail applications from  attempting to use an unauthenticated connection to mailbox(s) and avoid unexpected deletion of local mbox files and subsequent re-download of mailbox content over imap.
2020-01-03 13:44:07 +08:00
Gaming4JC
f7a24c87f6 Bug 1176399 - Multiple requests for master password when GMail OAuth2 is enabled. 2020-01-03 13:44:05 +08:00
wolfbeast
4103320dde Issue #1118 - Part 9: Don't allow reuse of unlinked CallbackObjectHolder. 2019-12-28 21:20:08 +08:00
wolfbeast
f255a1e606 Issue #1118 - Part 8: Remove no-longer-used mDidDocumentOpen and
CheckForOutdatedParent()

This was only used to check for cases when document.open() changed the
global, and elements being inserted into the document needing a new
reflector as a result.

Since document.open() no longer changes the global, this code is no
longer needed.
2019-12-28 21:20:07 +08:00
wolfbeast
10e59cb5a9 Issue #1118 - Part 7: Remove no-longer-used mWillReparent debug code. 2019-12-28 21:20:06 +08:00
wolfbeast
b753aec164 Issue #1118 - Part 6: Fix various tests that are no longer correct.
The behavior change of document.open() requires these tests to be
changed to account for the new spec behavior.
2019-12-28 21:20:04 +08:00
wolfbeast
fc5d61608c Issue #1118 - Part 5: Change the way document.open() works
This changes the work we do for document.open() in the following ways:
- We no longer create a new Window when doing document.open().
  We use the same Window but remove all the event listeners on the
  existing DOM tree and Window before removing the document's existing
  children to provide a clean slate document to use for .write().
- We no longer create a session history entry (previously would be a
  wyciwyg URI). We now replace the current one, effectively losing the
  entry for the original document.
- We now support document.open() on windowless documents.
2019-12-28 21:20:03 +08:00
wolfbeast
ab6131d1e6 Issue #1118 Part 4: Allow UpdateURLAndHistory to work even if there's no
root session history.

This can happen when someone does a document.open() on a document that
has no session history.
2019-12-28 21:19:48 +08:00
wolfbeast
08c26a9adf Issue #1118 Part 3: Add a public RemoveAllListeners method on
EventListenerManager.
2019-12-28 21:19:46 +08:00
wolfbeast
7d52521f95 Issue #1118 Part 2: Allow UpdateURLAndHistory to work even if mOSHE is
null, if we're doing a replace.

We're going to end up hitting this if someone does a document.open()
before mOSHE has been set. We shouldn't need to worry about mLSHE,
because the document.open() will cancel the corresponding load.
2019-12-28 21:19:45 +08:00
wolfbeast
c6694a0c4c Issue #1118 Part 1: Split out part of nsDocShell::AddState into a
separate method.

This implements the "URL and history update steps" from the HTML spec.
See https://html.spec.whatwg.org/multipage/history.html
2019-12-28 21:19:44 +08:00
athenian200
42659b995e Fix typo. 2019-12-28 21:19:27 +08:00
athenian200
a7054c85a4 Issue #1332 - Backport promise-based media playback
https://bugzilla.mozilla.org/show_bug.cgi?id=1244768

I happened to find an older version of the promise-based media playback patch in Bugzilla, the one that was originally submitted for review. It had the DocShell changes I already knew how to deal with, and had fewer of the audio wrapper and nsISupports changes that were confusing me in the later patch. I was able to do a better job getting this back into a UXP-appropriate configuration than I could have with the final version.

I'm honestly still a little unsure about some of the minor refactoring done in the patch itself, insisting on already_AddRefed promises and such, but I don't really know how to avoid those completely. Still, I think it's better than it was.
2019-12-28 21:19:26 +08:00
wolfbeast
72b9aaa248 Issue #1219 - Align computed DOM styles with mainstream behvior.
This updates our behavior for computed DOM styling to no longer return
null on elements that have no display, but return a 0-length (empty)
style instead and don't throw. For this we stop looking at having a
presentation for the style and just look at the document instead.

This resolves #1219
2019-12-21 07:12:56 +08:00
wolfbeast
f24dcfdaa4 Enable layers acceleration by default on GTK platforms.
"Why is this still `blocked by default for platform`.. Everyone on Linux
forces it on anyway once they are aware of it." -- Tobin

Tag #1319
2019-12-21 07:12:55 +08:00
wolfbeast
fac859839e Issue #1316 - Reduce compiler warnings in ICU
This add a few disabled compiler warnings to the compiler flags on MSVC
and specifically filters out the RTTI disabling CL flag to prevent CLI
override warnings.

This resolves #1316
2019-12-20 09:07:40 +08:00
wolfbeast
d3e44892bf Issue #1322 - Part 4: Fix WebIDL.py parser for line endings and wrong
IDL name
2019-12-20 09:07:28 +08:00
wolfbeast
15672c6231 Issue #1322 - Part 3: Remove DOM promise interface gunk
Based on work by Boris Zbarsky
2019-12-20 09:07:27 +08:00
wolfbeast
48adbfd454 Issue #1322 - Part 2: Remove --enable-sm-promise buildconfig switch. 2019-12-20 09:07:26 +08:00
wolfbeast
40f99b202a Issue #1322 - Part 1: Remove the DOM Promise guts.
This removes all the parts guarded by SPIDERMONKEY_PROMISE
2019-12-20 09:07:24 +08:00
Roy Tam
ad9793b896 js: fix build 2019-12-18 10:21:07 +08:00
Matt A. Tobin
0b1090f40e No Issue - Fix indentation and account for system libevent in ipc/chromium/moz.build 2019-12-18 09:18:35 +08:00
Gaming4JC
d16b90c099 Bug 1454285 - Part 2: Disallow using innermostEmitterScope while the value does not match the bytecode environment.
Tag #1287
2019-12-18 09:17:13 +08:00
Gaming4JC
85d4d59f04 Bug 1454285 - Part 1: Specify the current scope when emitting await and .generator.
Tag #1287
2019-12-18 09:17:11 +08:00
Gaming4JC
b476f2e713 Bug 1352312 - Enable Async Iteration.
Tag #1287
2019-12-18 09:17:10 +08:00
Gaming4JC
f08c44f010 Bug 1390082 - Implement AsyncGeneratorQueue with simpler array operations.
Tag #1287

Note: Without ReadableStream implementation
2019-12-18 09:17:09 +08:00
Gaming4JC
586cd0b71b Bug 1379525 - Part 2: Properly handle rejection in async-from-sync iteration.
Tag #1287
2019-12-18 09:17:08 +08:00
Gaming4JC
9e8369d01f Bug 1379525 - Part 1: Await on the value before yielding or returning inside async generator.
Tag #1287
2019-12-18 09:17:06 +08:00
Gaming4JC
ba1cf5608c Bug 1364608 - Stash rval in AsyncIteratorClose.
Tag #1287
2019-12-18 09:17:05 +08:00
Gaming4JC
3206741afa Bug 1355399 - Switch property retrieval in Async-from-Sync Iterator prototype methods.
Tag #1287
2019-12-18 09:17:04 +08:00
Gaming4JC
9cecb72f37 Bug 1331092 - Part 11: Await on the innerResult.value when innerResult.done is true in yield*.
Tag #1287
2019-12-18 09:17:02 +08:00