Commit Graph
3462 Commits
Author SHA1 Message Date
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Ben Kelly 63adfc2c7f Bug 1361823 Fail the worker script load instead of crashing if the load group is torn down. r=baku 2017-05-15 06:52:00 -07:00
Nathan Froyd 3b526b2200 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Ben Kelly 6cfc113630 Bug 1364277 Wait for service workers to activate more in dom/workers/test/serviceworkers. r=asuth 2017-05-15 06:22:22 -07:00
Ryan VanderMeulen 8c1a14621f Backed out 14 changesets (bug 1290951) for causing topcrash bug 1364059. a=me
Backed out changeset d9cb7e835d4c (bug 1290951)
Backed out changeset 2684d41c75e4 (bug 1290951)
Backed out changeset 2fdb0ae64a1b (bug 1290951)
Backed out changeset 6194a6a0f510 (bug 1290951)
Backed out changeset 9a722c9de441 (bug 1290951)
Backed out changeset 4e36f20bea04 (bug 1290951)
Backed out changeset 7236a196cff0 (bug 1290951)
Backed out changeset b6b85669af94 (bug 1290951)
Backed out changeset bb76b58e45fc (bug 1290951)
Backed out changeset f2b2e0d54e51 (bug 1290951)
Backed out changeset 974b55cde2af (bug 1290951)
Backed out changeset cda24c8eccc4 (bug 1290951)
Backed out changeset fedca2ad4ce6 (bug 1290951)
Backed out changeset e40aeb64bdab (bug 1290951)
2017-05-11 09:26:18 -04:00
Ho-Pang Hsu dab122b8b5 Bug 1290951 - Part 4.2: Add a mochitest for an useless imported script after an update. r=bkelly. 2017-04-07 15:02:23 +08:00
Ho-Pang Hsu 3cc190916f Bug 1290951 - Part 3.2: Tolerate missing imported scripts. r=bkelly. 2017-05-04 01:38:52 +08:00
Ho-Pang Hsu c74203a250 Bug 1290951 - Part 3.1: Extend the bytecheck to imported scripts. r=bkelly 2017-05-04 01:38:01 +08:00
Ho-Pang Hsu 4913926772 Bug 1290951 - Part 2.8: Remove CompareManager::SetMaxScope() and CompareManager::SaveLoadFlags(). r=bkelly 2017-05-04 01:36:59 +08:00
Ho-Pang Hsu 2cfb98039b Bug 1290951 - Part 2.7: Unify how CompareManager, CompareNetwork and CompareCahce report errors during initialization and other operations. r=bkelly 2017-05-09 22:41:32 +08:00
Ho-Pang Hsu 3b8feb4f01 Bug 1290951 - Part 2.6: Change the relationship between CompareManager, CompareNetwork, and CompareCache. r=bkelly 2017-05-09 13:08:06 +08:00
Ho-Pang Hsu 9ed91fe94c Bug 1290951 - Part 2.5: Move ChannelInfo and PrincipalInfo into CompareNetwork. r=bkelly 2017-04-13 15:01:28 +08:00
Ho-Pang Hsu 0c290e4e58 Bug 1290951 - Part 2.4: Add mIsMainScript to CompareNetwork. r=bkelly 2017-04-07 14:57:19 +08:00
Ho-Pang Hsu b84a827a92 Bug 1290951 - Part 2.3: Update the lifecycle of CompareCache. r=bkelly 2017-05-09 13:07:09 +08:00
Ho-Pang Hsu eda0713f33 Bug 1290951 - Part 2.2: Make CompareManager::ComparisonFinished() public. r=bkelly 2017-02-23 18:34:36 +08:00
Ho-Pang 6d840d9d3d Bug 1290951 - Part 2.1: Move some functions out of their class definitions. r=bkelly 2017-02-23 18:34:16 +08:00
Ho-Pang Hsu c62f9f22e6 Bug 1290951 - Part 1.2: Get the script URL list before actual comparing. r=bkelly 2017-04-07 14:44:35 +08:00
Ho-Pang Hsu 92415ea576 Bug 1290951 - Part 1.1: Move some function implementations out of CompareManager. r=baku 2017-04-07 14:41:22 +08:00
Ben Kelly 3f1194543a Bug 1362444 P1 Allow idle worker shutdown to begin for an opt-in WorkerHolder mode. r=baku 2017-05-10 09:27:10 -07:00
[email protected] af7965b07d Bug 1359436 - Add leak checking to CycleCollectedJSContext and related classes. r=mccr8 2017-05-09 13:59:00 +02:00
Bill McCloskey c402a046c2 Bug 1363560 - Name more runnables (r=mccr8)
MozReview-Commit-ID: 3hxZDA4JlTV
2017-05-09 21:53:25 -07:00
Andrea Marchesini af44f51ea3 Bug 1360807 - FileReaderSync must work with sync inputStream - part 4 - Base64EncodeInputStream needs a sync inputStream, r=smaug 2017-05-09 11:04:49 +02:00
Andrea Marchesini 89c4a17c30 Bug 1360807 - FileReaderSync must work with sync inputStream - part 2 - nsIConverterInputStream needs a syncInputStream, r=smaug 2017-05-09 11:04:07 +02:00
Andrea Marchesini 9a84781a8b Bug 1360807 - FileReaderSync must work with sync inputStream - part 1 - SyncRead should read as much as required, r=smaug 2017-05-09 11:03:40 +02:00
Andrea Marchesini 80bc31371c Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
This patch does these things:

1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
   and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
