Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Backed out changeset 0d2958471c08 (bug 1555300) for spidermonkey bust…
Browse files Browse the repository at this point in the history
…ages. CLOSED TREE
  • Loading branch information
Mihai Alexandru Michis committed May 31, 2019
1 parent a574819 commit ee429b0
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 62 deletions.
120 changes: 68 additions & 52 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,58 +11,23 @@
# Exclude expected objdirs.
obj*/**

# dom/ exclusions which should be removed (aka ESLint enabled)
dom/animation/**
dom/base/*.*
dom/base/test/*.*
dom/base/test/unit/test_serializers_entities*.js
dom/base/test/unit_ipc/**
dom/base/test/jsmodules/**
dom/canvas/**
dom/encoding/**
dom/events/**
dom/fetch/**
dom/file/**
dom/flex/**
dom/grid/**
dom/html/**
dom/jsurl/**
dom/media/test/**
!dom/media/test/marionette/yttest/*.js
dom/media/tests/**
dom/media/webaudio/**
dom/media/webspeech/**
dom/messagechannel/**
dom/midi/**
dom/network/**
dom/payments/**
dom/performance/**
dom/permission/**
dom/promise/**
dom/quota/**
dom/security/test/cors/**
dom/security/test/csp/**
dom/security/test/general/**
dom/security/test/mixedcontentblocker/**
dom/security/test/sri/**
dom/serviceworkers/**
dom/smil/**
dom/tests/mochitest/**
dom/u2f/**
dom/vr/**
dom/webauthn/**
dom/webgpu/**
dom/websocket/**
dom/workers/**
dom/worklet/**
dom/xbl/**
dom/xhr/**
dom/xml/**
dom/xslt/**
dom/xul/**

# build/ third-party code
build/pgo/js-input/**
# We currently have no js files in these directories, so we ignore them by
# default to aid ESLint's performance.
build/**
config/**
db/**
embedding/**
gradle/**
hal/**
mfbt/**
mozglue/**
nsprpub/**
other-licenses/**
xpfe/**

# These directories only contain crashtests, but we still skip the whole
# directory to aid performance.
view/**

# browser/ exclusions
browser/app/**
Expand Down Expand Up @@ -211,6 +176,57 @@ devtools/server/tests/unit/sourcemapped.js
# devtools specific format test file
devtools/server/tests/unit/xpcshell_debugging_script.js

# dom/ exclusions which should be removed (aka ESLint enabled)
dom/animation/**
dom/base/*.*
dom/base/test/*.*
dom/base/test/unit/test_serializers_entities*.js
dom/base/test/unit_ipc/**
dom/base/test/jsmodules/**
dom/canvas/**
dom/encoding/**
dom/events/**
dom/fetch/**
dom/file/**
dom/flex/**
dom/grid/**
dom/html/**
dom/jsurl/**
dom/media/test/**
!dom/media/test/marionette/yttest/*.js
dom/media/tests/**
dom/media/webaudio/**
dom/media/webspeech/**
dom/messagechannel/**
dom/midi/**
dom/network/**
dom/payments/**
dom/performance/**
dom/permission/**
dom/promise/**
dom/quota/**
dom/security/test/cors/**
dom/security/test/csp/**
dom/security/test/general/**
dom/security/test/mixedcontentblocker/**
dom/security/test/sri/**
dom/serviceworkers/**
dom/smil/**
dom/tests/html/**
dom/tests/mochitest/**
dom/u2f/**
dom/vr/**
dom/webauthn/**
dom/webgpu/**
dom/websocket/**
dom/workers/**
dom/worklet/**
dom/xbl/**
dom/xhr/**
dom/xml/**
dom/xslt/**
dom/xul/**

# Third-party
dom/canvas/test/webgl-conf/**
dom/imptests/**
Expand Down
17 changes: 7 additions & 10 deletions build/pgo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* global Quitter */

var list =
var list =
[
"js-input/webkit/PerformanceTests/Speedometer/index.html",
"blueprint/sample.html",
Expand Down Expand Up @@ -39,17 +37,17 @@
"js-input/sunspider/string-fasta.html",
"js-input/sunspider/string-tagcloud.html",
"js-input/sunspider/string-unpack-code.html",
"js-input/sunspider/string-validate-input.html",
"js-input/sunspider/string-validate-input.html"
];
var defaultInterval = 2000;
var idx = 0;
var w;

window.onload = function() {
window.onload = function () {
w = window.open("about:blank");
window.setTimeout(loadURL, defaultInterval);
};
function loadURL() {
function loadURL () {
var interval = defaultInterval;
if (idx == 0) {
interval = 90000;
Expand All @@ -63,9 +61,8 @@
}
}
var i;

for (i = 0; i < list.length;i++) {
// eslint-disable-next-line no-unsanitized/method

for(i=0; i < list.length;i++) {
document.write(list[i]);
document.write("<br>");
}
Expand Down

0 comments on commit ee429b0

Please sign in to comment.