Gaming4JC
ee1e2aba19
1317375 - Implement "Template Literals Revision / Lifting Template Literal Restriction" ECMAScript proposal
2019-07-22 19:47:00 +08:00
Gaming4JC
8350dfc515
1317374 - Don't do Annex B lexical function behavior when redeclaring a parameter name.
2019-07-22 19:46:55 +08:00
Gaming4JC
146dbe7bee
1323324 - Part 1: Make Promise::unforgeable{Resolve,Reject} spec-compliant.
2019-07-22 19:46:50 +08:00
Gaming4JC
ff46e0c58c
1325606 - Return wrapped async function from caller property.
2019-07-22 19:46:47 +08:00
Gaming4JC
e4867e8b4d
1326454 - Don't report an error when SourceCoords::add fails, because it fails only when an underlying Vector::append fails, and that vector handles OOM reporting itself.
2019-07-22 19:46:43 +08:00
Gaming4JC
6828c2c09b
1326454 - Add assertions to TokenStream::skipChars{,IgnoreEOL} verifying EOF isn't yet hit and that newlines aren't skipped, if appropriate.
2019-07-22 19:46:40 +08:00
Gaming4JC
a91f1769b7
1326454 - Make TokenStream::skipChars{,IgnoreEOL} accept an unsigned integral number of chars to skip.
2019-07-22 19:46:36 +08:00
Gaming4JC
c7d3f8e8a3
1326454 - Make TokenStream::peekChar's signature fallible.
2019-07-22 19:46:33 +08:00
Gaming4JC
3d4f7e67fc
1326454 - Rename TokenStream::getBracedUnicode to TokenStream::matchBracedUnicode and make its signature fallible.
2019-07-22 19:46:30 +08:00
Gaming4JC
cd2bccf4c0
1326454 - Introduce TokenStream::warning that warns at the current offset.
2019-07-22 19:46:27 +08:00
Gaming4JC
c94ed16b4f
1326454 - Introduce TokenStream::error that reports an error at the current offset.
2019-07-22 19:46:24 +08:00
Gaming4JC
94c6eea52b
1325157 - Implement a ParserBase class that holds functionality that's identical between syntax parsing and full parsing.
2019-07-22 19:46:21 +08:00
Gaming4JC
baab6a6ca9
1325473 - A TypeError should be thrown when accessing 'arguments' or 'caller' on any of the new function types.
2019-07-22 19:46:18 +08:00
Gaming4JC
d451930d58
1320403 - Move JSFunction::EXPR_BODY to JSScript, LazyScript, and FunctionBox.
2019-07-22 19:46:14 +08:00
Gaming4JC
7f7b0a029c
636635 - Do not create named lambda binding for a function created by Function constructor.
2019-07-22 19:46:11 +08:00
Gaming4JC
dd359c6105
1317379 - Disallow generator functions and async functions as direct children of if/else.
2019-07-22 19:46:07 +08:00
Gaming4JC
8589f6e316
1296814 - Move FunctionDeclaration-as-consequent/alternative handling out of Parser::functionStmt into Parser::consequentOrAlternative.
2019-07-22 19:46:04 +08:00
Gaming4JC
02761b7fc2
1317153 - Provide better error message when errornous syntax possibly match "await SOMETHING" outside async function.
2019-07-22 19:46:00 +08:00
Gaming4JC
bf35c6ba70
1317090: Remove js::FindBody;
2019-07-22 19:45:56 +08:00
Gaming4JC
578e96b2cc
1315815 - Don't treat async or await as a keyword when they contain escapes.
2019-07-22 19:45:53 +08:00
wolfbeast
08ccf18274
Use WeakPtr for extension parent pointer.
2019-07-22 19:45:24 +08:00
wolfbeast
a10e2214ee
Do not allow the ^ character to appear in the hostname.
2019-07-22 19:45:20 +08:00
Lars T Hansen
b97da34a21
Define JumpImmediateRange on ARM64.
...
There are comments in the code suggesting that we've made plans at some
point to handle very far jumps via patching + indirect jumps, but all of
those comments are TODO/FIXME. Absent such a strategy, the furthest jump
is 2^27-1 bytes, and we need to define JumpImmediateRange to reflect
that.
2019-07-22 19:45:17 +08:00
Honza Bambas
2b7e8039f2
Bug 1548822.
2019-07-22 19:45:14 +08:00
Kyle Machulis
b2512d610b
Don't allow cross-origin POST redirects on 308 codes.
...
We already don't allow cross origin POST redirects on 307 redirects;
this adds extra guards to make sure we don't allow them on 308s either.
2019-07-22 19:45:11 +08:00
Henri Sivonen
80fc56fb93
Bug 1555523.
2019-07-22 19:45:08 +08:00
wolfbeast
d358080b7f
Clarify comment with security.fileuri.unique_origin
2019-07-22 19:45:05 +08:00
wolfbeast
64191e15cb
Treat all file: URIs as having a unique origin.
...
This prevents cross-file access from files loaded into the browser from
the local file system, further restricting the origin policy of file:
URIs.
Added a pref to control this behavior for local file access if required
for certain applications, since this change might break using the
browser to run applications on the local file system that require
access to local files.
2019-07-22 19:45:02 +08:00
wolfbeast
4e15e1fec0
Check port safety for AltSvc
2019-07-22 19:44:59 +08:00
wolfbeast
537197dfdc
Truncate Buffer/Texture on GL_OOM.
2019-07-20 06:25:26 +08:00
Honza Bambas
31b1431ea1
Bug 1550498.
2019-07-20 06:25:25 +08:00
wolfbeast
4ad12f3588
Get RefPtr for IDBOpenDBRequest before using it. (DiD)
2019-07-20 06:25:23 +08:00
Jeroen Vreeken
3dfc953945
Alow AAC audio codec data in matroska/webm streams.
...
Allow CRC32 elements in matroska cluster elements.
2019-07-19 10:04:57 +08:00
wolfbeast
d2baf53a14
Revert "Capture delayed events and cancel as necessary."
...
Tag #1052 (backout).
Backed out for creating issues like #1191 and other issue-less problems
with e.g. losing the caret from text boxes. Of note: this was also
backed out from m-c for similar reasons in Bug 1332433.
This fixes #1191 .
This reverts commit 3424afccaebc71c4acd4fa9eadf519c408c5965b.
2019-07-19 10:04:49 +08:00
wolfbeast
9a4b847b7e
Consider domain when deciding on inner window reuse.
2019-07-19 10:04:47 +08:00
Bryce Van Dyk
30f4771cb7
Use a RefPtr to hold owner element ref when moving media resource load
...
to background.
2019-07-19 10:04:45 +08:00
wolfbeast
28e15ed590
Implement a threadsafe & revised version of http2PushedStream.
2019-07-19 10:04:43 +08:00
wolfbeast
71a6b780d9
Don't access gNeckoChild if not on main thread. (DiD)
...
This patch also makes UDPSocketChild::Bind return NS_ERROR_NOT_AVAILABLE
when mBackgroundManager is null.
2019-07-19 10:04:25 +08:00
win7-7
5639ab5968
Fix comments for Frameproperties
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1373884
Fixes comments for Frameproperties.
These comments went unnoticed earlier.
No code changes.
2019-07-19 10:04:10 +08:00
win7-7
ffb2d9d791
Dispatch a PluginRemoved event for actual plugins, not images/unknown/iframe-type <objects>
...
If a page uses or removes many <object> elements which are not actually plugins, loading the page goes to a crawl because UXP recalculates the plugin UI every time.
Only dispatch a PluginRemoved event for actual plugins.
2019-07-19 10:04:08 +08:00
FranklinDM
936be91587
[BASILISK] A prompt should be shown for new foreign add-ons on start up
...
- Follow up to: 2cbbc5de4596ef3436685fa3316eeed9af700249 and #937
- Should be `RecentWindow.getMostRecentBrowserWindow()` instead of `this.getMostRecentBrowserWindow()`.
2019-07-19 10:04:06 +08:00
FranklinDM
f256af1571
Issue #1183 - Fix incorrect conditional preventing Discover Error Page from showing up
2019-07-19 10:04:03 +08:00
wolfbeast
8ad0b46284
Block http auth prompt for cross-origin image subresources by default.
...
Still allow this to be bypassed with a pref for those really rare corner
cases where images are loaded cross-origin by design and the session
hasn't been/can't be authenticated ahead of time.
2019-07-19 10:03:21 +08:00
wolfbeast
e4273a3c58
Selectively allow ftp subresources in the blocked mode.
...
- Allow "Save As..." downloads
- Allow subresource use if the top-level document is also on FTP
2019-07-19 10:03:19 +08:00
wolfbeast
797f3eae35
Add preference to allow the loading of FTP subresources for corner cases
2019-07-19 10:03:17 +08:00
Matt A. Tobin
fdd8829fea
Follow up to #1177 - Clean up package-manifest.in
2019-07-19 10:03:14 +08:00
wolfbeast
8c1500707f
Remove WebIDE devtools component.
...
This resolves #1123
2019-07-19 10:01:13 +08:00
wolfbeast
f472fe68d0
Stop building /caps unified and fix deprot.
...
Tag #80
2019-07-19 10:01:11 +08:00
wolfbeast
64cab879b4
Stop building /chrome unified and fix deprot.
...
Tag #80
2019-07-19 10:01:08 +08:00
Jeroen Vreeken
68c810a1ac
Make matroska mime type checking more consistent.
2019-07-12 16:56:04 +08:00