2017-05-08 08:24:22 +02:00
btian fdad9d5dc2 Bug 1338059 - Part 2: Implement PromiseRejectionEvent, r=bz
MozReview-Commit-ID: 6BZBL9BjO03
2017-05-05 11:30:19 +08:00
Chris Peterson 21b4ff5aa9 Bug 1360039 - Spoof navigator.hardwareConcurrency = 2 when privacy.resistFingerprinting = true. r=qdot
Trackers use navigator.hardwareConcurrency as yet another source of entropy to fingerprint users. The Firefox Hardware Report says 70% of Firefox users have exactly 2 cores. When the privacy.resistFingerprinting pref is set, we want to blend into the crowd so spoof navigator.hardwareConcurrency = 2 to reduce user uniqueness. This pref was added in bug 1345322 for the Tor uplift project.

https://metrics.mozilla.com/firefox-hardware-report/#goto-cpu-and-memory

MozReview-Commit-ID: CDWAaxjRpqe
2017-05-02 14:03:08 -07:00
Ben Kelly dcc8e8c47b Bug 1361166 Update mParentStatus synchronously when closing worker thread. r=baku 2017-05-03 07:42:43 -07:00
Bill McCloskey 35b88671ac Bug 1359245 - Get rid of CycleCollectedJSRuntime::MainContext (r=mccr8)
This is another method that assumes one context per runtime. This patch
eliminates the method.

MozReview-Commit-ID: JHcQ1nyiHSP
2017-04-27 15:34:46 -07:00
Michael Layzell 0a199fa342 Bug 1355608 - Part 2: Eagerly transmit permissions to the content process for service worker registrations, r=catalinb
This requires running code which checks whether or not the permissions have
arrived, potentially delaying a fetch request for a very short period of time if
the permissions are still in-flight.

MozReview-Commit-ID: E6OTY6IDThb
2017-04-27 13:41:15 -04:00
Jason Duell 040e164669 Bug 711886 - Fail Websocket if server replies with non-matching subprotocol, r=mcmanus 2016-05-11 08:50:13 -07:00
Andrea Marchesini 217b5f52af Bug 1359359 - FileReaderSync should support nsIAsyncInputStream, r=smaug 2017-04-25 22:23:46 +02:00
Cervantes Yu 6bcb4f30a4 Bug 1024669 - Part 1: Annotate crash reports with thread names. r=gsvelto
NS_SetCurrentThreadName() is added as an alternative to PR_SetCurrentThreadName()
inside libxul. The thread names are collected in the form of crash annotation to
be processed on socorro.

MozReview-Commit-ID: 4RpAWzTuvPs
2017-02-07 18:57:23 +08:00
Andrea Marchesini 94b9d42abb Bug 1357473 - Update Console to the latest spec - part 3 - Console.groupEnd(), r=bgrins, r=nchevobbe 2017-04-18 10:04:00 +02:00
Andrea Marchesini 03fc90266a Bug 1353684 - nsIFileInputStream must return NS_ERROR_NOT_FOUND if Deserialize() fails, r=smaug 2017-04-20 13:39:51 +02:00
Tom Tung 6bd2907a09 Bug 1356466: Make checking function resolve late enough to prevent from unregistering too early. r=bkelly 2017-04-18 16:07:01 +08:00
Carsten "Tomcat" Book ccc45afd8b Merge mozilla-central to mozilla-inbound 2017-04-19 12:31:58 +02:00
Carsten "Tomcat" Book 282e2b334f Backed out changeset d518009bfe70 (bug 1290951) for causing Bug 1357437 2017-04-19 11:55:33 +02:00
Carsten "Tomcat" Book 5a93b8554c Backed out changeset a459d48f1d86 (bug 1290951) 2017-04-19 11:55:02 +02:00
Carsten "Tomcat" Book 82a51b49a1 Backed out changeset 6f30a5669251 (bug 1290951) 2017-04-19 11:55:00 +02:00
Carsten "Tomcat" Book 4678b83896 Backed out changeset 437aa650b9d9 (bug 1290951) 2017-04-19 11:54:57 +02:00
Carsten "Tomcat" Book 40bbf0eee8 Backed out changeset 779deac689f9 (bug 1290951) 2017-04-19 11:54:55 +02:00
Carsten "Tomcat" Book 010cbce48e Backed out changeset 9e1c5c05eb58 (bug 1290951) 2017-04-19 11:54:52 +02:00
Carsten "Tomcat" Book 3d7b7a4062 Backed out changeset a5a8e0001d78 (bug 1290951) 2017-04-19 11:54:50 +02:00
Carsten "Tomcat" Book 97eba9450a Backed out changeset 2e133f3b768c (bug 1290951) 2017-04-19 11:54:47 +02:00
Carsten "Tomcat" Book 9c4eeab9ea Backed out changeset a4b47c4e9e3b (bug 1290951) 2017-04-19 11:54:45 +02:00
Carsten "Tomcat" Book 7a8e925509 Backed out changeset 5be709822325 (bug 1290951) 2017-04-19 11:54:42 +02:00
Carsten "Tomcat" Book a48ea13284 Backed out changeset c351046112bf (bug 1290951) 2017-04-19 11:54:37 +02:00
Ho-Pang Hsu afca011ece Bug 1290951 - Part 4.2: Add a mochitest for an useless imported script after an update. r=bkelly 2017-04-07 15:02:23 +08:00
Ho-Pang Hsu c8d8c557a5 Bug 1290951 - Part 3.2: Tolerate missing imported scripts. r=bkelly 2017-02-28 19:30:50 +08:00